summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Troy <dave@popvox.com>2006-04-08 02:50:08 +0000
committerDavid Troy <dave@popvox.com>2006-04-08 02:50:08 +0000
commite8b7c17417fb7688bb06b2ce825c9838be3f020c (patch)
tree4d8a1e5c42012860f6f5d8c25d0f01f4d30e23c7
parent23a4a54c8ffbfa1a6430d926bd88f90234a39812 (diff)
downloadastmanproxy-e8b7c17417fb7688bb06b2ce825c9838be3f020c.zip
astmanproxy-e8b7c17417fb7688bb06b2ce825c9838be3f020c.tar.gz
astmanproxy-e8b7c17417fb7688bb06b2ce825c9838be3f020c.tar.xz
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@97 f02b47b9-160a-0410-81a6-dc3441afb0ec
-rw-r--r--TODO8
-rw-r--r--VERSIONS1
-rw-r--r--configs/astmanproxy.conf4
-rw-r--r--configs/astmanproxy.users8
-rw-r--r--samples/httpast2.html12
5 files changed, 25 insertions, 8 deletions
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 @@
+<HTML>
+<h3>Sample Astmanproxy HTTP Input</h3>
+This version uses the GET method with an HTTPS action. Be sure
+you have acceptencryptedconnections=yes in astmnanproxy.conf.
+<p>
+<FORM ACTION="https://localhost:1234" METHOD=GET>
+Server: <input type=text name=Server value="127.0.0.1"><br>
+Action: <input name="Action" type="text" value="Ping"><br>
+ActionID: <input name="ActionID" type="text" value="Foo"><br>
+<input type=submit><br>
+</FORM>
+</HTML>