Asterisk CLI debug
From Kolmisoft Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
If you want to see DEBUG messages in Asterisk CLI (which are good for troubleshooting), in file /etc/asterisk/logger.conf find lines:
;debug => debug console => notice,warning,error ;console => notice,warning,error,debug messages => notice,warning,error ;full => notice,warning,error,debug,verbose
and change to:
;debug => debug ;console => notice,warning,error console => notice,warning,error,debug messages => notice,warning,error ;full => notice,warning,error,debug,verbose
Restart Asterisk and you will see DEBUG messages. To disable - make file look as it was before change.
Default Asterisk CLI output
In file /etc/asterisk/logger.conf find lines:
;debug => debug console => notice,warning,error ;console => notice,warning,error,debug messages => notice,warning,error ;full => notice,warning,error,debug,verbose
Make sure they look like this and restart Asterisk.