Summary: | ASTERISK-18447: Debug manager actions in the CLI | ||
Reporter: | Olle Johansson (oej) | Labels: | |
Date Opened: | 2011-09-07 09:11:58 | Date Closed: | 2020-03-09 17:22:15 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | Core/ManagerInterface/NewFeature |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Adds a new option to manager.conf. When enabled, all manager actions will be output in the CLI session, in order to be able to debug a system controlled by AMI connections. | ||
Comments: | By: Marek Cervenka (cervajs) 2020-03-09 16:40:03.567-0500 there is "Ship It!" in code review is it possible to merge it? i must use tcpdump -i eth0 -nqtttt -s 0 -A '((src port 5038) or (dst port 5038))' for actions debug which is not pleasant By: Kevin Harwell (kharwell) 2020-03-09 17:22:05.428-0500 What version of Asterisk are you using? This should already be available in the latest versions and can be "turned on" by enabling manager debug: {noformat} *CLI> manager set debug [on|off] {noformat} Or you can set the "debug" configuration option in _manager.conf_. When enabled actions are output as verbose messages, so make sure verbose messages are going to the console, or wherever they are needed. By: Kevin Harwell (kharwell) 2020-03-09 17:24:54.886-0500 For reference: https://gerrit.asterisk.org/c/asterisk/+/11565 https://gerrit.asterisk.org/c/asterisk/+/11564 https://gerrit.asterisk.org/c/asterisk/+/11540 |