blob: 039fbd9b6eab88749d8dd96104810726ffcd7df8 [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
Pau Espin Pedrol900cd652019-04-24 22:06:22 +020087Generate X-Osmo-Osmux message:
88CRCX 13 23@mgw MGCP 1.0
89C: 2f
90I: 11
91L: p:20, a:GSM, nt:IN
92M: sendrecv
93X-Osmux: *
94
95Generate X-Osmo-Osmux message (fixed CID 2):
96CRCX 15 23@mgw MGCP 1.0
97C: 2f
98I: 11
99L: p:20, a:GSM, nt:IN
100M: sendrecv
101X-Osmux: 2
102
Pau Espin Pedrolca538fc2019-05-10 16:49:59 +0200103Generate X-Osmo-Osmux message (MDCX):
104MDCX 17 23@mgw MGCP 1.0
105C: 2f
106I: 11
107L: p:20, a:GSM, nt:IN
108M: sendrecv
109X-Osmux: 2
110
Philipp Maier1dc6be62017-10-05 18:25:37 +0200111Overfolow test:
Pau Espin Pedrol9dc73592020-08-28 20:21:55 +0200112IPv6 test:
113MDCX 19 23@mgw MGCP 1.0
114C: 2f
115I: 11
116M: sendrecv
117
118v=0
119o=- 2f 23 IN IP6 ::1
120s=-
121c=IN IP6 2001:db8:1::ab9:c0a8:102
122t=0 0
123m=audio 1234 RTP/AVP 3
124a=ptime:20
125
Philipp Maier1dc6be62017-10-05 18:25:37 +0200126
Neels Hofmeyrc8f37cb2017-11-30 13:43:11 +0100127
128test_mgcp_client_cancel():
129composed:
130-----
131CRCX 1 23@mgw MGCP 1.0
132C: 2f
133I: 11
134L: p:20, a:AMR, nt:IN
135M: sendrecv
136
137-----
138composed response:
139-----
140200 1 OK
Neels Hofmeyrb1bb1fa2018-09-03 21:07:26 +0200141I: 1
142
Neels Hofmeyrc8f37cb2017-11-30 13:43:11 +0100143v=0
144
145-----
Neels Hofmeyra8c6a9c2018-02-21 15:36:45 +0100146
147test_sdp_section_start() test [0]:
148
149test_sdp_section_start() test [1]:
150
151test_sdp_section_start() test [2]:
152
153test_sdp_section_start() test [3]:
154
155test_sdp_section_start() test [4]:
156
157test_sdp_section_start() test [5]:
158
159test_sdp_section_start() test [6]:
160
161test_sdp_section_start() test [7]:
162
163test_sdp_section_start() test [8]:
164
165test_sdp_section_start() test [9]:
Pau Espin Pedrol9dc73592020-08-28 20:21:55 +0200166
167test_sdp_section_start() test [10]:
168
169test_sdp_section_start() test [11]:
170
171test_sdp_section_start() test [12]:
172
173test_sdp_section_start() test [13]:
174
175test_sdp_section_start() test [14]:
176
177test_sdp_section_start() test [15]:
178
179test_sdp_section_start() test [16]:
180
181test_sdp_section_start() test [17]:
182
183test_sdp_section_start() test [18]:
Philipp Maier704c4f02018-06-07 18:51:31 +0200184 110 => 96
185 111 => 97
186 112 => 98
187 113 => 99
188 96 <= 110
189 97 <= 111
190 98 <= 112
191 99 <= 113
192
193 0 => 0
194 3 => 3
195 8 => 8
196 18 => 18
197 0 <= 0
198 3 <= 3
199 8 <= 8
200 18 <= 18
201
202 110 => 96
203 111 => 97
204 112 => 98
205 113 => 113
206 0 => 0
207 96 <= 110
208 97 <= 111
209 98 <= 112
210 2 <= 2
211 100 <= 100
212
Philipp Maier48635912020-06-25 20:16:22 +0200213ds/e1-1/s-15/su64-0@mgw
214ds/e1-2/s-14/su32-0@mgw
215ds/e1-3/s-13/su32-4@mgw
216ds/e1-4/s-12/su16-0@mgw
217ds/e1-5/s-11/su16-2@mgw
218ds/e1-6/s-10/su16-4@mgw
219ds/e1-7/s-9/su16-6@mgw
220ds/e1-8/s-8/su8-0@mgw
221ds/e1-9/s-7/su8-1@mgw
222ds/e1-10/s-6/su8-2@mgw
223ds/e1-11/s-5/su8-3@mgw
224ds/e1-12/s-4/su8-4@mgw
225ds/e1-13/s-3/su8-5@mgw
226ds/e1-14/s-2/su8-6@mgw
227ds/e1-15/s-1/su8-7@mgw
Neels Hofmeyra1756f32016-05-20 21:59:55 +0200228Done