asterisk.conf.sample 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. [directories](!)
  2. astetcdir => /etc/asterisk
  3. astmoddir => /usr/lib/asterisk/modules
  4. astvarlibdir => /var/lib/asterisk
  5. astdbdir => /var/lib/asterisk
  6. astkeydir => /var/lib/asterisk
  7. astdatadir => /var/lib/asterisk
  8. astagidir => /var/lib/asterisk/agi-bin
  9. astspooldir => /var/spool/asterisk
  10. astrundir => /var/run/asterisk
  11. astlogdir => /var/log/asterisk
  12. astsbindir => /usr/sbin
  13. [options]
  14. ;verbose = 3
  15. ;debug = 3
  16. ;alwaysfork = yes ; Same as -F at startup.
  17. ;nofork = yes ; Same as -f at startup.
  18. ;quiet = yes ; Same as -q at startup.
  19. ;timestamp = yes ; Same as -T at startup.
  20. ;execincludes = yes ; Support #exec in config files.
  21. ;console = yes ; Run as console (same as -c at startup).
  22. ;highpriority = yes ; Run realtime priority (same as -p at
  23. ; startup).
  24. ;initcrypto = yes ; Initialize crypto keys (same as -i at
  25. ; startup).
  26. ;nocolor = yes ; Disable console colors.
  27. ;dontwarn = yes ; Disable some warnings.
  28. ;dumpcore = yes ; Dump core on crash (same as -g at startup).
  29. ;languageprefix = yes ; Use the new sound prefix path syntax.
  30. ;systemname = my_system_name ; Prefix uniqueid with a system name for
  31. ; Global uniqueness issues.
  32. ;autosystemname = yes ; Automatically set systemname to hostname,
  33. ; uses 'localhost' on failure, or systemname if
  34. ; set.
  35. ;mindtmfduration = 80 ; Set minimum DTMF duration in ms (default 80 ms)
  36. ; If we get shorter DTMF messages, these will be
  37. ; changed to the minimum duration
  38. ;maxcalls = 10 ; Maximum amount of calls allowed.
  39. ;maxload = 0.9 ; Asterisk stops accepting new calls if the
  40. ; load average exceed this limit.
  41. ;maxfiles = 1000 ; Maximum amount of openfiles.
  42. ;minmemfree = 1 ; In MBs, Asterisk stops accepting new calls if
  43. ; the amount of free memory falls below this
  44. ; watermark.
  45. ;cache_record_files = yes ; Cache recorded sound files to another
  46. ; directory during recording.
  47. ;record_cache_dir = /tmp ; Specify cache directory (used in conjunction
  48. ; with cache_record_files).
  49. ;transmit_silence = yes ; Transmit silence while a channel is in a
  50. ; waiting state, a recording only state, or
  51. ; when DTMF is being generated. Note that the
  52. ; silence internally is generated in raw signed
  53. ; linear format. This means that it must be
  54. ; transcoded into the native format of the
  55. ; channel before it can be sent to the device.
  56. ; It is for this reason that this is optional,
  57. ; as it may result in requiring a temporary
  58. ; codec translation path for a channel that may
  59. ; not otherwise require one.
  60. ;transcode_via_sln = yes ; Build transcode paths via SLINEAR, instead of
  61. ; directly.
  62. ;runuser = asterisk ; The user to run as.
  63. ;rungroup = asterisk ; The group to run as.
  64. ;lightbackground = yes ; If your terminal is set for a light-colored
  65. ; background.
  66. ;forceblackbackground = yes ; Force the background of the terminal to be
  67. ; black, in order for terminal colors to show
  68. ; up properly.
  69. ;defaultlanguage = en ; Default language
  70. documentation_language = en_US ; Set the language you want documentation
  71. ; displayed in. Value is in the same format as
  72. ; locale names.
  73. ;hideconnect = yes ; Hide messages displayed when a remote console
  74. ; connects and disconnects.
  75. ;lockconfdir = no ; Protect the directory containing the
  76. ; configuration files (/etc/asterisk) with a
  77. ; lock.
  78. ;stdexten = gosub ; How to invoke the extensions.conf stdexten.
  79. ; macro - Invoke the stdexten using a macro as
  80. ; done by legacy Asterisk versions.
  81. ; gosub - Invoke the stdexten using a gosub as
  82. ; documented in extensions.conf.sample.
  83. ; Default gosub.
  84. ;live_dangerously = no ; Enable the execution of 'dangerous' dialplan
  85. ; functions from external sources (AMI,
  86. ; etc.) These functions (such as SHELL) are
  87. ; considered dangerous because they can allow
  88. ; privilege escalation.
  89. ; Default no
  90. ; Changing the following lines may compromise your security.
  91. ;[files]
  92. ;astctlpermissions = 0660
  93. ;astctlowner = root
  94. ;astctlgroup = apache
  95. ;astctl = asterisk.ctl