[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:49:52 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:49 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
====================================================================== 

---------------------------------------------------------------------- 
 (0111229) svnbot (reporter) - 2009-09-22 16:49
 https://issues.asterisk.org/view.php?id=15934#c111229 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 219820

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

------------------------------------------------------------------------
r219820 | tilghman | 2009-09-22 16:49:51 -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=219820 

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




More information about the asterisk-bugs mailing list