[asterisk-commits] tilghman: branch 1.2 r41065 - /branches/1.2/apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Aug 25 08:07:16 MST 2006


Author: tilghman
Date: Fri Aug 25 10:07:16 2006
New Revision: 41065

URL: http://svn.digium.com/view/asterisk?rev=41065&view=rev
Log:
Text only - clarify the reason for entry into authentication mode when the skipuser option is ignored

Modified:
    branches/1.2/apps/app_voicemail.c

Modified: branches/1.2/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_voicemail.c?rev=41065&r1=41064&r2=41065&view=diff
==============================================================================
--- branches/1.2/apps/app_voicemail.c (original)
+++ branches/1.2/apps/app_voicemail.c Fri Aug 25 10:07:16 2006
@@ -5162,8 +5162,11 @@
 
 		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)



More information about the asterisk-commits mailing list