Raw rules allow you to manipulate any string in the entire message; request, headers, and payload. If the condition rule evaluates true, the MME will search the message for content matching the Match Regex and replace it with the content specified in the Replace Regex.
- In the WebUI, click the Settings tab.
In the left navigation pane, go to SIP > Message Manipulation > Message Rule Table.
To create a raw rule:
In the left navigation pane, click the Rule Table entry to which you want to create a Raw Rule.
From the Create Rule drop down box, select Raw Message Rule.
Field Descriptions
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.
Match Regex
The regular expression matched against the original message
Replace Regex
The regular expression that replaces the information found in the message by the match regex, if any.