[asterisk-bugs] [Asterisk 0014207]: iax2 trunked channels not being cleared

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 15 16:17:09 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14207 
====================================================================== 
Reported By:                clive18
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   14207
Category:                   Channels/chan_iax2
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.2.X 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.2  
SVN Revision (number only!): 162868 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-01-10 14:53 CST
Last Modified:              2009-05-15 16:17 CDT
====================================================================== 
Summary:                    iax2 trunked channels not being cleared
Description: 
It appears to me as a memory leak, as many old iax2 channels are appearing
in the "iax2 show netstats" as:
(None)                    1000    0   40     0   0     0    0      0    0 
  0     0   0     0    0      0

At present I see 36 out of 57 of these channels reported on "iax2 show
netstats", but when I do a "show channels" there are only 21 calls.

In my humble opinion, something on the channel is not being closed
properly at the end of a call.
Before I was using version 1.2.6 and had no issue at all. I know its been
a long time since then, but I know something is now broken, although I am
not sure which is the latest version which has this behavior.

If I leave asterisk to run on its own, after 1 week there are about 60 of
these ghost channels displayed, and the number keeps increasing with time.
====================================================================== 

---------------------------------------------------------------------- 
 (0104854) svnbot (reporter) - 2009-05-15 16:17
 https://issues.asterisk.org/view.php?id=14207#c104854 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 194836

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_iax2.c
U   branches/1.6.2/channels/iax2-parser.c
U   branches/1.6.2/channels/iax2-parser.h
U   branches/1.6.2/channels/iax2.h

------------------------------------------------------------------------
r194836 | dvossel | 2009-05-15 16:17:08 -0500 (Fri, 15 May 2009) | 31
lines

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

................
  r194833 | dvossel | 2009-05-15 15:52:12 -0500 (Fri, 15 May 2009) | 24
lines
  
  Merged revisions 194557,194685 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r194557 | dvossel | 2009-05-14 17:59:43 -0500 (Thu, 14 May 2009) | 10
lines
    
    IAX2 "Ghost" Channels
    
    There is a bug tracker issue where people are reporting "Ghost"
channels in their 'iax2 show channels' output.  The confusion is caused by
channels being listed as "(NONE)" with format "unknown".  These are not
channels of coarse.  They are usually just pending registration or poke
requests, but it is confusing output.  To help make sense of this I have
added two columns to 'iax2 show channels'.  One shows the first message
which started the transaction, and the second shows the last message sent
by either side of the call.  This helps diagnose why the entry exists and
why it may not go away.
    
    (closes issue https://issues.asterisk.org/view.php?id=14207)
    Reported by: clive18
    
    Review: https://reviewboard.asterisk.org/r/246/
  ........
    r194685 | dvossel | 2009-05-15 10:40:37 -0500 (Fri, 15 May 2009) | 6
lines
    
    Update to previous IAX2 "Ghost" Channels patch.
    
    Fixed some comments made on reviewboard for the previous patch.
    
    (issue https://issues.asterisk.org/view.php?id=14207)
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-15 16:17 svnbot         Checkin                                      
2009-05-15 16:17 svnbot         Note Added: 0104854                          
======================================================================




More information about the asterisk-bugs mailing list