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
92 lines
2.3 KiB
Text
92 lines
2.3 KiB
Text
;
|
|
; alarmreceiver.conf
|
|
;
|
|
; Sample configuration file for the Asterisk alarm receiver application.
|
|
;
|
|
|
|
|
|
[general]
|
|
|
|
;
|
|
; Specify a timestamp format for the metadata section of the event files
|
|
; Default is %a %b %d, %Y @ %H:%M:%S %Z
|
|
|
|
timestampformat = %a %b %d, %Y @ %H:%M:%S %Z
|
|
|
|
;
|
|
; Specify a command to execute when the caller hangs up
|
|
;
|
|
; Default is none
|
|
;
|
|
|
|
;eventcmd = yourprogram -yourargs ...
|
|
|
|
;
|
|
; Specify a spool directory for the event files. This setting is required
|
|
; if you want the app to be useful. Event files written to the spool
|
|
; directory will be of the template event-XXXXXX, where XXXXXX is a random
|
|
; and unique alphanumeric string.
|
|
;
|
|
; Default is none, and the events will be dropped on the floor.
|
|
;
|
|
|
|
eventspooldir = /tmp
|
|
|
|
;
|
|
; The alarmreceiver app can either log the events one-at-a-time to individual
|
|
; files in the spool directory, or it can store them until the caller
|
|
; disconnects and write them all to one file.
|
|
;
|
|
; The default setting for logindividualevents is no.
|
|
;
|
|
|
|
logindividualevents = no
|
|
|
|
;
|
|
; The timeout for receiving the first DTMF digit is adjustable from 1000 msec.
|
|
; to 10000 msec. The default is 2000 msec. Note: if you wish to test the
|
|
; receiver by entering digits manually, set this to a reasonable time out
|
|
; like 10000 milliseconds.
|
|
|
|
fdtimeout = 2000
|
|
|
|
;
|
|
; The timeout for receiving subsequent DTMF digits is adjustable from
|
|
; 110 msec. to 4000 msec. The default is 200 msec. Note: if you wish to test
|
|
; the receiver by entering digits manually, set this to a reasonable time out
|
|
; like 4000 milliseconds.
|
|
;
|
|
|
|
sdtimeout = 200
|
|
|
|
;
|
|
; Wait for the connection to settle post-answer. Adjustable from 500 msec. to 10000 msec.
|
|
; The default is 1250 msec.
|
|
;
|
|
|
|
answait = 1250
|
|
|
|
; When logging individual events it may be desirable to skip grouping of metadata
|
|
|
|
;no_group_meta = yes
|
|
|
|
;
|
|
; The loudness of the ACK and Kissoff tones is adjustable from 100 to 8192.
|
|
; The default is 8192. This shouldn't need to be messed with, but is included
|
|
; just in case there are problems with signal levels.
|
|
;
|
|
|
|
loudness = 8192
|
|
|
|
;
|
|
; The db-family setting allows the user to capture statistics on the number of
|
|
; calls, and the errors the alarm receiver sees. The default is for no
|
|
; db-family name to be defined and the database logging to be turned off.
|
|
;
|
|
|
|
;db-family = yourfamily:
|
|
|
|
;
|
|
; End of alarmreceiver.conf
|
|
;
|