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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 5 13:30:46 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:30 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.


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

---------------------------------------------------------------------- 
 (0116081) svnbot (reporter) - 2010-01-05 13:30
 https://issues.asterisk.org/view.php?id=16093#c116081 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 237840

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

------------------------------------------------------------------------
r237840 | dvossel | 2010-01-05 13:30:45 -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=237840 

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




More information about the asterisk-bugs mailing list