<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15208">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BSC_Tests: Change test-expectation of TC_paging_resp_unsol<br><br>The testcase TC_paging_resp_unsol expects the BSC to close the channel<br>when an unsolicit paging response is received. This expectation is due<br>to the fact that osmo-bsc supports multiple MSC, which is not specified<br>in 3gpp specs. Therefore the BSC needs to know which MSC is in charge.<br><br>However, with MT-CSFB calls it is a normal situation that the BSC<br>receives a paging response on abis without sending a paging first since<br>the MSC has paged the UE via the SGs interface. In those cases we expect<br>the BSC to forward the paging response to the first configured MSC.<br><br>Related: SYS#4624<br>Change-Id: I5562cbf61a2aa42e6950860bc0f9c6c20c61a9fe<br>---<br>M bsc/BSC_Tests.ttcn<br>1 file changed, 23 insertions(+), 6 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/08/15208/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn</span><br><span>index 44a9172..3884928 100644</span><br><span>--- a/bsc/BSC_Tests.ttcn</span><br><span>+++ b/bsc/BSC_Tests.ttcn</span><br><span>@@ -1604,17 +1604,22 @@</span><br><span>  f_shutdown_helper();</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-/* Verify how we handle unsolicited Paging Response, for instance because we</span><br><span style="color: hsl(0, 100%, 40%);">- * receive a Paging Response after T3113 expired (and subscriber information was</span><br><span style="color: hsl(0, 100%, 40%);">- * dropped). See OS#3680.</span><br><span style="color: hsl(120, 100%, 40%);">+/* Verify how we handle unsolicited Paging Response. In case of an unsolicit</span><br><span style="color: hsl(120, 100%, 40%);">+ * paging response we can not know which MSC is in charge, so we will blindly</span><br><span style="color: hsl(120, 100%, 40%);">+ * pick the first configured MSC. This behavior is required in order to make</span><br><span style="color: hsl(120, 100%, 40%);">+ * MT-CSFB calls working because in those cases the BSC can not know that the</span><br><span style="color: hsl(120, 100%, 40%);">+ * MSC has already paged the subscriver via SGs. So any MT-CSFB call will look</span><br><span style="color: hsl(120, 100%, 40%);">+ * like an unsolicited Paging Response to the MSC.</span><br><span>  */</span><br><span> testcase TC_paging_resp_unsol() runs on test_CT {</span><br><span> </span><br><span>     f_init(1);</span><br><span style="color: hsl(120, 100%, 40%);">+    timer T := 5.0;</span><br><span> </span><br><span>  var BSSAP_N_CONNECT_ind rx_c_ind;</span><br><span>    var DchanTuple dt;</span><br><span>   var PDU_ML3_MS_NW l3 := valueof(ts_PAG_RESP(valueof(ts_MI_IMSI_LV('001010008880018'H))));</span><br><span style="color: hsl(120, 100%, 40%);">+     var octetstring rr_pag_resp := enc_PDU_ML3_MS_NW(l3);</span><br><span> </span><br><span>    /* Send CHAN RQD and wait for allocation; acknowledge it */</span><br><span>  dt.rsl_chan_nr := f_chreq_act_ack();</span><br><span>@@ -1622,10 +1627,22 @@</span><br><span>       /* Send unsolicited Paging response (no matching Paging CMD stored in BSC) */</span><br><span>        f_ipa_tx(0, ts_RSL_EST_IND(dt.rsl_chan_nr, valueof(ts_RslLinkID_DCCH(0)), enc_PDU_ML3_MS_NW(l3)));</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-  /* expect BSC to disable the channel */</span><br><span style="color: hsl(0, 100%, 40%);">- f_expect_chan_rel(0, dt.rsl_chan_nr, expect_rll_rel_req := false);</span><br><span style="color: hsl(0, 100%, 40%);">-      setverdict(pass);</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ /* Expevct a CR with a matching Paging response on the A-Interface */</span><br><span style="color: hsl(120, 100%, 40%);">+ T.start;</span><br><span style="color: hsl(120, 100%, 40%);">+      alt {</span><br><span style="color: hsl(120, 100%, 40%);">+ [] BSSAP.receive(tr_BSSAP_CONNECT_ind(?, ?, tr_BSSMAP_ComplL3(rr_pag_resp))) {</span><br><span style="color: hsl(120, 100%, 40%);">+                setverdict(pass);</span><br><span style="color: hsl(120, 100%, 40%);">+             }</span><br><span style="color: hsl(120, 100%, 40%);">+     [] BSSAP.receive {</span><br><span style="color: hsl(120, 100%, 40%);">+            setverdict(fail, "Received unexpected message on A-Interface!");</span><br><span style="color: hsl(120, 100%, 40%);">+            }</span><br><span style="color: hsl(120, 100%, 40%);">+     [] T.timeout {</span><br><span style="color: hsl(120, 100%, 40%);">+                setverdict(fail, "Received nothing on A-Interface!");</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%);">+   setverdict(pass);</span><br><span> }</span><br><span> </span><br><span> /* Test RSL link drop causes counter increment */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15208">change 15208</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/c/osmo-ttcn3-hacks/+/15208"/><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-Change-Id: I5562cbf61a2aa42e6950860bc0f9c6c20c61a9fe </div>
<div style="display:none"> Gerrit-Change-Number: 15208 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>