[asterisk-bugs] [Asterisk 0018486]: [patch] Voicemail files out of sequence

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 25 11:02:42 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18486 
====================================================================== 
Reported By:                bluefox
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   18486
Category:                   Applications/app_voicemail
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.2.16-rc1 
JIRA:                       SWP-2755 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-12-16 09:50 CST
Last Modified:              2011-01-25 11:02 CST
====================================================================== 
Summary:                    [patch] Voicemail files out of sequence
Description: 
I get this regularly for some mailboxes. Can't find what they do different
than others, but it's always the same people.  I have no third-party
voicemail tools that is removing voicemails or anything else.

CLI message:
[Dec 16 10:45:43] NOTICE[5587]: app_voicemail.c:7432 open_mailbox:
Mailbox: /var/spool/asterisk/voicemail/xxxx/yyyy/INBOX, expected 0 but
found 3 message(s) in box with max threshold of 100.

In the folder, I find that messages are out of sequence.  Most times
msg000 is missing but msg0001 is there.  Other times msg0000 is there but
(let's say) msg0004 is missing so there is msg0001, 2, 3, 5 and 6.



======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018498 [patch] [regression] Resequencing of ma...
====================================================================== 

---------------------------------------------------------------------- 
 (0131017) svnbot (reporter) - 2011-01-25 11:02
 https://issues.asterisk.org/view.php?id=18486#c131017 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 303678

_U  branches/1.8/
U   branches/1.8/apps/app_voicemail.c

------------------------------------------------------------------------
r303678 | jpeeler | 2011-01-25 11:02:39 -0600 (Tue, 25 Jan 2011) | 33
lines

Merged revisions 303677 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r303677 | jpeeler | 2011-01-25 10:59:28 -0600 (Tue, 25 Jan 2011) | 26
lines
  
  Merged revisions 303676 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r303676 | jpeeler | 2011-01-25 10:58:29 -0600 (Tue, 25 Jan 2011) | 20
lines
    
    Fix voicemail sequencing for file based storage.
    
    A previous change was made to account for when the number of voicemail
messages
    exceeds the max limit to be handled properly, but it caused gaps in
the messages
    to not be properly handled. This has now been resolved.
    
    In later non 1.4 branches, it appears that resequencing wasn't even
occurring
    due from what appears and accidental code removal.
    
    (closes issue https://issues.asterisk.org/view.php?id=18498)
    Reported by: JJCinAZ
    Patches: 
          bug18498v2.patch uploaded by jpeeler (license 325)
    
    (closes issue https://issues.asterisk.org/view.php?id=18486)
    Reported by: bluefox
    Patches: 
          bug18486.patch uploaded by jpeeler (license 325)
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-25 11:02 svnbot         Checkin                                      
2011-01-25 11:02 svnbot         Note Added: 0131017                          
======================================================================




More information about the asterisk-bugs mailing list