Tool To Restart Asterisk

Home » Asterisk Users » Tool To Restart Asterisk
Asterisk Users No Comments


There was a thread a while back talking about a tool to restart Asterisk. We have a program that runs out of CRON that does just that. What it does is check the Asterisk process every X minutes and verifies not only that Asterisk is running, but that it is running efficiently by checking the Asterisk process parameters such as memory usage, cpu usage, number of threads spawned, the number of open files, etc. The program reads the threshold values in a config file and if the parameters exceed the threshold values, the program restarts Asterisk and shoots an email off to the admin letting them know that there was a restart. The program is written in Perl and requires no non-standard CPAN modules. Feel free to download the program at All comments are welcome and can be sent to


John V.

Tech Support

Tech Support

VoIP Business Solutions

240-215-3479 x325