aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-07 06:32:39 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-07 06:32:39 +0000
commit8f4a9c0573a076dd7a130e3369be09403684634e (patch)
treee3395a02410c4665cffaf4e1589f0ca15a2efbd4 /apps
parent40f8c640e63d1e528194270cc97aaed7dbe96766 (diff)
Also run the externnotify script when the pollmailboxes thread notices a change.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274491 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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);
}
}