Neels Hofmeyr | ac69ea9 | 2018-12-19 00:27:50 +0100 | [diff] [blame] | 1 | DLMGCP MGCP client: using endpoint domain '@mgw' |
Philipp Maier | 1dc6be6 | 2017-10-05 18:25:37 +0200 | [diff] [blame] | 2 | DLMGCP message buffer to small, can not generate MGCP message |
Neels Hofmeyr | c8f37cb | 2017-11-30 13:43:11 +0100 | [diff] [blame] | 3 | |
| 4 | test_mgcp_client_cancel(): |
Neels Hofmeyr | ac69ea9 | 2018-12-19 00:27:50 +0100 | [diff] [blame] | 5 | DLMGCP MGCP client: using endpoint domain '@mgw' |
Neels Hofmeyr | c8f37cb | 2017-11-30 13:43:11 +0100 | [diff] [blame] | 6 | - composed msg with trans_id=1 |
| 7 | - not in queue yet, cannot cancel yet |
| 8 | DLMGCP Cannot cancel, no such transaction: 1 |
| 9 | - enqueue |
| 10 | - cancel succeeds |
| 11 | DLMGCP Canceled transaction 1 |
| 12 | - late response gets discarded |
| 13 | DLMGCP Cannot find matching MGCP transaction for trans_id 1 |
| 14 | - canceling again does nothing |
| 15 | DLMGCP Cannot cancel, no such transaction: 1 |
| 16 | test_mgcp_client_cancel() done |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 17 | |
| 18 | test_sdp_section_start() test [0]: |
| 19 | body: "" |
Neels Hofmeyr | e827831 | 2019-09-19 03:06:46 +0200 | [diff] [blame] | 20 | DLMGCP MGCP response contains no SDP parameters |
| 21 | got rc=0 |
Pau Espin Pedrol | 9dc7359 | 2020-08-28 20:21:55 +0200 | [diff] [blame] | 22 | got audio_ip="" |
Neels Hofmeyr | e827831 | 2019-09-19 03:06:46 +0200 | [diff] [blame] | 23 | got audio_port=0 |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 24 | |
| 25 | test_sdp_section_start() test [1]: |
| 26 | body: "\n\n" |
| 27 | got rc=0 |
Pau Espin Pedrol | 9dc7359 | 2020-08-28 20:21:55 +0200 | [diff] [blame] | 28 | got audio_ip="" |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 29 | got audio_port=0 |
| 30 | |
| 31 | test_sdp_section_start() test [2]: |
| 32 | body: "\r\n\r\n" |
| 33 | got rc=0 |
Pau Espin Pedrol | 9dc7359 | 2020-08-28 20:21:55 +0200 | [diff] [blame] | 34 | got audio_ip="" |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 35 | got audio_port=0 |
| 36 | |
| 37 | test_sdp_section_start() test [3]: |
| 38 | body: "\n\r\n\r" |
| 39 | got rc=0 |
Pau Espin Pedrol | 9dc7359 | 2020-08-28 20:21:55 +0200 | [diff] [blame] | 40 | got audio_ip="" |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 41 | got audio_port=0 |
| 42 | |
| 43 | test_sdp_section_start() test [4]: |
| 44 | body: "some mgcp header data\r\nand header params\n\nm=audio 23\r\n" |
| 45 | got rc=0 |
Pau Espin Pedrol | 9dc7359 | 2020-08-28 20:21:55 +0200 | [diff] [blame] | 46 | got audio_ip="" |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 47 | got audio_port=23 |
| 48 | |
| 49 | test_sdp_section_start() test [5]: |
| 50 | body: "some mgcp header data\r\nand header params\r\n\r\nm=audio 23\r\n" |
| 51 | got rc=0 |
Pau Espin Pedrol | 9dc7359 | 2020-08-28 20:21:55 +0200 | [diff] [blame] | 52 | got audio_ip="" |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 53 | got audio_port=23 |
| 54 | |
| 55 | test_sdp_section_start() test [6]: |
| 56 | body: "some mgcp header data\r\nand header params\n\r\n\rm=audio 23\r\n" |
| 57 | got rc=0 |
Pau Espin Pedrol | 9dc7359 | 2020-08-28 20:21:55 +0200 | [diff] [blame] | 58 | got audio_ip="" |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 59 | got audio_port=23 |
| 60 | |
| 61 | test_sdp_section_start() test [7]: |
| 62 | body: "some mgcp header data\r\nand header params\n\r\nm=audio 23\r\n" |
Neels Hofmeyr | e827831 | 2019-09-19 03:06:46 +0200 | [diff] [blame] | 63 | DLMGCP MGCP response contains no SDP parameters |
| 64 | got rc=0 |
Pau Espin Pedrol | 9dc7359 | 2020-08-28 20:21:55 +0200 | [diff] [blame] | 65 | got audio_ip="" |
Neels Hofmeyr | e827831 | 2019-09-19 03:06:46 +0200 | [diff] [blame] | 66 | got audio_port=0 |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 67 | |
| 68 | test_sdp_section_start() test [8]: |
| 69 | body: "some mgcp header data\r\nand header params\r\n\rm=audio 23\r\n" |
Neels Hofmeyr | e827831 | 2019-09-19 03:06:46 +0200 | [diff] [blame] | 70 | DLMGCP MGCP response contains no SDP parameters |
| 71 | got rc=0 |
Pau Espin Pedrol | 9dc7359 | 2020-08-28 20:21:55 +0200 | [diff] [blame] | 72 | got audio_ip="" |
Neels Hofmeyr | e827831 | 2019-09-19 03:06:46 +0200 | [diff] [blame] | 73 | got audio_port=0 |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 74 | |
| 75 | test_sdp_section_start() test [9]: |
| 76 | body: "some mgcp header data\r\nand header params\n\r\rm=audio 23\r\n" |
Neels Hofmeyr | e827831 | 2019-09-19 03:06:46 +0200 | [diff] [blame] | 77 | DLMGCP MGCP response contains no SDP parameters |
| 78 | got rc=0 |
Pau Espin Pedrol | 9dc7359 | 2020-08-28 20:21:55 +0200 | [diff] [blame] | 79 | got audio_ip="" |
Neels Hofmeyr | e827831 | 2019-09-19 03:06:46 +0200 | [diff] [blame] | 80 | got audio_port=0 |
Pau Espin Pedrol | 9dc7359 | 2020-08-28 20:21:55 +0200 | [diff] [blame] | 81 | |
| 82 | test_sdp_section_start() test [10]: |
| 83 | body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP4 1.2.3.4\r\n" |
| 84 | got rc=0 |
| 85 | got audio_ip="1.2.3.4" |
| 86 | got audio_port=0 |
| 87 | |
| 88 | test_sdp_section_start() test [11]: |
| 89 | body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP6 2001:db8:1::ab9:c0a8:102\r\n" |
| 90 | got rc=0 |
| 91 | got audio_ip="2001:db8:1::ab9:c0a8:102" |
| 92 | got audio_port=0 |
| 93 | |
| 94 | test_sdp_section_start() test [12]: |
| 95 | body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP6 1.2.3.4\r\n" |
| 96 | DLMGCP Failed to parse MGCP response header (audio ip) |
| 97 | got rc=-22 |
| 98 | |
| 99 | test_sdp_section_start() test [13]: |
| 100 | body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP4 ::1\r\n" |
| 101 | DLMGCP Failed to parse MGCP response header (audio ip) |
| 102 | got rc=-22 |
| 103 | |
| 104 | test_sdp_section_start() test [14]: |
| 105 | body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP4 notanip\r\n" |
| 106 | DLMGCP Failed to parse MGCP response header (audio ip) |
| 107 | got rc=-22 |
| 108 | |
| 109 | test_sdp_section_start() test [15]: |
| 110 | body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP4 1.2.3.4.5.6\r\n" |
| 111 | DLMGCP Failed to parse MGCP response header (audio ip) |
| 112 | got rc=-22 |
| 113 | |
| 114 | test_sdp_section_start() test [16]: |
| 115 | body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP4 1.2 .3\r\n" |
| 116 | DLMGCP Failed to parse MGCP response header (audio ip) |
| 117 | got rc=-22 |
| 118 | |
| 119 | test_sdp_section_start() test [17]: |
| 120 | body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP4 1.2 .3\r\n" |
| 121 | DLMGCP Failed to parse MGCP response header (audio ip) |
| 122 | got rc=-22 |
| 123 | |
| 124 | test_sdp_section_start() test [18]: |
| 125 | body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP4 \r\n" |
| 126 | DLMGCP Failed to parse MGCP response header (audio ip) |
| 127 | got rc=-22 |
Philipp Maier | 704c4f0 | 2018-06-07 18:51:31 +0200 | [diff] [blame] | 128 | DLMGCP ptmap contains illegal mapping: codec=113 maps to pt=2 |
| 129 | DLMGCP ptmap contains illegal mapping: codec=0 maps to pt=100 |
| 130 | DLMGCP ptmap contains illegal mapping: codec=113 maps to pt=2 |
| 131 | DLMGCP ptmap contains illegal mapping: codec=0 maps to pt=100 |
Philipp Maier | 4863591 | 2020-06-25 20:16:22 +0200 | [diff] [blame] | 132 | DLMGCP MGCP client: using endpoint domain '@mgw' |
| 133 | DLMGCP Cannot compose MGCP e1-endpoint name (ds/e1-15/s-1/su128-0@mgw), rate(128)/offset(0) combination is invalid! |
| 134 | DLMGCP Cannot compose MGCP e1-endpoint name (ds/e1-15/s-1/su8-16@mgw), rate(8)/offset(16) combination is invalid! |
| 135 | DLMGCP Cannot compose MGCP e1-endpoint name (ds/e1-15/s-0/su8-2@mgw), E1-timeslot number (0) is invalid! |
| 136 | DLMGCP Cannot compose MGCP e1-endpoint name (ds/e1-15/s-64/su8-2@mgw), E1-timeslot number (64) is invalid! |
Neels Hofmeyr | a1756f3 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 137 | Done |