Enable http and ari read only account

This commit is contained in:
Your Name
2020-12-14 19:26:37 +00:00
parent d7eb7f83d1
commit 93bab1f3ae
2 changed files with 11 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
[general] [general]
enabled = yes ; When set to no, ARI support is disabled. enabled = yes ; When set to no, ARI support is disabled.
;pretty = no ; When set to yes, responses from ARI are pretty = yes ; When set to yes, responses from ARI are
; ; formatted to be human readable. ; ; formatted to be human readable.
;allowed_origins = ; Comma separated list of allowed origins, for allowed_origins = * ; Comma separated list of allowed origins, for
; ; Cross-Origin Resource Sharing. May be set to * to ; ; Cross-Origin Resource Sharing. May be set to * to
; ; allow all origins. ; ; allow all origins.
;auth_realm = ; Realm to use for authentication. Defaults to Asterisk ;auth_realm = ; Realm to use for authentication. Defaults to Asterisk
@@ -33,3 +33,9 @@ enabled = yes ; When set to no, ARI support is disabled.
; When set to plain, the password is in plaintext. ; When set to plain, the password is in plaintext.
; ;
;password_format = plain ;password_format = plain
[queueview]
type=user
read_only=yes
password=queueview
password_format=plain

View File

@@ -26,7 +26,7 @@ servername=Asterisk
; Whether HTTP/HTTPS interface is enabled or not. Default is no. ; Whether HTTP/HTTPS interface is enabled or not. Default is no.
; This also affects manager/rawman/mxml access (see manager.conf) ; This also affects manager/rawman/mxml access (see manager.conf)
; ;
;enabled=yes enabled=yes
; ;
; Address to bind to, both for HTTP and HTTPS. You MUST specify ; Address to bind to, both for HTTP and HTTPS. You MUST specify
; a bindaddr in order for the HTTP server to run. There is no ; a bindaddr in order for the HTTP server to run. There is no
@@ -65,7 +65,7 @@ bindaddr=127.0.0.1
; Whether Asterisk should serve static content from static-http ; Whether Asterisk should serve static content from static-http
; Default is no. ; Default is no.
; ;
;enablestatic=yes enablestatic=yes
; ;
; Redirect one URI to another. This is how you would set a ; Redirect one URI to another. This is how you would set a
; default page. ; default page.
@@ -73,7 +73,7 @@ bindaddr=127.0.0.1
; For example, if you are using the Asterisk-gui, ; For example, if you are using the Asterisk-gui,
; it is convenient to enable the following redirect: ; it is convenient to enable the following redirect:
; ;
;redirect = / /static/config/index.html redirect = / /static/index.html
; ;
; HTTPS support. In addition to enabled=yes, you need to ; HTTPS support. In addition to enabled=yes, you need to
; explicitly enable tls, define the port to use, ; explicitly enable tls, define the port to use,