PBXes (http://www1.pbxes.com/forum/index.php)
- English (http://www1.pbxes.com/forum/board.php?boardid=16)
-- Miscellaneous (http://www1.pbxes.com/forum/board.php?boardid=19)
--- RE: Dialing rules (http://www1.pbxes.com/forum/threadid.php?threadid=1267450378)


Posted by metokote on 01.03.2010 at 15:32:

Dialing rules

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.

Thanks

Mike


Posted by telagente00 on 01.03.2010 at 18:18:

RE: Dialing rules

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.

Works for me

Regards
Ron


Posted by metokote on 01.03.2010 at 18:47:

RE: Dialing rules

Thanks Ron

I can't say I quite understand your 2nd string for selecting the number being dialed but it works and does exactly what I need.

Thanks again.

Mike


Posted by telagente00 on 01.03.2010 at 21:22:

RE: Dialing rules

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

Powered by: Burning Board Lite 1.0.2 © 2001-2004 WoltLab GmbH
English translation by Satelk