Brekeke SIP Server Wiki

$request

Get the request line of the incoming SIP packet

Syntax:
$request
Returns:

The SIP request Line

 

Version Since:

1.0

 

Where the function can be used:
  • Preliminary rules
  • Regular rules
Examples:
$request = ^INVITE

If the request is INVITE.

 

$request = ^INVITE|^SUBSCRIBE

If the request is INVITE or SUBSCRIBE.

 

$getUri($request) = (.+)

Get the Request-URI.

Yes No
Suggest Edit