Settings - Manipulation
-
OSS/BSS Answers
Access Control Admin Audit B3Network Master Account Channel App Contract App Customer App Discount App Edge Server File Management Finance App Invoice App Number Management Payment Portal Settings Price List Product App Release V2 SMS Gateway Supplier App Support Center Support Hub Business Hub Sales Hub
- App Model - Organization Management
- App Model - Communication Apps Answers
- License Model - Organization Management
-
License Model - CPaaS Solution Answers
Phone System - Admin Guide Phone System - End-user Guide Mobile App Desktop App Web Phone Auto Attendant - Admin Guide Developer Hub - Admin Guide Microsoft Teams Operator Connect - Admin Guide Microsoft Teams Direct Routing - Admin Guide Contact Center - Supervisor Guide Contact Center - Agent Guide Omni-Channel SIP Trunk CPaaS - SIP Trunk Power SIP Trunk CPaaS Fax Contact Dashboard Campaign File Explorer
- Telcoflow
- Integrations Answers
- Updated Regulations
- Ideas Portal
Table of Contents
Introduction
The variances among SIP networks, such as incompatible interconnection, can disrupt SIP operations. In order to resolve these problems, Edge Server provides SIP Header Manipulation, giving Edge operators the ability to control SIP traffic by manipulating SIP messages.
Shortly, Manipulation is to modify SIP Header.
Functions
- Add custom SIP Header, Parameters
- Capture information from a message and insert it into another message
- Remove all custom SIP headers
- Execute the change if the condition is satisfied
- Drop call or Log message if the condition is not satisfied
Contract
- Manipulation rule is only applicable to Outbound Trunk.
- Manipulation rule has a restriction to protect Edge Function, which does not allow to modify native SIP Header or native Session Variable.
- X-EDGE and V-EDGE are reserved for Edge and not available to modify.
- X- indicates custom SIP Header
- V- indicates custom Session Variable
Parameters
Parameter | Role | Description |
---|---|---|
Conditions | Optional | Conditions are the set of conditions (max 5 rules) that will be used to decide which action to be performed in Statements or Else Statement. If no conditions is set, it means always matches > always trigger actions in Statements. |
Statements | Required | Sequence of actions (max 5 rules) to perform if conditions match. |
Else Statement | Optional | Sequence of actions (max 3 rules) to perform if conditions do not match. |
1. Conditions
Parameter | Role | Description |
---|---|---|
variable | Required | Session Variable or SIP Header, SIP Params |
pattern | Required | The regex is used to define a search pattern |
2. Statements
Parameter | Role | Description |
---|---|---|
reference | Optional | Session Variable or SIP Header, SIP Params |
pattern | Optional | The regex is used to define a search pattern |
target | Required | New Variable (V-) or new Header (X-) |
values |
Required |
The list of values which can be fix chars, or back-reference from reference with pattern
|
3. Else Statement
Parameter |
Role |
Description |
---|---|---|
action |
Required |
2 available actions:
|
param |
Required |
String base, depending on the value of action:
|
The pattern must follow Perl Compatible Regular Expressions (PCRE) syntax.
Syntax Description
The below table shows most formalisms provide the following operations to construct regular expressions.
How to create a new manipulation rule
1. Go to Settings > Manipulation > New profile
Fill in Conditions (optional) > Statements (required) > Else Statement (optional) > Create
3. Finish