[asterisk-bugs] [Asterisk 0012925]: IAX2 channel gets stuck, causes CLI to get stuck, * won't restart
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Jun 24 08:00:16 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12925
======================================================================
Reported By: ruffle
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12925
Category: Channels/chan_iax2
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.4.21-rc1
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 06-24-2008 06:29 CDT
Last Modified: 06-24-2008 08:00 CDT
======================================================================
Summary: IAX2 channel gets stuck, causes CLI to get stuck, *
won't restart
Description:
Using 1.4.21, I've just setup a VOIP incoming trunk from a third party
(Gradwell.co.uk) that connects via IAX.
When a call comes in on this trunk, the call often (>50% of the time) gets
'stuck' with no audio being passed and/or the channel stays up after the
end of the call.
When * gets into this state, an existing CLI won't do tab expansion of
commands and stalls if you try. (type show ch<TAB> and it just sits there
till I give it a keyboard interrupt).
Typing 'show channels' in full tends to show the channels the first time
and then shows nothing. Firing up another CLI and typing 'show channels' in
full again shows the channels the first time and then returns nothing. Tab
expansion also gets stuck after the first 'show channels'. ie:
asterisk*CLI> show channels
Channel Location State Application(Data)
SIP/112-0076cb60 (None) Up Bridged
Call(IAX2/GradwellVOIP
asterisk*CLI> show channels
asterisk*CLI> show ch<TAB>
The CLI stays like this till I kill it.
Starting a fresh CLI I get exactly the same as shown above.
The IAX2 channel never goes away. * won't restart (I have to kill -9).
I'm using 1.4.21. Reverting to 1.4.20.1 and the problem doesn't seem to
appear.
I even tried the patch 123391 and that didn't solve the problem.
======================================================================
----------------------------------------------------------------------
tpanton - 06-24-08 08:00
----------------------------------------------------------------------
I can reproduce this on a quad core SuSE 10.1 machine.
Linux api 2.6.16.54-0.2.5-smp http://bugs.digium.com/view.php?id=1 SMP Mon Jan
21 13:29:51 UTC 2008 x86_64
x86_64 x86_64 GNU/Linux
At first I thought it was related to my cdr_odbc - it isn't
A bit more experimentation and I've learnt the following:
1) it isn't present in 1.4.4
2) it still happens in 1.4.21 if I disable cdr_odbc - but less often.
3) it freezes the CLI - so I don't think 'core show locks' will work.
4) it (or something similar) is in
http://bugs.digium.com/view.php?id=12925
The machine isn't in production (yet) so if there are other tests I can
run I'd be happy to.
Issue History
Date Modified Username Field Change
======================================================================
06-24-08 08:00 tpanton Note Added: 0089144
======================================================================
More information about the asterisk-bugs
mailing list