Creating a Dialling Rule
To set up a rule a pattern that the dialled number must match needs to be defined followed by an action to be taken on the dialled number once a match is detected. An action can be removing a prefix, removing a prefix or removing a prefix followed by adding a prefix.
The following characters can be used to generate a match pattern.
0,1,2,3,4,5,6,7,8,9 any digit
* # + any of these three symbols
[-] matches a range of symbols eg [45-9] matches any of these digits 4,5,6,7,8,9
x matches any of the above digits or symbols
? specifies that the previous character can be repeated 0 or more times
Example 1
Match Number +44x?
Remove Prefix +44
Add Prefix 9
Any number starting with +44 will have the +44 replaced with 9 so the number +44773764181 will be dialled as 9773764181
Example 2
Match Number xxxxxx780[1-9]
Add Prefix 7
Any 10 digit number with the last 4 digits being 7801- 7809 will have a prefix of 7. So 5003007804 is dialled as 75003007804
Example 3
Match Number 0xxxxxxxxxx
Remove Prefix 0
Add Prefix +44
Any eleven digit number starting with 0 will have the zero removed and replaced with +44