Asterisk CLI debug

From Kolmisoft Wiki

Jump to: navigation, search

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.


[edit] 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.

Personal tools

Try MOR

Try M2