Brekeke SIP Server Wiki

$outbound

Check whether the SIP-URI indicates an outbound destination.
If no parameter is specified, it checks if the Request-URI or Route header points to an outbound destination.

 

Syntax:
$outbound
$outbound( SIP-URI )
$outbound( FQDN )

 

Returns:

true – if it indicates an outbound destination.
false – otherwise

 

Version Since:

1.0

 

Where the function can be used:
  • Preliminary rules
  • Regular rules

 

Example:
$outbound(“sip:user@host”) = true

If “host” is an outbound address

$outbound($request) = true

If the request URI contains an outbound SIP-URI. It is same as the following definition.

$outbound = true
Yes No
Suggest Edit