From edf54a3c22f04b10a0ff8694cf03ed81fd7079c0 Mon Sep 17 00:00:00 2001 From: David Troy Date: Sat, 8 Apr 2006 02:54:01 +0000 Subject: git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@98 f02b47b9-160a-0410-81a6-dc3441afb0ec --- configs/astmanproxy.conf | 20 +++++++++++++++----- 1 file 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, -- cgit