diff options
Diffstat (limited to 'msc/BSC_ConnectionHandler.ttcn')
-rw-r--r-- | msc/BSC_ConnectionHandler.ttcn | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn index 803cb4d..4e02d6c 100644 --- a/msc/BSC_ConnectionHandler.ttcn +++ b/msc/BSC_ConnectionHandler.ttcn @@ -109,7 +109,7 @@ function f_alg_from_mask(OCT1 mask_in) return integer { private altstep as_Tguard() runs on BSC_ConnHdlr { [] g_Tguard.timeout { setverdict(fail, "Tguard timeout"); - self.stop; + mtc.stop; } } @@ -183,7 +183,7 @@ runs on BSC_ConnHdlr { [] BSSAP.receive(BSSAP_Conn_Prim:MSC_CONN_PRIM_CONF_IND) {} [] BSSAP.receive(BSSAP_Conn_Prim:MSC_CONN_PRIM_DISC_IND) { setverdict(fail, "DISC.ind from SCCP"); - self.stop; + mtc.stop; } } } @@ -294,7 +294,7 @@ function f_mm_common() runs on BSC_ConnHdlr } [] BSSAP.receive(tr_BSSMAP_CipherModeCmd(?, g_pars.vec.kc)) { setverdict(fail, "Wrong ciphering algorithm mask in CiphModCmd"); - self.stop; + mtc.stop; } } /* FIXME: Send the best available algorithm */ @@ -331,7 +331,7 @@ runs on BSC_ConnHdlr { if (not ispresent(lu_acc.mobileIdentityTLV) or not ischosen(lu_acc.mobileIdentityTLV.mobileIdentityLV.mobileIdentityV.oddEvenInd_identity.tmsi_ptmsi)) { setverdict(fail, "Expected TMSI but no TMSI was allocated"); - self.stop; + mtc.stop; } else { g_pars.tmsi := lu_acc.mobileIdentityTLV.mobileIdentityLV.mobileIdentityV.oddEvenInd_identity.tmsi_ptmsi.octets; BSSAP.send(ts_PDU_DTAP_MO(ts_ML3_MO_TmsiRealloc_Cmpl)); @@ -340,13 +340,13 @@ runs on BSC_ConnHdlr { if (ispresent(lu_acc.mobileIdentityTLV) and ischosen(lu_acc.mobileIdentityTLV.mobileIdentityLV.mobileIdentityV.oddEvenInd_identity.tmsi_ptmsi)) { setverdict(fail, "Expected no TMSI but TMSI was allocated"); - self.stop; + mtc.stop; } } } [] BSSAP.receive(tr_PDU_DTAP_MT(tr_ML3_MT_LU_Rej)) { setverdict(fail, "Expected LU ACK, but received LU REJ"); - self.stop; + mtc.stop; } } /* FIXME: there could be pending SMS or other common procedures by the MSC, let's ignore them */ @@ -695,7 +695,7 @@ runs on BSC_ConnHdlr { [] MNCC.receive(tr_MNCC_START_DTMF_ind(cpars.mncc_callref, "2")) {} [] T.timeout { setverdict(fail, "Timeout waiting for START_DTMF_ind"); - self.stop; + mtc.stop; } } @@ -704,7 +704,7 @@ runs on BSC_ConnHdlr { alt { [] MNCC.receive(tr_MNCC_START_DTMF_ind(cpars.mncc_callref, "2")) { setverdict(fail, "Received duplicate START_DTMF_ind"); - self.stop; + mtc.stop; } [] T.timeout { } } @@ -716,7 +716,7 @@ runs on BSC_ConnHdlr { [] MNCC.receive(tr_MNCC_START_DTMF_ind(cpars.mncc_callref, "3")) { } [] T.timeout { setverdict(fail, "Received duplicate START_DTMF_ind"); - self.stop; + mtc.stop; } } @@ -732,13 +732,13 @@ altstep as_clear_cmd_compl_disc(float t := 5.0) runs on BSC_ConnHdlr { } [] BSSAP.receive { setverdict(fail, "Unexpected BSSMAP while waiting for SCCP Release"); - self.stop; + mtc.stop; } } } [] BSSAP.receive { setverdict(fail, "Unexpected BSSMAP while waiting for ClearCommand"); - self.stop; + mtc.stop; } } @@ -750,7 +750,7 @@ function f_expect_clear(float t := 5.0) runs on BSC_ConnHdlr { [] as_clear_cmd_compl_disc(t) { } [] T.timeout { setverdict(fail, "Timeout waiting for ClearCommand/Release"); - self.stop; + mtc.stop; } } } @@ -808,7 +808,7 @@ template (value) SmsParameters t_SmsPars(hexstring tp_daddr := '12345'H) := { private altstep as_other_sms() runs on BSC_ConnHdlr { [] BSSAP.receive(tr_PDU_DTAP_MT(tr_ML3_MT_SMS(?, ?, ?), ?)) { setverdict(fail, "Unexpected SMS related PDU from MSC"); - self.stop; + mtc.stop; } } |