dexter has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27384 )
Change subject: MGCP_Test: ensure PT translation works when converting AMR bwe/oa ......................................................................
MGCP_Test: ensure PT translation works when converting AMR bwe/oa
The tests that test the conversion from AMR octet-aligned to AMR bandwith-efficient use the same payload type number on both ends. This does match the reality. Typically the BSS uses 96 as payload type internally, while 3gpp specifies a payload type of 112 on the link between BSS and CN. To reflect those conditions in the test as well, lets use 96 on one RTP end and 112 on the other.
This also increses the test coverage as we now test if PT translation and bwe/oa conversion work together.
Change-Id: Id734b6954098130bba02f8cdf1b06e0080c3e915 Related: OS#5461 --- M mgw/MGCP_Test.ttcn 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: neels: Looks good to me, approved fixeria: Looks good to me, but someone else must approve pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn index 3b49afc..e8e3ae3 100644 --- a/mgw/MGCP_Test.ttcn +++ b/mgw/MGCP_Test.ttcn @@ -2311,7 +2311,7 @@ f_init(ep);
/* Connection #0 (Bidirectional) */ - flow[0] := valueof(t_RtpFlow(mp_local_ipv4, mp_remote_ipv4, 112, "AMR/8000")); + flow[0] := valueof(t_RtpFlow(mp_local_ipv4, mp_remote_ipv4, 96, "AMR/8000")); /* bind local RTP emulation sockets */ flow[0].em.portnr := 10000; flow[0].rtp_cfg := c_RtpemDefaultCfg;