Review Board 1.7.16


Add a demo utility for rapidly sending manager commands

Review Request #948 - Created Sept. 29, 2010 and submitted

Terry Wilson
/branches/1.8/
Reviewers
asterisk-dev
espiceland
Asterisk
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.
Works in Google Chrome and Firefox. Safari tries to download the page as an attachment (but it does that with ajamdemo.html as well).
Review request changed
Updated (Oct. 7, 2010, 11:04 a.m.)
Posted (Oct. 12, 2010, 4:25 p.m.)
This is neat. I think one useful addition would be to save the login credentials and to send login information (once obtained) before every request. That way the pesky 60 second default timeout won't be a burden.
Ship it!
Posted (Oct. 13, 2010, 11:52 a.m.)
Looks great! I can't wait to try it out.
/branches/1.8/static-http/mantest.html (Diff revision 2)
 
 
This can be i++.

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.