<p>Keith Whyte has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11194">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">MNCC: Do not continue with B leg if A leg is cancelled.<br><br>In case we receive MNCC_RTP_CREATE after MNCC_DISC_IND,<br>check if the call is already marked in_release in check_rtp_create()<br>and if so, release instead of proceeding with the B leg.<br><br>Change-Id: I0eca9a741f7924c2fc32c503dd1a0fc083f94f37<br>Related: OS#3518<br>---<br>M src/mncc.c<br>1 file changed, 5 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-sip-connector refs/changes/94/11194/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/mncc.c b/src/mncc.c</span><br><span>index 976a671..5b06fbe 100644</span><br><span>--- a/src/mncc.c</span><br><span>+++ b/src/mncc.c</span><br><span>@@ -378,6 +378,11 @@</span><br><span>             LOGP(DMNCC, LOGL_ERROR, "call(%u) can not be found\n", rtp->callref);</span><br><span>           return mncc_send(conn, MNCC_REJ_REQ, rtp->callref);</span><br><span>       }</span><br><span style="color: hsl(120, 100%, 40%);">+     if (leg->base.in_release) {</span><br><span style="color: hsl(120, 100%, 40%);">+                LOGP(DMNCC, LOGL_ERROR, "call(%u) is already in release!\n", rtp->callref);</span><br><span style="color: hsl(120, 100%, 40%);">+              mncc_leg_release(leg);</span><br><span style="color: hsl(120, 100%, 40%);">+                return;</span><br><span style="color: hsl(120, 100%, 40%);">+       }</span><br><span> </span><br><span>        /* extract information about where the RTP is */</span><br><span>     leg->base.ip = rtp->ip;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11194">change 11194</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/11194"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-sip-connector </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I0eca9a741f7924c2fc32c503dd1a0fc083f94f37 </div>
<div style="display:none"> Gerrit-Change-Number: 11194 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Keith Whyte <keith@rhizomatica.org> </div>