aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2018-12-13 17:06:31 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2018-12-13 17:06:31 +0100
commit87fbd3d24c24c9198ddcd51d21ec8c13361522b0 (patch)
tree0f5e047f3db16935f452305e7094032278ee97ed
parent193ab3d875c8428d9737c7da57f0bc000454583d (diff)
WIP: Switch to RXONLY before deleting the flowdaniel/wip
-rw-r--r--mgw/MGCP_Test.ttcn5
1 files changed, 5 insertions, 0 deletions
diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn
index f7266a89..58fe7d6f 100644
--- a/mgw/MGCP_Test.ttcn
+++ b/mgw/MGCP_Test.ttcn
@@ -1039,6 +1039,11 @@ module MGCP_Test {
f_sleep(1.0);
+ /* Disable sending so we don't accidentally receive RTP
+ * packets on disabled ports during teardown */
+ f_rtpem_mode(RTPEM[0], RTPEM_MODE_RXONLY);
+ f_rtpem_mode(RTPEM[1], RTPEM_MODE_RXONLY);
+
f_flow_delete(RTPEM[1]);
f_flow_delete(RTPEM[0], ep, call_id);