diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2024-02-09 18:12:21 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2024-02-09 18:12:21 +0100 |
commit | 8586b2675a40ed5b56e33abe23630f1e6c6e16fe (patch) | |
tree | 1f630dbc146d6857b129fab204c3a9c16f2fd36e /library | |
parent | df00c4fe9453d5896d311b95b36148ad2fc9a316 (diff) |
epdg: Fix UsernMame being NAI instead of IMSI in S6b AAR
Change-Id: Ifa5b262db40b649c6dfe7b5ac43098208b3e8300
Diffstat (limited to 'library')
-rw-r--r-- | library/DIAMETER_ts29_273_Templates.ttcn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/DIAMETER_ts29_273_Templates.ttcn b/library/DIAMETER_ts29_273_Templates.ttcn index 71f6cfc4..e3a6c2fe 100644 --- a/library/DIAMETER_ts29_273_Templates.ttcn +++ b/library/DIAMETER_ts29_273_Templates.ttcn @@ -205,7 +205,7 @@ ts_DIA_SWx_SAA(template (value) hexstring imsi, /* TS 29.273 9.2.2.5.1 AA-Request (AAR) */ template (value) PDU_DIAMETER -ts_DIA_S6b_AAR(template (value) hexstring imsi, +ts_DIA_S6b_AAR(template (value) charstring username_nai, template (value) MIPv6_NONE_MIP6_Feature_Vector mip6_feat_vec, template (value) charstring apn, template (value) octetstring sess_id := c_def_sess_id, @@ -227,7 +227,7 @@ ts_DIA_S6b_AAR(template (value) hexstring imsi, ts_AVP_OriginRealm(orig_realm), ts_AVP_DestinationRealm(dest_realm), ts_AVP_AuthRequestType(AUTHORIZE_ONLY), - ts_AVP_UserNameImsi(valueof(imsi)), + ts_AVP_UserName(char2oct(valueof(username_nai))), ts_AVP_MIP6FeatureVector(mip6_feat_vec), ts_AVP_ServiceSelection(valueof(apn)) /* TODO: Lots other optional */ |