ltm rule command DIAMETER is response
iRule(1) BIG-IP TMSH Manual iRule(1)
DIAMETER::is_response
Returns true if it is a DIAMETER response, otherwise, returns false.
SYNOPSIS
DIAMETER::is_response
DESCRIPTION
This iRule command returns true if the current message is a DIAMETER
response. Otherwise, it returns false.
This command is the exact inverse of DIAMETER::is_request.
Syntax DIAMETER::is_response
RETURN VALUE
TRUE or FALSE
VALID DURING
DIAMETER_INGRESS, DIAMETER_EGRESS, MR_INGRESS, MR_EGRESS, MR_FAILED
EXAMPLES
when DIAMETER_INGRESS {
if { [DIAMETER::is_response] } {
log local0. "Response received"
}
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-11.0.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)