[asterisk-commits] pabelanger: branch pabelanger/better_configs r315045 - /team/pabelanger/bette...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Apr 22 19:21:41 CDT 2011
Author: pabelanger
Date: Fri Apr 22 19:21:40 2011
New Revision: 315045
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=315045
Log:
Update formatting for manager.conf
Modified:
team/pabelanger/better_configs/configs/manager.conf.sample
Modified: team/pabelanger/better_configs/configs/manager.conf.sample
URL: http://svnview.digium.com/svn/asterisk/team/pabelanger/better_configs/configs/manager.conf.sample?view=diff&rev=315045&r1=315044&r2=315045
==============================================================================
--- team/pabelanger/better_configs/configs/manager.conf.sample (original)
+++ team/pabelanger/better_configs/configs/manager.conf.sample Fri Apr 22 19:21:40 2011
@@ -1,86 +1,145 @@
-;
-; 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 show 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/https 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.
-;
+; File: Manager.conf
+; Description:
+
[general]
+; Value: enabled
+; Section: general
+; Description:
+; Since: 1.0
+; Default: no
enabled = no
-;webenabled = yes
-
+
+; Value: webenabled
+; Section: general
+; Description:
+; Since: 1.0
+; Default: no
+webenabled = no
+
+; Value: port
+; Section: general
+; Description:
+; Since: 1.0
+; Default: 5038
port = 5038
+
+; Value: bindaddr
+; Section: general
+; Since: 1.0
+; Description:
+; Default: 0.0.0.0
bindaddr = 0.0.0.0
-; Parameters that control AMI over TLS. ("enabled" must be set too).
-; You can open a connection to this socket with e.g.
-;
-; openssl s_client -connect my_host:5039
-;
-;tlsenable=no ; set to YES to enable it
-;tlsbindport=5039 ; the port to bind to
-;tlsbindaddr=0.0.0.0 ; address to bind to, default to bindaddr
-;tlscertfile=/tmp/asterisk.pem ; path to the certificate.
-;tlsprivatekey=/tmp/private.pem ; path to the private key, if no private given,
- ; if no tlsprivatekey is given, default is to search
- ; tlscertfile for private key.
-;tlscipher=<cipher string> ; string specifying which SSL ciphers to use or not use
-;
-;allowmultiplelogin = yes ; IF set to no, rejects manager logins that are already in use.
-; ; The default is yes.
-;
-;displayconnects = yes
-;
-; Add a Unix epoch timestamp to events (not action responses)
-;
-;timestampevents = yes
-
-;brokeneventsaction = yes ; Restore previous behavior that caused the events
- ; action to not return a response in certain
- ; circumstances. Defaults to 'no'.
-
-;
-; Display certain channel variables every time a channel-oriented
-; event is emitted:
-;
+; Value: tlsenable
+; Section: general
+; Since: 1.0
+; Description:
+; Default: no
+tlsenable = no
+
+; Value: tlsbindport
+; Section: general
+; Since: 1.0
+; Description: TCP port to bind to
+; Default: 5039
+tlsbindport = 5039
+
+; Value: tlsbindaddr
+; Section: general
+; Since: 1.0
+; Description: IP address to bind to
+; Default: 0.0.0.0
+tlsbindaddr = 0.0.0.0
+
+; Value: tlscertfile
+; Section: general
+; Since: 1.0
+; Description:
+; Default: /tmp/asterisk.pem
+;tlscertfile = /tmp/asterisk.pem
+
+; Value: tlsprivatekey
+; Section: general
+; Since: 1.0
+; Description:
+; Default: /tmp/private.pem
+;tlsprivatekey = /tmp/private.pem
+
+; Value: tlscipher
+; Section: general
+; Since: 1.0
+; Description:
+; Default:
+;tlscipher =
+
+; Value: allowmultiplelogin
+; Section: general
+; Since: 1.0
+; Description: Multiple logins for accounts
+; When disabled, the manager rejects logins that are already in use.
+; Default: yes
+allowmultiplelogin = yes
+
+; Value: displayconnects
+; Section: general
+; Since: 1.0
+; Description: Show when remote connections are established
+; Default: yes
+displayconnects = yes
+
+; Value: timestampevents
+; Section: general
+; Since: 1.0
+; Description: Add a Unix epoch to events
+; This does not affect action responses.
+; Default: yes
+timestampevents = yes
+
+; Value: brokeneventsaction
+; Section: general
+; Since: 1.0
+; Description:
+; Default: no
+brokeneventsaction = no
+
+; Value: channelvars
+; Section: general
+; Since: 1.0
+; Description:
+; Default:
;channelvars = var1,var2,var3
-; debug = on ; enable some debugging info in AMI messages (default off).
- ; Also accessible through the "manager debug" CLI command.
-
-; authtimeout specifies the maximum number of seconds a client has to
-; authenticate. If the client does not authenticate beofre this timeout
-; expires, the client will be disconnected. (default: 30 seconds)
-
-;authtimeout = 30
-
-; authlimit specifies the maximum number of unauthenticated sessions that will
-; be allowed to connect at any given time.
-
-;authlimit = 50
-
-;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
-
+; Value: debug
+; Section: general
+; Since: 1.0
+; Description: Enable AMI debugging
+; Also accessible through the 'manager debug' CLI command.
+; Default: off
+debug = off
+
+; Value: authtimeout
+; Section: general
+; Since: 1.0
+; Description: Number of seconds a client has to authenticate
+; If the client does not authenticate before this timeout expires, the client
+; will be disconnected.
+; Default: 30
+authtimeout = 30
+
+; Value: authlimit
+; Section: general
+; Since: 1.0
+; Description: Max number of unauthenticated sessions allowed
+; After the limit is reached, no more connections can be established.
+; Default: 50
+authlimit = 50
+
+; Value: httptimeout
+; Section: general
+; Since: 1.0
+; Description:
+; Default: 60
+httptimeout = 60
;[mark]
;secret = mysecret
More information about the asterisk-commits
mailing list