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: |
| 112 | |
Neels Hofmeyr | c8f37cb | 2017-11-30 13:43:11 +0100 | [diff] [blame] | 113 | |
| 114 | test_mgcp_client_cancel(): |
| 115 | composed: |
| 116 | ----- |
| 117 | CRCX 1 23@mgw MGCP 1.0
|
| 118 | C: 2f
|
| 119 | I: 11
|
| 120 | L: p:20, a:AMR, nt:IN
|
| 121 | M: sendrecv
|
| 122 | |
| 123 | ----- |
| 124 | composed response: |
| 125 | ----- |
| 126 | 200 1 OK
|
Neels Hofmeyr | b1bb1fa | 2018-09-03 21:07:26 +0200 | [diff] [blame] | 127 | I: 1
|
| 128 |
|
Neels Hofmeyr | c8f37cb | 2017-11-30 13:43:11 +0100 | [diff] [blame] | 129 | v=0
|
| 130 | |
| 131 | ----- |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 132 | |
| 133 | test_sdp_section_start() test [0]: |
| 134 | |
| 135 | test_sdp_section_start() test [1]: |
| 136 | |
| 137 | test_sdp_section_start() test [2]: |
| 138 | |
| 139 | test_sdp_section_start() test [3]: |
| 140 | |
| 141 | test_sdp_section_start() test [4]: |
| 142 | |
| 143 | test_sdp_section_start() test [5]: |
| 144 | |
| 145 | test_sdp_section_start() test [6]: |
| 146 | |
| 147 | test_sdp_section_start() test [7]: |
| 148 | |
| 149 | test_sdp_section_start() test [8]: |
| 150 | |
| 151 | test_sdp_section_start() test [9]: |
Philipp Maier | 704c4f0 | 2018-06-07 18:51:31 +0200 | [diff] [blame] | 152 | 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 | |
Neels Hofmeyr | a1756f3 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 181 | Done |