Neels Hofmeyr | a1756f3 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1 | |
Philipp Maier | 1dc6be6 | 2017-10-05 18:25:37 +0200 | [diff] [blame] | 2 | Generated CRCX message: |
| 3 | CRCX 1 23@mgw MGCP 1.0
|
| 4 | C: 2f
|
| 5 | I: 11
|
Philipp Maier | 704c4f0 | 2018-06-07 18:51:31 +0200 | [diff] [blame] | 6 | L: p:20, a:GSM, nt:IN
|
| 7 | M: sendrecv
|
| 8 | |
| 9 | Generated CRCX message (two codecs): |
| 10 | CRCX 2 23@mgw MGCP 1.0
|
| 11 | C: 2f
|
| 12 | I: 11
|
| 13 | L: p:20, a:GSM;AMR, nt:IN
|
| 14 | M: sendrecv
|
| 15 | |
| 16 | Generated CRCX message (three codecs, one with custom pt): |
| 17 | CRCX 3 23@mgw MGCP 1.0
|
| 18 | C: 2f
|
| 19 | I: 11
|
| 20 | L: p:20, a:GSM;AMR;GSM-EFR, nt:IN
|
Philipp Maier | 1dc6be6 | 2017-10-05 18:25:37 +0200 | [diff] [blame] | 21 | M: sendrecv
|
| 22 | |
| 23 | Generated MDCX message: |
Philipp Maier | 704c4f0 | 2018-06-07 18:51:31 +0200 | [diff] [blame] | 24 | MDCX 4 23@mgw MGCP 1.0
|
Philipp Maier | 1dc6be6 | 2017-10-05 18:25:37 +0200 | [diff] [blame] | 25 | C: 2f
|
| 26 | I: 11
|
| 27 | M: sendrecv
|
| 28 |
|
Philipp Maier | 9d25d7a | 2018-01-22 17:31:10 +0100 | [diff] [blame] | 29 | v=0
|
Philipp Maier | 9d25d7a | 2018-01-22 17:31:10 +0100 | [diff] [blame] | 30 | o=- 2f 23 IN IP4 127.0.0.1
|
Philipp Maier | b759473 | 2018-01-31 16:44:00 +0100 | [diff] [blame] | 31 | s=-
|
Philipp Maier | 1dc6be6 | 2017-10-05 18:25:37 +0200 | [diff] [blame] | 32 | c=IN IP4 192.168.100.23
|
Philipp Maier | 9d25d7a | 2018-01-22 17:31:10 +0100 | [diff] [blame] | 33 | t=0 0
|
Philipp Maier | 704c4f0 | 2018-06-07 18:51:31 +0200 | [diff] [blame] | 34 | m=audio 1234 RTP/AVP 3
|
| 35 | a=ptime:20
|
| 36 | |
| 37 | Generated MDCX message (two codecs): |
| 38 | MDCX 5 23@mgw MGCP 1.0
|
| 39 | C: 2f
|
| 40 | I: 11
|
| 41 | M: sendrecv
|
| 42 |
|
| 43 | v=0
|
| 44 | o=- 2f 23 IN IP4 127.0.0.1
|
| 45 | s=-
|
| 46 | c=IN IP4 192.168.100.23
|
| 47 | t=0 0
|
| 48 | m=audio 1234 RTP/AVP 3 112
|
| 49 | a=rtpmap:112 AMR/8000/1
|
| 50 | a=ptime:20
|
| 51 | |
| 52 | Generated MDCX message (three codecs, one with custom pt): |
| 53 | MDCX 6 23@mgw MGCP 1.0
|
| 54 | C: 2f
|
| 55 | I: 11
|
| 56 | M: sendrecv
|
| 57 |
|
| 58 | v=0
|
| 59 | o=- 2f 23 IN IP4 127.0.0.1
|
| 60 | s=-
|
| 61 | c=IN IP4 192.168.100.23
|
| 62 | t=0 0
|
| 63 | m=audio 1234 RTP/AVP 3 112 96
|
| 64 | a=rtpmap:112 AMR/8000/1
|
| 65 | a=rtpmap:96 GSM-EFR/8000/1
|
| 66 | a=ptime:20
|
Philipp Maier | 1dc6be6 | 2017-10-05 18:25:37 +0200 | [diff] [blame] | 67 | |
| 68 | Generated DLCX message: |
Philipp Maier | 704c4f0 | 2018-06-07 18:51:31 +0200 | [diff] [blame] | 69 | DLCX 7 23@mgw MGCP 1.0
|
Philipp Maier | 1dc6be6 | 2017-10-05 18:25:37 +0200 | [diff] [blame] | 70 | C: 2f
|
| 71 | I: 11
|
| 72 | |
| 73 | Generated AUEP message: |
Philipp Maier | 704c4f0 | 2018-06-07 18:51:31 +0200 | [diff] [blame] | 74 | AUEP 8 23@mgw MGCP 1.0
|
Philipp Maier | 1dc6be6 | 2017-10-05 18:25:37 +0200 | [diff] [blame] | 75 | |
| 76 | Generated RSIP message: |
Philipp Maier | 704c4f0 | 2018-06-07 18:51:31 +0200 | [diff] [blame] | 77 | RSIP 9 23@mgw MGCP 1.0
|
Philipp Maier | 1dc6be6 | 2017-10-05 18:25:37 +0200 | [diff] [blame] | 78 | |
Neels Hofmeyr | e6d8e91 | 2018-08-23 16:36:48 +0200 | [diff] [blame] | 79 | Generate X-Osmo-IGN message: |
| 80 | CRCX 11 23@mgw MGCP 1.0
|
| 81 | C: 2f
|
| 82 | I: 11
|
| 83 | L: p:20, a:GSM, nt:IN
|
| 84 | M: sendrecv
|
| 85 | X-Osmo-IGN: C
|
| 86 | |
Pau Espin Pedrol | 900cd65 | 2019-04-24 22:06:22 +0200 | [diff] [blame] | 87 | Generate X-Osmo-Osmux message: |
| 88 | CRCX 13 23@mgw MGCP 1.0
|
| 89 | C: 2f
|
| 90 | I: 11
|
| 91 | L: p:20, a:GSM, nt:IN
|
| 92 | M: sendrecv
|
| 93 | X-Osmux: *
|
| 94 | |
| 95 | Generate X-Osmo-Osmux message (fixed CID 2): |
| 96 | CRCX 15 23@mgw MGCP 1.0
|
| 97 | C: 2f
|
| 98 | I: 11
|
| 99 | L: p:20, a:GSM, nt:IN
|
| 100 | M: sendrecv
|
| 101 | X-Osmux: 2
|
| 102 | |
Pau Espin Pedrol | ca538fc | 2019-05-10 16:49:59 +0200 | [diff] [blame] | 103 | Generate X-Osmo-Osmux message (MDCX): |
| 104 | MDCX 17 23@mgw MGCP 1.0
|
| 105 | C: 2f
|
| 106 | I: 11
|
| 107 | L: p:20, a:GSM, nt:IN
|
| 108 | M: sendrecv
|
| 109 | X-Osmux: 2
|
| 110 | |
Philipp Maier | 1dc6be6 | 2017-10-05 18:25:37 +0200 | [diff] [blame] | 111 | Overfolow test: |
Pau Espin Pedrol | 9dc7359 | 2020-08-28 20:21:55 +0200 | [diff] [blame] | 112 | IPv6 test: |
| 113 | MDCX 19 23@mgw MGCP 1.0
|
| 114 | C: 2f
|
| 115 | I: 11
|
| 116 | M: sendrecv
|
| 117 |
|
| 118 | v=0
|
| 119 | o=- 2f 23 IN IP6 ::1
|
| 120 | s=-
|
| 121 | c=IN IP6 2001:db8:1::ab9:c0a8:102
|
| 122 | t=0 0
|
| 123 | m=audio 1234 RTP/AVP 3
|
| 124 | a=ptime:20
|
| 125 | |
Philipp Maier | 1dc6be6 | 2017-10-05 18:25:37 +0200 | [diff] [blame] | 126 | |
Neels Hofmeyr | c8f37cb | 2017-11-30 13:43:11 +0100 | [diff] [blame] | 127 | |
| 128 | test_mgcp_client_cancel(): |
| 129 | composed: |
| 130 | ----- |
| 131 | CRCX 1 23@mgw MGCP 1.0
|
| 132 | C: 2f
|
| 133 | I: 11
|
| 134 | L: p:20, a:AMR, nt:IN
|
| 135 | M: sendrecv
|
| 136 | |
| 137 | ----- |
| 138 | composed response: |
| 139 | ----- |
| 140 | 200 1 OK
|
Neels Hofmeyr | b1bb1fa | 2018-09-03 21:07:26 +0200 | [diff] [blame] | 141 | I: 1
|
| 142 |
|
Neels Hofmeyr | c8f37cb | 2017-11-30 13:43:11 +0100 | [diff] [blame] | 143 | v=0
|
| 144 | |
| 145 | ----- |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 146 | |
| 147 | test_sdp_section_start() test [0]: |
| 148 | |
| 149 | test_sdp_section_start() test [1]: |
| 150 | |
| 151 | test_sdp_section_start() test [2]: |
| 152 | |
| 153 | test_sdp_section_start() test [3]: |
| 154 | |
| 155 | test_sdp_section_start() test [4]: |
| 156 | |
| 157 | test_sdp_section_start() test [5]: |
| 158 | |
| 159 | test_sdp_section_start() test [6]: |
| 160 | |
| 161 | test_sdp_section_start() test [7]: |
| 162 | |
| 163 | test_sdp_section_start() test [8]: |
| 164 | |
| 165 | test_sdp_section_start() test [9]: |
Pau Espin Pedrol | 9dc7359 | 2020-08-28 20:21:55 +0200 | [diff] [blame] | 166 | |
| 167 | test_sdp_section_start() test [10]: |
| 168 | |
| 169 | test_sdp_section_start() test [11]: |
| 170 | |
| 171 | test_sdp_section_start() test [12]: |
| 172 | |
| 173 | test_sdp_section_start() test [13]: |
| 174 | |
| 175 | test_sdp_section_start() test [14]: |
| 176 | |
| 177 | test_sdp_section_start() test [15]: |
| 178 | |
| 179 | test_sdp_section_start() test [16]: |
| 180 | |
| 181 | test_sdp_section_start() test [17]: |
| 182 | |
| 183 | test_sdp_section_start() test [18]: |
neels | c053e07 | 2024-01-11 19:40:27 +0000 | [diff] [blame] | 184 | 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 Maier | 4863591 | 2020-06-25 20:16:22 +0200 | [diff] [blame] | 213 | ds/e1-1/s-15/su64-0@mgw |
| 214 | ds/e1-2/s-14/su32-0@mgw |
| 215 | ds/e1-3/s-13/su32-4@mgw |
| 216 | ds/e1-4/s-12/su16-0@mgw |
| 217 | ds/e1-5/s-11/su16-2@mgw |
| 218 | ds/e1-6/s-10/su16-4@mgw |
| 219 | ds/e1-7/s-9/su16-6@mgw |
| 220 | ds/e1-8/s-8/su8-0@mgw |
| 221 | ds/e1-9/s-7/su8-1@mgw |
| 222 | ds/e1-10/s-6/su8-2@mgw |
| 223 | ds/e1-11/s-5/su8-3@mgw |
| 224 | ds/e1-12/s-4/su8-4@mgw |
| 225 | ds/e1-13/s-3/su8-5@mgw |
| 226 | ds/e1-14/s-2/su8-6@mgw |
| 227 | ds/e1-15/s-1/su8-7@mgw |
Neels Hofmeyr | a1756f3 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 228 | Done |