$str.equals
Return “true” if all of the strings are same.
Syntax:
$str.equals( string1, string2, [string3] )
Returns:
true – If specified strings are same.
false – otherwise
Version Since:
1.0
Where the function can be used:
- Preliminary rules
- Regular rules
Example:
$str.equals($geturi(To),$geturi(From)) = true
If the SIP-URI of From header and To header are same.
$str.equals($geturi(To),$geturi(From),$geturi(Contact)) = true
If the SIP-URI of From header, To header and Contact header are same.