asterisk.conf.sample 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. ;internal_timing = yes
  31. ;systemname = my_system_name ; Prefix uniqueid with a system name for
  32. ; Global uniqueness issues.
  33. ;autosystemname = yes ; Automatically set systemname to hostname,
  34. ; uses 'localhost' on failure, or systemname if
  35. ; set.
  36. ;mindtmfduration = 80 ; Set minimum DTMF duration in ms (default 80 ms)
  37. ; If we get shorter DTMF messages, these will be
  38. ; changed to the minimum duration
  39. ;maxcalls = 10 ; Maximum amount of calls allowed.
  40. ;maxload = 0.9 ; Asterisk stops accepting new calls if the
  41. ; load average exceed this limit.
  42. ;maxfiles = 1000 ; Maximum amount of openfiles.
  43. ;minmemfree = 1 ; In MBs, Asterisk stops accepting new calls if
  44. ; the amount of free memory falls below this
  45. ; watermark.
  46. ;cache_record_files = yes ; Cache recorded sound files to another
  47. ; directory during recording.
  48. ;record_cache_dir = /tmp ; Specify cache directory (used in conjunction
  49. ; with cache_record_files).
  50. ;transmit_silence = yes ; Transmit silence while a channel is in a
  51. ; waiting state, a recording only state, or
  52. ; when DTMF is being generated. Note that the
  53. ; silence internally is generated in raw signed
  54. ; linear format. This means that it must be
  55. ; transcoded into the native format of the
  56. ; channel before it can be sent to the device.
  57. ; It is for this reason that this is optional,
  58. ; as it may result in requiring a temporary
  59. ; codec translation path for a channel that may
  60. ; not otherwise require one.
  61. ;transcode_via_sln = yes ; Build transcode paths via SLINEAR, instead of
  62. ; directly.
  63. ;runuser = asterisk ; The user to run as.
  64. ;rungroup = asterisk ; The group to run as.
  65. ;lightbackground = yes ; If your terminal is set for a light-colored
  66. ; background.
  67. ;forceblackbackground = yes ; Force the background of the terminal to be
  68. ; black, in order for terminal colors to show
  69. ; up properly.
  70. ;defaultlanguage = en ; Default language
  71. documentation_language = en_US ; Set the language you want documentation
  72. ; displayed in. Value is in the same format as
  73. ; locale names.
  74. ;hideconnect = yes ; Hide messages displayed when a remote console
  75. ; connects and disconnects.
  76. ;lockconfdir = no ; Protect the directory containing the
  77. ; configuration files (/etc/asterisk) with a
  78. ; lock.
  79. ;stdexten = gosub ; How to invoke the extensions.conf stdexten.
  80. ; macro - Invoke the stdexten using a macro as
  81. ; done by legacy Asterisk versions.
  82. ; gosub - Invoke the stdexten using a gosub as
  83. ; documented in extensions.conf.sample.
  84. ; Default gosub.
  85. ;live_dangerously = no ; Enable the execution of 'dangerous' dialplan
  86. ; functions from external sources (AMI,
  87. ; etc.) These functions (such as SHELL) are
  88. ; considered dangerous because they can allow
  89. ; privilege escalation.
  90. ; Default no
  91. ; Changing the following lines may compromise your security.
  92. ;[files]
  93. ;astctlpermissions = 0660
  94. ;astctlowner = root
  95. ;astctlgroup = apache
  96. ;astctl = asterisk.ctl
  97. [compat]
  98. pbx_realtime=1.6
  99. res_agi=1.6
  100. app_set=1.6