Asterisk CLI debug

From Kolmisoft Wiki
Revision as of 09:14, 1 September 2008 by Mindaugas (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to 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.


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.