[asterisk-bugs] [Asterisk 0014133]: Subscription not removed when user becomes unsubscribed

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 12 17:57:09 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14133 
====================================================================== 
Reported By:                Skavin
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   14133
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.21.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-12-23 15:14 CST
Last Modified:              2009-10-12 17:57 CDT
====================================================================== 
Summary:                    Subscription not removed when user becomes
unsubscribed
Description: 
when using realtime peers and subscribe if a user stops registering but has
subscribed for MWI the peer will keep being re added as a peer even if
pruned.
if the peer does not reply to the notify it will destroy the association.
if there are 2 servers both querying the same database and the user has
moved from one asterisk server to the other their old server will keep
setting the regserver, ipaddr port etc to "" making it very hard for other
servers to find where this user is registered.

the only way I have found to remove the subscription is to restart
asterisk.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014193 I get two MWI subscritions for a peer (...
====================================================================== 

---------------------------------------------------------------------- 
 (0112226) dvossel (administrator) - 2009-10-12 17:57
 https://issues.asterisk.org/view.php?id=14133#c112226 
---------------------------------------------------------------------- 
I've looked into this issue for awhile and have not been able to determine
what exactly is going on.  I don't understand why the peer on the first
server keeps getting recreated and having destroy_association called.  Can
you provide both sip debug and core debug on both boxes during this
process? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-12 17:57 dvossel        Note Added: 0112226                          
======================================================================




More information about the asterisk-bugs mailing list