aboutsummaryrefslogtreecommitdiffstats
path: root/mgw
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-09-08 18:10:54 +0200
committerpespin <pespin@sysmocom.de>2020-09-09 12:22:42 +0000
commit25f47a72dc6e1d3a4e971408ac4740b43fa243fc (patch)
treedeb9ac5622207bea8e5874436d230a322881d4d7 /mgw
parente67b1c64ce14a2b7b06c347a247a5cecfcb06e9f (diff)
mgw: Fix using incorrect IP version in TC_one_crcx_receive_only_rtp
Send the remote address to MGW so it knows which IP version to return during CRCX ACK. This actually better suits the test, since there's less point in checking whether we receive something if we never pass the IP/port to MGW. In any case, the "recvonly" should still tell MGW to refrain from sending stuff to us, so we are really testing that here. Change-Id: Id3452cecf7fb281e5e46471f7f53983c08c6bfdf
Diffstat (limited to 'mgw')
-rw-r--r--mgw/MGCP_Test.ttcn2
1 files changed, 1 insertions, 1 deletions
diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn
index c6fe15b8..47a76903 100644
--- a/mgw/MGCP_Test.ttcn
+++ b/mgw/MGCP_Test.ttcn
@@ -1593,7 +1593,7 @@ module MGCP_Test {
f_init(ep);
flow := valueof(t_RtpFlow(mp_local_ip, mp_remote_ip, 112, "AMR/8000/1"));
flow.em.portnr := 10000;
- f_flow_create(RTPEM[0], ep, call_id, "recvonly", flow, false);
+ f_flow_create(RTPEM[0], ep, call_id, "recvonly", flow, true);
f_rtpem_mode(RTPEM[0], RTPEM_MODE_TXONLY);
f_sleep(1.0);