ltm rule command SIP route statusΒΆ

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

SIP::route_status
       Returns the routing status of the current message.

SYNOPSIS
       SIP::route_status

DESCRIPTION
       The SIP::route_status command returns the routing status of the current message. Valid status are:
	 * "unprocessed"
	 * "route found"
	 * "no route found"
	 * "dropped"
	 * "queue full"
	 * "no connection"
	 * "connection closing"
	 * "internal error"

       "route found" is based on the SIP RouteTable finding a route. It is not effected by the proxyXs ability to
       create a connection, so even if the server is not listening on the specified address or marked down, it might
       still return status as "route found" if the RouteTable is able to find the route.  Only valid for MRF SIP
       (sipsession profile) in 11.6+

       Syntax

       SIP::route_status

RETURN VALUE
       Returns routing status of the current message

VALID DURING
       SIP_REQUEST_SEND, SIP_RESPONSE_SEND

EXAMPLES
	when SIP_RESPONSE_SEND {
	  log local0. [SIP::route_status]
	}

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

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