osmo-ttcn3-hacks/mgw
Philipp Maier 47ec812fd0 MGCP_Test: fix TC_one_crcx_loopback_rtp_implicit
The testcase TC_one_crcx_loopback_rtp_implicit creates a loopback
connection using CRCX but without SDP. It selects AMR using LCO. The MGW
responds with an MDCX and acknowledges AMR with a payload type of 112,
The TTCN3 testcase then sends AMR RTP packets with payload type 111, those
are accepted and looped back but the payload type will be converted to 112
as negotiated in the CRCX response. However the TTCN3 test still expects
111 in the packets comming back from the MGW. This is obviously a wrong
expectation and the testcase did only pass because Osmo-MGW was behaving
incorrectly.

To fix this let's just use 112 as payload type as payload type in this
test. This is the recommended payload type number for AMR (3GPP TS 48.103,
Table 5.4.2.2.1) and used by the MGW by default in case the call agent does
not specify a different one in SDP.

Change-Id: Idc370e9dc2e4954374fc7d07f7b117788028635a
Related: OS#5461
2023-05-23 14:07:45 +02:00
..
MGCP_Test.cfg MGCP_Test: fix config file include path 2018-03-16 13:46:40 +01:00
MGCP_Test.default MGCP_Test: upgrade expected behavior for TC_dlcx_wildcarded 2021-08-03 17:16:04 +02:00
MGCP_Test.ttcn MGCP_Test: fix TC_one_crcx_loopback_rtp_implicit 2023-05-23 14:07:45 +02:00
README.md Update README.md of several TTCN3 test suites 2019-11-15 18:49:09 +00:00
RTP_Endpoint.ttcn Stop tests after failures 2018-07-24 14:19:42 +02:00
expected-results.xml mgw: Introduce test TC_crcx_osmux_257 2022-10-11 21:22:09 +02:00
gen_links.sh Move AMR defintions out of OSMUX_Types to its own file 2022-09-07 10:46:17 +02:00
osmo-mgw.cfg mgw: Update to contain similar config from docker-playground.git 2022-10-11 21:22:16 +02:00
regen_makefile.sh regen_makefile.sh: set executable name explicitly 2021-10-13 11:12:22 +02:00

README.md

MGW_Test.ttcn

  • external interfaces
    • MGCP (emulates call agent)
    • RTP (stream source/sink)
    • Osmux (stream source/sink)
    • VTY

{% dot mgw_tests.svg digraph G { rankdir=LR; MGW [label="IUT\nosmo-mgw",shape="box"]; ATS [label="ATS\nMGCP_Test.ttcn"];

ATS -> MGW [label="RTP", dir="both"]; ATS -> MGW [label="Osmux", dir="both"]; ATS -> MGW [label="MGCP"]; ATS -> MGW [label="VTY"]; } %}