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

 

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