Asterisk Project : Asterisk 13 Configuration_res_ari

HTTP binding for the Stasis API

This configuration documentation is for functionality provided by res_ari.

ari.conf

general

General configuration settings

Configuration Option Reference

Option Name

Type

Default Value

Regular Expression

Description

enabled

Boolean

yes

false

Enable/disable the ARI module

websocket_write_timeout

Integer

100

false

The timeout (in milliseconds) to set on WebSocket connections.

pretty

Custom

no

false

Responses from ARI are formatted to be human readable

auth_realm

String

Asterisk REST Interface

false

Realm to use for authentication. Defaults to Asterisk REST Interface.

allowed_origins

String

 

false

Comma separated list of allowed origins, for Cross-Origin Resource Sharing. May be set to * to allow all origins.

Configuration Option Descriptions

enabled

This option enables or disables the ARI module.

Note

Icon

ARI uses Asterisk's HTTP server, which must also be enabled in http.conf.

websocket_write_timeout

If a websocket connection accepts input slowly, the timeout for writes to it can be increased to keep it from being disconnected. Value is in milliseconds; default is 100 ms.

user

Per-user configuration settings

Configuration Option Reference

Option Name

Type

Default Value

Regular Expression

Description

type

None

 

false

Define this configuration section as a user.

read_only

Boolean

no

false

When set to yes, user is only authorized for read-only requests

password

String

 

false

Crypted or plaintext password (see password_format)

password_format

Custom

plain

false

password_format may be set to plain (the default) or crypt. When set to crypt, crypt(3) is used to validate the password. A crypted password can be generated using mkpasswd -m sha-512. When set to plain, the password is in plaintext

Configuration Option Descriptions

type
  • user - Configure this section as a user

Import Version

This documentation was imported from Asterisk Version SVN-branch-13-r420538