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


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to