ltm rule command DIAMETER retransmission reasonΒΆ

iRule(1)					  BIG-IP TMSH Manual					     iRule(1)

DIAMETER::retransmission_reason
       Returns the reason for retransmitting the current retransmitted request.

SYNOPSIS
       DIAMETER::retransmission_reason

DESCRIPTION
       This iRule command returns the reason the current request was retransmitted.  Otherwise, it returns 'none'.

       Syntax DIAMETER::retransmission_reason

RETURN VALUE
       'none', 'error_code', 'timeout' or 'irule'

VALID DURING
       DIAMETER_EGRESS, DIAMETER_RETRANSMISSION, MR_INGRESS

EXAMPLES
	when MR_INGRESS {
	    if { [DIAMETER::is_retransmission] } {
		log local0. "reason [DIAMETER::retransmission_reason]"
		DIAMETER::persist reset
		MR::message route pool /Common/alt_pool
	    }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-14.1.0 --First introduced the command.

BIG-IP						      2020-06-23					     iRule(1)