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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Aug 8 12:05:15 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17544 
====================================================================== 
Reported By:                marcelloceschia
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17544
Category:                   Channels/chan_sip/TCP-TLS
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.9 
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:              
====================================================================== 
Date Submitted:             2010-06-22 07:12 CDT
Last Modified:              2010-08-08 12:05 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.


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

---------------------------------------------------------------------- 
 (0125695) marcelloceschia (reporter) - 2010-08-08 12:05
 https://issues.asterisk.org/view.php?id=17544#c125695 
---------------------------------------------------------------------- 
I added two patches for asterisk 1.6.2 and 1.8
The patch checks if there is allready a open tcp connection for this peer,
if there is one it will close this connection and continues with the new
one.
Also added socket option patched by st. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-08 12:05 marcelloceschiaNote Added: 0125695                          
======================================================================




More information about the asterisk-bugs mailing list