Asterisk 13.23.1 - Alarm Receiver endless loop

Hi,

I’m using Alarm Receiver on Asterisk 13.23.1; I’m using a Grandstream ATA HT503, with the DSC Security system connected on FXS port.

Once the security system dial, the alarmreceiver get the event but after that it begins an endless loop == AlarmReceiver: Incomplete string: , trying again…

[metadata]
PROTOCOL=ADEMCO_CONTACT_ID
CHECKSUM=yes
CALLINGFROM=650
CALLERNAME=Alarma
TIMESTAMP=Wed Mar 20, 2019 @ 09:42:40 -05

[events]
3214181601010016

This is my alarmreceiver.conf

[general]
timestampformat = %a %b %d, %Y @ %H:%M:%S %Z
;eventcmd = /home/pi/alarmrecv.pl
eventspooldir = /tmp
logindividualevents = yes
fdtimeout = 2000
sdtimeout = 200
loudness = 600

Connected to Asterisk 13.23.1 currently running on orangepiplus (pid = 3920)
> AlarmReceiver: DTMF Digit Timeout on Local/s@custom-myalarmreceiver-00000000;2
> AlarmMonitoring: Detected format ADEMCO_CONTACT_ID.
== AlarmReceiver: Incomplete string: 123418140100040, trying again…
> AlarmReceiver: DTMF Digit Timeout on Local/s@custom-myalarmreceiver-00000000;2
== AlarmReceiver: Incomplete string: *, trying again…
> AlarmReceiver: DTMF Digit Timeout on Local/s@custom-myalarmreceiver-00000000;2
> AlarmMonitoring: Detected format ADEMCO_CONTACT_ID.
== AlarmReceiver: Incomplete string: 123418140100040, trying again…
> AlarmReceiver: DTMF Digit Timeout on Local/s@custom-myalarmreceiver-00000000;2
== AlarmReceiver: Incomplete string: *, trying again…
> AlarmReceiver: DTMF Digit Timeout on Local/s@custom-myalarmreceiver-00000000;2
== AlarmReceiver: Incomplete string: , trying again…
> AlarmReceiver: DTMF Digit Timeout on Local/s@custom-myalarmreceiver-00000000;2
== AlarmReceiver: Incomplete string: , trying again…
> AlarmReceiver: DTMF Digit Timeout on Local/s@custom-myalarmreceiver-00000000;2
== AlarmReceiver: Incomplete string: , trying again…
> AlarmReceiver: DTMF Digit Timeout on Local/s@custom-myalarmreceiver-00000000;2
== AlarmReceiver: Incomplete string: , trying again…
> AlarmReceiver: DTMF Digit Timeout on Local/s@custom-myalarmreceiver-00000000;2

I saw that there is a variable ALARMRECEIVER_RETRIES_LIMIT, but i don’t know where to write it. I did it on alarmreceiver.conf but it did not work.

Any ideas? thanks,

Mauricio F

Hi again, problem solved.

My problem was that i was using 911 extension to trigger the alarmreceiver, so, once the ATA hang up (extension 650), the asterisk returns the call (or better don’t hang up the call), so, that is why the alarmreceiver module was waiting for more DTMF digits that will never be received creating the infinite loop.

Just change 911 extension to a new number and problem solved.

PD: never try to use 911 extension even for internal.

Regards,

Mauricio F.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.