[Asterisk-Users] 911 @ Zap Channel Breakin

Mark Coccimiglio n3whx at amsat.org
Sun May 14 16:01:49 MST 2006


Ok here is one for you.

I know we all do the this for 911:

exten => _911,1,Dial(Zap/1/911)
exten => _9911,1,Dial(Zap/1/911)

And this probably is more then acceptable for most of us.  However I
have a system setup that uses SIP for most calls and 1 POTS line.  We
use a "least cost" routing that uses the POTS line for local calls AND
SIP when appropiate.  What I want to do is durring a 911 call test if
the Zap channel is Available (probably using ChanIsAvail() ) to test the
line.  IF the channel is in use I want to barge in with an announcment
saying that the line is needed for an emergency and the call we be
disconnected.  Then immediately drop the call capture the line so noone
else can use it, wait about 5 seconds for the telco to clear the far end
and place the 911 call.  Is this possible?

Thnaks
Mark C
n3whx at amsat.org
FWD: 293625





More information about the asterisk-users mailing list