mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-02 21:13:44 +00:00
SDP is an optional part of MGCP messages. Do not fail when there is no SDP part. Practically this is useful to compose simpler MGCP responses from TTCN3 tests. osmo-mgw itself always includes SDP, so there is no real impact on operating libosmo-mgcp-client with osmo-mgw from osmo-bsc or osmo-msc. Change-Id: I608001626459ea72415fb142f857550bbb90c683
76 lines
2.1 KiB
Plaintext
76 lines
2.1 KiB
Plaintext
DLMGCP MGCP client: using endpoint domain '@mgw'
|
|
DLMGCP message buffer to small, can not generate MGCP message
|
|
|
|
test_mgcp_client_cancel():
|
|
DLMGCP MGCP client: using endpoint domain '@mgw'
|
|
- composed msg with trans_id=1
|
|
- not in queue yet, cannot cancel yet
|
|
DLMGCP Cannot cancel, no such transaction: 1
|
|
- enqueue
|
|
- cancel succeeds
|
|
DLMGCP Canceled transaction 1
|
|
- late response gets discarded
|
|
DLMGCP Cannot find matching MGCP transaction for trans_id 1
|
|
- canceling again does nothing
|
|
DLMGCP Cannot cancel, no such transaction: 1
|
|
test_mgcp_client_cancel() done
|
|
|
|
test_sdp_section_start() test [0]:
|
|
body: ""
|
|
DLMGCP MGCP response contains no SDP parameters
|
|
got rc=0
|
|
got audio_port=0
|
|
|
|
test_sdp_section_start() test [1]:
|
|
body: "\n\n"
|
|
got rc=0
|
|
got audio_port=0
|
|
|
|
test_sdp_section_start() test [2]:
|
|
body: "\r\n\r\n"
|
|
got rc=0
|
|
got audio_port=0
|
|
|
|
test_sdp_section_start() test [3]:
|
|
body: "\n\r\n\r"
|
|
got rc=0
|
|
got audio_port=0
|
|
|
|
test_sdp_section_start() test [4]:
|
|
body: "some mgcp header data\r\nand header params\n\nm=audio 23\r\n"
|
|
got rc=0
|
|
got audio_port=23
|
|
|
|
test_sdp_section_start() test [5]:
|
|
body: "some mgcp header data\r\nand header params\r\n\r\nm=audio 23\r\n"
|
|
got rc=0
|
|
got audio_port=23
|
|
|
|
test_sdp_section_start() test [6]:
|
|
body: "some mgcp header data\r\nand header params\n\r\n\rm=audio 23\r\n"
|
|
got rc=0
|
|
got audio_port=23
|
|
|
|
test_sdp_section_start() test [7]:
|
|
body: "some mgcp header data\r\nand header params\n\r\nm=audio 23\r\n"
|
|
DLMGCP MGCP response contains no SDP parameters
|
|
got rc=0
|
|
got audio_port=0
|
|
|
|
test_sdp_section_start() test [8]:
|
|
body: "some mgcp header data\r\nand header params\r\n\rm=audio 23\r\n"
|
|
DLMGCP MGCP response contains no SDP parameters
|
|
got rc=0
|
|
got audio_port=0
|
|
|
|
test_sdp_section_start() test [9]:
|
|
body: "some mgcp header data\r\nand header params\n\r\rm=audio 23\r\n"
|
|
DLMGCP MGCP response contains no SDP parameters
|
|
got rc=0
|
|
got audio_port=0
|
|
DLMGCP ptmap contains illegal mapping: codec=113 maps to pt=2
|
|
DLMGCP ptmap contains illegal mapping: codec=0 maps to pt=100
|
|
DLMGCP ptmap contains illegal mapping: codec=113 maps to pt=2
|
|
DLMGCP ptmap contains illegal mapping: codec=0 maps to pt=100
|
|
Done
|