How to Enable Asterisk Debug Logging
Scope
How to enable highly verbose Asterisk service debug logging on your FreePBX (Asterisk) server.
Any information provided here regarding "Asterisk" or "FreePBX" servers refers only to Telos-commissioned FreePBX (Asterisk) servers used with Telos Alliance telephony products. While these are third-party servers and software, we are able to provide limited pointers and advice (like this article) under normal support.
Procedure
- Via the command line of your server, issue the following commands:
asterisk -r
core set verbose 5
core set debug 5
sip set debug on
module logger reload
- Replicate the issue, then download the full Asterisk log located at /var/log/asterisk/full, and send to Telos Support along with information that can be used to identify the issue, such as:
- exact time (hour and minute) the call established
- exact time (hour and minute) the call terminated
- if inbound call, caller ID of the calling party (name and or number)
- if outbound call, phone number that was dialed
- Revert the logging level using the following commands:
asterisk -r
core set verbose 0
core set debug 0
sip set debug off
module logger reload
Let us know how we can help
If you have further questions on this topic or have ideas about how we can improve this document, please contact us.