mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
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
This commit is contained in:
2
CHANGES
2
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
|
||||
------------------
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user