]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ARI: Don't complain about missing ARI users when we aren't enabled
authorSean Bright <sean@malleable.com>
Tue, 25 Mar 2014 18:43:57 +0000 (18:43 +0000)
committerSean Bright <sean@malleable.com>
Tue, 25 Mar 2014 18:43:57 +0000 (18:43 +0000)
commitc90a39b6b8364e9fc53f1ca57e3e35afd33ada78
tree46ad8a6522212b34b73a0200892c72b6e6e5c32e
parent7d174a1dafc18fa74984d1eb8a7e55471ac8b4c8
ARI: Don't complain about missing ARI users when we aren't enabled

Currently, if ARI is not enabled it will still complain that there are no
configured users.  This patch checks to see if ARI is enabled before logging and
error or iterating the container to validate the users.

Review: https://reviewboard.asterisk.org/r/3391/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@411173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/ari/config.c