12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- ;!
- ;! Automatically generated configuration file
- ;! Filename: manager.conf (/etc/asterisk/manager.conf)
- ;! Generator: Manager
- ;! Creation Date: Wed Nov 11 15:56:12 2015
- ;!
- ;
- ; AMI - The Asterisk Manager Interface
- ;
- ; Third party application call management support and PBX event supervision
- ;
- ; This configuration file is read every time someone logs in
- ;
- ; Use the "manager list commands" at the CLI to list available manager commands
- ; and their authorization levels.
- ;
- ; "manager show command <command>" will show a help text.
- ;
- ; ---------------------------- 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. 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]
- ;displaysystemname = yes
- enabled = yes
- webenabled = yes
- port = 5038
- httptimeout = 60
- ; a) httptimeout sets the Max-Age of the http cookie
- ; b) httptimeout is the amount of time the webserver waits
- ; on a action=waitevent request (actually its httptimeout-10)
- ; c) httptimeout is also the amount of time the webserver keeps
- ; a http session alive after completing a successful action
- bindaddr = 0.0.0.0
- displayconnects = yes
- ;
- ; Add a Unix epoch timestamp to events (not action responses)
- ;
- timestampevents = yes
- [admin]
- secret = admin
- permit = 0.0.0.0/0.0.0.0
- #permit = 127.0.0.1/255.255.255.255
- ;
- ; If the device connected via this user accepts input slowly,
- ; the timeout for writes to it can be increased to keep it
- ; from being disconnected (value is in milliseconds)
- ;
- ; writetimeout = 100
- ;
- ; Authorization for various classes
- read = all,system,call,log,verbose,command,agent,user,config,originate
- write = all,system,call,log,verbose,command,agent,user,config,originate
- [openapi]
- secret = e845116521d590069f285ddde46ee2cf
- deny = 0.0.0.0/0.0.0.0
- permit = 127.0.0.1/255.255.255.255
- permit = 192.168.0.0/255.255.0.0
- read = all,system,call,log,verbose,command,agent,user,config,originate
- write = all,system,call,log,verbose,command,agent,user,config,originate
- eventfilter=Event: QueueMemberPause
- eventfilter=Event: Newchannel
- eventfilter=Event: ExtensionStatus
- eventfilter=Event: Hangup
- eventfilter=Event: Newstate
- eventfilter=Event: Cdr
- eventfilter=Event: DialBegin
- eventfilter=Event: DialEnd
- eventfilter=Event: AgentCalled
- eventfilter=Event: AgentConnect
- eventfilter=Event: AgentComplete
- eventfilter=Event: AgentRingNoAnswer
- eventfilter=Event: QueueCallerJoin
- eventfilter=Event: QueueCallerLeave
- eventfilter=Event: QueueMemberStatus
- eventfilter=Event: UserEvent
- eventfilter=Event: PeerStatus
- eventfilter=Event: Reload
|