summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Troy <dave@popvox.com>2006-04-08 02:54:01 +0000
committerDavid Troy <dave@popvox.com>2006-04-08 02:54:01 +0000
commitedf54a3c22f04b10a0ff8694cf03ed81fd7079c0 (patch)
tree4faa4f0b79a6e642849b5f3344beff4304e41b63
parente8b7c17417fb7688bb06b2ce825c9838be3f020c (diff)
downloadastmanproxy-1.20pre.tar.gz
astmanproxy-1.20pre.tar.xz
astmanproxy-1.20pre.zip
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@98 f02b47b9-160a-0410-81a6-dc3441afb0ec1.20pre
-rw-r--r--configs/astmanproxy.conf20
1 files changed, 15 insertions, 5 deletions
diff --git a/configs/astmanproxy.conf b/configs/astmanproxy.conf
index 6d46bb2..be28edf 100644
--- a/configs/astmanproxy.conf
+++ b/configs/astmanproxy.conf
@@ -1,6 +1,6 @@
; astmanproxy.conf
; Asterisk Manager Proxy Configuration Sample
-; (C) 2005-2006 David C. Troy
+; (C) 2005-2006 David C. Troy - dave@popvox.com
; List of asterisk host(s) you want to proxy
; host = ip_addr, port, user, secret, events, use_ssl
@@ -48,6 +48,10 @@ listenaddress = *
; Port for proxy to listen on
listenport = 1234
+; Do we require authentication (either proxykey or astmanproxy.users entry)?
+; See README and astmanproxy.users for more info
+authrequired = no
+
; Setting a proxy key requires proxy client connections to
; specify a ProxyKey: keyvalue header in the first incoming request
; to the proxy. Once this is done the client remains authenticated.
@@ -57,10 +61,7 @@ listenport = 1234
; in place and well understood.
; proxykey = foobar
-; Do we require authentication (either proxykey or astmanproxy.users entry)?
-authrequired = no
-
-; user and group for proxy to run as; will NOT run as root!
+; local user and group for proxy to run as; will NOT run as root!
proc_user = nobody
proc_group = nobody
@@ -70,6 +71,15 @@ proc_group = nobody
inputformat = standard
outputformat = standard
+; to enable REST/XMLRPC-like functionality, try this combo.
+; this gives you http input (POST or GET) and either
+; text/xml or text/plain output with NO webserver required!
+; to access: http://[host]:1234/?Action=Ping&ActionID=Foo
+;
+; inputformat = http
+; outputfomat = xml|standard
+; autofilter = on
+
; set autofilter to be on or off by default
; with autofilter on, you can automatically filter responses
; to include only messages related to a specific actionid,