From 417491e158ed9851d2104d040fe621b2c79f9fda Mon Sep 17 00:00:00 2001 From: russell Date: Wed, 23 May 2007 17:17:45 +0000 Subject: 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. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65659 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_voicemail.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'apps') diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index d6c38e56a..3976c30ed 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -4058,12 +4058,6 @@ static void queue_mwi_event(const char *mbox, int new, int old) 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, AST_EVENT_IE_NEWMSGS, AST_EVENT_IE_PLTYPE_UINT, new, -- cgit v1.2.3