mgw: Don't try to send packets while MDCX is underway

TC_two_crcx_and_one_mdcx_rtp_ho sometimes failed while trying to send an
RTP packet without a connected port. f_flow_modify re-bind()s the port,
sends the MDCX and then connect()s it after the MDCX ACK returned the
IP/port combination.
If the transmit timer fires off between the bind and connect the
resulting send call will fail.

Change-Id: Idf93ceb830a44dafa56430ab5178f05da6bdd6fb
diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn
index 494e8bb..e1ebc26 100644
--- a/mgw/MGCP_Test.ttcn
+++ b/mgw/MGCP_Test.ttcn
@@ -1258,7 +1258,9 @@
 		/* Now switch the flow over to a new port (BTS) */
 		port_old := flow[0].em.portnr;
 		flow[0].em.portnr := 10002;
+		f_rtpem_mode(RTPEM[0], RTPEM_MODE_RXONLY);
 		f_flow_modify(RTPEM[0], ep, call_id, "sendrecv", flow[0]);
+		f_rtpem_mode(RTPEM[0], RTPEM_MODE_BIDIR);
 
 		/* When handing over a call, the old source may still keep
 		 * transmitting for a while. We simulate this by injecting