decode_diameter_address
The decode_diameter_address
operation decodes the Diameter Address
data type as defined in RFC 6733.
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>AddressInfo
)
must end with "AddressInfo
". decode_diameter_address Output Fields lists the output fields.
Field | Description |
---|---|
<prefix>Address
|
Contains a partially decoded Address field. If AddressType is 01
(IPv4) or 02 (IPv6), then this is an acceptable IP address.
Otherwise, this contains the Type and
Value . |
<prefix>AddressType
|
Contains the Type field. Acceptable IP
address types are:
|
<prefix>AddressValue
|
Contains the Value field. |
Example Decoded Field Values lists the decoded values for example encoded fields. For example, if the value of the encoded field suffix starts with 0x, then that value is in hexadecimal. If the value starts with a quotation mark ("), then the value is in character data. Otherwise, the value is an integer.
Encoded Field <prefix>AddressInfo |
Decoded Field <prefix>Address |
---|---|
0x000831323334 | 8|1234 |
0x0001c0a80102 | 192.168.1.2 |
0x0002a1a2a3a4a5a6a7a8a95a5b5c5d5e5f87 | a1a2:a3a4:a5a6:a7a8:a95a:5b5c:5d5e:5f87 |
8 | 1234 |
1 | 192.168.1.2 |
2 | a1a2:a3a4:a5a6:a7a8:a95a:5b5c:5d5e:5f87 |
Address Decode Fields lists the MDC fields that support Diameter address decoding.
Field | Type |
---|---|
SourceSccpAddress | String |
SourceSccpAddressInfo | BLOB |
SourceSccpAddressType | unsigned int32 |
SourceSccpAddressValue | String |
SmscAddress | String |
SmscAddressInfo | BLOB |
SmscAddressType | unsigned int32 |
SmscAddressValue | String |
RecipientSccpAddress | String |
RecipientSccpAddressInfo | BLOB |
RecipientSccpAddressType | unsigned int32 |
RecipientSccpAddressValue | String |