laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25109 )

Change subject: msc: allow another reject cause in TC_cm_reest_req_reject
......................................................................

msc: allow another reject cause in TC_cm_reest_req_reject

osmo-msc will soon have CM Re-Establishing support, and it will start
returning a different reject code instead of
GSM48_REJECT_SRV_OPT_NOT_SUPPORTED. In TC_cm_reest_req_reject, there is
no previous ongoing connection let alone a voice call, so osmo-msc will
return GSM48_REJECT_CALL_CAN_NOT_BE_IDENTIFIED.

Related: SYS#5130
Change-Id: I3eebab2b26016fb0ef7bf958208eaba6ae4c7836
---
M msc/MSC_Tests.ttcn
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, approved
  dexter: Looks good to me, but someone else must approve
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 740d396..d63e5fc 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -1403,7 +1403,9 @@
        var MobileIdentityLV mi := valueof(ts_MI_IMSI_LV(g_pars.imsi));
        var PDU_ML3_MS_NW l3_info := valueof(ts_CM_REEST_REQ(0, mi));
        f_cl3_or_initial_ue(l3_info);
-       BSSAP.receive(tr_PDU_DTAP_MT(tr_CM_SERV_REJ(int2oct(32,1))));
+       /* Older osmo-msc returns: GSM48_REJECT_SRV_OPT_NOT_SUPPORTED = 32,
+        * newer osmo-msc with CM Re-Establish support returns: 
GSM48_REJECT_CALL_CAN_NOT_BE_IDENTIFIED = 38 */
+       BSSAP.receive(tr_PDU_DTAP_MT(tr_CM_SERV_REJ( (int2oct(32,1), 
int2oct(38,1)) )));
        f_expect_clear();
 }
 testcase TC_cm_reest_req_reject() runs on MTC_CT {

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25109
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I3eebab2b26016fb0ef7bf958208eaba6ae4c7836
Gerrit-Change-Number: 25109
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofm...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pma...@sysmocom.de>
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-MessageType: merged

Reply via email to