<p>Harald Welte <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/10302">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mgw: Don't try to send packets while MDCX is underway<br><br>TC_two_crcx_and_one_mdcx_rtp_ho sometimes failed while trying to send an<br>RTP packet without a connected port. f_flow_modify re-bind()s the port,<br>sends the MDCX and then connect()s it after the MDCX ACK returned the<br>IP/port combination.<br>If the transmit timer fires off between the bind and connect the<br>resulting send call will fail.<br><br>Change-Id: Idf93ceb830a44dafa56430ab5178f05da6bdd6fb<br>---<br>M mgw/MGCP_Test.ttcn<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn</span><br><span>index 494e8bb..e1ebc26 100644</span><br><span>--- a/mgw/MGCP_Test.ttcn</span><br><span>+++ b/mgw/MGCP_Test.ttcn</span><br><span>@@ -1258,7 +1258,9 @@</span><br><span>              /* Now switch the flow over to a new port (BTS) */</span><br><span>           port_old := flow[0].em.portnr;</span><br><span>               flow[0].em.portnr := 10002;</span><br><span style="color: hsl(120, 100%, 40%);">+           f_rtpem_mode(RTPEM[0], RTPEM_MODE_RXONLY);</span><br><span>           f_flow_modify(RTPEM[0], ep, call_id, "sendrecv", flow[0]);</span><br><span style="color: hsl(120, 100%, 40%);">+          f_rtpem_mode(RTPEM[0], RTPEM_MODE_BIDIR);</span><br><span> </span><br><span>                /* When handing over a call, the old source may still keep</span><br><span>            * transmitting for a while. We simulate this by injecting</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10302">change 10302</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/10302"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: Idf93ceb830a44dafa56430ab5178f05da6bdd6fb </div>
<div style="display:none"> Gerrit-Change-Number: 10302 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>