aboutsummaryrefslogtreecommitdiffstats
path: root/mgw/MGCP_Test.ttcn
diff options
context:
space:
mode:
Diffstat (limited to 'mgw/MGCP_Test.ttcn')
-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);