summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-07-07 06:32:39 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-07-07 06:32:39 +0000
commit1eaa09a0a258f39ae20052ed362bb292e6b7d137 (patch)
treee3395a02410c4665cffaf4e1589f0ca15a2efbd4 /apps/app_voicemail.c
parentc722342660f10c1c580a6a41e829a18957d2130b (diff)
Also run the externnotify script when the pollmailboxes thread notices a change.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@274491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index ae6cba171..892c865a9 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -11022,6 +11022,7 @@ static void poll_subscribed_mailbox(struct mwi_sub *mwi_sub)
mwi_sub->old_new = new;
mwi_sub->old_old = old;
queue_mwi_event(mwi_sub->mailbox, urgent, new, old);
+ run_externnotify(NULL, mwi_sub->mailbox, NULL);
}
}