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:[EMAIL PROTECTED] 
> 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
> [EMAIL PROTECTED]
>  
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> [email protected] 
> http://lists.digium.com/mailman/listinfo/aster> isk-users
> To 
> UNSUBSCRIBE or update options visit:
>    
http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to