[asterisk-dev] [Code Review] Add a demo utility for rapidly sending manager commands
Terry Wilson
twilson at digium.com
Thu Oct 7 16:04:08 CDT 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/948/
-----------------------------------------------------------
(Updated 2010-10-07 16:04:08.306579)
Review request for Asterisk Developers and Russell Bryant.
Changes
-------
Remove some commented out code.
Summary
-------
After having to send lots of manager commands over telnet to debug an issue, I found myself wanting an easier/faster way. So, I wrote a little webpage that parses core-en_US.xml for all of the manager actions and lets you enter an action and automatically generate a list of available fields. This way, you can just tab through the fields and add the values you want instead of typing everything in while other events scroll by, etc. Requires enabled/webenabled=yes in manager.conf and enabled/enablestatic=yes in http.conf. Also requires Internet access as it uses jquery hosted by Google--I didn't want to import jquery into the tree and if someone wants it to work on a machine w/o Internet access, it is a simple enough change for them to make on their own.
I am not a web developer, so it isn't pretty. It seems to work, though.
Diffs (updated)
-----
/branches/1.8/Makefile 287936
/branches/1.8/static-http/mantest.html PRE-CREATION
Diff: https://reviewboard.asterisk.org/r/948/diff
Testing
-------
Works in Google Chrome and Firefox. Safari tries to download the page as an attachment (but it does that with ajamdemo.html as well).
Thanks,
Terry
More information about the asterisk-dev
mailing list