Page 495 - Asterisk™: The Future of Telephony
P. 495

runuser = asterisk     ; User to run asterisk as (-U) NOTE: will require changes to
                                          ; directory and device permissions
                   rungroup = asterisk    ; Group to run asterisk as (-G)
                   internal_timing = yes | no   ; Enable internal timing support (-I)
                                                ; These options have no command line equivalent
                   cache_record_files = yes | no    ; Cache record() files in another directory until
                                                    ; completion
                   record_cache_dir = <dir>
                   transcode_via_sln = yes | no       ; Build transcode paths via SLINEAR
                   transmit_silence_during_record = yes | no ; send SLINEAR silence while channel is
                                                             ; being recorded
                   maxload = 1.0             ; The maximum load average we accept calls for
                   maxcalls = 255            ; The maximum number of concurrent calls you want
                                             ; to allow
                   execincludes = yes | no   ; Allow #exec entries in configuration files
                   dontwarn = yes | no       ; Don't over-inform the Asterisk sysadm, he's a guru
                   systemname = <a_string>   ; System name. Used to prefix CDR uniqueid and to
                                             ; fill ${SYSTEMNAME}
                   languageprefix = yes | no ; Should language code be last component of sound file
                                             ; name or first?
                                             ; When off, sound files are searched as
                                             ; <path>/<lang>/<file>
                                             ; When on, sound files are search as <lang>/<path>/<file>
                                             ; (only affects relative paths for sound files)


               cdr.conf

               The cdr.conf file is used to enable call detail record logging to a flat file or a database.
               Storing call records is useful for all sorts of purposes including billing, fraud prevention,
               QoS evaluations, and more. The cdr.conf file contains some general parameters that
               are not specific to any particular database, but rather indicate how Asterisk should
               handle  the  passing  of  information  to  the  database.  All  options  are  under  the
               [general] heading of the cdr.conf file:

               enable
                   Accepts the arguments yes and no. Specifies whether or not to use CDR logging. If
                   set to no, this will override any CDR module explicitly loaded. The default is yes.
               batch
                   Accepts the arguments yes and no. Allows Asterisk to write data to a buffer instead
                   of writing to the database at the end of every call, to reduce load on the system.

                              Note that if the system dies unexpectedly when this option is set
                              to yes, data loss may occur.











                                                                              cdr.conf | 467
   490   491   492   493   494   495   496   497   498   499   500