Advertisement
Guest User

asterisk.conf

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