B.7. AlarmReceiver()

Receives alarm reports from a burglar or fire alarm panel.
AlarmReceiver()
Emulates an alarm receiver and allows Asterisk to receive and process alarm reports in proprietary alarm panel signalling formats from burglar and fire alarm panels. Only Ademco Contact ID formatted alarm reports are supported at this time.
Once AlarmReceiver() is called, Asterisk performs a handshake with the connected alarm panel, waits for it to transmit events, then validates and stores them. When the panel has hung up, AlarmReceiver() runs the system command specified in the eventcmd of alarmreceiver.conf. The alarmreceiver.conf also contains DTMF timing settings and acknowledgement tone volume.
This application has not been certified for use in critical environments where it is the only means of polling alarm events. Use it at your own risk! Before implementing, be sure to test it thoroughly.
Always returns 0.
; Process alarm events:
exten => s,1,AlarmReceiver()

Note

Internal help for this application in Asterisk 1.4:
  -= Info about application 'AlarmReceiver' =- 

[Synopsis]
Provide support for receiving alarm reports from a burglar or fire alarm panel

[Description]
  AlarmReceiver(): Only 1 signalling format is supported at this time: Ademco
Contact ID. This application should be called whenever there is an alarm
panel calling in to dump its events. The application will handshake with the
alarm panel, and receive events, validate them, handshake them, and store them
until the panel hangs up. Once the panel hangs up, the application will run the
system command specified by the eventcmd setting in alarmreceiver.conf and pipe
the events to the standard input of the application. The configuration file also
contains settings for DTMF timing, and for the loudness of the acknowledgement
tones.
diff output to internal help in Asterisk 1.2:
5c5
< Provide support for receiving alarm reports from a burglar or fire alarm panel
---
> Provide support for receving alarm reports from a burglar or fire alarm panel
See also
alarmreceiver.conf