The condition elements specify the kind of data on which rule decisions are based. All attribute values are case-sensitive.
Specifies a rule based on a request header.
Superelements
sip-rules, http-rules, or, and, if
Subelements
Exactly one of the following subelements is required:
Attributes
The following attributes are required.
Specifies the name of the request header.
Specifies a variable that evaluates to the return value. See Variables.
Specifies a rule based on a request URI and its parameters.
Superelements
sip-rules, http-rules, or, and, if
Subelements
Exactly one of the following subelements is required:
Attributes
The following attributes are required if the subelement is exist or notexist and optional if the subelement is match.
Specifies the request URI parameter.
Specifies a variable that evaluates to the return value. See Variables.
Specifies a rule based on the call parameter of a SIP session. Only relevant in IMS/3GPP (Internet Protocol Multimedia Subsystem Third Generation Partnership Project) environments. For details, see the equal subelement description.
Superelements
sip-rules, http-rules, or, and, if
Subelements
The equal subelement is required and must occur first.
All of the following subelements are optional and can occur in any number and any order:
or, and, if, header, request-uri, session-case, cookie
Specifies a rule based on an HTTP cookie.
Superelements
sip-rules, http-rules, or, and, if
Subelements
Exactly one of the following subelements is required:
Attributes
The following attributes are required.
Specifies the name of the cookie.
Specifies a variable that evaluates to the return value. See Variables.