blob: 65b5298513b57add98ea5c1341dd7629496d69d0 [file] [log] [blame]
Neels Hofmeyra1756f32016-05-20 21:59:55 +02001
Philipp Maier1dc6be62017-10-05 18:25:37 +02002Generated CRCX message:
3CRCX 1 23@mgw MGCP 1.0
4C: 2f
5I: 11
Philipp Maier704c4f02018-06-07 18:51:31 +02006L: p:20, a:GSM, nt:IN
7M: sendrecv
8
9Generated CRCX message (two codecs):
10CRCX 2 23@mgw MGCP 1.0
11C: 2f
12I: 11
13L: p:20, a:GSM;AMR, nt:IN
14M: sendrecv
15
16Generated CRCX message (three codecs, one with custom pt):
17CRCX 3 23@mgw MGCP 1.0
18C: 2f
19I: 11
20L: p:20, a:GSM;AMR;GSM-EFR, nt:IN
Philipp Maier1dc6be62017-10-05 18:25:37 +020021M: sendrecv
22
23Generated MDCX message:
Philipp Maier704c4f02018-06-07 18:51:31 +020024MDCX 4 23@mgw MGCP 1.0
Philipp Maier1dc6be62017-10-05 18:25:37 +020025C: 2f
26I: 11
27M: sendrecv
28
Philipp Maier9d25d7a2018-01-22 17:31:10 +010029v=0
Philipp Maier9d25d7a2018-01-22 17:31:10 +010030o=- 2f 23 IN IP4 127.0.0.1
Philipp Maierb7594732018-01-31 16:44:00 +010031s=-
Philipp Maier1dc6be62017-10-05 18:25:37 +020032c=IN IP4 192.168.100.23
Philipp Maier9d25d7a2018-01-22 17:31:10 +010033t=0 0
Philipp Maier704c4f02018-06-07 18:51:31 +020034m=audio 1234 RTP/AVP 3
35a=ptime:20
36
37Generated MDCX message (two codecs):
38MDCX 5 23@mgw MGCP 1.0
39C: 2f
40I: 11
41M: sendrecv
42
43v=0
44o=- 2f 23 IN IP4 127.0.0.1
45s=-
46c=IN IP4 192.168.100.23
47t=0 0
48m=audio 1234 RTP/AVP 3 112
49a=rtpmap:112 AMR/8000/1
50a=ptime:20
51
52Generated MDCX message (three codecs, one with custom pt):
53MDCX 6 23@mgw MGCP 1.0
54C: 2f
55I: 11
56M: sendrecv
57
58v=0
59o=- 2f 23 IN IP4 127.0.0.1
60s=-
61c=IN IP4 192.168.100.23
62t=0 0
63m=audio 1234 RTP/AVP 3 112 96
64a=rtpmap:112 AMR/8000/1
65a=rtpmap:96 GSM-EFR/8000/1
66a=ptime:20
Philipp Maier1dc6be62017-10-05 18:25:37 +020067
68Generated DLCX message:
Philipp Maier704c4f02018-06-07 18:51:31 +020069DLCX 7 23@mgw MGCP 1.0
Philipp Maier1dc6be62017-10-05 18:25:37 +020070C: 2f
71I: 11
72
73Generated AUEP message:
Philipp Maier704c4f02018-06-07 18:51:31 +020074AUEP 8 23@mgw MGCP 1.0
Philipp Maier1dc6be62017-10-05 18:25:37 +020075
76Generated RSIP message:
Philipp Maier704c4f02018-06-07 18:51:31 +020077RSIP 9 23@mgw MGCP 1.0
Philipp Maier1dc6be62017-10-05 18:25:37 +020078
Neels Hofmeyre6d8e912018-08-23 16:36:48 +020079Generate X-Osmo-IGN message:
80CRCX 11 23@mgw MGCP 1.0
81C: 2f
82I: 11
83L: p:20, a:GSM, nt:IN
84M: sendrecv
85X-Osmo-IGN: C
86
Philipp Maier1dc6be62017-10-05 18:25:37 +020087Overfolow test:
88
Neels Hofmeyrc8f37cb2017-11-30 13:43:11 +010089
90test_mgcp_client_cancel():
91composed:
92-----
93CRCX 1 23@mgw MGCP 1.0
94C: 2f
95I: 11
96L: p:20, a:AMR, nt:IN
97M: sendrecv
98
99-----
100composed response:
101-----
102200 1 OK
Neels Hofmeyrb1bb1fa2018-09-03 21:07:26 +0200103I: 1
104
Neels Hofmeyrc8f37cb2017-11-30 13:43:11 +0100105v=0
106
107-----
Neels Hofmeyra8c6a9c2018-02-21 15:36:45 +0100108
109test_sdp_section_start() test [0]:
110
111test_sdp_section_start() test [1]:
112
113test_sdp_section_start() test [2]:
114
115test_sdp_section_start() test [3]:
116
117test_sdp_section_start() test [4]:
118
119test_sdp_section_start() test [5]:
120
121test_sdp_section_start() test [6]:
122
123test_sdp_section_start() test [7]:
124
125test_sdp_section_start() test [8]:
126
127test_sdp_section_start() test [9]:
Philipp Maier704c4f02018-06-07 18:51:31 +0200128 110 => 96
129 111 => 97
130 112 => 98
131 113 => 99
132 96 <= 110
133 97 <= 111
134 98 <= 112
135 99 <= 113
136
137 0 => 0
138 3 => 3
139 8 => 8
140 18 => 18
141 0 <= 0
142 3 <= 3
143 8 <= 8
144 18 <= 18
145
146 110 => 96
147 111 => 97
148 112 => 98
149 113 => 113
150 0 => 0
151 96 <= 110
152 97 <= 111
153 98 <= 112
154 2 <= 2
155 100 <= 100
156
Neels Hofmeyra1756f32016-05-20 21:59:55 +0200157Done