[svn-commits] russell: trunk r65659 - /trunk/apps/app_voicemail.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed May 23 10:17:45 MST 2007


Author: russell
Date: Wed May 23 12:17:45 2007
New Revision: 65659

URL: http://svn.digium.com/view/asterisk?view=rev&rev=65659
Log:
Don't check for MWI event subscribers before creating the MWI event in voicemail.
MWI events get cached, so go ahead and always generate them so the cache gets
populated.

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=65659&r1=65658&r2=65659
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Wed May 23 12:17:45 2007
@@ -4057,12 +4057,6 @@
 	mailbox = ast_strdupa(mbox);
 	if (strstr(mailbox, "@default"))
 		mailbox = strsep(&mailbox, "@");
-
-	if (ast_event_check_subscriber(AST_EVENT_MWI,
-		AST_EVENT_IE_MAILBOX, AST_EVENT_IE_PLTYPE_STR, mailbox,
-		AST_EVENT_IE_END) == AST_EVENT_SUB_NONE) {
-		return;
-	}
 
 	if (!(event = ast_event_new(AST_EVENT_MWI,
 			AST_EVENT_IE_MAILBOX, AST_EVENT_IE_PLTYPE_STR, mailbox,



More information about the svn-commits mailing list