Configure Console Dial Rules to manipulate numbers dialed using the console
Name | Populate the Name filed with a descriptive name for the dial rule. |
Match Only Digit | This allows matching after all non-digits characters are removed. |
Begins With | Use this to specify which numbers the rule will apply to by matching the starting digits from left to right. |
Length | Use this field to apply rules based on the length of the number. All characters including dashes, plus signs and numbers are counted in the length field. |
Number of Front Digits to Remove | Strip digits from a number matched by a Dial Rule. Digits are removed from left to right. |
Applied Prefix | Populate this field to prefix digits on numbers matching a Dial Rule. The Applied Prefix occurs subsequent to the Digits Removed function. |
Ignore Characters | Populate to remove certain characters from a number. |
Remove non-digit characters | To strip all non-numeric characters from a number. This must be applied if your telephone numbers contain non-numeric characters or the dial rules may not function properly. |
To add new Dial/Directory rule:
- Go to Dial/Directory rule section into a configuration.
- Click on “Add” button.
- Complete the fields according the Dial/Directory rules to be create.
- Click on “Save” button.
Example 1: Applying rules on international numbers with different formats and lengths:
Location | Number | Begin With | Digit Length (Digits Only) | Character Length (with none –Digits) |
France | +(33) xxxxx-xxxx | 33 | 11 | 16 |
Hong Kong | 852-xxxx-xxx | 852 | 10 | 12 |
England | +44.xx.xxxx.xxxx | 44 | 12 | 16 |
Use case:
Prefix 9011 to all above international numbers then rile should like as follows.
- Match only digits: enabled
- Begins With: REGEX:(33|852|44)
- Length: 10,11,12
- Number of digits to be removed: 0
- Applied Prefix: 9011
- Ignore Characters: blank
Example 2: Applying rules on domestic numbers with different formats and lengths.
Location | Number | Begin With | Digit Length (Digits Only) | Character Length (with none –Digits) |
France | +1(212)-xxx-xxxx | 1212 | 11 | 16 |
Hong Kong | 201-xxx-xxxx | 201 | 10 | 12 |
England | 1.415.xxx.xxxx | 1415 | 11 | 14 |
- Begins With: REGEX:(1?[1-9][0-9][0-9])
- Length: 10,11
- Number of digits to be removed: 0
- Applied Prefix: [9|^1.10$,91|^.10$]
- Ignore Characters: blank
- Remove Non-Digit Characters: disabled
- Apply after Removing Non-Digits: enabled
Post your comment on this topic.