PBXes » English » Miscellaneous » RE: Dialing rules
Print Page | Recommend to Friend | Add Thread to Favorites
Post New Thread Post Reply
Author
Post « Previous Thread | Next Thread »
met


Registration Date: 01.01.1970
Posts:

Dialing rules Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

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

01.03.2010 15:32 metokote is offline Search for Posts by metokote Add metokote to your Buddy List
tel
Premium Account


Registration Date: 28.07.2008
Posts: 252

RE: Dialing rules Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

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

01.03.2010 18:18 telagente00 is offline Search for Posts by telagente00 Add telagente00 to your Buddy List
met


Registration Date: 01.01.1970
Posts:

RE: Dialing rules Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

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

This post has been edited 1 time(s), it was last edited by met on 01.03.2010 at 19:13.

01.03.2010 18:47 metokote is offline Search for Posts by metokote Add metokote to your Buddy List
tel
Premium Account


Registration Date: 28.07.2008
Posts: 252

RE: Dialing rules Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

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

01.03.2010 21:22 telagente00 is offline Search for Posts by telagente00 Add telagente00 to your Buddy List
 
Post New Thread Post Reply
Go to:

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