[Asterisk-Users] 911 context, is this right?

Jay Milk jay at skimmilk.net
Fri Jun 3 08:14:58 MST 2005


If Zap/5 is the least-used line, dial that one first :)  Other than
that, you could use a dial-group as someone else suggested.

> -----Original Message-----
> From: Chris Coulthurst [mailto:asterisk at shuksan.com] 
> Sent: Friday, June 03, 2005 4:51 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] 911 context, is this right?
> 
> 
> I have 3 analog trunks zap/1, zap/4 and zap/5.  zap/5 is the 
> least used line.  Would the following work for 911 calls?
> 
> [e911]
> exten => 911,1,ChanIsAvail(Zap/1)
> exten => 911,2,Dial(Zap/1/911)
> exten => 911,3,Hangup()
> exten => 911,102,ChanIsAvail(Zap/4)   
> exten => 911,103,Dial(Zap/4/911)
> exten => 911,104,Hangup()
> exten => 911,203,ChanIsAvail(Zap/5)
> exten => 911,204,Dial(Zap/5/911)
> exten => 911,205,Hangup()
> exten => 911,304,SoftHangup(Zap/5-1)
> exten => 911,305,Wait(2)
> exten => 911,306,Goto(204)
> 
> Did I get the Priority + 101 idea right here?
> 
> 
> Chris Coulthurst
> chris at shuksan.com
>  
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com 
> http://lists.digium.com/mailman/listinfo/aster> isk-users
> To 
> UNSUBSCRIBE or update options visit:
>    
http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list