]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Also run the externnotify script when the pollmailboxes thread notices a change.
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 7 Jul 2010 06:32:39 +0000 (06:32 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 7 Jul 2010 06:32:39 +0000 (06:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@274491 65c4cc65-6c06-0410-ace0-fbb531ad65f3

CHANGES
apps/app_voicemail.c

diff --git a/CHANGES b/CHANGES
index ea0338f5ce567aa8a6ea1e06c09de8ce0801f1f7..c46d4c7e4ef5f19390775dc8c1570e8ffb69306e 100644 (file)
--- 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
 ------------------
index ae6cba171255e1f3f8f6145700ce3fa0ea14fa4d..892c865a9985d4066379967da09f0cd13a8e7c90 100644 (file)
@@ -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);
        }
 }