[asterisk-bugs] [Asterisk 0014919]: RTP ports dont get closed with SIP over TCP

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Apr 20 12:08:28 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14919 
====================================================================== 
Reported By:                vrban
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   14919
Category:                   Channels/chan_sip/TCP-TLS
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 188895 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-04-16 20:02 CDT
Last Modified:              2009-04-20 12:08 CDT
====================================================================== 
Summary:                    RTP ports dont get closed with SIP over TCP
Description: 
Iam using sipp to stress test chan_sip with a higher load of SIP over TCP
calls.
And i noticed that the RTP ports dont get closed. netstat shows 1000 open
udp ports after 500 finished SIP over TCP calls. And they get only closed
after i shutdown asterisk.

Tu ensure this is TCP related i have done the same test with SIP over UDP.
Then the RTP port get closed after the calls are done.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014777 No RTP ports remaining. Can't setup med...
====================================================================== 

---------------------------------------------------------------------- 
 (0103471) svnbot (reporter) - 2009-04-20 12:08
 http://bugs.digium.com/view.php?id=14919#c103471 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 189352

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_sip.c

------------------------------------------------------------------------
r189352 | file | 2009-04-20 12:08:27 -0500 (Mon, 20 Apr 2009) | 17 lines

Merged revisions 189350 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r189350 | file | 2009-04-20 14:05:15 -0300 (Mon, 20 Apr 2009) | 10 lines
  
  Fix a bug with non-UDP connections that caused dialogs to not get freed.
  
  This issue crept up because of a reference count issue on non-UDP based
dialogs.
  The dialog reference count was increased when transmitting a packet
reliably but never
  decreased. This caused the dialog structure to hang around despite being
unlinked from
  the dialogs container.
  
  (closes issue http://bugs.digium.com/view.php?id=14919)
  Reported by: vrban
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-20 12:08 svnbot         Checkin                                      
2009-04-20 12:08 svnbot         Note Added: 0103471                          
======================================================================




More information about the asterisk-bugs mailing list