From 995c773ff34e3ba47e5e48ae253973346591d525 Mon Sep 17 00:00:00 2001 From: twilson Date: Wed, 13 Oct 2010 22:34:32 +0000 Subject: [PATCH] Merged revisions 291575 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r291575 | twilson | 2010-10-13 15:24:44 -0700 (Wed, 13 Oct 2010) | 8 lines Add a simple AMI client web page This patch uses the XML docs to parse all of the available AMI commands and allows you to enter the command name and be presented with a form with the available fields. You can then rapidly tab through the fields and submit the command and view the response. It is much faster/easier than having to use telnet for testing purposes. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@291576 f38db490-d61c-443f-a65b-d21fe96a405b --- Makefile | 3 +- static-http/mantest.html | 177 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 179 insertions(+), 1 deletion(-) create mode 100644 static-http/mantest.html diff --git a/Makefile b/Makefile index 613003ed0..61be67f40 100644 --- a/Makefile +++ b/Makefile @@ -449,7 +449,7 @@ distclean: $(SUBDIRS_DIST_CLEAN) _clean rm -rf doc/api rm -f build_tools/menuselect-deps -datafiles: _all +datafiles: _all doc/core-en_US.xml CFLAGS="$(_ASTCFLAGS) $(ASTCFLAGS)" build_tools/mkpkgconfig $(DESTDIR)$(libdir)/pkgconfig; # Should static HTTP be installed during make samples or even with its own target ala # webvoicemail? There are portions here that *could* be customized but might also be @@ -458,6 +458,7 @@ datafiles: _all for x in static-http/*; do \ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \ done + $(INSTALL) -m 644 doc/core-en_US.xml $(DESTDIR)$(ASTDATADIR)/static-http; if [ -d doc/tex/asterisk ] ; then \ $(INSTALL) -d $(DESTDIR)$(ASTDATADIR)/static-http/docs ; \ for n in doc/tex/asterisk/* ; do \ diff --git a/static-http/mantest.html b/static-http/mantest.html new file mode 100644 index 000000000..eebac628b --- /dev/null +++ b/static-http/mantest.html @@ -0,0 +1,177 @@ + + + + + Manager Utility + + + + + + +
+
+
+ + + + +
+
+ +
+
+
+
+
+
+
+
+
+ +