[Home]

Summary:ASTERISK-14666: IMAP greetings not stored in dovecot
Reporter:Leif Madsen (lmadsen)Labels:
Date Opened:2009-08-17 10:36:35Date Closed:2009-08-24 11:50:35
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail/IMAP
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I found this issue while testing issue 14950, which appears to be the inverse of what I have here.

When using dovecot on Ubuntu with Asterisk trunk and IMAP voicemail storage, I am unable to get the greetings to store in the IMAP server, although new voicemails appear to be handled fine (which I believe is an indication I have the IMAP server setup correctly).

imapgreeting=yes

When I have this, then I end up with the greeting in the /var/spool/asterisk/voicemail/4324/ folder, and then when I leave a voicemail for that mailbox, I hear the greeting once. Upon subsequent voicemails, there is no greeting, and the greetings that existed would be removed from the /var/spool/asterisk/voicemail/.../ directory.

With imapgreeting=no however, all seemed to work as I would expect (which is the opposite that the reporter in 14950 was getting).
Comments:By: Digium Subversion (svnbot) 2009-08-24 11:44:36

Repository: asterisk
Revision: 213833

U   trunk/apps/app_voicemail.c

------------------------------------------------------------------------
r213833 | jpeeler | 2009-08-24 11:44:34 -0500 (Mon, 24 Aug 2009) | 14 lines

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 ASTERISK-14000)
Reported by: noahisaac

(closes issue ASTERISK-14666)
Reported by: lmadsen

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=213833

By: Digium Subversion (svnbot) 2009-08-24 11:49:39

Repository: asterisk
Revision: 213835

_U  branches/1.6.1/
U   branches/1.6.1/apps/app_voicemail.c

------------------------------------------------------------------------
r213835 | jpeeler | 2009-08-24 11:49:38 -0500 (Mon, 24 Aug 2009) | 21 lines

Merged revisions 213833 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r213833 | jpeeler | 2009-08-24 11:43:57 -0500 (Mon, 24 Aug 2009) | 14 lines
 
 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 ASTERISK-14000)
 Reported by: noahisaac
 
 (closes issue ASTERISK-14666)
 Reported by: lmadsen
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=213835

By: Digium Subversion (svnbot) 2009-08-24 11:50:35

Repository: asterisk
Revision: 213836

_U  branches/1.6.2/
U   branches/1.6.2/apps/app_voicemail.c

------------------------------------------------------------------------
r213836 | jpeeler | 2009-08-24 11:50:34 -0500 (Mon, 24 Aug 2009) | 21 lines

Merged revisions 213833 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r213833 | jpeeler | 2009-08-24 11:43:57 -0500 (Mon, 24 Aug 2009) | 14 lines
 
 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 ASTERISK-14000)
 Reported by: noahisaac
 
 (closes issue ASTERISK-14666)
 Reported by: lmadsen
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=213836