ari.conf.sample 1.3 KB

123456789101112131415161718192021222324252627282930
  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. ;[username]
  17. ;type = user ; Specifies user configuration
  18. ;read_only = no ; When set to yes, user is only authorized for
  19. ; ; read-only requests.
  20. ;
  21. ;password = ; Crypted or plaintext password (see password_format).
  22. ;
  23. ; password_format may be set to plain (the default) or crypt. When set to crypt,
  24. ; crypt(3) is used to validate the password. A crypted password can be generated
  25. ; using mkpasswd -m sha-512.
  26. ;
  27. ; When set to plain, the password is in plaintext.
  28. ;
  29. ;password_format = plain