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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jul 20 17:23:13 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16350 
====================================================================== 
Reported By:                noahisaac
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16350
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Target Version:             1.6.2.11
Asterisk Version:           SVN 
JIRA:                       SWP-1417 
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-07-20 17:23 CDT
====================================================================== 
Summary:                    [patch] 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

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0017135 [patch] Message count incorrect
====================================================================== 

---------------------------------------------------------------------- 
 (0124774) svnbot (reporter) - 2010-07-20 17:23
 https://issues.asterisk.org/view.php?id=16350#c124774 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 278261

U   branches/1.4/apps/app_voicemail.c

------------------------------------------------------------------------
r278261 | tilghman | 2010-07-20 17:23:12 -0500 (Tue, 20 Jul 2010) | 7
lines

Delete IMAP messages in reverse order, to ensure reordering after each
expunge does not cause deletion of the wrong message.

(closes issue https://issues.asterisk.org/view.php?id=16350)
 Reported by: noahisaac
 Patches: 
       20100623__issue16350.diff.txt uploaded by tilghman (license 14)

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-20 17:23 svnbot         Checkin                                      
2010-07-20 17:23 svnbot         Note Added: 0124774                          
======================================================================




More information about the asterisk-bugs mailing list