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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 4 16:18:00 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14207 
====================================================================== 
Reported By:                clive18
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14207
Category:                   Channels/chan_iax2
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     feedback
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:              
====================================================================== 
Date Submitted:             2009-01-10 14:53 CST
Last Modified:              2009-02-04 16:17 CST
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 (0099459) Brett Matthews (reporter) - 2009-02-04 16:17
 http://bugs.digium.com/view.php?id=14207#c99459 
---------------------------------------------------------------------- 
I have the same issue with trunks between our offices. All using 1.4.21.2.
All boxes showing similar issues. Below are dud channels to both our VoIP
provider, and to another office on a trunked channel.

begapabx*CLI> iax2 show channels 
Channel               Peer             Username    ID (Lo/Rem)  Seq
(Tx/Rx)  Lag      Jitter  JitBuf  Format
(None)                59.154.32.66     2707        01085/03839 
00002/00002  00000ms  0000ms  0040ms  unknow
(None)                59.154.32.66     2707        01459/04580 
00002/00002  00000ms  0000ms  0040ms  unknow
(None)                59.154.32.66     2707        02447/06946 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                59.154.32.66     2707        08649/03051 
00002/00002  00000ms  0000ms  0040ms  unknow
(None)                59.154.32.66     2707        08875/14002 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                59.154.32.66     2707        10545/13002 
00002/00002  00000ms  0000ms  0040ms  unknow
(None)                59.154.32.66     2707        12379/03152 
00002/00002  00000ms  0000ms  0040ms  unknow
(None)                59.154.32.66     2707        12557/03747 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                59.154.32.66     2707        16374/06228 
00002/00002  00000ms  0000ms  0040ms  unknow
(None)                192.168.2.60     begambl     16384/00957 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                192.168.2.60     begambl     16385/12993 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                192.168.2.60     begambl     16386/03190 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                192.168.2.60     begambl     16387/06712 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                192.168.5.20     begaeden    16388/13416 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                192.168.5.20     begaeden    16389/13203 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                192.168.5.20     begaeden    16390/08487 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                192.168.5.20     begaeden    16391/09938 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                192.168.5.20     begaeden    16392/07845 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                192.168.5.20     begaeden    16393/10026 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                192.168.5.20     begaeden    16394/06473 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                192.168.2.60     begambl     16395/11629 
00002/00002  00000ms  -0001ms  0000ms  unknow
(None)                192.168.2.60     begambl     16397/05709 
00002/00002  00000ms  -0001ms  0000ms  unknow 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-04 16:17 Brett Matthews Note Added: 0099459                          
======================================================================




More information about the asterisk-bugs mailing list