Fix storage of greetings when using IMAP_STORAGE
authorJeff Peeler <jpeeler@digium.com>
Mon, 24 Aug 2009 16:43:57 +0000 (16:43 +0000)
committerJeff Peeler <jpeeler@digium.com>
Mon, 24 Aug 2009 16:43:57 +0000 (16:43 +0000)
commit72365bdedeb474b48e5ecbfd2e4a51dd093e371b
treec62dd3ce6ce71b5fa5379bc068bdead3af5bb590
parent3b1682bfe566595117edd4a5009740facb12c01f
Fix storage of greetings when using IMAP_STORAGE

The store macro was not getting called preventing storage of IMAP greetings
at all. This has been corrected along with fixing checking if the
imapgreetings option is turned on to store the greeting in IMAP. Lastly,
the attachment filename was incorrectly using the full path instead of just
the basename, which was causing problems with retrieval of the greeting.

(closes issue #14950)
Reported by: noahisaac

(closes issue #15729)
Reported by: lmadsen

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