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
This commit is contained in:
Pau Espin 2020-09-08 18:10:54 +02:00 committed by pespin
parent e67b1c64ce
commit 25f47a72dc
1 changed files with 1 additions and 1 deletions

View File

@ -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);