On Mon, 3 Nov 2003 14:51:06 -0500 Andrew Kohlsmith <[EMAIL PROTECTED]> wrote:
> > exten => _911,1,ChanIsAvail(Zap/1) > > exten => _911,2,Dial,Zap/1/911 > > exten => _911,3,Hangup() > > exten => _911,103,SoftHangup(Zap/1-1) > > exten => _911,104,Wait(1) > > exten => _911,105,Goto(1) > > That is pretty much exactly it, except I don't use _, and I play a file and > sleep(5) before what you're doing. > > > The only thing I would add is a variable to set for emergency call > > already on the channel. That way before you do the disconnect you can > > check to see if it is already an emergency call. > > I am not doing that currently but yes it would be a good thing, although > it's corner cases like that that I usually just document and leave as > is. :-) But isn't it likely that many people call 911 simultaneously in case of an emergency? Maybe it's not a corner case. Regards, Christian. > > Regards, > Andrew > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
