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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Oct 23 11:52:40 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-23 11:52 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 (...
====================================================================== 

---------------------------------------------------------------------- 
 (0112669) dvossel (administrator) - 2009-10-23 11:52
 https://issues.asterisk.org/view.php?id=14133#c112669 
---------------------------------------------------------------------- 
Skavin, ah yes, you are correct. Using the same table but setting the
regserver should not cause any issues with registrations being overridden.

Have you tried the 'subscribemwi' option to only send notifications when
the user is subscribed?  If you have a defaultip set it may be possible for
mwi subscriptions to be sent out to the user after the registration
expires.

What version are you currently using to reproduce this issue?  It was
reported against 1.4.21.1.  That is old code and some improvements have
been made since then.  If it is at all possible, please update to 1.4.26.2
and verify that this issue still exists. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-23 11:52 dvossel        Note Added: 0112669                          
======================================================================




More information about the asterisk-bugs mailing list