How do I enable debugging in Asterisk for error evaluation?

If you encounter telephony issues with your Asterisk, you'll need to execute commands in your Asterisk console to diagnose the issue.

To do so, please use the following two commands

  • sip set debug
  • core set verbose 10

If you are still working with the Asterisk version 1.2, please use the following two commands instead

  • sip debug
  • set verbose 10

Once you've entered the above commands, please make a test call or two. The log messages for these calls now appearing on the console should be able to assist you in diagnosing the problem.


Was this article helpful?