[Asterisk-Users] Regex in number dialed

Brian West brian at bkw.org
Sat Dec 25 19:31:37 MST 2004


exten => _8001133[12345789]XX.,1,Dial(SIP/france-gateway,60,tr)

All those lines can be taken to that.

bkw

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Jean-Yves Avenard
> Sent: Saturday, December 25, 2004 7:43 PM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] Regex in number dialed
> 
> 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
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list