$param
Get the value of the parameter from the specified string.
Syntax:
$param( string, variable )
Parameters:
variable – variable name
Returns:
the parameter’s value.
Version Since:
2.0
Example:
$param(Via,"branch") = (.+)
Get the branch parameter’s value.
$param("sip:bob@192.168.0.1;expires=3600”,”expires”) = ^300$
If the expires’s value is 300.