[asterisk-bugs] [Asterisk 0017306]: Sequencing numbers of IMAP email messages is incorrect
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri May 7 12:08:04 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-07 12:08 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
----------------------------------------------------------------------
child of 0016350 Deleting Multiple IMAP voicemails does ...
======================================================================
----------------------------------------------------------------------
(0121572) uxbod (reporter) - 2010-05-07 12:08
https://issues.asterisk.org/view.php?id=17306#c121572
----------------------------------------------------------------------
Normal VMs :) In app_voicemail.c this, IMHO, is where it is performing the
search for IMAP stored messages:
pgm = mail_newsearchpgm ();
hdr = mail_newsearchheader ("X-Asterisk-VM-Extension",
(char *)(!ast_strlen_zero(vmu->imapvmshareid) ? vmu->imapvmshareid :
mailbox));
hdr->next = mail_newsearchheader("X-Asterisk-VM-Context",
(char *) S_OR(context, "default"));
and that is contained within proc __messagecount(). If no VMs are there
then I see why msgcount + 1 would be used to increment from zero too one.
Yet if one has already been left then why would msgcount be two already ?
That is the mystery and I do not know enough 'C' to be able to work out the
code :( Anything I can do to help I will as this is causing our clients
quite a bit of pain. I did raise it with Zimbra support who checked their
IMAP code and came to the same conclusion something was happening on the
Asterisk side :- http://bugzilla.zimbra.com/show_bug.cgi?id=46704
Issue History
Date Modified Username Field Change
======================================================================
2010-05-07 12:08 uxbod Note Added: 0121572
======================================================================
More information about the asterisk-bugs
mailing list