Sun, 20 Mar 2011 19:04:35 +0100
Update download URL to current location.
michael@202 | 1 | ;; |
michael@202 | 2 | ;; asterisk.conf -- Asterisk main configuration file |
michael@202 | 3 | ;; |
michael@202 | 4 | |
michael@202 | 5 | ;[directories] |
michael@202 | 6 | ; Make sure these directories have the right permissions if not |
michael@202 | 7 | ; running Asterisk as root |
michael@202 | 8 | |
michael@202 | 9 | ; Where the configuration files (except for this one) are located |
michael@202 | 10 | ;astetcdir => /etc/asterisk |
michael@202 | 11 | |
michael@202 | 12 | ; Where the Asterisk loadable modules are located |
michael@202 | 13 | ;astmoddir => /usr/lib/asterisk/modules |
michael@202 | 14 | |
michael@202 | 15 | ; Where additional 'library' elements (scripts, etc.) are located |
michael@202 | 16 | ;astvarlibdir => /var/lib/asterisk |
michael@202 | 17 | |
michael@202 | 18 | ; Where AGI scripts/programs are located |
michael@202 | 19 | ;astagidir => /var/lib/asterisk/agi-bin |
michael@202 | 20 | |
michael@202 | 21 | ; Where spool directories are located |
michael@202 | 22 | ; Voicemail, monitor, dictation and other apps will create files here |
michael@202 | 23 | ; and outgoing call files (used with pbx_spool) must be placed here |
michael@202 | 24 | ;astspooldir => /var/spool/asterisk |
michael@202 | 25 | |
michael@202 | 26 | ; Where the Asterisk process ID (pid) file should be created |
michael@202 | 27 | ;astrundir => /var/run/asterisk |
michael@202 | 28 | |
michael@202 | 29 | ; Where the Asterisk log files should be created |
michael@202 | 30 | ;astlogdir => /var/log/asterisk |
michael@202 | 31 | |
michael@202 | 32 | |
michael@202 | 33 | ;[options] |
michael@202 | 34 | ;Under "options" you can enter configuration options |
michael@202 | 35 | ;that you also can set with command line options |
michael@202 | 36 | |
michael@202 | 37 | ;verbose = 0 ; Verbosity level for logging (-v) |
michael@202 | 38 | ;debug = 3 ; Debug: "No" or value (1-4) |
michael@202 | 39 | ;nofork=yes | no ; Background execution disabled (-f) |
michael@202 | 40 | ;alwaysfork=yes | no ; Always background, even with -v or -d (-F) |
michael@202 | 41 | ;console= yes | no ; Console mode (-c) |
michael@202 | 42 | ;highpriority = yes | no ; Execute with high priority (-p) |
michael@202 | 43 | ;initcrypto = yes | no ; Initialize crypto at startup (-i) |
michael@202 | 44 | ;nocolor = yes | no ; Disable ANSI colors (-n) |
michael@202 | 45 | ;dumpcore = yes | no ; Dump core on failure (-g) |
michael@202 | 46 | ;quiet = yes | no ; Run quietly (-q) |
michael@202 | 47 | ;timestamp = yes | no ; Force timestamping in CLI verbose output (-T) |
michael@202 | 48 | ;runuser = asterisk ; User to run asterisk as (-U) NOTE: will require changes to |
michael@202 | 49 | ; directory and device permissions |
michael@202 | 50 | ;rungroup = asterisk ; Group to run asterisk as (-G) |
michael@202 | 51 | ;internal_timing = yes | no ; Enable internal timing support (-I) |
michael@202 | 52 | |
michael@202 | 53 | ;These options have no command line equivalent |
michael@202 | 54 | ;cache_record_files = yes | no ; Cache record() files in another directory until completion |
michael@202 | 55 | ;record_cache_dir = <dir> |
michael@202 | 56 | ;transcode_via_sln = yes | no ; Build transcode paths via SLINEAR |
michael@202 | 57 | ;transmit_silence_during_record = yes | no ; send SLINEAR silence while channel is being recorded |
michael@202 | 58 | ;maxload = 1.0 ; The maximum load average we accept calls for |
michael@202 | 59 | ;maxcalls = 255 ; The maximum number of concurrent calls you want to allow |
michael@202 | 60 | ;execincludes = yes | no ; Allow #exec entries in configuration files |
michael@202 | 61 | ;dontwarn = yes | no ; Don't over-inform the Asterisk sysadm, he's a guru |
michael@202 | 62 | ;systemname = <a_string> ; System name. Used to prefix CDR uniqueid and to fill ${SYSTEMNAME} |
michael@202 | 63 | ;languageprefix = yes | no ; Should language code be last component of sound file name or first? |
michael@202 | 64 | ; when off, sound files are searched as <path>/<lang>/<file> |
michael@202 | 65 | ; when on, sound files are search as <lang>/<path>/<file> |
michael@202 | 66 | ; (only affects relative paths for sound files) |
michael@202 | 67 | |
michael@202 | 68 | ;[files] |
michael@202 | 69 | ; Changing the following lines may compromise your security |
michael@202 | 70 | ; Asterisk.ctl is the pipe that is used to connect the remote CLI |
michael@202 | 71 | ; (asterisk -r) to Asterisk. Changing these settings change the |
michael@202 | 72 | ; permissions and ownership of this file. |
michael@202 | 73 | ; The file is created when Asterisk starts, in the "astrundir" above. |
michael@202 | 74 | |
michael@202 | 75 | ;astctlpermissions = 0660 |
michael@202 | 76 | ;astctlowner = root |
michael@202 | 77 | ;astctlgroup = asterisk |
michael@202 | 78 | ;astctl = asterisk.ctl |