summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@digium.com>2013-07-11 14:39:55 +0000
committerDavid M. Lee <dlee@digium.com>2013-07-11 14:39:55 +0000
commit684481b74cb12d436200129818f57122797115c7 (patch)
treeddab3f27cf27e50d5034e728f5b5027e4d9fa604 /configs
parentfb09d5bc60aabd133daca8ac7abc49980c10db8d (diff)
Change ARI user config to use a type field
When I initially wrote the configuration support for ARI users, I determined the section type by a category prefix (i.e., [user-admin]). This is neither idiomatic Asterisk configuration, nor is it really that user friendly. This patch replaces the category prefix with a type field in the section, which is much cleaner. Review: https://reviewboard.asterisk.org/r/2664/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/ari.conf.sample3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/ari.conf.sample b/configs/ari.conf.sample
index 11e2b065e..414f89d8f 100644
--- a/configs/ari.conf.sample
+++ b/configs/ari.conf.sample
@@ -8,7 +8,8 @@ enabled = yes ; When set to no, stasis-http support is disabled.
;auth_realm = ; Realm to use for authentication. Defaults to Asterisk
; ; REST Interface.
-;[user-username]
+;[username]
+;type = user ; Specifies user configuration
;read_only = no ; When set to yes, user is only authorized for
; ; read-only requests.
;