alarmreceiver.conf.sample 2.3 KB

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