res_ari: HTTP binding for the Stasis API¶
This configuration documentation is for functionality provided by res_ari.
Configuration File: ari.conf¶
[general]: General configuration settings¶
Since¶
12.0.0
Configuration Option Reference¶
Option Name | Type | Default Value | Regular Expression | Description | Since |
---|---|---|---|---|---|
allowed_origins | String | false | Comma separated list of allowed origins, for Cross-Origin Resource Sharing. May be set to * to allow all origins. | 12.0.0 | |
auth_realm | String | Asterisk REST Interface | false | Realm to use for authentication. Defaults to Asterisk REST Interface. | 12.0.0 |
channelvars | Custom | false | Comma separated list of channel variables to display in channel json. | 14.2.0 | |
enabled | Boolean | yes | false | Enable/disable the ARI module | 12.0.0 |
pretty | Custom | no | false | Responses from ARI are formatted to be human readable | 12.0.0 |
websocket_write_timeout | Integer | 100 | false | The timeout (in milliseconds) to set on WebSocket connections. | 11.11.0, 12.4.0 |
Configuration Option Descriptions¶
enabled¶
Since: 12.0.0
This option enables or disables the ARI module.
Note
ARI uses Asterisk's HTTP server, which must also be enabled in http.conf.
websocket_write_timeout¶
Since: 11.11.0, 12.4.0
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.
[user]: Per-user configuration settings¶
Since¶
12.0.0
Configuration Option Reference¶
Option Name | Type | Default Value | Regular Expression | Description | Since |
---|---|---|---|---|---|
password | String | false | Crypted or plaintext password (see password_format) | 13.30.0, 16.7.0, 17.1.0 | |
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 | 12.0.0 |
read_only | Boolean | no | false | When set to yes, user is only authorized for read-only requests | 13.30.0, 16.7.0, 17.1.0 |
type | None | false | Define this configuration section as a user. | 13.30.0, 16.7.0, 17.1.0 |
Configuration Option Descriptions¶
type¶
Since: 13.30.0, 16.7.0, 17.1.0
user
- Configure this section as a user
Generated Version¶
This documentation was generated from Asterisk branch 20 using version GIT