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