]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Text only - clarify the reason for entry into authentication mode when the skipuser...
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 25 Aug 2006 15:07:16 +0000 (15:07 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 25 Aug 2006 15:07:16 +0000 (15:07 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41065 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index e00eee312dee8ead1c159df4a913cee98695fead..fa86fe173ca8c1f0942ca5f6a34b34cc8775512f 100644 (file)
@@ -5162,8 +5162,11 @@ static int vm_execmain(struct ast_channel *chan, void *data)
 
                if (!ast_strlen_zero(vms.username) && (vmu = find_user(&vmus, context ,vms.username)))
                        skipuser++;
-               else
+               else {
+                       if (!ast_strlen_zero(vms.username))
+                               ast_log(LOG_NOTICE, "Specified user '%s%s%s' not found (check voicemail.conf and/or realtime config).  Falling back to authentication mode.\n", vms.username, context ? "@" : "", context ? context : "");
                        valid = 0;
+               }
        }
 
        if (!valid)