[asterisk-bugs] [Asterisk 0014207]: iax2 trunked channels not being cleared
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Apr 1 13:33:51 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/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: assigned
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-04-01 13:33 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.
======================================================================
----------------------------------------------------------------------
(0102549) monettes (reporter) - 2009-04-01 13:33
http://bugs.digium.com/view.php?id=14207#c102549
----------------------------------------------------------------------
I had to restart Asterisk after changing the iax.conf file to get rid of
the zombie channels.
Here's my iax.conf file:
; Inter-Asterisk eXchange driver definition
;
; This configuration is re-read at reload
; or with the CLI command
; reload chan_iax2.so
;
; General settings, like port number to bind to, and
; an option address (the default is to bind to all
; local addresses).
;
[general]
iaxcompat=no
nochecksums=no
delayreject=yes
language=en
bandwidth=high
disallow=all
allow=ulaw
allow=gsm
jitterbuffer=yes
forcejitterbuffer=no
maxjitterbuffer=1000
maxjitterinterps=10
resyncthreshold=1000
minregexpire = 120
maxregexpire = 300
iaxthreadcount = 256
iaxmaxthreadcount = 256
autokill=yes
maxauthreq=10
authdebug=no
=====================================
I dnot get zombie channels that stays forever. With this config in
1.4.21.2, I get a few zombie channels that expires which is normal for IAX2
(I think!).
Cheers.
Issue History
Date Modified Username Field Change
======================================================================
2009-04-01 13:33 monettes Note Added: 0102549
======================================================================
More information about the asterisk-bugs
mailing list