Extension Offline Alert

I’ve got several extensions that are “Critical” in that if they go offline we need to know so that backup procedures can be implemented. Right now, I use a linux shell script that pings those phones at intervals and if the ping fails, an email is sent to support.

Has anyone done anything like this from within Asterisk/FreePBX?


I would not ping them. I would do an asterisk -rx ‘sip show peer xxx’ | grep …

That way you can make sure it is actually registered.