diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-09-01 06:02:23 +0700 |
---|---|---|
committer | fixeria <vyanitskiy@sysmocom.de> | 2023-09-04 20:27:44 +0000 |
commit | 4d728c9670f9ddd7a18c6c4c52952e551980b359 (patch) | |
tree | 42cfed18baaff29f117283386424c6f82521b7e4 | |
parent | 15034cb55243e25aea5279db87264d8636f499d8 (diff) |
BTS_Tests: f_rtpem_activate(): make RTP payload type configurable
Change-Id: I84f576f578ffc48c8b5e545bc1700000eb693efb
Related: OS#1572
-rw-r--r-- | bts/BTS_Tests.ttcn | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index 1b437970..cd136887 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -2609,7 +2609,8 @@ private function get_start_amr_ft() runs on ConnHdlr return integer { /* Initialize and start the RTP emulation component for a ConnHdlr */ friend function f_rtpem_activate(inout octetstring payload, RtpemConfig cfg := c_RtpemDefaultCfg, - RtpemMode mode := RTPEM_MODE_BIDIR) + RtpemMode mode := RTPEM_MODE_BIDIR, + uint7_t rtp_pt := 0) runs on ConnHdlr { /* Step 0: initialize, connect and start the emulation component */ vc_RTPEM := RTP_Emulation_CT.create(testcasename() & "-RTPEM"); @@ -2672,7 +2673,7 @@ runs on ConnHdlr { ts_RSL_IPA_MDCX(g_chan_nr, conn_id, remote_ip := f_inet_addr(mp_rtpem_bind_ip), remote_port := rtpem_bind_port, - rtp_pt2 := 0), + rtp_pt2 := rtp_pt), tr_RSL_IPA_MDCX_ACK(g_chan_nr, conn_id, ?, ?, ?), "IPA MDCX ACK"); |