| 1 |
[general] |
| 2 |
enabled = yes ; When set to no, ARI support is disabled. |
| 3 |
;pretty = no ; When set to yes, responses from ARI are |
| 4 |
; ; formatted to be human readable. |
| 5 |
;allowed_origins = ; Comma separated list of allowed origins, for |
| 6 |
; ; Cross-Origin Resource Sharing. May be set to * to |
| 7 |
; ; allow all origins. |
| 8 |
;auth_realm = ; Realm to use for authentication. Defaults to Asterisk |
| 9 |
; ; REST Interface. |
| 10 |
; |
| 11 |
; Default write timeout to set on websockets. This value may need to be adjusted |
| 12 |
; for connections where Asterisk must write a substantial amount of data and the |
| 13 |
; receiving clients are slow to process the received information. Value is in |
| 14 |
; milliseconds; default is 100 ms. |
| 15 |
;websocket_write_timeout = 100 |
| 16 |
; |
| 17 |
; Display certain channel variables every time a channel-oriented |
| 18 |
; event is emitted: |
| 19 |
; |
| 20 |
; Note that this does incur a performance penalty and should be avoided if possible. |
| 21 |
; |
| 22 |
;channelvars = var1,var2,var3 |
| 23 |
|
| 24 |
;[username] |
| 25 |
;type = user ; Specifies user configuration |
| 26 |
;read_only = no ; When set to yes, user is only authorized for |
| 27 |
; ; read-only requests. |
| 28 |
; |
| 29 |
;password = ; Crypted or plaintext password (see password_format). |
| 30 |
; |
| 31 |
; password_format may be set to plain (the default) or crypt. When set to crypt, |
| 32 |
; crypt(3) is used to validate the password. A crypted password can be generated |
| 33 |
; using mkpasswd -m sha-512. |
| 34 |
; |
| 35 |
; When set to plain, the password is in plaintext. |
| 36 |
; |
| 37 |
;password_format = plain |
| 38 |
; |
| 39 |
; The following three options (permit, deny, acl) allow for a per-user acl to be |
| 40 |
; configured. The format follows the rules as documented in acl.conf.sample |
| 41 |
; |
| 42 |
; If no restriction is defined for a given user, no IPs will be blocked by |
| 43 |
; Asterisk (legacy behavior). |
| 44 |
; |
| 45 |
;deny = ; Deny acces from the subnet for the given user |
| 46 |
;permit = ; Permit access from the subnet(s) for the given user |
| 47 |
;acl = ; Optional name for the acl. |
| 48 |
; |
| 49 |
;Example: |
| 50 |
;deny = 0.0.0.0/0 |
| 51 |
;permit = 127.0.0.1,10.0.0.0/24 |
| 52 |
;acl = localasteriskuser |
| 53 |
; |
| 54 |
|
| 55 |
; Outbound Websocket Connections |
| 56 |
; |
| 57 |
;[connection1] ; The connection name |
| 58 |
;type = outbound_websocket ; Must be "outbound_websocket" |
| 59 |
;websocket_client_id = myid ; The id of a websocket client defined in |
| 60 |
; websocket_client.conf. |
| 61 |
; Default: none |
| 62 |
;apps = app1, app2 ; A comma-separated list of Stasis applications |
| 63 |
; that will be served by this connection. |
| 64 |
; No other connection may serve these apps. |
| 65 |
; Default: none |
| 66 |
;subscribe_all = no ; If set to "yes", the server will receive all |
| 67 |
; events just as though "subscribeAll=true" was |
| 68 |
; specified on an incoming websocket connection. |
| 69 |
; Default: no |
| 70 |
;local_ari_user = local_user ; The name of a local ARI user defined above. |
| 71 |
; This controls whether this connection can make |
| 72 |
; read/write requests or is read-only. |
| 73 |
; Default: none |
| 74 |
|