[asterisk-commits] mmichelson: branch mmichelson/trunk-digiumphones r365124 - /team/mmichelson/t...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 2 15:18:23 CDT 2012


Author: mmichelson
Date: Wed May  2 15:18:18 2012
New Revision: 365124

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=365124
Log:
Add a new warning message alerting of inability to add message to users' voicemails.


Modified:
    team/mmichelson/trunk-digiumphones/apps/app_voicemail.c

Modified: team/mmichelson/trunk-digiumphones/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/trunk-digiumphones/apps/app_voicemail.c?view=diff&rev=365124&r1=365123&r2=365124
==============================================================================
--- team/mmichelson/trunk-digiumphones/apps/app_voicemail.c (original)
+++ team/mmichelson/trunk-digiumphones/apps/app_voicemail.c Wed May  2 15:18:18 2012
@@ -11422,7 +11422,9 @@
 	/* In Asterisk 11, it is required that all voicemail messages have a unique message
 	 * ID associated with them. Let's get that taken care of here
 	 */
-	add_message_ids(vmu);
+	if (add_message_ids(vmu)) {
+		ast_log(LOG_WARNING, "Unable to add unique message IDs for all messages for voicemail user %s@%s\n", vmu->mailbox, vmu->context);
+	}
 
 	AST_LIST_INSERT_TAIL(&users, vmu, list);
 	




More information about the asterisk-commits mailing list