[Asterisk-Users] Dialling 9 for an outside line

Steven P. Donegan steve at donegan.org
Sun Jan 2 08:40:42 MST 2005


richard wrote:

> I have the following line in my extensions.conf which when I dial 100 
> (from my BudgeTone 100, and then wait a few seconds) I will get an 
> outside line.
>
> exten =>100,1,Dial(Zap/1,20)
>
> What do I need to put in the extensions.conf file so that I can dial 9 
> (and then a number) and then Asterisk automatically dials 9 and then 
> the number so that an outside call i smade?
>
> Thanks
>
> Richard
> _______________________________________________
> 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
>
>
>
Something like this should do the trick:

exten => _9X.,1,Dial(Zap/1,20/${EXTEN:1})
exten => _9X.,2,Congestion





More information about the asterisk-users mailing list