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 | |
Philipp Maier | 1dc6be6 | 2017-10-05 18:25:37 +0200 | [diff] [blame] | 87 | Overfolow test: |
| 88 | |
Neels Hofmeyr | c8f37cb | 2017-11-30 13:43:11 +0100 | [diff] [blame] | 89 | |
| 90 | test_mgcp_client_cancel(): |
| 91 | composed: |
| 92 | ----- |
| 93 | CRCX 1 23@mgw MGCP 1.0
|
| 94 | C: 2f
|
| 95 | I: 11
|
| 96 | L: p:20, a:AMR, nt:IN
|
| 97 | M: sendrecv
|
| 98 | |
| 99 | ----- |
| 100 | composed response: |
| 101 | ----- |
| 102 | 200 1 OK
|
Neels Hofmeyr | b1bb1fa | 2018-09-03 21:07:26 +0200 | [diff] [blame] | 103 | I: 1
|
| 104 |
|
Neels Hofmeyr | c8f37cb | 2017-11-30 13:43:11 +0100 | [diff] [blame] | 105 | v=0
|
| 106 | |
| 107 | ----- |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 108 | |
| 109 | test_sdp_section_start() test [0]: |
| 110 | |
| 111 | test_sdp_section_start() test [1]: |
| 112 | |
| 113 | test_sdp_section_start() test [2]: |
| 114 | |
| 115 | test_sdp_section_start() test [3]: |
| 116 | |
| 117 | test_sdp_section_start() test [4]: |
| 118 | |
| 119 | test_sdp_section_start() test [5]: |
| 120 | |
| 121 | test_sdp_section_start() test [6]: |
| 122 | |
| 123 | test_sdp_section_start() test [7]: |
| 124 | |
| 125 | test_sdp_section_start() test [8]: |
| 126 | |
| 127 | test_sdp_section_start() test [9]: |
Philipp Maier | 704c4f0 | 2018-06-07 18:51:31 +0200 | [diff] [blame] | 128 | 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 Hofmeyr | a1756f3 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 157 | Done |