mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6228 65c4cc65-6c06-0410-ace0-fbb531ad65f3
55 lines
1.8 KiB
Plaintext
Executable File
55 lines
1.8 KiB
Plaintext
Executable File
Asterisk Main Configuration File
|
|
-----------------------------------------------------
|
|
Below is a sample of the main Asterisk configuration file,
|
|
asterisk.conf. Note that this file is _not_ provided in
|
|
sample form, because the Makefile creates it when needed
|
|
and does not touch it when it already exists.
|
|
|
|
---------------
|
|
|
|
[directories]
|
|
; Make sure these directoriess have the right permissions if not
|
|
; running Asterisk as root
|
|
|
|
; Where the configuration files (except for this one) are located
|
|
astetcdir => /etc/asterisk
|
|
|
|
; Where the Asterisk loadable modules are located
|
|
astmoddir => /usr/lib/asterisk/modules
|
|
|
|
; Where additional 'library' elements (scripts, etc.) are located
|
|
astvarlibdir => /var/lib/asterisk
|
|
|
|
; Where AGI scripts/programs are located
|
|
astagidir => /var/lib/asterisk/agi-bin
|
|
|
|
; Where spool directories are located
|
|
; Voicemail, monitor, dictation and other apps will create files here
|
|
; and outgoing call files (used with pbx_spool) must be placed here
|
|
astspooldir => /var/spool/asterisk
|
|
|
|
; Where the Asterisk process ID (pid) file should be created
|
|
astrundir => /var/run/asterisk
|
|
|
|
; Where the Asterisk log files should be created
|
|
astlogdir => /var/log/asterisk
|
|
|
|
|
|
[options]
|
|
;Under "options" you can enter configuration options
|
|
;that you also can set with command line options
|
|
|
|
verbose=0 ; Verbosity level for logging (-v)
|
|
debug=3 ; Debug: "No" or value (1-4)
|
|
nofork=yes | no ; Background execution disabled (-f)
|
|
console= yes | no ; Console mode (-c)
|
|
highpriority = yes | no ; Execute with high priority (-p)
|
|
initcrypto = yes | no ; Initialize crypto at startup (-i)
|
|
nocolor = yes | no ; Disable ANSI colors (-n)
|
|
dumpcore = yes | no ; Dump core on failure (-g)
|
|
quiet = yes | no ; Run quietly (-q)
|
|
|
|
;This option has no command line equivalent
|
|
cache_record_files = yes | no ; Cache record() files in another directory until completion record_cache_dir = <dir>
|
|
|