[svn-commits] seanbright: trunk r147099 - /trunk/apps/app_voicemail.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Oct 7 09:59:33 CDT 2008


Author: seanbright
Date: Tue Oct  7 09:59:33 2008
New Revision: 147099

URL: http://svn.digium.com/view/asterisk?view=rev&rev=147099
Log:
If we encounter something in mailbox options that we don't grok, then
spit out a warning instead of just silently ignoring it.

Modified:
    trunk/apps/app_voicemail.c

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=147099&r1=147098&r2=147099
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Tue Oct  7 09:59:33 2008
@@ -849,6 +849,8 @@
 		sscanf(value, "%lf", &vmu->volgain);
 	} else if (!strcasecmp(var, "options")) {
 		apply_options(vmu, value);
+	} else {
+		ast_log(LOG_WARNING, "Unknown option '%s' specified for mailbox '%s'.\n", var, vmu->mailbox);
 	}
 }
 




More information about the svn-commits mailing list