summaryrefslogtreecommitdiffstats
path: root/msc/MSC_Tests.ttcn
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2020-01-07 21:48:29 +0100
committerVadim Yanitskiy <axilirator@gmail.com>2020-01-07 21:49:45 +0100
commit2dd9661220de9d37855dece3042ca2cd5e9ec925 (patch)
tree64ae1cfc02dd9f759f1d481d5d3b807d4d93a0e2 /msc/MSC_Tests.ttcn
parentdd841d3a051adde78da88d94d66964264d838832 (diff)
MSC/GSUP: make session ID for MT SS/USSD configurable
This would allow to run multiple SS/USSD transactions in parallel. Change-Id: I326b5e47f4c1e9f9209efa64c143c3dc64132edb
Diffstat (limited to 'msc/MSC_Tests.ttcn')
-rw-r--r--msc/MSC_Tests.ttcn15
1 files changed, 8 insertions, 7 deletions
diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index c2a5bbb..508acdd 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -362,7 +362,7 @@ type function void_fn(charstring id, BSC_ConnHdlrPars pars) runs on BSC_ConnHdlr
/* FIXME: move into BSC_ConnectionHandler? */
function f_init_pars(integer imsi_suffix, boolean sgsap := false, boolean gsup := true, integer ran_idx := 0,
- boolean ran_is_geran := true, boolean use_osmux := false)
+ boolean ran_is_geran := true, boolean use_osmux := false, OCT4 gsup_sid := '20000101'O)
runs on MTC_CT return BSC_ConnHdlrPars {
var BSC_ConnHdlrNetworkPars net_pars := {
kc_support := '0A'O, /* A5/1 and A5/3 enabled */
@@ -394,6 +394,7 @@ runs on MTC_CT return BSC_ConnHdlrPars {
mm_info := mp_mm_info,
sgsap_enable := sgsap,
gsup_enable := gsup,
+ gsup_sid := gsup_sid,
ran_idx := ran_idx,
use_umts_aka := false,
ran_is_geran := ran_is_geran,
@@ -3009,7 +3010,7 @@ runs on BSC_ConnHdlr {
/* Compose HLR -> MSC GSUP message */
var template (value) GSUP_PDU gsup_req := ts_GSUP_PROC_SS_REQ(
imsi := g_pars.imsi,
- sid := '20000101'O,
+ sid := g_pars.gsup_sid,
state := OSMO_GSUP_SESSION_STATE_BEGIN,
ss := valueof(facility_req)
);
@@ -3046,7 +3047,7 @@ runs on BSC_ConnHdlr {
/* Compose expected MSC -> HLR GSUP message */
var template GSUP_PDU gsup_rsp := tr_GSUP_PROC_SS_REQ(
imsi := g_pars.imsi,
- sid := '20000101'O,
+ sid := g_pars.gsup_sid,
state := OSMO_GSUP_SESSION_STATE_CONTINUE,
ss := valueof(facility_rsp)
);
@@ -3066,7 +3067,7 @@ runs on BSC_ConnHdlr {
/* Compose MSC -> HLR GSUP message */
var template GSUP_PDU gsup_term := ts_GSUP_PROC_SS_REQ(
imsi := g_pars.imsi,
- sid := '20000101'O,
+ sid := g_pars.gsup_sid,
state := OSMO_GSUP_SESSION_STATE_END
);
@@ -3228,7 +3229,7 @@ runs on BSC_ConnHdlr {
/* Compose HLR -> MSC GSUP message */
var template (value) GSUP_PDU gsup_req := ts_GSUP_PROC_SS_REQ(
imsi := g_pars.imsi,
- sid := '20000101'O,
+ sid := g_pars.gsup_sid,
state := OSMO_GSUP_SESSION_STATE_BEGIN,
ss := valueof(facility_req)
);
@@ -3248,7 +3249,7 @@ runs on BSC_ConnHdlr {
/* Compose expected MSC -> HLR GSUP message */
var template GSUP_PDU gsup_rsp := tr_GSUP_PROC_SS_REQ(
imsi := g_pars.imsi,
- sid := '20000101'O,
+ sid := g_pars.gsup_sid,
state := OSMO_GSUP_SESSION_STATE_CONTINUE,
ss := valueof(facility_rsp)
);
@@ -3267,7 +3268,7 @@ runs on BSC_ConnHdlr {
/* Compose MSC -> HLR GSUP message */
var template GSUP_PDU gsup_term := ts_GSUP_PROC_SS_REQ(
imsi := g_pars.imsi,
- sid := '20000101'O,
+ sid := g_pars.gsup_sid,
state := OSMO_GSUP_SESSION_STATE_END
);