Just some added thoughts In the script that you are using for the re-boot, make sure that you execute ³sync² a few times, this will flush out all pending writes to the disk. Many commands have it built in, but it pays to be safe. A more brute force approach, can be implemented by using Ethernet accessed AC power controller. An outstanding product is available from http://digital-loggers.com. We run a few of them at our site. When everything else fails, this unit gets the job done. Keith On 7/23/14 5:20 PM, "Robert A. Poff WB3AWJ" <wb3awj@comcast.net> wrote:
Doing it via the COP,1 only restarts Asterisk. Which can be useful
To restart the machine I'd do this : XXXXXX = cmd,/path/to/script/restart.sh In the restart.sh script, do whatever housekeeping you want, and then reboot.
FWIW... I have the startup macro call a function that uses localplay to have a distinctive sound file play on the air. (In my case the Doctor's TARDIS landing) I've had Asterisk crash/restart if there's a problem at the site. Hearing the sound notifies me it restarted for some reason. If you use the COP,1 it would give you a confirmation that it did in fact restart.
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
-- keith@goobie.org Keith Goobie Richmond Hill, ON, CANADA