[Asterisk-Users] Regex in number dialed

Jean-Yves Avenard jean-yves.avenard at hydrix.com
Sat Dec 25 18:42:55 MST 2004


Hello

Didn't find any information in the wiki. Regex only refers to the 
dialing syntax

I'd like to do something like:
exten => _8001133[1-5,7-9]XX.,1,Dial(SIP/france-gateway,60,tr)

is there a possibility?
right now I've had to enter all possible choice like:
exten => _80011331XX.,1,Dial(SIP/france-gateway,60,tr)
exten => _80011332XX.,1,Dial(SIP/france-gateway,60,tr)
exten => _80011333XX.,1,Dial(SIP/france-gateway,60,tr)
exten => _80011334XX.,1,Dial(SIP/france-gateway,60,tr)
exten => _80011335XX.,1,Dial(SIP/france-gateway,60,tr)
exten => _80011337XX.,1,Dial(SIP/france-gateway,60,tr)
exten => _80011338XX.,1,Dial(SIP/france-gateway,60,tr)
exten => _80011339XX.,1,Dial(SIP/france-gateway,60,tr)

Thank you in advance
Cheers
Jean-Yves




More information about the asterisk-users mailing list