summaryrefslogtreecommitdiffstats
path: root/astmanproxy.conf
diff options
context:
space:
mode:
authorDavid Troy <dave@popvox.com>2006-04-01 16:12:31 +0000
committerDavid Troy <dave@popvox.com>2006-04-01 16:12:31 +0000
commit091edf736c88103ab017d0c0f02d70dc7fbcaf08 (patch)
tree96f1181e5cfa956cd1f85ab8ce8206ec5591829d /astmanproxy.conf
parentd4a9e0445a1e423292ea7f3a91103af2a73c9544 (diff)
downloadastmanproxy-091edf736c88103ab017d0c0f02d70dc7fbcaf08.tar.gz
astmanproxy-091edf736c88103ab017d0c0f02d70dc7fbcaf08.tar.xz
astmanproxy-091edf736c88103ab017d0c0f02d70dc7fbcaf08.zip
Populating trunk
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/trunk@8 f02b47b9-160a-0410-81a6-dc3441afb0ec
Diffstat (limited to 'astmanproxy.conf')
-rw-r--r--astmanproxy.conf63
1 files changed, 63 insertions, 0 deletions
diff --git a/astmanproxy.conf b/astmanproxy.conf
new file mode 100644
index 0000000..ec19621
--- /dev/null
+++ b/astmanproxy.conf
@@ -0,0 +1,63 @@
+; astmanproxy.conf
+; Asterisk Manager Proxy Configuration Sample
+; (C) 2005 David C. Troy
+
+; List of asterisk host(s) you want to proxy
+; host = ip_addr, port, user, secret, events
+host = localhost, 5038, dave, moo, on
+;host = 127.0.0.2, 5038, user, secret, on
+;host = otherhost, 5038, user, secret, on
+;host = newhost, 5030, user, secret, off
+;host = oldhost, 5040, user, secret, off
+;host = myhost, 5038, user, secret, on
+
+; Server reconnect interval (in seconds); how often to retry
+; Connecting to an asterisk server whose connection was lost
+retryinterval = 2
+
+; Number of times to retry connecting to a given server
+; use 0 for infinitely, or some finite number
+maxretries = 10
+
+; Address for proxy to listen on, can be set to * or x.x.x.x format
+; recommend that you listen only on 127.0.0.1 or on an interface that
+; is otherwise locked down to a trusted host, since the proxy
+; currently provides NO authentication/authorization of its own
+listenaddress = *
+
+; Port for proxy to listen on
+listenport = 1234
+
+; 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.
+; This allows for a simple security layer. If not specified,
+; no key is required, however other security measures (listening on
+; a protected interface, behind firewall, iptables, etc) should be
+; in place and well understood.
+; proxykey = foobar
+
+; user and group for proxy to run as; will NOT run as root!
+proc_user = nobody
+proc_group = nobody
+
+; default input and output format for clients
+; inputformat = (standard|xml|http)
+; outputformat = (standard|xml|csv)
+inputformat = standard
+outputformat = standard
+
+; 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,
+; as specified in a previous message
+; valid values: on, off
+; can also be changed on a per-client basis using
+; ProxyAction: SetAutoFilter
+; AutoFilter: (on|off)
+autofilter = off
+
+; location of logfile -- will be owned by proc_user/proc_group
+;logfile = /var/log/asterisk/astmanproxy.log
+logfile = /opt/log/asterisk/astmanproxy.log
+