[Asterisk-Users] a bit frightened, guys
Andrew Kohlsmith
akohlsmith-asterisk at benshaw.com
Mon Nov 3 12:51:06 MST 2003
> 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. :-)
Regards,
Andrew
More information about the asterisk-users
mailing list