asterisk/asterisk.conf

Fri, 15 Oct 2010 18:46:25 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 15 Oct 2010 18:46:25 +0200
changeset 261
4f973c756446
permissions
-rw-r--r--

Update copyright, file server URL, modify doc and link logic.
Now documentation is installed by default to the correct path,
and QtCreator links against Qt shared libraries instead of Qt
static libraries. This unfortunate change supports Nokia's
unfortunate decision to poorly support static linking in Qt.

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

mercurial