Commit | Line | Data |
---|---|---|
b2e905a6 TN |
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 = yes | |
26 | port = 5038 | |
27 | ||
28 | ;webenabled = yes | |
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 = 127.0.0.1 | |
37 | displayconnects = yes | |
38 | ||
39 | ; Add a Unix epoch timestamp to events (not action responses) | |
40 | timestampevents = yes | |
41 | ||
42 | ;[mark] | |
43 | ;secret = mysecret | |
44 | ;deny=0.0.0.0/0.0.0.0 | |
45 | ;permit=209.16.236.73/255.255.255.0 | |
46 | ; | |
47 | ; If the device connected via this user accepts input slowly, | |
48 | ; the timeout for writes to it can be increased to keep it | |
49 | ; from being disconnected (value is in milliseconds) | |
50 | ; | |
51 | ; writetimeout = 100 | |
52 | ; | |
53 | ; Authorization for various classes | |
54 | ;read = system,call,log,verbose,command,agent,user,config | |
55 | ;write = system,call,log,verbose,command,agent,user,config | |
56 | ||
57 | #include "auf/manager.local" | |
58 |