diff options
author | Mark Spencer <markster@digium.com> | 2006-04-01 08:49:54 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2006-04-01 08:49:54 +0000 |
commit | bfba044b5f2acc4d83f0d995a03f421ef9d826b7 (patch) | |
tree | 7d74fc1d9c8da4425d180dec71f1e3dbe9b29d7e /configs | |
parent | 46a1b7c73b8d8d47efbd6fb7529562858ae883cf (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: https://origsvn.digium.com/svn/asterisk/trunk@16850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 ; |