[asterisk-bugs] [Asterisk 0018740]: Voicemail files out of sequence (voicemail message re-sequencing not always working correctly)

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 7 22:34:34 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18740 
====================================================================== 
Reported By:                Godillon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18740
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.8.3-rc2 
JIRA:                       SWP-3047 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-03 09:02 CST
Last Modified:              2011-02-07 22:34 CST
====================================================================== 
Summary:                    Voicemail files out of sequence  (voicemail message
re-sequencing not always working correctly)
Description: 
Sometime, the voicemail message re-sequencing is not working correctly.

If one message is in inbox directory, it should be msg0000.
Sometime it is not correct. it begin with  msg0001 or msg0002 or
msg003.....
So the users can't listen his message. 

I can reproduce this problem with this method :

-I left 3 new messages in mailbox XXXX.
-I logged into mailbox XXXX.
-listened to message msg0000 and pressed 7 to delete.
-pressed 6 to listen to message 0001 and pressed 7 to delete.
-pressed 6 to listen to message 0002 and pressed 9 to save and 0 to save
to new folder.

I checked the mailbox directory and message 0002 was saved into new folder
as msg0003.txt msg0003.WAV.
-hung up after saving message.
-logged into mailbox XXXX to listen to new messages (msg0003).
-pressed 1 to listen but playback failed because the saved message was
filed as msg0003 instead of 0000.

I tried this patch.
http://svn.digium.com/view/asterisk?view=rev&revision=303679. 

But this is not working.
My mailbox crashed with this patch. i got .lock file in my inbox
directory.
i got this each time i left a message or tried to listen one.

So i reinstalled a clean 1.8.3-rc2 version.

any working patch for the version 1.8.3-rc2?

it's the same problem with the version 1.8.2.2.
====================================================================== 

---------------------------------------------------------------------- 
 (0131635) elguero (reporter) - 2011-02-07 22:34
 https://issues.asterisk.org/view.php?id=18740#c131635 
---------------------------------------------------------------------- 
Just a note:

The CLI message you posted in your note above suggests that you do not
have the patch listed above applied.  Without that patch, there is no
re-sequencing performed since the code is simply not there to do that and
will always result in the issue you mention.

What I am curious about, is that you say with the patch applied, it wasn't
working either (you say the mailbox crashed?).  Can you provide a debug log
with the applied patch?  You mention revision 303679 but that is for trunk.
 If you are running 1.8.3-rc2, you need revision 303678 since that is for
the 1.8 branch. 
http://svnview.digium.com/svn/asterisk?view=revision&revision=303678

Also,
http://svnview.digium.com/svn/asterisk?view=revision&revision=304985, fixes
an error in the syntax of that patch.  

I have been unable to reproduce this problem following the steps outlined
in this bug report and in bug report
https://issues.asterisk.org/view.php?id=18685 with the patch applied that was
supposed to have solved this issue.

With the patch applied, the CLI should read: "open_mailbox: Resequencing
mailbox:...", when it detects the message count as being different from the
last message index.

I hope this helps.

Thanks 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-07 22:34 elguero        Note Added: 0131635                          
======================================================================




More information about the asterisk-bugs mailing list