blob: 2b03ba17163ea82056193c8f33d006f861704b23 [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:
112
Neels Hofmeyrc8f37cb2017-11-30 13:43:11 +0100113
114test_mgcp_client_cancel():
115composed:
116-----
117CRCX 1 23@mgw MGCP 1.0
118C: 2f
119I: 11
120L: p:20, a:AMR, nt:IN
121M: sendrecv
122
123-----
124composed response:
125-----
126200 1 OK
Neels Hofmeyrb1bb1fa2018-09-03 21:07:26 +0200127I: 1
128
Neels Hofmeyrc8f37cb2017-11-30 13:43:11 +0100129v=0
130
131-----
Neels Hofmeyra8c6a9c2018-02-21 15:36:45 +0100132
133test_sdp_section_start() test [0]:
134
135test_sdp_section_start() test [1]:
136
137test_sdp_section_start() test [2]:
138
139test_sdp_section_start() test [3]:
140
141test_sdp_section_start() test [4]:
142
143test_sdp_section_start() test [5]:
144
145test_sdp_section_start() test [6]:
146
147test_sdp_section_start() test [7]:
148
149test_sdp_section_start() test [8]:
150
151test_sdp_section_start() test [9]:
Philipp Maier704c4f02018-06-07 18:51:31 +0200152 110 => 96
153 111 => 97
154 112 => 98
155 113 => 99
156 96 <= 110
157 97 <= 111
158 98 <= 112
159 99 <= 113
160
161 0 => 0
162 3 => 3
163 8 => 8
164 18 => 18
165 0 <= 0
166 3 <= 3
167 8 <= 8
168 18 <= 18
169
170 110 => 96
171 111 => 97
172 112 => 98
173 113 => 113
174 0 => 0
175 96 <= 110
176 97 <= 111
177 98 <= 112
178 2 <= 2
179 100 <= 100
180
Philipp Maier48635912020-06-25 20:16:22 +0200181ds/e1-1/s-15/su64-0@mgw
182ds/e1-2/s-14/su32-0@mgw
183ds/e1-3/s-13/su32-4@mgw
184ds/e1-4/s-12/su16-0@mgw
185ds/e1-5/s-11/su16-2@mgw
186ds/e1-6/s-10/su16-4@mgw
187ds/e1-7/s-9/su16-6@mgw
188ds/e1-8/s-8/su8-0@mgw
189ds/e1-9/s-7/su8-1@mgw
190ds/e1-10/s-6/su8-2@mgw
191ds/e1-11/s-5/su8-3@mgw
192ds/e1-12/s-4/su8-4@mgw
193ds/e1-13/s-3/su8-5@mgw
194ds/e1-14/s-2/su8-6@mgw
195ds/e1-15/s-1/su8-7@mgw
Neels Hofmeyra1756f32016-05-20 21:59:55 +0200196Done