From: Tilghman Lesher Date: Wed, 7 Jul 2010 06:32:39 +0000 (+0000) Subject: Also run the externnotify script when the pollmailboxes thread notices a change. X-Git-Tag: 11.0.0-beta1~2731 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1eaa09a0a258f39ae20052ed362bb292e6b7d137;p=thirdparty%2Fasterisk.git 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 --- diff --git a/CHANGES b/CHANGES index ea0338f5ce..c46d4c7e4e 100644 --- a/CHANGES +++ b/CHANGES @@ -165,6 +165,8 @@ Applications * Two new applications are provided for declining counting phrases in multiple languages. See the application notes for SayCountedNoun and SayCountedAdj for more information. + * Voicemail now runs the externnotify script when pollmailboxes is activated and + notices a change. Dialplan Functions ------------------ diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index ae6cba1712..892c865a99 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); } }