ltm rule command DIAMETER retry
iRule(1) BIG-IP TMSH Manual iRule(1)
DIAMETER::retry
Tries to send the Diameter message contained in the binary array "binary_message".
SYNOPSIS
DIAMETER::retry DIAMETER_MESSAGE (BOOL_ACROSS)?
DESCRIPTION
This iRule command tries to send the Diameter message contained in the binary array "binary_message". This
command, in conjunction with the DIAMETER::message command, can be used to write an iRule that will hold and
retry messages.
If the optional argument "across" is specified as 1, the message will be sent through the proxy and trigger
the various iRule events. If it is specified as 0, or not specified, the message will be sent directly and
not experience any iRules, persistence, or other processing.
Syntax
DIAMETER::retry "binary_message" [across]
RETURN VALUE
VALID DURING
DIAMETER_INGRESS, MR_INGRESS
EXAMPLES
when DIAMETER_EGRESS {
if { [DIAMETER::is_request] } {
set saved_message([DIAMETER::header hopid]) [DIAMETER::message]
}
}
when DIAMETER_INGRESS {
if { [DIAMETER::is_response] } {
DIAMETER::retry $saved_message([DIAMETER::header hopid])
DIAMETER::drop
}
}
HINTS
SEE ALSO
DIAMETER::message
CHANGE LOG
@BIGIP-11.3.0 --First introduced the command.
BIG-IP 2020-06-23 iRule(1)