[asterisk-bugs] [Asterisk 0017544]: [patch] TCP connection will not be closed, if device do a reregister

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 5 13:02:54 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17544 
====================================================================== 
Reported By:                marcelloceschia
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   17544
Category:                   Channels/chan_sip/TCP-TLS
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.4/1.6.2 Issues (Final Release)
Asterisk Version:           SVN 
JIRA:                       SWP-1753 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!): 271688 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-06-22 07:12 CDT
Last Modified:              2011-05-05 13:02 CDT
====================================================================== 
Summary:                    [patch] TCP connection will not be closed, if device
do a reregister
Description: 
If I use a mobile device that switches between 3G an WLAN, several tcp
ports stay open.
Only a unregister from the client does close the ports, "sip unregister
<peer>" does not.


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

---------------------------------------------------------------------- 
 (0134519) svnbot (reporter) - 2011-05-05 13:02
 https://issues.asterisk.org/view.php?id=17544#c134519 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 317196

U   branches/1.8/channels/chan_sip.c

------------------------------------------------------------------------
r317196 | mnicholson | 2011-05-05 13:02:53 -0500 (Thu, 05 May 2011) | 8
lines

Set SO_KEEPALIVE on SIP TCP sockets so that they eventually go away when a
peer
abruptly disappears.  This mostly occurs after a successful registration.

(closes issue https://issues.asterisk.org/view.php?id=17544)
Reported by: marcelloceschia
Patches:
      (modified) tcptls.patch uploaded by st (license 907)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=317196 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-05 13:02 svnbot         Checkin                                      
2011-05-05 13:02 svnbot         Note Added: 0134519                          
======================================================================




More information about the asterisk-bugs mailing list