Collecting Debug Information for the Asterisk Issue TrackerThis document will provide instructions on how to collect debugging logs from an Asterisk machine, for the purpose of helping bug marshals troubleshoot an issue on https://issues.asterisk.org
Asterisk 1.4.30 or greater
2. From the Asterisk CLI, restart the logger module:
Optionally, if you've used this file to record data previously, then rotate the logs:
2.1. Depending on your issue, be sure to enable the channel driver logging.
SIP (1.6.0 or higher)
IAX2 (1.6.0 or higher)
3. Reproduce your issue.
4. Once finished, be sure to disable the extra debugging:
4.1. Again, remember to disable any extra logging if you enabled it in the
SIP (1.4 or higher)
IAX2 (1.4 or higher)
5. Upload the file located in /var/log/asterisk/myDebugLog to the issue tracker.
Do NOT post the output of your file as a comment. This clutters the issue and will only result in your comment being deleted.
Then reload the logger module like in step 2: