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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 5 13:29:48 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:                     assigned
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:              
====================================================================== 
Date Submitted:             2009-10-18 18:05 CDT
Last Modified:              2010-01-05 13:29 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.


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

---------------------------------------------------------------------- 
 (0116080) svnbot (reporter) - 2010-01-05 13:29
 https://issues.asterisk.org/view.php?id=16093#c116080 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 237839

U   trunk/main/pbx.c

------------------------------------------------------------------------
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=237839 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-05 13:29 svnbot         Note Added: 0116080                          
======================================================================




More information about the asterisk-bugs mailing list