Andrew Edmond wrote:

Asterisk Community --
I'm looking for a way to gracefully shutdown asterisk at least once a day and bring it back online. I'm using Gentoo Linux and using safe_asterisk from /etc/init.d/asterisk.
Anybody have a handy CLI/crontab script that accomplishes this?
Andrew



------------------------------------------------------------------------

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Here is my crontab command:

0 4 * * * /usr/sbin/asterisk -rx 'restart gracefully'

However, there have been several occasions where the system has been "stuck" when the employees arrive for work in the morning. 'show channels' indicates a "stuck" channel on the Adtran 750, and Asterisk is unable to complete the shutdown. I need to upgrade this system to Asterisk v1.0 before I persue this problem.

--
Michael Welter
Introspect Telephony Corp.
Denver, Colorado US
+1.303.674.2575
[EMAIL PROTECTED]
www.introspect.com
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to