
Generated CRCX message:
CRCX 1 23@mgw MGCP 1.0
C: 2f
I: 11
L: p:20, a:GSM, nt:IN
M: sendrecv

Generated CRCX message (two codecs):
CRCX 2 23@mgw MGCP 1.0
C: 2f
I: 11
L: p:20, a:GSM;AMR, nt:IN
M: sendrecv

Generated CRCX message (three codecs, one with custom pt):
CRCX 3 23@mgw MGCP 1.0
C: 2f
I: 11
L: p:20, a:GSM;AMR;GSM-EFR, nt:IN
M: sendrecv

Generated MDCX message:
MDCX 4 23@mgw MGCP 1.0
C: 2f
I: 11
M: sendrecv

v=0
o=- 2f 23 IN IP4 127.0.0.1
s=-
c=IN IP4 192.168.100.23
t=0 0
m=audio 1234 RTP/AVP 3
a=ptime:20

Generated MDCX message (two codecs):
MDCX 5 23@mgw MGCP 1.0
C: 2f
I: 11
M: sendrecv

v=0
o=- 2f 23 IN IP4 127.0.0.1
s=-
c=IN IP4 192.168.100.23
t=0 0
m=audio 1234 RTP/AVP 3 112
a=rtpmap:112 AMR/8000/1
a=ptime:20

Generated MDCX message (three codecs, one with custom pt):
MDCX 6 23@mgw MGCP 1.0
C: 2f
I: 11
M: sendrecv

v=0
o=- 2f 23 IN IP4 127.0.0.1
s=-
c=IN IP4 192.168.100.23
t=0 0
m=audio 1234 RTP/AVP 3 112 96
a=rtpmap:112 AMR/8000/1
a=rtpmap:96 GSM-EFR/8000/1
a=ptime:20

Generated DLCX message:
DLCX 7 23@mgw MGCP 1.0
C: 2f
I: 11

Generated AUEP message:
AUEP 8 23@mgw MGCP 1.0

Generated RSIP message:
RSIP 9 23@mgw MGCP 1.0

Generate X-Osmo-IGN message:
CRCX 11 23@mgw MGCP 1.0
C: 2f
I: 11
L: p:20, a:GSM, nt:IN
M: sendrecv
X-Osmo-IGN: C

Generate X-Osmo-Osmux message:
CRCX 13 23@mgw MGCP 1.0
C: 2f
I: 11
L: p:20, a:GSM, nt:IN
M: sendrecv
X-Osmux: *

Generate X-Osmo-Osmux message (fixed CID 2):
CRCX 15 23@mgw MGCP 1.0
C: 2f
I: 11
L: p:20, a:GSM, nt:IN
M: sendrecv
X-Osmux: 2

Generate X-Osmo-Osmux message (MDCX):
MDCX 17 23@mgw MGCP 1.0
C: 2f
I: 11
L: p:20, a:GSM, nt:IN
M: sendrecv
X-Osmux: 2

Overfolow test:
IPv6 test:
MDCX 19 23@mgw MGCP 1.0
C: 2f
I: 11
M: sendrecv

v=0
o=- 2f 23 IN IP6 ::1
s=-
c=IN IP6 2001:db8:1::ab9:c0a8:102
t=0 0
m=audio 1234 RTP/AVP 3
a=ptime:20



test_mgcp_client_cancel():
composed:
-----
CRCX 1 23@mgw MGCP 1.0
C: 2f
I: 11
L: p:20, a:AMR, nt:IN
M: sendrecv

-----
composed response:
-----
200 1 OK
I: 1

v=0

-----

test_sdp_section_start() test [0]:

test_sdp_section_start() test [1]:

test_sdp_section_start() test [2]:

test_sdp_section_start() test [3]:

test_sdp_section_start() test [4]:

test_sdp_section_start() test [5]:

test_sdp_section_start() test [6]:

test_sdp_section_start() test [7]:

test_sdp_section_start() test [8]:

test_sdp_section_start() test [9]:

test_sdp_section_start() test [10]:

test_sdp_section_start() test [11]:

test_sdp_section_start() test [12]:

test_sdp_section_start() test [13]:

test_sdp_section_start() test [14]:

test_sdp_section_start() test [15]:

test_sdp_section_start() test [16]:

test_sdp_section_start() test [17]:

test_sdp_section_start() test [18]:
 110 => 96
 111 => 97
 112 => 98
 113 => 99
 96 <= 110
 97 <= 111
 98 <= 112
 99 <= 113

 0 => 0
 3 => 3
 8 => 8
 18 => 18
 0 <= 0
 3 <= 3
 8 <= 8
 18 <= 18

 110 => 96
 111 => 97
 112 => 98
 113 => 113
 0 => 0
 96 <= 110
 97 <= 111
 98 <= 112
 2 <= 2
 100 <= 100

ds/e1-1/s-15/su64-0@mgw
ds/e1-2/s-14/su32-0@mgw
ds/e1-3/s-13/su32-4@mgw
ds/e1-4/s-12/su16-0@mgw
ds/e1-5/s-11/su16-2@mgw
ds/e1-6/s-10/su16-4@mgw
ds/e1-7/s-9/su16-6@mgw
ds/e1-8/s-8/su8-0@mgw
ds/e1-9/s-7/su8-1@mgw
ds/e1-10/s-6/su8-2@mgw
ds/e1-11/s-5/su8-3@mgw
ds/e1-12/s-4/su8-4@mgw
ds/e1-13/s-3/su8-5@mgw
ds/e1-14/s-2/su8-6@mgw
ds/e1-15/s-1/su8-7@mgw
Done
