On Asterisk 15.1.0, AlarmReceiver() Application not flushing detected ADEMCO_CONTACT_ID event

Refer AlarmReceiver() Application doc @ https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+Application_AlarmReceiver.

AlarmReceiver’s variable ALARMRECEIVER_RETRIES_LIMIT when set to “1”, as expected it does exit after one event is processed,but it fails to flush the event to the event-file. To get the event info flushed to the event-file I had to set ALARMRECEIVER_RETRIES_LIMIT=2, doing so , it tries twice, but also does flush the first event to the spool file.

My question is, as in my first case, where I have the variable ALARMRECEIVER_RETRIES_LIMIT=1 , can
I make the app flush forcibly the event information to the file.


Since got no replies, I tried to investigate the alarm code and reported my findings at https://issues.asterisk.org/jira/browse/ASTERISK-27428


1 Like