Guarantee messages go into the right folders with multiple recipients
authorJonathan Rose <jrose@digium.com>
Wed, 16 Nov 2011 14:56:03 +0000 (14:56 +0000)
committerJonathan Rose <jrose@digium.com>
Wed, 16 Nov 2011 14:56:03 +0000 (14:56 +0000)
commit2d67b1b37878a799be9716de2ed1087a5687ac58
tree940c60b71ba3e0c0273860469e6dd579efdaeb83
parenta86037d9591ee66080c6c4803a984ba26b572992
Guarantee messages go into the right folders with multiple recipients

Before, using the U flag in Voicemail with multiple recipients would put urgent messages
in the INBOX folder for all users past the first thanks to a bug with the message
copying function. This would also cause messages to fail to be sent if the INBOX
directory hadn't been created for that mailbox yet.

(closes issue ASTERISK-18245)
Reported by: Matt Jordan

(closes issue ASTERISK-18246)
Reported by: Matt Jordan

Review: https://reviewboard.asterisk.org/r/1589/
........

Merged revisions 345487 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 345488 from http://svn.asterisk.org/svn/asterisk/branches/10

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