Files
osmo-mgw/tests/mgcp_client/mgcp_client_test.ok
Neels Hofmeyr 72bc8da537 mgcp_client: drop a bunch of dead code
Remove public API that makes no sense anymore and is dead code.

I see the dropped API as a dead-end initial misconception of the early mgcp
client, and it doesn't really make sense to drag this stuff along. It has not
been used by osmo-msc,-bsc for a long time now, and just confuses the reader.

It is public API, yes, and older versions of osmo-msc / osmo-bsc will not be
able to compile against this, but even if it did, the resulting MGCP client
would not work with the current osmo-mgw: this API is still based on the
premise that the MGCP client dictates the MGW endpoint numbers, a concept that
cannot be used with the current osmo-mgw. Instead, osmo-mgw expects a
wildcarded endpoint upon CRCX and assigns its own endpoint names.

Also, the bts-base configuration is unused and a legacy of when osmo-bsc_mgcp
had explicit BTS and CN sides.

Change-Id: I98a9f1f17a1c4ab20cea3b08c7d21663592134d6
2018-12-19 22:22:34 +00:00

158 lines
2.1 KiB
Plaintext

Generated CRCX message:
CRCX 1 23@mgw MGCP 1.0
C: 2f
I: 11
L: p:20, a:GSM, nt:IN
M: sendrecv
Generated CRCX message (two codecs):
CRCX 2 23@mgw MGCP 1.0
C: 2f
I: 11
L: p:20, a:GSM;AMR, nt:IN
M: sendrecv
Generated CRCX message (three codecs, one with custom pt):
CRCX 3 23@mgw MGCP 1.0
C: 2f
I: 11
L: p:20, a:GSM;AMR;GSM-EFR, nt:IN
M: sendrecv
Generated MDCX message:
MDCX 4 23@mgw MGCP 1.0
C: 2f
I: 11
M: sendrecv
v=0
o=- 2f 23 IN IP4 127.0.0.1
s=-
c=IN IP4 192.168.100.23
t=0 0
m=audio 1234 RTP/AVP 3
a=ptime:20
Generated MDCX message (two codecs):
MDCX 5 23@mgw MGCP 1.0
C: 2f
I: 11
M: sendrecv
v=0
o=- 2f 23 IN IP4 127.0.0.1
s=-
c=IN IP4 192.168.100.23
t=0 0
m=audio 1234 RTP/AVP 3 112
a=rtpmap:112 AMR/8000/1
a=ptime:20
Generated MDCX message (three codecs, one with custom pt):
MDCX 6 23@mgw MGCP 1.0
C: 2f
I: 11
M: sendrecv
v=0
o=- 2f 23 IN IP4 127.0.0.1
s=-
c=IN IP4 192.168.100.23
t=0 0
m=audio 1234 RTP/AVP 3 112 96
a=rtpmap:112 AMR/8000/1
a=rtpmap:96 GSM-EFR/8000/1
a=ptime:20
Generated DLCX message:
DLCX 7 23@mgw MGCP 1.0
C: 2f
I: 11
Generated AUEP message:
AUEP 8 23@mgw MGCP 1.0
Generated RSIP message:
RSIP 9 23@mgw MGCP 1.0
Generate X-Osmo-IGN message:
CRCX 11 23@mgw MGCP 1.0
C: 2f
I: 11
L: p:20, a:GSM, nt:IN
M: sendrecv
X-Osmo-IGN: C
Overfolow test:
test_mgcp_client_cancel():
composed:
-----
CRCX 1 23@mgw MGCP 1.0
C: 2f
I: 11
L: p:20, a:AMR, nt:IN
M: sendrecv
-----
composed response:
-----
200 1 OK
I: 1
v=0
-----
test_sdp_section_start() test [0]:
test_sdp_section_start() test [1]:
test_sdp_section_start() test [2]:
test_sdp_section_start() test [3]:
test_sdp_section_start() test [4]:
test_sdp_section_start() test [5]:
test_sdp_section_start() test [6]:
test_sdp_section_start() test [7]:
test_sdp_section_start() test [8]:
test_sdp_section_start() test [9]:
110 => 96
111 => 97
112 => 98
113 => 99
96 <= 110
97 <= 111
98 <= 112
99 <= 113
0 => 0
3 => 3
8 => 8
18 => 18
0 <= 0
3 <= 3
8 <= 8
18 <= 18
110 => 96
111 => 97
112 => 98
113 => 113
0 => 0
96 <= 110
97 <= 111
98 <= 112
2 <= 2
100 <= 100
Done