Guest User

asterisk.conf

a guest
Jan 31st, 2012
57
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [directories](!)
  2. astetcdir => /etc/asterisk2
  3. astmoddir => /usr/lib/asterisk2/modules
  4. astvarlibdir => /var/lib/asterisk2
  5. astdbdir => /var/lib/asterisk2
  6. astkeydir => /var/lib/asterisk2
  7. astdatadir => /var/lib/asterisk2
  8. astagidir => /var/lib/asterisk2/agi-bin
  9. astspooldir => /var/spool/asterisk2
  10. astrundir => /var/run/asterisk2
  11. astlogdir => /var/log/asterisk2
  12.  
  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. ;maxcalls = 10 ; Maximum amount of calls allowed.
  37. ;maxload = 0.9 ; Asterisk stops accepting new calls if the
  38. ; load average exceed this limit.
  39. ;maxfiles = 1000 ; Maximum amount of openfiles.
  40. ;minmemfree = 1 ; In MBs, Asterisk stops accepting new calls if
  41. ; the amount of free memory falls below this
  42. ; watermark.
  43. ;cache_record_files = yes ; Cache recorded sound files to another
  44. ; directory during recording.
  45. ;record_cache_dir = /tmp ; Specify cache directory (used in conjunction
  46. ; with cache_record_files).
  47. ;transmit_silence = yes ; Transmit silence while a channel is in a
  48. ; waiting state, a recording only state, or
  49. ; when DTMF is being generated. Note that the
  50. ; silence internally is generated in raw signed
  51. ; linear format. This means that it must be
  52. ; transcoded into the native format of the
  53. ; channel before it can be sent to the device.
  54. ; It is for this reason that this is optional,
  55. ; as it may result in requiring a temporary
  56. ; codec translation path for a channel that may
  57. ; not otherwise require one.
  58. ;transcode_via_sln = yes ; Build transcode paths via SLINEAR, instead of
  59. ; directly.
  60. ;runuser = asterisk ; The user to run as.
  61. ;rungroup = asterisk ; The group to run as.
  62. ;lightbackground = yes ; If your terminal is set for a light-colored
  63. ; background.
  64. ;forceblackbackground = yes ; Force the background of the terminal to be
  65. ; black, in order for terminal colors to show
  66. ; up properly.
  67. ;defaultlanguage = en ; Default language
  68. documentation_language = en_US ; Set the language you want documentation
  69. ; displayed in. Value is in the same format as
  70. ; locale names.
  71. ;hideconnect = yes ; Hide messages displayed when a remote console
  72. ; connects and disconnects.
  73. ;lockconfdir = no ; Protect the directory containing the
  74. ; configuration files (/etc/asterisk) with a
  75. ; lock.
  76.  
  77. ; Changing the following lines may compromise your security.
  78. ;[files]
  79. ;astctlpermissions = 0660
  80. ;astctlowner = root
  81. ;astctlgroup = apache
  82. astctl = asterisk2.ctl
  83.  
  84. [compat]
  85. pbx_realtime=1.6
  86. res_agi=1.6
  87. app_set=1.6
RAW Paste Data