Mark Coccimiglio wrote:> 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@amsat.org
> FWD: 293625
>
>
> _______________________________________________
> --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
I seem to recall a script that did something similar on voip-info.org.
Look through their E911 stuff, perhaps it's still there.
Good luck.
--
Andrew D Kirch | Abusive Hosts Blocking List | www.ahbl.org
Security Admin | Summit Open Source Development Group | www.sosdg.org
Key fingerprint = 4106 3338 1F17 1E6F 8FB2 8DFA 1331 7E25 C406 C8D2