ARI: Don't complain about missing ARI users when we aren't enabled
authorSean Bright <sean@malleable.com>
Tue, 25 Mar 2014 18:44:57 +0000 (18:44 +0000)
committerSean Bright <sean@malleable.com>
Tue, 25 Mar 2014 18:44:57 +0000 (18:44 +0000)
commitc32fe8b8e50f9b494bddc2bb63cd2bb1ed02ba57
treef7780c5200a48b710ac00cfcc6cbd1e99002149d
parent2bf37a417d7ca529311b56344d56c4a421db3c25
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/
........

Merged revisions 411173 from http://svn.asterisk.org/svn/asterisk/branches/12

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