System information

Option Value/Example Description
tlsbindaddr 0.0.0.0 Sets the address to listen on for TLS-based AMI con-
nections. The default is to listen on all addresses
(0.0.0.0).
tlscertfile /var/lib/asterisk/keys/asterisk.pem Sets the path to the server certificate for TLS. This is
required if tlsenable is set to yes.
tlsprivatekey /var/lib/asterisk/keys/private.pem Sets the path to the private key for TLS. If this is not
specified, the tlscertfile will be checked to see
if it also contains the private key.
tlscipher <cipher string> Specifies a list of ciphers for OpenSSL to use. Setting
this is optional. To see a list of available ciphers, run
openssl ciphers -v at the command line.
allowmultiplelogin no Allows the same account to make more than one con-
nection at the same time. The default is yes.
displayconnects yes Reports connections to the AMI as verbose messages
printed to the Asterisk console. This is usually useful,
but it can get in the way on a system that uses scripts
that make a lot of connections to the AMI. The default
is yes.
timestampevents no Adds a Unix epoch-based timestamp to every event
reported to the AMI. The default is no.
brokeneventsaction no Restores previously broken behavior for the Events
AMI action, where a response would not be sent in
some circumstances. This option is there for the sake
of backward-compatibility for applications that
worked around a bug and should not be used unless
absolutely necessary. The default is no.
channelvars VAR1,VAR2,VAR3[,VAR4[...]] Specifies a list of channel variables to include with all
manager events that are channel-oriented. The de-
fault is to include no channel variables.
debug no Enables some additional debugging in the AMI code.
This is primarily there for developers of the Asterisk C
code. The default is no.
httptimeout 60 Sets the HTTP timeout, in seconds. This timeout affects
users of the AMI over HTTP: it sets the Max-Age of the
HTTP cookie, sets how long events are cached to allow
retrieval of the events over HTTP using the WaitE
vents action, and the amount of time that the HTTP
server keeps a session alive after completing an AMI
action. The default is 60 seconds.
a
To access the AMI over HTTP, the built-in HTTP server must also be configured in /etc/asterisk/http.conf.
b
The OpenSSL development package must be installed for Asterisk to be able to use encryption. On Ubuntu, the package is libssl-dev. On
CentOS, the package is openssl-devel.
Configuration | 461