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: https://origsvn.digium.com/svn/asterisk/trunk@65659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant 2007-05-23 17:17:45 +00:00
parent cc016de696
commit 33215616d4
1 changed files with 0 additions and 6 deletions

View File

@ -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,