About this Resource

Defines a Raw Message Rule resource as an entry within a given Protocol Repair Message Table. This resource acts upon the raw SIP Message stream, and only supports regular expression replacement. Protocol Repair Message Tables contain Header Rules, Request Line Rules, Status Line Rules, and Raw Message Rules. These are maintained within a Message Table by segregated ID ranges. Raw Message Rule resources must have IDs within the range 4001 through 5000.

REST API Methods for this Resource

Resource Schema

Configuration

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
DescriptionNoNostringnone64 - Max Length Description of the Rule
ConditionExpressionNoNostringnone255 - Max Length Logical expression, including Condition Rule references, the logical operators && and ||, and parenthesis grouping. If the condition evaluates true then this rule will be applied, otherwise it will not. Condition rule references are of the form ${n}, where 'n' is the row ID of the condition rule. If no logical expression is provided then the expression is evaluated as 'true'.
ResultTypeYesNoEnum1Possible values:
  • 0 - eRtMandatory
  • 1 - eRtOptional
Specifies the result type of the current rule to go on to the next rule. If eRtMandatory, and this rule fails, all other rules in this message table will be dropped. If eRtOptional, then continue to the next rule unconditionally.
MatchRegexYesNostringnone128 - Max Length This is the 'match' regular expression for the manipulation operation.
ReplaceRegexYesNostringnone128 - Max Length This is the 'replace' regular expression for the manipulation operation.