Brekeke SIP Server Wiki

$uriParam

Get the value of the URI parameter from the specified string.

 

Syntax:
$uriParam( string )
$uriParam( string, variable )
Parameters:

string – string
variable – variable name

 

Returns:

the URI parameter’s value.

 

Version Since:

2.0

 

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

 

Example:
$uriParam($request)= (.+)

Get all URI parameters from the Request URI.

$uriParam(To,"method") = (.+)

Get the method’s value from To header’s URI parameters.
It is the same as the following definition.

$param($uriParam(To),"method")

 

See Also:

$param 
$headerParam 
$subParam 

Yes No
Suggest Edit