Settings - Translation
-
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 translation rule replaces a sub string of the input number if the number matches the match pattern.
The regex engine is used to check for a match based on the match pattern.In other words, this translation rule is to convert the prefix of number as your requirement.
Translation rule is applicable to both types of trunks: Inbound and Outbound.
- Number of translation rules can be created: unlimited.
- Number of translation rules can be applied to one trunk: maximum 5 rules.
Parameters
- Name: name of translation rule
- Pattern: the pattern of number which will be applied to translation rule
- Replacement: the replacement for the number if pattern is matched
Pattern and Replacement must follow Perl Compatible Regular Expressions (PCRE) syntax.
Syntax Description
The below table shows most formalisms provide the following operations to construct regular expressions.
Create new Translation Rule
1. Go to Setting > Translation > Click New profile
2. Give new rule a name > Input Pattern & Replacement > Create
3. Finish
Example
Test the Translation Rule
You can use this link for regex testing.