library/DIAMETER_Templates: make MCC/MNC configurable in AIR/ULR
Change-Id: I688931fac04e0d1ec525f8e0255e366b7dee9edf
Related: SYS#5602
diff --git a/library/DIAMETER_Templates.ttcn b/library/DIAMETER_Templates.ttcn
index 7ed532f..5abcb48 100644
--- a/library/DIAMETER_Templates.ttcn
+++ b/library/DIAMETER_Templates.ttcn
@@ -1309,6 +1309,7 @@
template (value) PDU_DIAMETER
ts_DIA_AIR(/* template (value) */ hexstring imsi,
+ template (value) octetstring mcc_mnc := '111F11'O,
template (value) octetstring sess_id := c_def_sess_id,
template (value) charstring orig_host := "ttcn3.localdomain",
template (value) charstring orig_realm := "localdomain",
@@ -1329,7 +1330,7 @@
/* Requested EUTRAN Auth Info */
ts_AVP_RequestedEutranAuthInfo,
ts_AVP_AuthSessionState(NO_STATE_MAINTAINED),
- ts_AVP_3GPP_VisitedPlmnId('111F11'O)
+ ts_AVP_3GPP_VisitedPlmnId(mcc_mnc)
});
template (present) PDU_DIAMETER
tr_DIA_AIR(/* template (present) */ hexstring imsi,
@@ -1394,6 +1395,7 @@
/* TS 29.272 7.2.3 Update Location Request */
template (value) PDU_DIAMETER
ts_DIA_ULR(/* template (value) */ hexstring imsi,
+ template (value) octetstring mcc_mnc := '111F11'O,
template (value) octetstring sess_id := c_def_sess_id,
template (value) charstring orig_host := "ttcn3.localdomain",
template (value) charstring orig_realm := "localdomain",
@@ -1410,7 +1412,7 @@
ts_AVP_AuthSessionState(NO_STATE_MAINTAINED),
ts_AVP_UserNameImsi(imsi),
ts_AVP_3GPP_UlrFlags('00000000'O),
- ts_AVP_3GPP_VisitedPlmnId('111F11'O),
+ ts_AVP_3GPP_VisitedPlmnId(mcc_mnc),
ts_AVP_PCC_3GPP_RatType(EUTRAN),
ts_AVP_OriginHost(orig_host),
ts_AVP_OriginRealm(orig_realm),