ltm rule command SIP responseΒΆ

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



SIP::response
       Gets or rewrites the SIP response.

SYNOPSIS
       SIP::response (code | phrase)

       SIP::response rewrite CODE (PHRASE)?

DESCRIPTION
       These commands allow you to get or rewrite the SIP response code or
       phrase.

       Syntax

       SIP::response code

	    * Get SIP response code, e.g. 200

       SIP::response phrase

	    * Get SIP response phrase reason, e.g. "Ok"

       SIP::response rewrite code 

	    * Rewrite the response code and phrase (if provided)

RETURN VALUE
VALID DURING
EXAMPLES
	when SIP_RESPONSE {
	  log local0. [SIP::via 0]
	  SIP::header remove Via 0
	  SIP::response rewrite 123 "no xxx"
	}

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



BIG-IP				  2017-01-31			      iRule(1)