Description
ari.conf
[general]
General configuration settings
-
enabled- Enable/disable the ARI moduleNote
ARI uses Asterisk's HTTP server, which must also be enabled in
http.conf. -
websocket_write_timeout- The timeout (in milliseconds) to set on WebSocket connections. pretty- Responses from ARI are formatted to be human readableauth_realm- Realm to use for authentication. Defaults to Asterisk REST Interface.allowed_origins- Comma separated list of allowed origins, for Cross-Origin Resource Sharing. May be set to * to allow all origins.channelvars- Comma separated list of channel variables to display in channel json.
[user]
Per-user configuration settings
type- Define this configuration section as a user.read_only- When set to yes, user is only authorized for read-only requestspassword- Crypted or plaintext password (see password_format)password_format- 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 plaintextacl- List of IP ACL section names in acl.confdeny- List of IP addresses to deny access frompermit- List of IP addresses to permit access from
[outbound_websocket]
Outbound websocket configuration
type- Must be "outbound_websocket".websocket_client_id- The ID of a connection defined in websocket_client.conf.apps- Comma separated list of stasis applications that will use this websocket.local_ari_user- The local ARI user to act as.subscribe_all- Subscribe applications to all event
User Notes
No notes yet. Be the first to contribute a tip or example.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.
Module Configuration
app_agent_pool
app_confbridge
app_skel
cdr
cel
chan_motif
chan_websocket
codec_opus
core
features
named_acl
res_aeap
res_ari
res_geolocation
res_hep
res_http_media_cache
res_mwi_external
res_parking
res_pjproject
res_pjsip
res_pjsip_acl
res_pjsip_config_wizard
res_pjsip_endpoint_identifier_ip
res_pjsip_notify
res_pjsip_outbound_publish
res_pjsip_outbound_registration
res_pjsip_phoneprov_provider
res_pjsip_publish_asterisk
res_pjsip_pubsub
res_prometheus
res_resolver_unbound
res_statsd
res_stir_shaken
res_websocket_client
res_xmpp
stasis
udptl