[asterisk-bugs] [Asterisk 0017306]: Sequencing numbers of IMAP email messages is incorrect

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 12 11:43:06 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17306 
====================================================================== 
Reported By:                uxbod
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17306
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.6 
JIRA:                       SWP-1432 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-07 08:28 CDT
Last Modified:              2010-05-12 11:43 CDT
====================================================================== 
Summary:                    Sequencing numbers of IMAP email messages is
incorrect
Description: 
Left six voicemails which were all successfully delivered to the IMAP
server.  On checking them the sequence numbers were not sequential.  Screen
shot attached.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0017135 Message count incorrect
child of            0016350 Deleting Multiple IMAP voicemails does ...
====================================================================== 

---------------------------------------------------------------------- 
 (0121799) uxbod (reporter) - 2010-05-12 11:43
 https://issues.asterisk.org/view.php?id=17306#c121799 
---------------------------------------------------------------------- 
Replaced code and now looks like:

if (vms_p) {
                ast_debug(3, "Returning before search - user is logged
in\n");
                if (fold == 0 && urgent == 0) { /* INBOX */
                        return vms_p->newmessages;
                }
                if (fold == 1) { /* Old messages */
                        return vms_p->oldmessages;
                }
                if (fold == 0 && urgent == 1) {/*Urgent messages*/
                        return vms_p->urgentmessages;
                }
        }

The same problem persists.  Two VMs left and they were labelled:

X-Asterisk-VM-Message-Num: 1
X-Asterisk-VM-Server-Name: 
X-Asterisk-VM-Context: voicemail

-- and --

X-Asterisk-VM-Message-Num: 3
X-Asterisk-VM-Server-Name: 
X-Asterisk-VM-Context: voicemail 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-12 11:43 uxbod          Note Added: 0121799                          
======================================================================




More information about the asterisk-bugs mailing list