[asterisk-bugs] [Asterisk 0016350]: Deleting Multiple IMAP voicemails does not work reliably

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 13 13:17:25 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16350 
====================================================================== 
Reported By:                noahisaac
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16350
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.1.10 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-30 10:56 CST
Last Modified:              2010-04-13 13:17 CDT
====================================================================== 
Summary:                    Deleting Multiple IMAP voicemails does not work
reliably
Description: 
Deleting a single IMAP voicemail in one VoicemailMain() session always
works as expected.  When deleting two or more IMAP messages in a single
VoicemailMain() session, the results are unpredictable: some or all of the
messages do not get deleted.  The more messages that are deleted, the more
likely it is to get the error.  If five or more messages are deleted, the
error will always happen, and some of the messages that are supposed to be
deleted will not be deleted.

When the VoicemailMain() session ends, this message is displayed in the
CLI:
[Nov 30 10:54:34] ERROR[6887]: app_voicemail.c:2359 mm_log: IMAP Error:
IMAP protocol error: Error in IMAP command STORE: Invalid messageset
[Nov 30 10:54:34] ERROR[6887]: app_voicemail.c:2359 mm_log: IMAP Error:
Error in IMAP command STORE: Invalid messageset

====================================================================== 

---------------------------------------------------------------------- 
 (0120339) noahisaac (reporter) - 2010-04-13 13:17
 https://issues.asterisk.org/view.php?id=16350#c120339 
---------------------------------------------------------------------- 
I'm at a little bit of a loss here.  The only appreciable difference in
vm_imap_delete() between 1.6.1.6 and 1.6.1.10 is that an explicit expunge
was ADDED in 1.6.1.10.  Of course, when I tried removing it, no voicemails
are deleted at all.  So a couple of questions:

1. How were IMAP voicemails actually deleted in 1.6.1.6?

2. Can anyone think of any changes to app_voicemail.c that would cause
IMAP voicemails to not get deleted? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-13 13:17 noahisaac      Note Added: 0120339                          
======================================================================




More information about the asterisk-bugs mailing list