Conditions

Last Updated : Oct 04, 2018 |

The condition is a named Boolean expression with one or two operands. The operand can be a regular expression or another named condition.

The operators are:

  • AND

  • OR

  • NOT

The AND and OR operators are used between the two operands. The NOT operator is applied on individual operands.

Using the condition, you can match the following parts of the SIP message:

  • Request-Line

  • Response-Line

  • Headers

  • Attachment Bodies

In the regular expression adaptation module, the condition captures a criteria in which you must consider a message as a candidate for adaptation. In regular expression routing, the condition acts as an additional criteria for message routing.

Conditions support the following source instances:

  • any: Modifies or deletes at least one matching instance.

  • all: Modifies or deletes all matching instances.

  • top: Modifies or deletes the first instance if matches.

  • bottom: Modifies or deletes the last instance if matches.

  • positive and negative integers excluding zero