There was a post today on the Asterisk Users mailing list about needing a simple way to monitor if your Asterisk lines are working ok.
As it turns out I had such a script in my little store of doom. So just in case the Asterisk Users post doesn't get archived here it is:
<pre>
<?
///////////////////////////////////////////////////
// This is a quick script that allows the external
// monitoring to check that all is ok.
//
// Gareth#NetworksAreMadeOfString.co.uk
///////////////////////////////////////////////////
$s = ...
Read More »
When I setup an Asterisk system for my home telephony it was configured so that if the main phone didn't pickup after a certain amount of time then Asterisk would proceed to 'call' all the phones in the house.
Yesterday someone enquired as to how this is acheived because there appears to be some confusion as to how it is done.
Now I make no assertions as to whether this is the best way to do it but it works.
Extensions.conf
[globals]
Office1=SIP/200
LivingRoom=SIP/201
ServerRoom=SIP/202
All=SIP/Office1&SIP/LivingRoom&SIP/ServerRoom
With that done you then simply add the ...
Read More »