Retrieves header information and AVPs from Diameter responses.
AVPs can be retrieved by:
Returns the Accounting-Sub-Session-Id AVP (code 287) from the response.
Returns: avp_tReturns the Acct-Application-Id AVP (code 259) from the response. Note: expression can be used to retrieve the value as Unsigned32
Returns: avp_unum_tReturns the Acct-Multi-Session-Id AVP (code 50) from the response.
Returns: avp_tReturns the Acct-Session-ID AVP (code 44) from the response.
Returns: avp_tReturns the Application-ID from the response.
Returns: unsigned_long_atReturns the Auth_Application-Id AVP (code 258) from the response. Note: expression can be used to retrieve the value as Unsigned32
Returns: avp_unum_tAVP (uint avpcode)
Returns the specified AVP from the response.
For example, to get the AVP with code 263, use the expression:
DIAMETER.RES.AVP(263).
Note: To get AVP 263 that is nested inside a grouped AVP, use the
AVP method from the avp_t class.
avpcode- AVP code
Returns: avp_tReturns the Command Code from the response.
Returns: num_atReturns the End-to-End Identifier from the response.
Returns: unsigned_long_atReturns the Hop-by-Hop Identifier from the response.
Returns: unsigned_long_atReturns true if the E (error) command flag is set for the response.
Returns: bool_atReturns true if the P (proxiable) command flag is set for the response.
Returns: bool_atReturns the Message Length from the response.
Returns: num_atReturns the Origin-Host AVP (code 264) from the response.
Returns: avp_tReturns the Origin-Realm AVP (code 296) from the response.
Returns: avp_tReturns the Product-Name AVP (code 269) from the response.
Returns: avp_tReturns the Redirect-Host AVP (code 292) from the response.
Returns: avp_tReturns the Result-Code AVP (code 268) from the response.
Returns: avp_tReturns the Session-ID AVP (code 263) from the response.
Returns: avp_tReturns the Supported-Vendor-Id AVP (code 265) from the response.
Returns: avp_tReturns the User-Name AVP (code 1) from the response.
Returns: avp_tReturns the Vendor-Id AVP (code 266) from the response.
Returns: avp_tVENDOR_SPECIFIC_APPLICATION_ID
Returns the Vendor-Specific-Application-Id AVP (code 260) from the response.
Returns: vendor_spec_appid_avp_tReturns the version of the Diameter protocol. Currently, Diameter supports only version 1.
Returns: num_at