Fri, 22 Oct 2010 13:22:33 +0200
Import package vendor original specs for necessary manipulations.
michael@202 | 1 | ; |
michael@202 | 2 | ; AMI - The Asterisk Manager Interface |
michael@202 | 3 | ; |
michael@202 | 4 | ; Third party application call management support and PBX event supervision |
michael@202 | 5 | ; |
michael@202 | 6 | ; This configuration file is read every time someone logs in |
michael@202 | 7 | ; |
michael@202 | 8 | ; Use the "manager list commands" at the CLI to list available manager commands |
michael@202 | 9 | ; and their authorization levels. |
michael@202 | 10 | ; |
michael@202 | 11 | ; "manager show command <command>" will show a help text. |
michael@202 | 12 | ; |
michael@202 | 13 | ; ---------------------------- SECURITY NOTE ------------------------------- |
michael@202 | 14 | ; Note that you should not enable the AMI on a public IP address. If needed, |
michael@202 | 15 | ; block this TCP port with iptables (or another FW software) and reach it |
michael@202 | 16 | ; with IPsec, SSH, or SSL vpn tunnel. You can also make the manager |
michael@202 | 17 | ; interface available over http if Asterisk's http server is enabled in |
michael@202 | 18 | ; http.conf and if both "enabled" and "webenabled" are set to yes in |
michael@202 | 19 | ; this file. Both default to no. httptimeout provides the maximum |
michael@202 | 20 | ; timeout in seconds before a web based session is discarded. The |
michael@202 | 21 | ; default is 60 seconds. |
michael@202 | 22 | ; |
michael@202 | 23 | ;[general] |
michael@202 | 24 | ;displaysystemname = yes |
michael@202 | 25 | ;enabled = no |
michael@202 | 26 | ;webenabled = yes |
michael@202 | 27 | ;port = 5038 |
michael@202 | 28 | |
michael@202 | 29 | ;httptimeout = 60 |
michael@202 | 30 | ; a) httptimeout sets the Max-Age of the http cookie |
michael@202 | 31 | ; b) httptimeout is the amount of time the webserver waits |
michael@202 | 32 | ; on a action=waitevent request (actually its httptimeout-10) |
michael@202 | 33 | ; c) httptimeout is also the amount of time the webserver keeps |
michael@202 | 34 | ; a http session alive after completing a successful action |
michael@202 | 35 | |
michael@202 | 36 | ;bindaddr = 0.0.0.0 |
michael@202 | 37 | ;displayconnects = yes |
michael@202 | 38 | ; |
michael@202 | 39 | ; Add a Unix epoch timestamp to events (not action responses) |
michael@202 | 40 | ; |
michael@202 | 41 | ;timestampevents = yes |
michael@202 | 42 | |
michael@202 | 43 | ;[mark] |
michael@202 | 44 | ;secret = mysecret |
michael@202 | 45 | ;deny=0.0.0.0/0.0.0.0 |
michael@202 | 46 | ;permit=209.16.236.73/255.255.255.0 |
michael@202 | 47 | ; |
michael@202 | 48 | ; If the device connected via this user accepts input slowly, |
michael@202 | 49 | ; the timeout for writes to it can be increased to keep it |
michael@202 | 50 | ; from being disconnected (value is in milliseconds) |
michael@202 | 51 | ; |
michael@202 | 52 | ; writetimeout = 100 |
michael@202 | 53 | ; |
michael@202 | 54 | ; Authorization for various classes |
michael@202 | 55 | ;read = system,call,log,verbose,command,agent,user,config |
michael@202 | 56 | ;write = system,call,log,verbose,command,agent,user,config |