<p>Harald Welte <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/10005">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;">MSC_ConnectionHandler: expect additional MDCX when call is LCLS<br><br>The function f_establish_f_establish_fully does not yet handle the<br>case where calls get switched locally. In those cases we expect to<br>see one additional MDCX before the BSSMAP ASSIGNMENT COMPLETE is<br>sent.<br><br>- Check exp_ass_cpl if the call is expected to be LCLS and expect<br>  another MDCX for those cases.<br><br>Change-Id: I55fae5ab03980cd810ed7dc38208550686b1659e<br>Related: OS#3292<br>---<br>M bsc/MSC_ConnectionHandler.ttcn<br>1 file changed, 12 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/bsc/MSC_ConnectionHandler.ttcn b/bsc/MSC_ConnectionHandler.ttcn</span><br><span>index ba4d19d..94cd9ef 100644</span><br><span>--- a/bsc/MSC_ConnectionHandler.ttcn</span><br><span>+++ b/bsc/MSC_ConnectionHandler.ttcn</span><br><span>@@ -947,6 +947,18 @@</span><br><span>             self.stop;</span><br><span>   }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ /* When the BSC detects that LCLS is possible it will cross the</span><br><span style="color: hsl(120, 100%, 40%);">+        * connetions that point to the PBX side of the MGW. In our case this</span><br><span style="color: hsl(120, 100%, 40%);">+  * is mgcp_conn[1]. The BSC performs this operation already before the</span><br><span style="color: hsl(120, 100%, 40%);">+         * assignment complete is generated. This means we expect another MDCX</span><br><span style="color: hsl(120, 100%, 40%);">+         * at mgcp_conn[1] when LCLS is expected. */</span><br><span style="color: hsl(120, 100%, 40%);">+  if (ispresent(exp_ass_cpl.pdu.bssmap.assignmentComplete.lCLS_BSS_Status.lCLS_BSS_StatusValue)) {</span><br><span style="color: hsl(120, 100%, 40%);">+              if (valueof(exp_ass_cpl.pdu.bssmap.assignmentComplete.lCLS_BSS_Status.lCLS_BSS_StatusValue) == LCLS_STS_locally_switched) {</span><br><span style="color: hsl(120, 100%, 40%);">+                   g_media.mgcp_conn[1].mdcx_seen_exp := g_media.mgcp_conn[1].mdcx_seen_exp + 1;</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+               }</span><br><span style="color: hsl(120, 100%, 40%);">+     }</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>  f_check_mgcp_expectations();</span><br><span> }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10005">change 10005</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/10005"/><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: I55fae5ab03980cd810ed7dc38208550686b1659e </div>
<div style="display:none"> Gerrit-Change-Number: 10005 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>