MOR Server Speedup

From Kolmisoft Wiki
Revision as of 12:29, 31 July 2012 by Mindaugas (talk | contribs)
Jump to navigationJump to search

Asterisk Log files

First of all it is crucial to turn off all log files.

In /etc/asterisk/logger.conf do:

[logfiles]
;debug => debug
console => warning,error
;messages => notice, warning, error
;full => notice, warning, error, debug, dtmf

Reload config for changes to take effect:

asterisk -vvvvrx 'logger reload'



CDR to CSV logging

Turn off CDR to CSV logging.

In /etc/asterisk/cdr.conf comment out all [csv] section:

;[csv]
;usegmtime=yes    ; log date/time in GMT.  Default is "no"
;loguniqueid=yes  ; log uniqueid.  Default is "no
;loguserfield=yes ; log user field.  Default is "no

And reload Asterisk for changes to take effect:

asterisk -vvvvrx 'reload'