[asterisk-bugs] [Asterisk 0015934]: [patch] app_voicemail.so doesn't refresh information from database on reload

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 22 16:50:17 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15934 
====================================================================== 
Reported By:                viniciusfontes
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15934
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.26.2 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-09-22 13:38 CDT
Last Modified:              2009-09-22 16:50 CDT
====================================================================== 
Summary:                    [patch] app_voicemail.so doesn't refresh information
from database on reload
Description: 
I have Asterisk 1.4.26.2 with voicemail configured on the realtime engine.
When I change the imapuser field on the database, app_voicemail seems to
use some kind of cache, because it doesn't store the voicemail in the newly
set mailbox, not even after triggering "module reload app_voicemail.so" on
the CLI. The only way it can read the new value is by unloading and loading
the module again, as in:

*CLI> module unload app_voicemail.so
*CLI> module load app_voicemail.so
====================================================================== 

---------------------------------------------------------------------- 
 (0111230) svnbot (reporter) - 2009-09-22 16:50
 https://issues.asterisk.org/view.php?id=15934#c111230 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 219821

_U  branches/1.6.2/
U   branches/1.6.2/apps/app_voicemail.c

------------------------------------------------------------------------
r219821 | tilghman | 2009-09-22 16:50:17 -0500 (Tue, 22 Sep 2009) | 24
lines

Merged revisions 219818 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219818 | tilghman | 2009-09-22 16:43:22 -0500 (Tue, 22 Sep 2009) | 17
lines
  
  Merged revisions 219816 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r219816 | tilghman | 2009-09-22 16:37:03 -0500 (Tue, 22 Sep 2009) | 10
lines
    
    When IMAP variables were changed during a reload, Voicemail did not
use the new values.
    This change introduces a configuration version variable, which ensures
that
    connections with the old values are not reused but are allowed to
expire
    normally.
    (closes issue https://issues.asterisk.org/view.php?id=15934)
     Reported by: viniciusfontes
     Patches: 
           20090922__issue15934.diff.txt uploaded by tilghman (license 14)
     Tested by: viniciusfontes
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-22 16:50 svnbot         Checkin                                      
2009-09-22 16:50 svnbot         Note Added: 0111230                          
======================================================================




More information about the asterisk-bugs mailing list