On Fri, Nov 28, 2008 at 04:42:01PM -0600, Danny Nicholas wrote:
> Right you are, Alex. How about (CLI) Zap restart? I was thinking zap
> destroy channel 1, but that just kills the channel until you do a zap
> restart. That being said, this is an option
>
> exten => _911,1,System('/usr/sbin/asterisk -rx "zap restart"')
> exten => _911,2,System('/usr/sbin/asterisk -rx "zap restart"')
This will disconnect all existing Zap calls.
BTW: As of Asterisk 1.4.22 / 1.6.0 'dahdi restart' actually works as
promised and you don't need to run it twice.
> Second instance is to start the line that was in use during first restart
> exten => _911,3,Dial(Zap/1/ww911,60)
> exten => _911,3,Hangup()
--
Tzafrir Cohen
icq#16849755 jabber:[EMAIL PROTECTED]
+972-50-7952406 mailto:[EMAIL PROTECTED]
http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users