Diameter AVP to MDC Data Type Mapping

When you add AVPs to your default configuration, they must be mapped to MATRIXX Data Container (MDC) fields that have the correct data type for the AVP data.

AVP to MDC Data Type Mapping lists the Diameter AVP types and the MDC field data types to which they can be mapped. Diameter Gateway performs this mapping automatically. When converting a string to a numeric data type, it stops converting on any non-numeric character. For example, a UTF8-string 123ABC is converted to the numeric value 123.

Table 1. AVP to MDC Data Type Mapping
AVP Data Type MDC Data Type
ADDRESS STRING, BLOB, UINT32, UINT64, UINT128
ADDRESS_IPV4 (MATRIXX-specific) STRING, BLOB, UINT32, UINT64, UINT128
ADDRESS_IPV6 (MATRIXX-specific) STRING, BLOB, UINT128
INTEGER32 INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, BOOLEAN, STRING, BLOB, DECIMAL
UINTEGER32 INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, BOOLEAN, STRING, BLOB, DECIMAL
INTEGER64 INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, BOOLEAN, STRING, BLOB, DECIMAL
UINTEGER64 INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, BOOLEAN, STRING, BLOB, DECIMAL, BUFFER_ID, OBJECT_ID
ENUM INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, BOOLEAN, STRING, BLOB, DECIMAL
UTF8_STRING STRING, BLOB, PHONE_NUMBER, INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64
OCTET_STRING STRING, BLOB, PHONE_NUMBER, INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64
DIAMETER_ID STRING, BLOB
DIAMETER_URI STRING, BLOB
DIAMETER_ID STRING, BLOB
GROUPED DECIMAL, STRUCT
TIME DATETIME
IPFILTER_RULE STRING
TIMEZONE (MATRIXX-specific) INT32
TBCD_STRING (MATRIXX-specific) STRING, BLOB, PHONE_NUMBER

MDC to Diameter AVP Data Type Mapping lists the MDC field data types and the Diameter AVP types to which they can be mapped. Diameter Gateway performs this mapping automatically.

Table 2. MDC to Diameter AVP Data Type Mapping
MDC Data Type AVP Data Type
INT8 INTEGER32, UINTEGER32, ENUMERATED, INTEGER64, UINTEGER64, UTF8_STRING, OCTET_STRING
UINT8 INTEGER32, UINTEGER32, ENUMERATED, INTEGER64, UINTEGER64, UTF8_STRING, OCTET_STRING
INT16 INTEGER32, UINTEGER32, ENUMERATED, INTEGER64, UINTEGER64, UTF8_STRING, OCTET_STRING
UINT16 INTEGER32, UINTEGER32, ENUMERATED, INTEGER64, UINTEGER64, UTF8_STRING, OCTET_STRING
INT32 INTEGER32, UINTEGER32, ENUMERATED, INTEGER64, UINTEGER64, UTF8_STRING, OCTET_STRING, DIAMETER_IDENTITY, DIAMETER_URI, TIME_ZONE
UINT32 ADDRESS, ADDRESS_IPV4, ADDRESS_IPV6, INTEGER32, UINTEGER32, ENUMERATED, INTEGER64, UINTEGER64, UTF8_STRING, OCTET_STRING, DIAMETER_IDENTITY, DIAMETER_URI
INT64 INTEGER32, UINTEGER32, ENUMERATED, INTEGER64, UINTEGER64, UTF8_STRING, OCTET_STRING, DIAMETER_IDENTITY, DIAMETER_URI
UINT64 ADDRESS, ADDRESS_IPV4, ADDRESS_IPV6, INTEGER32, UINTEGER32, ENUMERATED, INTEGER64, UINTEGER64, UTF8_STRING, OCTET_STRING, DIAMETER_IDENTITY, DIAMETER_URI
BOOLEAN INTEGER32, UINTEGER32, ENUMERATED, INTEGER64, UINTEGER64, UTF8_STRING, OCTET_STRING, DIAMETER_IDENTITY, DIAMETER_URI
UINT128 ADDRESS, ADDRESS_IPV4, ADDRESS_IPV6, OCTET_STRING
STRING BLOB ADDRESS, ADDRESS_IPV4, ADDRESS_IPV6, INTEGER32, UINTEGER32, ENUMERATED, INTEGER64, UINTEGER64, UTF8_STRING, OCTET_STRING, DIAMETER_IDENTITY, DIAMETER_URI, IP_FILTER_RULE, TBCD_STRING
DECIMAL INTEGER32, UINTEGER32, ENUMERATED, INTEGER64, UINTEGER64, GROUPED // Special (Unit Value), FLOAT32, FLOAT64, TBCD_STRING
DATETIME TIME
DATE
TIME TIME
STRUCT GROUPED
PHONE_NUMBER UTF8_STRING, OCTET_STRING
BUFFER_ID UINTEGER64
OBJECT_ID UINTEGER64