[asterisk-bugs] [Asterisk 0014950]: Greetings are stored as IMAP messages even when imapgreetings=no

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 24 15:35:30 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14950 
====================================================================== 
Reported By:                noahisaac
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14950
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.7 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 189816 
Request Review:              
====================================================================== 
Date Submitted:             2009-04-22 14:49 CDT
Last Modified:              2009-04-24 15:35 CDT
====================================================================== 
Summary:                    Greetings are stored as IMAP messages even when
imapgreetings=no
Description: 
When using IMAP voicemail storage, every time greetings are recorded, they
are stored as IMAP messages, even when imapgreetings is set to 'no' in
voicemail.conf.
====================================================================== 

---------------------------------------------------------------------- 
 (0103765) noahisaac (reporter) - 2009-04-24 15:35
 http://bugs.digium.com/view.php?id=14950#c103765 
---------------------------------------------------------------------- 
Woops again!  The additional information section should read more like
this:

In 1.6.2.X, before the greetings are stored, there's a check to see if the
system is not using IMAP voicemail, and if it isn't, the recorded file is
stored and then disposed of. It looks like this:

#ifndef IMAP_STORAGE
    STORE(recordfile, vmu->mailbox, vmu->context, -1, chan, vmu, fmt,
*duration, vms, flag);
    DISPOSE(recordfile, -1);
#endif

This fixes the problem of greetings being stored as IMAP messages when
they should be stored as files, but I think this precludes storing
greetings as IMAP messages. Instead, I think we need to modify the target
of the STORAGE() macro - imap_store_file() - to detect if we're storing
greetings as IMAP messages or not. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-24 15:35 noahisaac      Note Added: 0103765                          
======================================================================




More information about the asterisk-bugs mailing list