MOR Server Speedup
From Kolmisoft Wiki
GUI/DB servers
Move GUI/DB to different server.
Check Implementations
Faster Hardware
- Faster CPU will help.
- SSD HDD will help a lot. Especially for Database server.
Codecs
If it is possible - do not use G729, G723 codecs. They require a lot of CPU power for transcoding.
Change them to G711 (alaw/ulaw). Server will be able to handle up to 3 times more calls compared G711 vs G729.
Also possible to offload G729 transcoding to special card.
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'
Another alternative is to log data to separate HDD/server.
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'