diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn index f7266a898..58fe7d6f5 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);