[asterisk-bugs] [Asterisk 0015117]: crash in voicemail when more than maxmsg already stored in folder

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 1 07:53:06 CDT 2009


The following issue has been CLOSED 
====================================================================== 
https://issues.asterisk.org/view.php?id=15117 
====================================================================== 
Reported By:                sberthelot
Assigned To:                dbrooks
====================================================================== 
Project:                    Asterisk
Issue ID:                   15117
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.2.0-beta2 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-05-15 05:31 CDT
Last Modified:              2009-07-01 07:53 CDT
====================================================================== 
Summary:                    crash in voicemail when more than maxmsg already
stored in folder
Description: 
I've looked into the voicemail bug reports and did not find this one, so I
hope it's not duplicate (since it's very trivial)

I have installed asterisk 1.6.2.0-beta2
It was an upgrade from a 1.4.x system but I don't think it's relevant
here.
There were some voicemail boxes with a lot of messages (around 60-80) and
I wanted to use the upgrade to also set a maxmsg count in voicemail.conf
(I've put maxmsg=20 in voicemail.conf, previously it was commented)

I have asked my users to purge their boxes and when they go to the
maxmsg+1 th message asterisk crashes !
Nothing specific in debug or full log more than :
[May 15 12:09:42] WARNING[18594] app_voicemail.c: No message attribute
file?!! (/var/spool/asterisk/voicemail/default/212/Old/msg0019.txt)

It's always reproducible until I empty their voicemail boxes by hand on
the filesystem.

I know that setting the value lower than the count of messages in a box
could make some messages unreadable but certainly not to a complete
asterisk crash!

I suspect that on a running system (without upgrading asterisk) lowering
maxmsg with voicemail boxes having more than the new value may lead to an
unwanted crash. I know it's a corner case but it should get treated
correctly in app_voicemail according to me ...
====================================================================== 

---------------------------------------------------------------------- 
 (0107285) lmadsen (administrator) - 2009-07-01 07:53
 https://issues.asterisk.org/view.php?id=15117#c107285 
---------------------------------------------------------------------- 
Sorry, it seems we are unable to reproduce the issue. If you are able to
provide more information about this issue that can lead to successfully
reproducing the problem (or a patch to fix it!) then please reopen the
issue. Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-01 07:53 lmadsen        Note Added: 0107285                          
2009-07-01 07:53 lmadsen        Status                   assigned => closed  
======================================================================




More information about the asterisk-bugs mailing list