apps/app_voicemail: Trigger MWI notification with MixMonitor m() option
authorMatthew Jordan <mjordan@digium.com>
Thu, 22 Jan 2015 14:23:41 +0000 (14:23 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 22 Jan 2015 14:23:41 +0000 (14:23 +0000)
commit7fcc9ce8bca09810f766a04c0a52be8f83ff7503
treef1b4af9f213dbaaebf9fd39e2cc67acb4c5039dc
parent38738a7316c944daa2e4968e2c0eaa61af8fd09a
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)
........

Merged revisions 430920 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 430921 from http://svn.asterisk.org/svn/asterisk/branches/13

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