[asterisk-users] simplify

Bruno De Luca bdeluca at fgasoftware.com
Mon Apr 2 08:37:49 MST 2007


[miprimerejemplo]

exten => _X.,1,Dial(SIP/${exten},30,Ttm)
...

exten => s,1,Dial(SIP/${exten},30,Ttm)
...


Josu Lazkano Lete wrote:
> hello friends,
>  
> is there any way to simplify that extensions.conf file?
>  
> [miprimerejemplo]
> exten => 20000,1,Dial(SIP/20000,30,Ttm)
> exten => 20000,2,Hangup
> exten => 20000,102,Voicemail(20000)
> exten => 20000,103,Hangup
>  
> exten => 20100,1,Dial(SIP/20100,30,Ttm)
> exten => 20100,2,Hangup
> exten => 20100,102,Voicemail(20100)
> exten => 20100,103,Hangup
>  
> exten => 20200,1,Dial(SIP/20200,30,Ttm)
> exten => 20200,2,Hangup
> exten => 202000,102,Voicemail(20200)
> exten => 20200,103,Hangup
>  
> exten => 20300,1,Dial(SIP/20300,30,Ttm)
> exten => 20300,2,Hangup
> exten => 203000,102,Voicemail(20300)
> exten => 20300,103,Hangup
>  
> exten => 20400,1,Dial(SIP/20400,30,Ttm)
> exten => 20400,2,Hangup
> exten => 204000,102,Voicemail(20400)
> exten => 20400,103,Hangup
>  
>  
> thanks to all
> ------------------------------------------------------------------------
>
> _______________________________________________
> --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
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070402/46c36684/attachment.htm


More information about the asterisk-users mailing list