decode_3gpp_mcc_mnc
The
decode_3gpp_mcc_mnc
operation decodes MCC-MNC encoded data
as defined in the 29.060 3GPP specification.
This is used in the 3GPP-IMSI-MCC-MNC
, 3GPP-SGSN-MCC-MNC
, and
3GPP-GGSN-MCC-MNC
AVPs. This operation checks the value in the
input field and if present, decodes it and sets values in the output fields. The
input field (<prefix>MccMnc
) must be in the format described
for an MCC-MNC AVP. The input field's name must end with "MccMnc" The output field
names are created by replacing the "MccMnc" suffix with the following predefined
suffixes:
Mcc
Mnc
decode_3gpp_mcc_mnc Output Fields lists the decode_3gpp_mcc_mnc
output fields.
Field | Description |
---|---|
<prefix>Mcc
|
MCC (Mobile Country Code) |
<prefix>Mnc
|
MNC (Mobile Network Code) |
All of the output fields must be Strings or unsigned
Int32 fields. Note that the input is UTF8 characters. For example, if the input
MccMnc
field is "12345", the output Mcc
field
is "123" and the output Mnc
field is "45".