[asterisk-users] Dialing plan Question

Shaun Wingrin voipsw at gmail.com
Thu Dec 11 11:28:32 CST 2008


Hi Can you please help me make this into one statement...
It doesn't work if I say _9000[1-9]0[1-8].
Also would like to be able to achieve _9000[1-9]0[1-8]XXXXXXXX,

Asterisk 1.4

exten => _900010[0-8].,1,Goto(route1,${EXTEN:5},1)
exten => _900010[0-8].,2,Hangup
exten => _900020[0-8].,1,Goto(route,${EXTEN:5},1)
exten => _900020[0-8].,2,Hangup
exten => _900030[0-8].,1,Goto(route,${EXTEN:5},1)
exten => _900030[0-8].,2,Hangup
all the way to ...
exten => _900090[0-8].,1,Goto(route,${EXTEN:5},1)
exten => _900090[0-8].,2,Hangup


Shaun Wingrin
VOIP Telecoms Solution Provider
BSc. (Elec. Eng.) UP

A1 Telecoms cc
Office: 087-940-0188
Mobile: 082-449-6273
Fax: 088-011-640-5633
Email:shaunw at a1telecoms.co.za

Keeping you TALKING for LESS!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081211/998f2dcf/attachment.htm 


More information about the asterisk-users mailing list