summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,