[asterisk-users] Extensions +International
Rob Schall
rschall at callone.net
Thu Mar 1 09:31:21 MST 2007
This should be easy, but I can't find the right wildcard.
Right now I have....
exten => _9011.,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}},,wW)
for international and for local
exten => _9NXXXXXX,n,Dial(${TRUNK}/${EXTEN:1},,wW)
The problem is if the call isn't typed in, then you press dial, we have
problems... Example:
I pick up the handset and get a dialtone. I press 9011331234567 or
something international. Before I can finish, the local option kicks in
because it saw 9XXXXXXXX.
Is there a way to say
_9[2-9]NXXXXXXX or something like that?
Rob
More information about the asterisk-users
mailing list