Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save viniciusstroher/77a2c6238b1cea65206f4c784aa0a55f to your computer and use it in GitHub Desktop.
Save viniciusstroher/77a2c6238b1cea65206f4c784aa0a55f to your computer and use it in GitHub Desktop.
# manager.conf
[general]
enabled = yes
webenabled = no
port = 5038
bindaddr = 0.0.0.0
[amidude]
secret = amidude
deny=0.0.0.0/0.0.0.0
permit=192.168.0.0/255.255.0.0
permit=172.0.0.0/255.0.0.0
read=all
write=all
#ari.conf
[general]
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
;
; Display certain channel variables every time a channel-oriented
; event is emitted:
;
; Note that this does incur a performance penalty and should be avoided if possible.
;
;channelvars = var1,var2,var3
[aridude]
type = user ; Specifies user configuration
;read_only = no ; When set to yes, user is only authorized for
; ; read-only requests.
;
password = aridude; Crypted or plaintext password (see 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 plaintext.
;
;password_format = plain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment