2013-07-03 16:33:13 +00:00
|
|
|
[general]
|
2014-06-26 12:21:14 +00:00
|
|
|
enabled = yes ; When set to no, ARI support is disabled.
|
|
|
|
|
;pretty = no ; When set to yes, responses from ARI are
|
|
|
|
|
; ; formatted to be human readable.
|
|
|
|
|
;allowed_origins = ; Comma separated list of allowed origins, for
|
|
|
|
|
; ; Cross-Origin Resource Sharing. May be set to * to
|
|
|
|
|
; ; allow all origins.
|
|
|
|
|
;auth_realm = ; Realm to use for authentication. Defaults to Asterisk
|
|
|
|
|
; ; REST Interface.
|
|
|
|
|
;
|
|
|
|
|
; Default write timeout to set on websockets. This value may need to be adjusted
|
|
|
|
|
; for connections where Asterisk must write a substantial amount of data and the
|
|
|
|
|
; receiving clients are slow to process the received information. Value is in
|
|
|
|
|
; milliseconds; default is 100 ms.
|
|
|
|
|
;websocket_write_timeout = 100
|
2016-11-11 11:45:37 -05:00
|
|
|
;
|
|
|
|
|
; Display certain channel variables every time a channel-oriented
|
|
|
|
|
; event is emitted:
|
|
|
|
|
;
|
2018-11-07 13:18:34 -04:00
|
|
|
; Note that this does incur a performance penalty and should be avoided if possible.
|
|
|
|
|
;
|
2016-11-11 11:45:37 -05:00
|
|
|
;channelvars = var1,var2,var3
|
2013-07-03 16:33:13 +00:00
|
|
|
|
2013-07-11 14:39:55 +00:00
|
|
|
;[username]
|
2014-06-26 12:21:14 +00:00
|
|
|
;type = user ; Specifies user configuration
|
|
|
|
|
;read_only = no ; When set to yes, user is only authorized for
|
|
|
|
|
; ; read-only requests.
|
2013-07-03 16:33:13 +00:00
|
|
|
;
|
2014-06-26 12:21:14 +00:00
|
|
|
;password = ; Crypted or plaintext password (see password_format).
|
2013-07-03 16:33:13 +00:00
|
|
|
;
|
|
|
|
|
; 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.
|
|
|
|
|
;
|
|
|
|
|
;password_format = plain
|
2026-02-27 12:35:37 -07:00
|
|
|
;
|
|
|
|
|
; The following three options (permit, deny, acl) allow for a per-user acl to be
|
|
|
|
|
; configured. The format follows the rules as documented in acl.conf.sample
|
|
|
|
|
;
|
|
|
|
|
; If no restriction is defined for a given user, no IPs will be blocked by
|
|
|
|
|
; Asterisk (legacy behavior).
|
|
|
|
|
;
|
|
|
|
|
;deny = ; Deny acces from the subnet for the given user
|
|
|
|
|
;permit = ; Permit access from the subnet(s) for the given user
|
|
|
|
|
;acl = ; Optional name for the acl.
|
|
|
|
|
;
|
|
|
|
|
;Example:
|
|
|
|
|
;deny = 0.0.0.0/0
|
|
|
|
|
;permit = 127.0.0.1,10.0.0.0/24
|
|
|
|
|
;acl = localasteriskuser
|
|
|
|
|
;
|
2025-03-28 06:54:21 -06:00
|
|
|
|
|
|
|
|
; Outbound Websocket Connections
|
|
|
|
|
;
|
|
|
|
|
;[connection1] ; The connection name
|
|
|
|
|
;type = outbound_websocket ; Must be "outbound_websocket"
|
|
|
|
|
;websocket_client_id = myid ; The id of a websocket client defined in
|
|
|
|
|
; websocket_client.conf.
|
|
|
|
|
; Default: none
|
|
|
|
|
;apps = app1, app2 ; A comma-separated list of Stasis applications
|
|
|
|
|
; that will be served by this connection.
|
|
|
|
|
; No other connection may serve these apps.
|
|
|
|
|
; Default: none
|
|
|
|
|
;subscribe_all = no ; If set to "yes", the server will receive all
|
|
|
|
|
; events just as though "subscribeAll=true" was
|
|
|
|
|
; specified on an incoming websocket connection.
|
|
|
|
|
; Default: no
|
|
|
|
|
;local_ari_user = local_user ; The name of a local ARI user defined above.
|
|
|
|
|
; This controls whether this connection can make
|
|
|
|
|
; read/write requests or is read-only.
|
|
|
|
|
; Default: none
|
|
|
|
|
|