diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-23 17:17:45 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-23 17:17:45 +0000 |
commit | 417491e158ed9851d2104d040fe621b2c79f9fda (patch) | |
tree | 89cc5363519f99b3aaf3054e18269108c03fd278 /apps | |
parent | 40ad91e9f24fb6e8260a88364dac2552529ae8b2 (diff) |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 6 |
1 files changed, 0 insertions, 6 deletions
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, |