Brekeke SIP Server Wiki

$removeParam

Remove a parameter

Syntax:
$removeParam( string, variable )

 

Parameters:

string – string

variable – variable name

 

Returns:

the string after the parameter was removed

 

Version Since:

3.6

 

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

 

Example:
$removeParam(From,"user") = (.+)

Remove the user parameter from the From header value.

 

Yes No
Suggest Edit