From e8b7c17417fb7688bb06b2ce825c9838be3f020c Mon Sep 17 00:00:00 2001 From: David Troy Date: Sat, 8 Apr 2006 02:50:08 +0000 Subject: git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@97 f02b47b9-160a-0410-81a6-dc3441afb0ec --- TODO | 8 ++------ VERSIONS | 1 + configs/astmanproxy.conf | 4 ++-- configs/astmanproxy.users | 8 ++++++++ samples/httpast2.html | 12 ++++++++++++ 5 files changed, 25 insertions(+), 8 deletions(-) create mode 100644 samples/httpast2.html diff --git a/TODO b/TODO index 79ce5b8..a94b30e 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,8 @@ -check s->connect construct -finish SOAP handler +write SOAP methods for http.c to use clean up reconnect to lost asterisk server (socket reuse) clean up debugmsg instances to add if (debug) +deal with http non-conformity better, and act on POST MIME-type inputs -'connected' flag; do not set until we get "authentication accepted' back from server Check for module versions; do not run without modules installed use a key? see loader.c in * State maintenance modules @@ -11,6 +10,3 @@ code formatting tcpwrappers/access control/connect mask? libtool/autoconf/automake support SetInputFormat proxyaction? - -clean up autodisconnect vs. inputcomplete/outputcomplete -deal with http non-conformity better diff --git a/VERSIONS b/VERSIONS index 9559284..72c7d89 100644 --- a/VERSIONS +++ b/VERSIONS @@ -8,6 +8,7 @@ Added SSL Support (Remco Treffkorn, Mahesh Karoshi, John Todd; Tello Corp) Added 'usessl' option for connecting to asterisk servers Fixed proxykey pointer bug (Steve Davies) + Ditched autodisconnect handler property in favor of inputcomplete/outputcomplete ------------------------------------------------------------------------------------------------ 1.1pre2 Completely Modularized and Abstracted Input/Output formats diff --git a/configs/astmanproxy.conf b/configs/astmanproxy.conf index 6164e9c..6d46bb2 100644 --- a/configs/astmanproxy.conf +++ b/configs/astmanproxy.conf @@ -5,8 +5,8 @@ ; List of asterisk host(s) you want to proxy ; host = ip_addr, port, user, secret, events, use_ssl host = localhost, 5038, dave, moo, on, off -host = 192.168.1.173, 5038, dave, moo, on, on +;host = 192.168.1.173, 5038, dave, moo, on, on ;host = 127.0.0.2, 5038, user, secret, on ;host = otherhost, 5038, user, secret, on ;host = newhost, 5030, user, secret, off @@ -28,7 +28,7 @@ sslclienthellotimeout = 200 acceptencryptedconnection = yes ; Do we accept unencrypted manager connections? -acceptunencryptedconnection = no +acceptunencryptedconnection = yes ; Amount of time to wait before timing out on writes to asterisk asteriskwritetimeout=100 diff --git a/configs/astmanproxy.users b/configs/astmanproxy.users index 2645fc9..9e31056 100644 --- a/configs/astmanproxy.users +++ b/configs/astmanproxy.users @@ -1,2 +1,10 @@ +; Astmanproxy user list +; +; Reload permissions by sending a SIGHUP +; +; "user" is the username, secret is the password, and the (optional) +; channel setting causes filtering of events only for the specified +; channel to be sent to this user. +; ; user=secret,channel,out_context (to Asterisk),in_context (From Asterisk) steve=steve,SIP/snom190,local, diff --git a/samples/httpast2.html b/samples/httpast2.html new file mode 100644 index 0000000..66baa2e --- /dev/null +++ b/samples/httpast2.html @@ -0,0 +1,12 @@ + +

Sample Astmanproxy HTTP Input

+This version uses the GET method with an HTTPS action. Be sure +you have acceptencryptedconnections=yes in astmnanproxy.conf. +

+

+Server:
+Action:
+ActionID:
+
+
+ -- cgit