in Asterisk

Asterisk and alarm working well together

After monitoring my alarm panel for a few days I have to say things are working extremely well! I’m still not parsing the messages the panel sends but I do get them reliably. As of now I get alerted via text message whenever the alarm is tripped. Actually, I get three alerts as for each test I get an event for “alarm tripped” and two for “alarm canceled.”

What I need to do now is write a little PERL app to convert the event code to text. I also might rewrite the AlarmReceiver Asterisk app to dump events into MySQL rather than randomly-named text files.

I also want to explore how to make the alarm report all events (a door opens, motion, etc) , not just when the alarm is tripped. Since I’ve got a phone line already dedicated to the alarm it shouldn’t be a problem to “nail it up” all the time. Alarm companies monitor a lot of their customers using “alarm loop” lines from the phone company, so it should be possible to monitor the whole system at all times.