Hi
Can anybody help?
I am trying to set up pbxes so that if anybody dials from a certain extension and dials a number starting with a single 0 followed by another number from 1 to 9 inclusive, it will strip out the first zero and replace it with 0049 (Germany international code).
Where/ how do I set this up? I see there are dialing plan boxes in both "trunks" and "outbound routing". I first tried to set it up in "outbound routing" but if I put anything in the dialing plan box, it erases the rules above and therefore does not put the call through this routing.
Hi,
You need an outbound route which has the extension number set, and select 'numbers starting' with 0z.
The trunk for this route should have 0049+0|zx. set in its dial rules.
This means a call from (extension) with digits beginning 0 [1-9] will be selected and passed to the trunk.
The trunk will check if the number begins 0z and if correct it will remove the 0 and add 0049.
Hi Mike,
As long as the input digits match the numbers between the + and the end, then the string can be processed.
You can use more or less numbers (or x's, n's or z's) to suit your purposes for matching.
Once its matched then the digit(s) between the + and the | character (in this case your zero) are removed,
Then the digit(s) before the + character (in this case 0049) are added.
The result is then complete and goes out.
Hope that clarifies it because its a very very useful feature for manipulating dialled digits.
Regards
Ron