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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 21 14:53:48 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-21 14:53 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 (...
====================================================================== 

---------------------------------------------------------------------- 
 (0112580) dvossel (administrator) - 2009-10-21 14:53
 https://issues.asterisk.org/view.php?id=14133#c112580 
---------------------------------------------------------------------- 
How do you have the database setup? Are you using two separate sipregs
tables or do both boxes share the same registration information?  If they
share the registration information that is a big problem. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-21 14:53 dvossel        Note Added: 0112580                          
======================================================================




More information about the asterisk-bugs mailing list