DIAMETER_REQ_T

Retrieves header information and AVPs from Diameter requests.

AVPs can be retrieved by:

General usage: DIAMETER.REQ.

Direct expressions

ACCOUNTING_SUB_SESSION_ID

Returns the Accounting-Sub-Session-Id AVP (code 287) from the request.

Returns: avp_t

ACCT_APPLICATION_ID

Returns the Acct-Application-Id AVP (code 259) from the request. Note: expression can be used to retrieve the value as Unsigned32

Returns: avp_unum_t

ACCT_MULTI_SESSION_ID

Returns the Acct-Multi-Session-Id AVP (code 50) from the request.

Returns: avp_t

ACCT_SESSION_ID

Returns the Acct-Session-ID AVP (code 44) from the request.

Returns: avp_t

APPLICATION_ID

Returns the Application-ID from the request.

Returns: unsigned_long_at

AUTH_APPLICATION_ID

Returns the Auth-Application-Id AVP (code 258) from the request. Note: expression can be used to retrieve the value as Unsigned32

Returns: avp_unum_t

AVP (uint avpcode)

Returns the specified AVP from the request.

For example, to get the AVP with code 263, use the expression: DIAMETER.REQ.AVP(263).

Note: To get AVP that is nested inside a grouped AVP, use the AVP method from the avp_t class.

Parameters (expressions not allowed):

            avpcode- AVP code

Returns: avp_t

COMMAND_CODE

Returns the Command Code from the request.

Returns: num_at

DESTINATION_HOST

Returns the Destination-Host AVP (code 293) from the request.

Returns: avp_t

DESTINATION_REALM

Returns the Destination-Realm AVP (code 283) from the request.

Returns: avp_t

END_TO_END_ID

Returns the End-to-End Identifier from the request.

Returns: unsigned_long_at

HOP_BY_HOP_ID

Returns the Hop-by-Hop Identifier from the request.

Returns: unsigned_long_at

IS_PROXIABLE

Returns true if the P (proxiable) command flag is set for the request.

Returns: bool_at

IS_RETRANSMIT

Returns true if the T (potentially retransmitted message) command flag is set for the request.

Returns: bool_at

LENGTH

Returns the Message Length from the request.

Returns: num_at

ORIGIN_HOST

Returns the Origin-Host AVP (code 264) from the request.

Returns: avp_t

ORIGIN_REALM

Returns the Origin-Realm AVP (code 296) from the request.

Returns: avp_t

PRODUCT_NAME

Returns the Product-Name AVP (code 269) from the request.

Returns: avp_t

SESSION_ID

Returns the Session-ID AVP (code 263) from the request.

Returns: avp_t

SUPPORTED_VENDOR_ID

Returns the Supported-Vendor-Id AVP (code 265) from the request.

Returns: avp_t

USER_NAME

Returns the User-Name AVP (code 1) from the request.

Returns: avp_t

VENDOR_ID

Returns the Vendor-Id AVP (code 266) from the request.

Returns: avp_t

VENDOR_SPECIFIC_APPLICATION_ID

Returns the Vendor-Specific-Application-Id AVP (code 260) from the request.

Returns: vendor_spec_appid_avp_t

VERSION

Returns the version of the Diameter protocol. Currently, Diameter supports only version 1.

Returns: num_at