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
This commit is contained in:
Philipp Maier 2022-03-03 11:16:02 +01:00 committed by dexter
parent cf4935afca
commit e5af8a3576
1 changed files with 1 additions and 1 deletions

View File

@ -2311,7 +2311,7 @@ module MGCP_Test {
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;