michael@202: ;; michael@202: ;; asterisk.conf -- Asterisk main configuration file michael@202: ;; michael@202: michael@202: ;[directories] michael@202: ; Make sure these directories have the right permissions if not michael@202: ; running Asterisk as root michael@202: michael@202: ; Where the configuration files (except for this one) are located michael@202: ;astetcdir => /etc/asterisk michael@202: michael@202: ; Where the Asterisk loadable modules are located michael@202: ;astmoddir => /usr/lib/asterisk/modules michael@202: michael@202: ; Where additional 'library' elements (scripts, etc.) are located michael@202: ;astvarlibdir => /var/lib/asterisk michael@202: michael@202: ; Where AGI scripts/programs are located michael@202: ;astagidir => /var/lib/asterisk/agi-bin michael@202: michael@202: ; Where spool directories are located michael@202: ; Voicemail, monitor, dictation and other apps will create files here michael@202: ; and outgoing call files (used with pbx_spool) must be placed here michael@202: ;astspooldir => /var/spool/asterisk michael@202: michael@202: ; Where the Asterisk process ID (pid) file should be created michael@202: ;astrundir => /var/run/asterisk michael@202: michael@202: ; Where the Asterisk log files should be created michael@202: ;astlogdir => /var/log/asterisk michael@202: michael@202: michael@202: ;[options] michael@202: ;Under "options" you can enter configuration options michael@202: ;that you also can set with command line options michael@202: michael@202: ;verbose = 0 ; Verbosity level for logging (-v) michael@202: ;debug = 3 ; Debug: "No" or value (1-4) michael@202: ;nofork=yes | no ; Background execution disabled (-f) michael@202: ;alwaysfork=yes | no ; Always background, even with -v or -d (-F) michael@202: ;console= yes | no ; Console mode (-c) michael@202: ;highpriority = yes | no ; Execute with high priority (-p) michael@202: ;initcrypto = yes | no ; Initialize crypto at startup (-i) michael@202: ;nocolor = yes | no ; Disable ANSI colors (-n) michael@202: ;dumpcore = yes | no ; Dump core on failure (-g) michael@202: ;quiet = yes | no ; Run quietly (-q) michael@202: ;timestamp = yes | no ; Force timestamping in CLI verbose output (-T) michael@202: ;runuser = asterisk ; User to run asterisk as (-U) NOTE: will require changes to michael@202: ; directory and device permissions michael@202: ;rungroup = asterisk ; Group to run asterisk as (-G) michael@202: ;internal_timing = yes | no ; Enable internal timing support (-I) michael@202: michael@202: ;These options have no command line equivalent michael@202: ;cache_record_files = yes | no ; Cache record() files in another directory until completion michael@202: ;record_cache_dir = michael@202: ;transcode_via_sln = yes | no ; Build transcode paths via SLINEAR michael@202: ;transmit_silence_during_record = yes | no ; send SLINEAR silence while channel is being recorded michael@202: ;maxload = 1.0 ; The maximum load average we accept calls for michael@202: ;maxcalls = 255 ; The maximum number of concurrent calls you want to allow michael@202: ;execincludes = yes | no ; Allow #exec entries in configuration files michael@202: ;dontwarn = yes | no ; Don't over-inform the Asterisk sysadm, he's a guru michael@202: ;systemname = ; System name. Used to prefix CDR uniqueid and to fill ${SYSTEMNAME} michael@202: ;languageprefix = yes | no ; Should language code be last component of sound file name or first? michael@202: ; when off, sound files are searched as // michael@202: ; when on, sound files are search as // michael@202: ; (only affects relative paths for sound files) michael@202: michael@202: ;[files] michael@202: ; Changing the following lines may compromise your security michael@202: ; Asterisk.ctl is the pipe that is used to connect the remote CLI michael@202: ; (asterisk -r) to Asterisk. Changing these settings change the michael@202: ; permissions and ownership of this file. michael@202: ; The file is created when Asterisk starts, in the "astrundir" above. michael@202: michael@202: ;astctlpermissions = 0660 michael@202: ;astctlowner = root michael@202: ;astctlgroup = asterisk michael@202: ;astctl = asterisk.ctl