<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/10005">View Change</a></p><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;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/05/10005/1</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 dd13ee2..794e573 100644</span><br><span>--- a/bsc/MSC_ConnectionHandler.ttcn</span><br><span>+++ b/bsc/MSC_ConnectionHandler.ttcn</span><br><span>@@ -951,6 +951,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("f_establish_fully");</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: newchange </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: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>