]> git.ipfire.org Git - thirdparty/asterisk.git/commit
apps/app_voicemail: Trigger MWI notification with MixMonitor m() option
authorMatthew Jordan <mjordan@digium.com>
Thu, 22 Jan 2015 14:22:02 +0000 (14:22 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 22 Jan 2015 14:22:02 +0000 (14:22 +0000)
commit189bbe46c0b2391a593d956ccc62d02ca910f660
tree3b92d82a5facd1dfd24b899dd3500a114fe11f99
parent47679ea5333e8273e3058d9dca62a3cd56e77666
apps/app_voicemail: Trigger MWI notification with MixMonitor m() option

The MixMonitor m() option allows a recording to be pushed to a specific
voicemail mailbox. If the message is delivered to the mailbox's INBOX, however,
no MWI notification is currently raised.

This patch corrects the issue by properly calling notify_new_state from the
msg_create_from_file function. This will cause MWI to be triggered if the
message was placed in the mailbox's INBOX.

ASTERISK-24709 #close
Reported by: Gareth Palmer
patches:
  app_voicemail-430919.patch uploaded by Gareth Palmer (License 5169)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@430920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_voicemail.c