View Single Post
Unread 11-01-2006, 10:41 PM   #5
nicois
Junior Member
 
Join Date: Sep 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
nicois is on a distinguished road
Default

Easy peasy.

Assuming you ONLY connect to voxalot with your phone and there's a + at the start of every number, just put ${EXTEN:1} as your dial plan, which will strip the '+'.

If you want to match certain numbers, just put '.' at the start.
e.g. ".614XXXXXXXX" will match all australian mobiles.

If you use this voxalot account with other ATAs which don't put a '+' at the start (or some numbers in your phone don't have '+'): put your normal rules first (for non+ entries), then duplicate them, putting a '.' at the start of the dial plan and modifying the replacement rule accordingly.

I just tried it out here, and it looks like it works fine. At the end of my 'normal' dial plans I have a catchall rule of "X." which gets everything starting with a digit (and it assumes it's in international format). I then know that any later rules will only be tested if the dialed number starts with a non-digit, which I assume will be a '+' character.
nicois is offline   Reply With Quote