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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 12 11:33:08 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:33 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 ...
====================================================================== 

---------------------------------------------------------------------- 
 (0121798) ebroad (manager) - 2010-05-12 11:33
 https://issues.asterisk.org/view.php?id=17306#c121798 
---------------------------------------------------------------------- 
In __messagecount() change:
---
if (fold == 0) { /* INBOX */
			return vms_p->newmessages;
		}
		if (fold == 1) { /* Old messages */
			return vms_p->oldmessages;
		}
		if (fold == 11) {/*Urgent messages*/
		 	return vms_p->urgentmessages;
		}
---
to this
---
                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;
		} 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-12 11:33 ebroad         Note Added: 0121798                          
======================================================================




More information about the asterisk-bugs mailing list