# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://teamhelp.sipgate.co.uk/integrations-and-connections/asterisk/how-do-i-enable-debugging-in-asterisk-for-error-evaluation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
