[asterisk-bugs] [Asterisk 0015729]: IMAP greetings not stored in dovecot

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 24 11:44:36 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15729 
====================================================================== 
Reported By:                lmadsen
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15729
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 212427 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-08-17 10:36 CDT
Last Modified:              2009-08-24 11:44 CDT
====================================================================== 
Summary:                    IMAP greetings not stored in dovecot
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).
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0014597 greetings can not be retrieved from IMAP
related to          0014950 [patch] Greetings are stored as IMAP me...
====================================================================== 

---------------------------------------------------------------------- 
 (0109527) svnbot (reporter) - 2009-08-24 11:44
 https://issues.asterisk.org/view.php?id=15729#c109527 
---------------------------------------------------------------------- 
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 https://issues.asterisk.org/view.php?id=14950)
Reported by: noahisaac

(closes issue https://issues.asterisk.org/view.php?id=15729)
Reported by: lmadsen

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-24 11:44 svnbot         Checkin                                      
2009-08-24 11:44 svnbot         Note Added: 0109527                          
======================================================================




More information about the asterisk-bugs mailing list