in Asterisk

Asterisk alarm script fixed

After getting another annoying 3:50 AM wakeup call from my Asterisk alarm monitoring script yesterday, I fixed my script once and for all. I customized the script first created by Uros Indihar, adding the zone assignments that were made on our system, among other things.

Now my Asterisk system only sends alerts for actual alarms and not test messages, unlike my previous script (those test calls get made at 3:50 AM on the fourth Thursday of each month). I can also parse the zone information, letting me know exactly what sensor on the system tripped.

I’ll fix my script up a little more before posting it.