ltm rule command SIP methodΒΆ

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

SIP::method
       Returns the type of SIP request method.

SYNOPSIS
       SIP::method

DESCRIPTION
       Returns the type of SIP request method.

       SIP::method

	    * Returns the type of SIP request method.

RETURN VALUE
       Returns the type of SIP request method

VALID DURING
EXAMPLES
	when SIP_REQUEST {
	  log local0. [SIP::uri]
	  log local0. [SIP::header Via 0]
	  if {[SIP::method] == "INVITE"} {
	    SIP::respond 401 "no way" X-Header "xxx here"
	  }
	}

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

BIG-IP							    2022-04-12							  iRule(1)