Adds new formats to app_alarmreceiver, ALAW calls support and enhanced protection.
authorPedro Kiefer <pedro@kiefer.com.br>
Wed, 17 Oct 2012 19:02:46 +0000 (19:02 +0000)
committerPedro Kiefer <pedro@kiefer.com.br>
Wed, 17 Oct 2012 19:02:46 +0000 (19:02 +0000)
commit8b34dc8192c833c508cc10ad18ee61db73292ce6
treeffe23fb8bbdc701fddb49841af52cf3b75ce488a
parent372e29620c4b0b1db59bc7b96637e54479a76696
Adds new formats to app_alarmreceiver, ALAW calls support and enhanced protection.

Commiting this on behalf of Kaloyan Kovachev (license 5506).
AlarmReceiver now supports the following DTMF signaling types:
 - ContactId
 - 4x1
 - 4x2
 - High Speed
 - Super Fast
We are also auto-detecting which signaling is being received. So support for
those protocols should work out-the-box. Correctly identify ALAW / ULAW calls.
Some enhanced protection for broken panels and malicious callers where added.

(closes issue ASTERISK-20289)
Reported by: Kaloyan Kovachev

Review: https://reviewboard.asterisk.org/r/2088/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@375150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_alarmreceiver.c
configs/alarmreceiver.conf.sample