[asterisk-bugs] [Asterisk 0012764]: build app_voicemail with IMAP_STORAGE .voicemessage forwording failed.

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 9 15:11:56 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12764 
====================================================================== 
Reported By:                balsamcn
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   12764
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.20 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-30-2008 15:52 CDT
Last Modified:              07-09-2008 15:11 CDT
====================================================================== 
Summary:                    build app_voicemail with IMAP_STORAGE .voicemessage
forwording failed.
Description: 
build voicemail with IMAP_STORAGE. call into voicemail box to forward a
message listened to another voice mailbox extension.got failed.
on cli:
Warning 'Unable to open
/var/spool/asterisk/voicemail/default/202//msg0000.txt in read-only mode'.
As fact, the file does not exit there when attempt to forward the
message.
the differece is you can find the wav file at
/var/spool/asterisk/voicemail/defaul/202/tmp/msg0000.WAV when listening.
Things like IAMP works sometimes but on forwarding.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0012896 Cannot transfer voicemail in IMAP
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 07-09-08 15:11  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 129439

A   team/mmichelson/imap_consistency/

------------------------------------------------------------------------
r129439 | mmichelson | 2008-07-09 15:11:38 -0500 (Wed, 09 Jul 2008) | 21
lines

Based on the problem reported in issue http://bugs.digium.com/view.php?id=12764,
I did some investigation of
app_voicemail
and have found massive inconsistencies when using IMAP storage and using
other types of
storage.

When using ODBC storage, if a file needs to be manipulated, the file is
downloaded
and placed into temporary storage on the file system along with a text
file with
metadata. This way, the message can be manipulated in the same way as if
file storage
were used.

IMAP, on the other hand, never actually creates a text file and seems to
be inconsistent
with when the sound file is downloaded and destroyed.

The goal of this branch is to make IMAP's RETRIEVE and DISPOSE macros
mimick the
ODBC implementation. By taking these simple steps, I believe that several
of the
IMAP-only routines in app_voicemail can be completely removed, thus
reducing the
code size and making app_voicemail more consistent.

I've created this branch against the 1.4 Asterisk branch because in my
view, all of
this work is a huge bug fix.


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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-09-08 15:11  svnbot         Note Added: 0089969                          
======================================================================




More information about the asterisk-bugs mailing list