[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
Tue Feb 8 10:26:00 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-08 10:26 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0131672) Godillon (reporter) - 2011-02-08 10:26
 https://issues.asterisk.org/view.php?id=18740#c131672 
---------------------------------------------------------------------- 
aragon, 

yes i got a core.localhost... file in my /tmp directory after the
Disconnected from server.

the steps are :
1) In the file voicemail.c in asterisk-1.8.3-rc2/apps directory.
i changed the source code with this one : voicemail.c of the patch
http://svnview.digium.com/svn/asterisk?view=revision&revision=304985  

2)i install the new version 1.8.3-rc2 patched
with 
./configure
make
make install

3) i restart asterisk with the command : core restart now

4)i leave one message in a empty mailbox.
the message is recorded correctly.

5) i leave another message in the same mailbox.
I got a "Disconnected from server" and a new core file in /tmp directory. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-08 10:26 Godillon       Note Added: 0131672                          
======================================================================




More information about the asterisk-bugs mailing list