[asterisk-bugs] [Asterisk 0017871]: IMAP with maildir formats do not handle greetings correctly

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 16 14:16:12 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17871 
====================================================================== 
Reported By:                edhorton
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17871
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.11 
JIRA:                       SWP-2055 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-08-16 12:01 CDT
Last Modified:              2010-09-16 14:16 CDT
====================================================================== 
Summary:                    IMAP with maildir formats do not handle greetings
correctly
Description: 
Asterisk 1.6.2.11 with dovecot imap server and greetings stored in an IMAP
folder work correctly when MBOX format is used.

If the same settup is used, but maildir format is defined in dovecot.conf,
voicemail messages work correctly but Asterisk will always store the
greetings in the INBOX directory rather than the correct folder as defined
by the "greetingfolder" variable.  For playing greetings, it does fetch
from the "greeting" folder directory, so if the messages are manually moved
to that folder, Asterisk serves up the correct greetings.

But if a greeting is already resident in the "greeting" folder location,
the corresponding greeting is removed when a new greeting is recorded. 
This leaves the new greeting in INBOX and the old one removed from
"greetingfolder".

Again, when playing a greeting, Asterisk correcly fetches the greeting
from the "greetingfolder" location.  It will not fetch from INBOX if this
variable is set.
====================================================================== 

---------------------------------------------------------------------- 
 (0127052) edhorton (reporter) - 2010-09-16 14:16
 https://issues.asterisk.org/view.php?id=17871#c127052 
---------------------------------------------------------------------- 
Finally back to this issue and need to clarify.  Type or location of IMAP
storage does not seem to matter.  If the 'greetingfolder' is set to other
than INBOX and 'imapgreetings' = 'Y', the voicemail will correctly fetch
from 'greetingfoder' for playback when leaving a voicemail.  However, when
in mailbox options and recording a new greeting, all greetings will be
placed in the INBOX and not in the folder defined in 'greetingfolder'. 
Also, older same type greetings are not replaced, just added to the INBOX. 
I have attached a log file.  app_voicemail does throw an error with "No
vmstate found for user:" 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-16 14:16 edhorton       Note Added: 0127052                          
======================================================================




More information about the asterisk-bugs mailing list