blob: 4a73f7f99bfea8faa978468973c41abfc14f99fa [file] [log] [blame]
Philipp Maierdf9192e2021-09-03 17:50:51 +02001DLMGCP MGW(mgw) MGCP client: using endpoint domain '@mgw'
2DLMGCP MGW(mgw) Message buffer to small, can not generate MGCP message (SDP)
Neels Hofmeyrc8f37cb2017-11-30 13:43:11 +01003
4test_mgcp_client_cancel():
Philipp Maierdf9192e2021-09-03 17:50:51 +02005DLMGCP MGW(mgw) MGCP client: using endpoint domain '@mgw'
Neels Hofmeyrc8f37cb2017-11-30 13:43:11 +01006- composed msg with trans_id=1
7- not in queue yet, cannot cancel yet
Philipp Maierdf9192e2021-09-03 17:50:51 +02008DLMGCP MGW(mgw) Cannot cancel, no such transaction: 1
Neels Hofmeyrc8f37cb2017-11-30 13:43:11 +01009- enqueue
10- cancel succeeds
Philipp Maierdf9192e2021-09-03 17:50:51 +020011DLMGCP MGW(mgw) Canceled transaction 1
Neels Hofmeyrc8f37cb2017-11-30 13:43:11 +010012- late response gets discarded
Philipp Maierdf9192e2021-09-03 17:50:51 +020013DLMGCP MGW(mgw) MGCP client: Rx 200 1 OK
14DLMGCP MGW(mgw) Cannot find matching MGCP transaction for trans_id 1
Neels Hofmeyrc8f37cb2017-11-30 13:43:11 +010015- canceling again does nothing
Philipp Maierdf9192e2021-09-03 17:50:51 +020016DLMGCP MGW(mgw) Cannot cancel, no such transaction: 1
Neels Hofmeyrc8f37cb2017-11-30 13:43:11 +010017test_mgcp_client_cancel() done
Neels Hofmeyra8c6a9c2018-02-21 15:36:45 +010018
19test_sdp_section_start() test [0]:
20body: ""
Neels Hofmeyre8278312019-09-19 03:06:46 +020021DLMGCP MGCP response contains no SDP parameters
22got rc=0
Pau Espin Pedrol9dc73592020-08-28 20:21:55 +020023got audio_ip=""
Neels Hofmeyre8278312019-09-19 03:06:46 +020024got audio_port=0
Neels Hofmeyra8c6a9c2018-02-21 15:36:45 +010025
26test_sdp_section_start() test [1]:
27body: "\n\n"
28got rc=0
Pau Espin Pedrol9dc73592020-08-28 20:21:55 +020029got audio_ip=""
Neels Hofmeyra8c6a9c2018-02-21 15:36:45 +010030got audio_port=0
31
32test_sdp_section_start() test [2]:
33body: "\r\n\r\n"
34got rc=0
Pau Espin Pedrol9dc73592020-08-28 20:21:55 +020035got audio_ip=""
Neels Hofmeyra8c6a9c2018-02-21 15:36:45 +010036got audio_port=0
37
38test_sdp_section_start() test [3]:
39body: "\n\r\n\r"
40got rc=0
Pau Espin Pedrol9dc73592020-08-28 20:21:55 +020041got audio_ip=""
Neels Hofmeyra8c6a9c2018-02-21 15:36:45 +010042got audio_port=0
43
44test_sdp_section_start() test [4]:
45body: "some mgcp header data\r\nand header params\n\nm=audio 23\r\n"
46got rc=0
Pau Espin Pedrol9dc73592020-08-28 20:21:55 +020047got audio_ip=""
Neels Hofmeyra8c6a9c2018-02-21 15:36:45 +010048got audio_port=23
49
50test_sdp_section_start() test [5]:
51body: "some mgcp header data\r\nand header params\r\n\r\nm=audio 23\r\n"
52got rc=0
Pau Espin Pedrol9dc73592020-08-28 20:21:55 +020053got audio_ip=""
Neels Hofmeyra8c6a9c2018-02-21 15:36:45 +010054got audio_port=23
55
56test_sdp_section_start() test [6]:
57body: "some mgcp header data\r\nand header params\n\r\n\rm=audio 23\r\n"
58got rc=0
Pau Espin Pedrol9dc73592020-08-28 20:21:55 +020059got audio_ip=""
Neels Hofmeyra8c6a9c2018-02-21 15:36:45 +010060got audio_port=23
61
62test_sdp_section_start() test [7]:
63body: "some mgcp header data\r\nand header params\n\r\nm=audio 23\r\n"
Neels Hofmeyre8278312019-09-19 03:06:46 +020064DLMGCP MGCP response contains no SDP parameters
65got rc=0
Pau Espin Pedrol9dc73592020-08-28 20:21:55 +020066got audio_ip=""
Neels Hofmeyre8278312019-09-19 03:06:46 +020067got audio_port=0
Neels Hofmeyra8c6a9c2018-02-21 15:36:45 +010068
69test_sdp_section_start() test [8]:
70body: "some mgcp header data\r\nand header params\r\n\rm=audio 23\r\n"
Neels Hofmeyre8278312019-09-19 03:06:46 +020071DLMGCP MGCP response contains no SDP parameters
72got rc=0
Pau Espin Pedrol9dc73592020-08-28 20:21:55 +020073got audio_ip=""
Neels Hofmeyre8278312019-09-19 03:06:46 +020074got audio_port=0
Neels Hofmeyra8c6a9c2018-02-21 15:36:45 +010075
76test_sdp_section_start() test [9]:
77body: "some mgcp header data\r\nand header params\n\r\rm=audio 23\r\n"
Neels Hofmeyre8278312019-09-19 03:06:46 +020078DLMGCP MGCP response contains no SDP parameters
79got rc=0
Pau Espin Pedrol9dc73592020-08-28 20:21:55 +020080got audio_ip=""
Neels Hofmeyre8278312019-09-19 03:06:46 +020081got audio_port=0
Pau Espin Pedrol9dc73592020-08-28 20:21:55 +020082
83test_sdp_section_start() test [10]:
84body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP4 1.2.3.4\r\n"
85got rc=0
86got audio_ip="1.2.3.4"
87got audio_port=0
88
89test_sdp_section_start() test [11]:
90body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP6 2001:db8:1::ab9:c0a8:102\r\n"
91got rc=0
92got audio_ip="2001:db8:1::ab9:c0a8:102"
93got audio_port=0
94
95test_sdp_section_start() test [12]:
96body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP6 1.2.3.4\r\n"
97DLMGCP Failed to parse MGCP response header (audio ip)
98got rc=-22
99
100test_sdp_section_start() test [13]:
101body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP4 ::1\r\n"
102DLMGCP Failed to parse MGCP response header (audio ip)
103got rc=-22
104
105test_sdp_section_start() test [14]:
106body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP4 notanip\r\n"
107DLMGCP Failed to parse MGCP response header (audio ip)
108got rc=-22
109
110test_sdp_section_start() test [15]:
111body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP4 1.2.3.4.5.6\r\n"
112DLMGCP Failed to parse MGCP response header (audio ip)
113got rc=-22
114
115test_sdp_section_start() test [16]:
116body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP4 1.2 .3\r\n"
117DLMGCP Failed to parse MGCP response header (audio ip)
118got rc=-22
119
120test_sdp_section_start() test [17]:
121body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP4 1.2 .3\r\n"
122DLMGCP Failed to parse MGCP response header (audio ip)
123got rc=-22
124
125test_sdp_section_start() test [18]:
126body: "some mgcp header data\r\nand header params\r\n\r\nc=IN IP4 \r\n"
127DLMGCP Failed to parse MGCP response header (audio ip)
128got rc=-22
Philipp Maier704c4f02018-06-07 18:51:31 +0200129DLMGCP ptmap contains illegal mapping: codec=113 maps to pt=2
130DLMGCP ptmap contains illegal mapping: codec=0 maps to pt=100
131DLMGCP ptmap contains illegal mapping: codec=113 maps to pt=2
132DLMGCP ptmap contains illegal mapping: codec=0 maps to pt=100
Philipp Maierdf9192e2021-09-03 17:50:51 +0200133DLMGCP MGW(mgw) MGCP client: using endpoint domain '@mgw'
134DLMGCP MGW(mgw) Cannot compose MGCP e1-endpoint name (ds/e1-15/s-1/su128-0@mgw), rate(128)/offset(0) combination is invalid!
135DLMGCP MGW(mgw) Cannot compose MGCP e1-endpoint name (ds/e1-15/s-1/su8-16@mgw), rate(8)/offset(16) combination is invalid!
136DLMGCP MGW(mgw) Cannot compose MGCP e1-endpoint name (ds/e1-15/s-0/su8-2@mgw), E1-timeslot number (0) is invalid!
137DLMGCP MGW(mgw) Cannot compose MGCP e1-endpoint name (ds/e1-15/s-64/su8-2@mgw), E1-timeslot number (64) is invalid!
Neels Hofmeyra1756f32016-05-20 21:59:55 +0200138Done