[asterisk-bugs] [Asterisk 0018358]: Cannot forward voicemail with file storage backend

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 24 13:49:51 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18358 
====================================================================== 
Reported By:                cabal95
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18358
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-11-23 13:28 CST
Last Modified:              2010-11-24 13:49 CST
====================================================================== 
Summary:                    Cannot forward voicemail with file storage backend
Description: 
We are running Asterisk 1.8.0 and cannot forward voicemail.  We have "file
storage" backed voicemail with most users having notify + delete via e-mail
turned on.  The ones that have it turned off (voicemail stays on the file
system) cannot forward voicemail.  The message notification will go through
with a 0-byte attachment.

I have traced it to, I believe, the copy_message() function. At or around
line app_voicemail.c:5165 inside the copy_message() function there is a
call to vm_delete() after the message is copied. I commented out this line
and voicemail forwarding seems to be working correctly.
====================================================================== 

---------------------------------------------------------------------- 
 (0129116) Daniel Kenzelmann (reporter) - 2010-11-24 13:49
 https://issues.asterisk.org/view.php?id=18358#c129116 
---------------------------------------------------------------------- 
This is also an issue if you send the call to multiple mailboxes, e.g.
Voicemail(101&102)

Only the first mailbox will have the message, the second mailbox does not
contain anything!
Which is especially bad if you have the option "delete=1" for the first
mailbox.

I see this in the log (version is asterisk-1.8 on gentoo)
[Nov 24 19:28:41] NOTICE[3168]: app_voicemail.c:5154 copy_message: Copying
message from 101 at default to 102 at default 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-24 13:49 Daniel KenzelmannNote Added: 0129116                          
======================================================================




More information about the asterisk-bugs mailing list