asterisk/manager.conf

changeset 202
f29abea29121
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/asterisk/manager.conf	Mon Apr 27 12:19:05 2009 +0200
     1.3 @@ -0,0 +1,56 @@
     1.4 +;
     1.5 +; AMI - The Asterisk Manager Interface
     1.6 +; 
     1.7 +; Third party application call management support and PBX event supervision
     1.8 +;
     1.9 +; This configuration file is read every time someone logs in
    1.10 +;
    1.11 +; Use the "manager list commands" at the CLI to list available manager commands
    1.12 +; and their authorization levels.
    1.13 +;
    1.14 +; "manager show command <command>" will show a help text.
    1.15 +;
    1.16 +; ---------------------------- SECURITY NOTE -------------------------------
    1.17 +; Note that you should not enable the AMI on a public IP address. If needed,
    1.18 +; block this TCP port with iptables (or another FW software) and reach it
    1.19 +; with IPsec, SSH, or SSL vpn tunnel.  You can also make the manager 
    1.20 +; interface available over http if Asterisk's http server is enabled in
    1.21 +; http.conf and if both "enabled" and "webenabled" are set to yes in
    1.22 +; this file.  Both default to no.  httptimeout provides the maximum 
    1.23 +; timeout in seconds before a web based session is discarded.  The 
    1.24 +; default is 60 seconds.
    1.25 +;
    1.26 +;[general]
    1.27 +;displaysystemname = yes
    1.28 +;enabled = no
    1.29 +;webenabled = yes
    1.30 +;port = 5038
    1.31 +
    1.32 +;httptimeout = 60
    1.33 +; a) httptimeout sets the Max-Age of the http cookie
    1.34 +; b) httptimeout is the amount of time the webserver waits 
    1.35 +;    on a action=waitevent request (actually its httptimeout-10)
    1.36 +; c) httptimeout is also the amount of time the webserver keeps 
    1.37 +;    a http session alive after completing a successful action
    1.38 +
    1.39 +;bindaddr = 0.0.0.0
    1.40 +;displayconnects = yes
    1.41 +;
    1.42 +; Add a Unix epoch timestamp to events (not action responses)
    1.43 +;
    1.44 +;timestampevents = yes
    1.45 +
    1.46 +;[mark]
    1.47 +;secret = mysecret
    1.48 +;deny=0.0.0.0/0.0.0.0
    1.49 +;permit=209.16.236.73/255.255.255.0
    1.50 +;
    1.51 +; If the device connected via this user accepts input slowly,
    1.52 +; the timeout for writes to it can be increased to keep it
    1.53 +; from being disconnected (value is in milliseconds)
    1.54 +;
    1.55 +; writetimeout = 100
    1.56 +;
    1.57 +; Authorization for various classes 
    1.58 +;read = system,call,log,verbose,command,agent,user,config
    1.59 +;write = system,call,log,verbose,command,agent,user,config

mercurial