$subParam
Get the value of the telephone-subscriber parameter from the specified string.
Syntax:
$subParam( string ) $subParam( string, variable )
Parameters:
string – string
variable – variable name
Returns:
the telephone-subscriber parameter’s value.
Version Since:
2.0
Where the function can be used:
- Preliminary rules
- Regular rules
Example:
$subParam(From)= (.+)
Get all telephone-subscriber parameters from the From header.
$subParam(To,"isub") = (.+)
Get the isub’s value from To header’s telephone-subscriber parameters.