Condition Field Examples
The following table provides examples of conditions.
Condition Examples
Condition |
Description |
---|---|
header.expires.time < '88888' |
Returns true if expires time is less than '88888'. |
header.user-agent contains 'Android-VMAS' |
Returns true if the user agent is 'Android-VMAS' or 'MP252'. |
param.message.sdp.ip == '10.132.10.101' |
Returns true if the "c=" line contains the given IP address. |
header.request-uri.methodtype=='415' |
Returns true if the message method type is '415'. |
header.diversion.0 regex (<.*)(;urlparam=[a-z]*)(.*>) |
Returns true if the REGEX engine matches urlparam=<specific value>. |
ldap.attr.msRTCSIP-Line contains 'tel:'+param.call.dst.user+':ext=' |
LDAP Attribute contains three values, which are separated by the "+" operator. |
header.from.url.host insubnet '10.8.0.0/8' |
Returns true if the subnet of the IPv4 host in the From header is in the given subnet. |
header.from.url.host !insubnet 'ffff:a08:705:0:0::/32' |
Returns true if the IPv6 subnet of the host in the From header is not in the given subnet. |
header.to.url.user > '20' |
Returns true if user part in To header is lexicographically greater than 20. |
header.to.url.user num> '20' |
Returns true if user part in To header is numerically greater than 20. |