[asterisk-bugs] [Asterisk 0016270]: [patch] Asterisk doesn't free udp ports

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 10 10:53:52 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16270 
====================================================================== 
Reported By:                corruptor
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16270
Category:                   Core/Netsock
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Target Version:             1.4.29
Asterisk Version:           SVN 
JIRA:                       SWP-444 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-11-18 07:48 CST
Last Modified:              2009-12-10 10:53 CST
====================================================================== 
Summary:                    [patch] Asterisk doesn't free udp ports
Description: 
I've had this problem on 1.4.26 also.
I've recently upgraded to 1.6.0.17 and problem also exists here.
Concurrent number of calls is usually not more than 25. All calls are SIP
to SIP. 

Number of udp ports used by asterisk is growing. For example at the moment
of writing this note:
34 active channels
17 active calls
1871 calls processed

Total number of udp ports open  - 1023

At the other moment it could be a little bit lower but anyway it is
growing.

There are many queues and different ivrs on the server. We also use AMI
for originating calls for our CC. 
I've noticed that asterisk writes warnings to log, for example:
WARNING[26372] chan_sip.c: Trying to destroy
"6009EE42DD5A4BDA81A18571C82B76310x0ad20c43", not found in dialog list?!?!
I don't know if it's related or not.

Please help me to debug this problem.

Sorry if I've chosen the wrong category.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015403 [patch] Session timer is not activated
related to          0015627 [patch] Asterisk runs out of sockets
====================================================================== 

---------------------------------------------------------------------- 
 (0115052) svnbot (reporter) - 2009-12-10 10:53
 https://issues.asterisk.org/view.php?id=16270#c115052 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 234095

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r234095 | tilghman | 2009-12-10 10:08:20 -0600 (Thu, 10 Dec 2009) | 17
lines

When we receive no response at all to our INVITE, allow the channel to be
destroyed.
(closes issue https://issues.asterisk.org/view.php?id=15627)
 Reported by: falves11
 Patches: 
       20091209__issue15627__1.6.0.diff.txt uploaded by tilghman (license
14)
       20091209__issue15627__1.4.diff.txt uploaded by tilghman (license
14)
 Tested by: falves11
Review: https://reviewboard.asterisk.org/r/446/
(closes issue https://issues.asterisk.org/view.php?id=15716)
Reported by: dant
(closes issue https://issues.asterisk.org/view.php?id=16270)
Reported by: corruptor
(closes issue https://issues.asterisk.org/view.php?id=15356)
Reported by: falves11
(issue https://issues.asterisk.org/view.php?id=16382)
Reported by: lftsy

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-10 10:53 svnbot         Checkin                                      
2009-12-10 10:53 svnbot         Note Added: 0115052                          
======================================================================




More information about the asterisk-bugs mailing list