diff --git a/library/GSUP_Types.ttcn b/library/GSUP_Types.ttcn index ac85fca2a..7455085ce 100644 --- a/library/GSUP_Types.ttcn +++ b/library/GSUP_Types.ttcn @@ -139,6 +139,9 @@ template GSUP_PDU ts_GSUP(GSUP_MessageType msgt, GSUP_IEs ies := {}) := { template GSUP_PDU ts_GSUP_SAI_REQ(hexstring imsi) := ts_GSUP(OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST, { valueof(ts_GSUP_IE_IMSI(imsi)) }); +template GSUP_PDU tr_GSUP_SAI_REQ(template hexstring imsi) := + tr_GSUP(OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST, { tr_GSUP_IE_IMSI(imsi), * }); + template GSUP_PDU tr_GSUP_SAI_ERR(template hexstring imsi, template integer cause) := tr_GSUP(OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST, { tr_GSUP_IE_IMSI(imsi), tr_GSUP_IE_Cause(cause) }); diff --git a/msc_tests/BSC_ConnectionHandler.ttcn b/msc_tests/BSC_ConnectionHandler.ttcn index 402448e33..d3dcd29c8 100644 --- a/msc_tests/BSC_ConnectionHandler.ttcn +++ b/msc_tests/BSC_ConnectionHandler.ttcn @@ -147,7 +147,9 @@ runs on BSC_ConnHdlr { BSSAP.send(ts_BSSMAP_ClassmarkUpd(g_pars.cm2, g_pars.cm3)); if (expect_auth) { + GSUP.receive(tr_GSUP_SAI_REQ(g_pars.imsi)); /* FIXME */ + //GSUP.send(tr_GSUP_SAI_RES()); } /* Expect MSC to perform LU with HLR */