[asterisk-dev] [Code Review] Add a demo utility for rapidly sending manager commands

Terry Wilson twilson at digium.com
Wed Sep 29 16:02:46 CDT 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/948/
-----------------------------------------------------------

Review request for Asterisk Developers and Russell Bryant.


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

  /branches/1.8/Makefile 289337 
  /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