Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • OSS/BSS Answers
  • Edge Server

Settings - Manipulation

Written by B3Networks Academy

Updated at June 2nd, 2023

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • 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
    General Account Settings Payment and Credits Billing & Invoices Developer Tools Members & Teams Subscription Management Audit & Reports
  • App Model - Communication Apps Answers
    Bizphone BizPhone Desktop Application Bizphone Mobile Application Wallboard SIP Fax Global DNC File Explorer Virtual Line Call Recording Direct Line SMS Marketing
  • License Model - Organization Management
    General Account Settings Payment & Credits Audit & Reports Email Call Rules & Holidays Members & Teams Numbers Tab Billing & Invoices Organization Connect CPaaS - DNC Security Policy Security Groups Security Events Tab
  • 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 CPaaS Hotdesking Contact Campaign File Explorer Power Mobile App Files App
  • Telcoflow
  • Integrations Answers
    Freshdesk MS Teams - Bizphone NewRock
  • Updated Regulations
  • Ideas Portal
+ More

Table of Contents

Introduction Functions Contract Parameters 1. Conditions 2. Statements 3. Else Statement Syntax Description How to create a new manipulation rule

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:
  • Log: add log message (can be used to monitor/alert)
  • Drop: hang up the call
param
Required
String base, depending on the value of action:
  • Message content for log
  • Hangup reason for drop

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

manipulate configuration

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Settings - Translation
  • Settings - Codec
  • Settings - Capacity
  • Get Started: How to connect B3networks with Vendors through Edge Server

© B3NETWORKS PTE LTD. All Rights Reserved.

Data Policy

Service Level Agreement

Expand