View Single Post
Unread 10-17-2006, 11:46 PM   #6
Ron
 
Join Date: Feb 2006
Posts: 447
Thanks: 4
Thanked 8 Times in 8 Posts
Ron will become famous soon enough
Default

Quote:
Originally Posted by martin View Post
As Jorge says you need a X in there. For example _1. means one or more 1's while _1X. means a numbers beginning with '1' followed by one or more digits.
Martin,

That's the way it works in a Linksys/Sipura dial plan, but not in Asterisk. The example given on the VoXaLot Dial Plan entry screen is:

. wildcard, matches one or more characters

e.g. _9. matches 94811111 etc

I have two Dial Plan entrys set up this way and they seem to work properly:

_7. ${EXTEN:1} Free World Dialup
_0011. ${EXTEN:1} Gizmo Project

In each case, I want the leading digit stripped and the remaining digits passed to the provider.

Ron
Ron is offline   Reply With Quote