1. In the WebUI, click the Settings tab.
  2. In the left navigation pane, go to SIP > Message Manipulation > Message Rule Table.

    SIP Message Rule Table

To create a header rule:

  1. In the left navigation pane, click the Rule Table entry to which you want to add a Header Rule.

    Rule Table 1

  2. From the Create Rule drop down box, select Header Rule.

    Create SIP Header Rule

     

Field Definitions

Condition Expression

This logical expression is evaluated in order to determine whether the rule should be applied or not. An empty expression is evaluated as unconditionally true.
Example Rule:

  ${1} && (${2} || ${3})

Click the Add/Edit button to launch the Condition Expression Builder. The Condition Expression Builder enables you to create logical expressions using an interactive interface.

Admin State

Specifies whether or not the rule is enabled.

Result Type

Specifies the whether the true evaluation of the expression is optional or mandatory. Optional means subsequent rules are applied if this rule fails, mandatory means subsequent rules are not applied if this rule fails.

Header Action

Specifies the action applied to the header by this rule if the condition expression evaluates true.

  • Add: a header is added to the message by the specified rule (unconditional add: new Header added even if Header type already exists).
  • Modify: if the header is present in the message it is modified as specified by this rule. If it is not present, it will not be added.
  • Drop: if the header is present, it is dropped from the message.

Header Name

Specifies the type of header referenced by this rule.

Header Ordinal Number

Specifies which of group of the same header to modify. This is only available when the header name is: Contact, Route, Record-Route, History-Info, or P-Asserted-Identity.

Header Value

Each type of SIP header varies in its content and structure. The Header Value field holds a value that is provided for the entire header rule, or it can be opened to update its various components in the sub-panels.

  • No labels