[asterisk-bugs] [Asterisk 0016093]: SIP subscriptions are lost after a reload

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 5 13:31:45 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16093 
====================================================================== 
Reported By:                jlaroff
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   16093
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.1.6 
JIRA:                       SWP-468 
Regression:                 No 
Reviewboard Link:            
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-10-18 18:05 CDT
Last Modified:              2010-01-05 13:31 CST
====================================================================== 
Summary:                    SIP subscriptions are lost after a reload
Description: 
SIP subscriptions are not persistent between reloads.
Issuing "reload" causes subscriptions to be lost.
Issuing a "sip reload" does not have the same effect.


====================================================================== 

---------------------------------------------------------------------- 
 (0116082) svnbot (reporter) - 2010-01-05 13:31
 https://issues.asterisk.org/view.php?id=16093#c116082 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 237841

_U  branches/1.6.1/
U   branches/1.6.1/main/pbx.c

------------------------------------------------------------------------
r237841 | dvossel | 2010-01-05 13:31:44 -0600 (Tue, 05 Jan 2010) | 25
lines

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

........
  r237839 | dvossel | 2010-01-05 13:29:47 -0600 (Tue, 05 Jan 2010) | 19
lines
  
  fixes subscriptions being lost after 'module reload'
  
  During a module reload if multiple extension configs are present,
  such as both extensions.conf and extensions.ael, watchers for one
  config's hints will be lost during the merging of the other config.
  
  This happens because hint watchers are only preserved for the
  current config being merged.  The old context list is destroyed
  after the merging takes place, meaning any watchers that were not
  perserved will be removed.
  
  Now all hints are preserved during merging regardless of what config
  file is being merged.  These hints are only restored if they
  are present within the new context list.
  
  (closes issue https://issues.asterisk.org/view.php?id=16093)
  Reported by: jlaroff
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-05 13:31 svnbot         Checkin                                      
2010-01-05 13:31 svnbot         Note Added: 0116082                          
======================================================================




More information about the asterisk-bugs mailing list