<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
Would it be possible to execute some kind of script when for example Asterisk restarts... or stops... ?<BR>
<BR>
How can one read the status of Asterisk so that when the service is stopped I could be notified by mail, by text message,... ?<BR>
<BR>
I don't know how to read the status of Asterisk (or the change of status) in a bash-script.<BR>
<BR>
Thanks for the reply !<BR>
<BR>
Kind regards,<BR>
Jonas.
</BODY>
</HTML>