| 1 |
; |
| 2 |
; alarmreceiver.conf |
| 3 |
; |
| 4 |
; Sample configuration file for the Asterisk alarm receiver application. |
| 5 |
; |
| 6 |
|
| 7 |
|
| 8 |
[general] |
| 9 |
|
| 10 |
; |
| 11 |
; Specify a timestamp format for the metadata section of the event files |
| 12 |
; Default is %a %b %d, %Y @ %H:%M:%S %Z |
| 13 |
|
| 14 |
timestampformat = %a %b %d, %Y @ %H:%M:%S %Z |
| 15 |
|
| 16 |
; |
| 17 |
; Specify a command to execute when the caller hangs up |
| 18 |
; |
| 19 |
; Default is none |
| 20 |
; |
| 21 |
|
| 22 |
;eventcmd = yourprogram -yourargs ... |
| 23 |
|
| 24 |
; |
| 25 |
; Specify a spool directory for the event files. This setting is required |
| 26 |
; if you want the app to be useful. Event files written to the spool |
| 27 |
; directory will be of the template event-XXXXXX, where XXXXXX is a random |
| 28 |
; and unique alphanumeric string. |
| 29 |
; |
| 30 |
; Default is none, and the events will be dropped on the floor. |
| 31 |
; |
| 32 |
|
| 33 |
eventspooldir = /tmp |
| 34 |
|
| 35 |
; |
| 36 |
; The alarmreceiver app can either log the events one-at-a-time to individual |
| 37 |
; files in the spool directory, or it can store them until the caller |
| 38 |
; disconnects and write them all to one file. |
| 39 |
; |
| 40 |
; The default setting for logindividualevents is no. |
| 41 |
; |
| 42 |
|
| 43 |
logindividualevents = no |
| 44 |
|
| 45 |
; |
| 46 |
; The timeout for receiving the first DTMF digit is adjustable from 1000 msec. |
| 47 |
; to 10000 msec. The default is 2000 msec. Note: if you wish to test the |
| 48 |
; receiver by entering digits manually, set this to a reasonable time out |
| 49 |
; like 10000 milliseconds. |
| 50 |
|
| 51 |
fdtimeout = 2000 |
| 52 |
|
| 53 |
; |
| 54 |
; The timeout for receiving subsequent DTMF digits is adjustable from |
| 55 |
; 110 msec. to 4000 msec. The default is 200 msec. Note: if you wish to test |
| 56 |
; the receiver by entering digits manually, set this to a reasonable time out |
| 57 |
; like 4000 milliseconds. |
| 58 |
; |
| 59 |
|
| 60 |
sdtimeout = 200 |
| 61 |
|
| 62 |
; |
| 63 |
; Wait for the connection to settle post-answer. Adjustable from 500 msec. to 10000 msec. |
| 64 |
; The default is 1250 msec. |
| 65 |
; |
| 66 |
|
| 67 |
answait = 1250 |
| 68 |
|
| 69 |
; When logging individual events it may be desirable to skip grouping of metadata |
| 70 |
|
| 71 |
;no_group_meta = yes |
| 72 |
|
| 73 |
; |
| 74 |
; The loudness of the ACK and Kissoff tones is adjustable from 100 to 8192. |
| 75 |
; The default is 8192. This shouldn't need to be messed with, but is included |
| 76 |
; just in case there are problems with signal levels. |
| 77 |
; |
| 78 |
|
| 79 |
loudness = 8192 |
| 80 |
|
| 81 |
; |
| 82 |
; The db-family setting allows the user to capture statistics on the number of |
| 83 |
; calls, and the errors the alarm receiver sees. The default is for no |
| 84 |
; db-family name to be defined and the database logging to be turned off. |
| 85 |
; |
| 86 |
|
| 87 |
;db-family = yourfamily: |
| 88 |
|
| 89 |
; |
| 90 |
; End of alarmreceiver.conf |
| 91 |
; |