diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-01 08:49:54 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-01 08:49:54 +0000 |
commit | 7014c0e5dd398d127b2027d9cd23198dfb0fd239 (patch) | |
tree | 7d74fc1d9c8da4425d180dec71f1e3dbe9b29d7e /configs | |
parent | 365090435aee1c9fa51fa27c49a085ec5c39b94e (diff) |
Flesh out the remainder of the manager + http changes and create a sample application to partially
demonstrate the capability of manager over http.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16850 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r-- | configs/http.conf.sample | 13 | ||||
-rw-r--r-- | configs/manager.conf.sample | 9 |
2 files changed, 17 insertions, 5 deletions
diff --git a/configs/http.conf.sample b/configs/http.conf.sample index aea95643f..7135463d6 100644 --- a/configs/http.conf.sample +++ b/configs/http.conf.sample @@ -4,15 +4,20 @@ ; [general] ; -; Whether HTTP interface is enabled or not. +; Whether HTTP interface is enabled or not. Default is no. ; -enabled=no +;enabled=yes ; -; Address to bind to +; Whether Asterisk should serve static content from http-static +; Default is no. +; +;enablestatic=yes +; +; Address to bind to. Default is 0.0.0.0 ; bindaddr=127.0.0.1 ; -; Port to bind to +; Port to bind to (default is 8088) ; bindport=8088 ; diff --git a/configs/manager.conf.sample b/configs/manager.conf.sample index cdca9bc63..1db1ef4cc 100644 --- a/configs/manager.conf.sample +++ b/configs/manager.conf.sample @@ -13,11 +13,18 @@ ; ---------------------------- SECURITY NOTE ------------------------------- ; Note that you should not enable the AMI on a public IP address. If needed, ; block this TCP port with iptables (or another FW software) and reach it -; with IPsec, SSH, or SSL vpn tunnel +; with IPsec, SSH, or SSL vpn tunnel. You can also make the manager +; interface available over http if Asterisk's http server is enabled in +; http.conf and if both "enabled" and "webenabled" are set to yes in +; this file. Both default to no. httptimeout provides the maximum +; timeout in seconds before a web based session is discarded. The +; default is 60 seconds. ; [general] enabled = no +;webenabled = yes port = 5038 +;httptimeout = 60 bindaddr = 0.0.0.0 ;displayconnects = yes ; |