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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 21 18:39:37 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:                     feedback
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 18:39 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 (...
====================================================================== 

---------------------------------------------------------------------- 
 (0112593) Skavin (reporter) - 2009-10-21 18:39
 https://issues.asterisk.org/view.php?id=14133#c112593 
---------------------------------------------------------------------- 
yes they share the same table allowing users to register to any server and
to extensions logic to look at the reg server to know which server the user
is registered on.

this is the only issue I have come across with them sharing all real time
tables. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-21 18:39 Skavin         Note Added: 0112593                          
======================================================================




More information about the asterisk-bugs mailing list