README.asterisk.conf 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Asterisk Main Configuration File
  2. -----------------------------------------------------
  3. Below is a sample of the main Asterisk configuration file,
  4. asterisk.conf. Note that this file is _not_ provided in
  5. sample form, because the Makefile creates it when needed
  6. and does not touch it when it already exists.
  7. ---------------
  8. [directories]
  9. ; Make sure these directoriess have the right permissions if not
  10. ; running Asterisk as root
  11. ; Where the configuration files (except for this one) are located
  12. astetcdir => /etc/asterisk
  13. ; Where the Asterisk loadable modules are located
  14. astmoddir => /usr/lib/asterisk/modules
  15. ; Where additional 'library' elements (scripts, etc.) are located
  16. astvarlibdir => /var/lib/asterisk
  17. ; Where AGI scripts/programs are located
  18. astagidir => /var/lib/asterisk/agi-bin
  19. ; Where spool directories are located
  20. ; Voicemail, monitor, dictation and other apps will create files here
  21. ; and outgoing call files (used with pbx_spool) must be placed here
  22. astspooldir => /var/spool/asterisk
  23. ; Where the Asterisk process ID (pid) file should be created
  24. astrundir => /var/run/asterisk
  25. ; Where the Asterisk log files should be created
  26. astlogdir => /var/log/asterisk
  27. [options]
  28. ;Under "options" you can enter configuration options
  29. ;that you also can set with command line options
  30. verbose = 0 ; Verbosity level for logging (-v)
  31. debug = 3 ; Debug: "No" or value (1-4)
  32. nofork=yes | no ; Background execution disabled (-f)
  33. console= yes | no ; Console mode (-c)
  34. highpriority = yes | no ; Execute with high priority (-p)
  35. initcrypto = yes | no ; Initialize crypto at startup (-i)
  36. nocolor = yes | no ; Disable ANSI colors (-n)
  37. dumpcore = yes | no ; Dump core on failure (-g)
  38. quiet = yes | no ; Run quietly (-q)
  39. timestamp = yes | no ; Force timestamping on log entries to console (-T)
  40. runuser = asterisk ; User to run asterisk as (-U) NOTE: will require changes to
  41. ; directory and device permisions
  42. rungroup = asterisk ; Group to run asterisk as (-G)
  43. ;These options have no command line equivalent
  44. cache_record_files = yes | no ; Cache record() files in another directory until completion
  45. record_cache_dir = <dir>
  46. transcode_via_sln = yes | no ; Build transcode paths via SLINEAR
  47. transmit_silence_during_record = yes | no ; send SLINEAR silence while channel is being recorded
  48. maxload = 1.0 ; The maximum load average we accept calls for
  49. maxcalls = 255 ; The maximum number of concurrent calls you want to allow
  50. execincludes = yes | no ; Allow #exec entries in configuration files
  51. dontwarn = yes | no ; Don't over-inform the Asterisk sysadm, he's a guru
  52. [files]
  53. ; Changing the following lines may compromise your security
  54. ; Asterisk.ctl is the pipe that is used to connect the remote CLI
  55. ; (asterisk -r) to Asterisk. Changing these settings change the
  56. ; permissions and ownership of this file.
  57. ; The file is created when Asterisk starts, in the "astrundir" above.
  58. ;astctlpermissions = 0660
  59. ;astctlowner = root
  60. ;astctlgroup = asterisk
  61. ;astctl = asterisk.ctl