projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc016de
)
Don't check for MWI event subscribers before creating the MWI event in voicemail.
author
Russell Bryant
<russell@russellbryant.com>
Wed, 23 May 2007 17:17:45 +0000
(17:17 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Wed, 23 May 2007 17:17:45 +0000
(17:17 +0000)
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
apps/app_voicemail.c
patch
|
blob
|
history
diff --git
a/apps/app_voicemail.c
b/apps/app_voicemail.c
index
d6c38e5
..
3976c30
100644
(file)
--- 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,