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 |
| 22 | got audio_port=0 |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 23 | |
| 24 | test_sdp_section_start() test [1]: |
| 25 | body: "\n\n" |
| 26 | got rc=0 |
| 27 | got audio_port=0 |
| 28 | |
| 29 | test_sdp_section_start() test [2]: |
| 30 | body: "\r\n\r\n" |
| 31 | got rc=0 |
| 32 | got audio_port=0 |
| 33 | |
| 34 | test_sdp_section_start() test [3]: |
| 35 | body: "\n\r\n\r" |
| 36 | got rc=0 |
| 37 | got audio_port=0 |
| 38 | |
| 39 | test_sdp_section_start() test [4]: |
| 40 | body: "some mgcp header data\r\nand header params\n\nm=audio 23\r\n" |
| 41 | got rc=0 |
| 42 | got audio_port=23 |
| 43 | |
| 44 | test_sdp_section_start() test [5]: |
| 45 | body: "some mgcp header data\r\nand header params\r\n\r\nm=audio 23\r\n" |
| 46 | got rc=0 |
| 47 | got audio_port=23 |
| 48 | |
| 49 | test_sdp_section_start() test [6]: |
| 50 | body: "some mgcp header data\r\nand header params\n\r\n\rm=audio 23\r\n" |
| 51 | got rc=0 |
| 52 | got audio_port=23 |
| 53 | |
| 54 | test_sdp_section_start() test [7]: |
| 55 | 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] | 56 | DLMGCP MGCP response contains no SDP parameters |
| 57 | got rc=0 |
| 58 | got audio_port=0 |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 59 | |
| 60 | test_sdp_section_start() test [8]: |
| 61 | 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] | 62 | DLMGCP MGCP response contains no SDP parameters |
| 63 | got rc=0 |
| 64 | got audio_port=0 |
Neels Hofmeyr | a8c6a9c | 2018-02-21 15:36:45 +0100 | [diff] [blame] | 65 | |
| 66 | test_sdp_section_start() test [9]: |
| 67 | 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] | 68 | DLMGCP MGCP response contains no SDP parameters |
| 69 | got rc=0 |
| 70 | got audio_port=0 |
Philipp Maier | 704c4f0 | 2018-06-07 18:51:31 +0200 | [diff] [blame] | 71 | DLMGCP ptmap contains illegal mapping: codec=113 maps to pt=2 |
| 72 | DLMGCP ptmap contains illegal mapping: codec=0 maps to pt=100 |
| 73 | DLMGCP ptmap contains illegal mapping: codec=113 maps to pt=2 |
| 74 | DLMGCP ptmap contains illegal mapping: codec=0 maps to pt=100 |
Neels Hofmeyr | a1756f3 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 75 | Done |