[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 15:20:49 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 15:20 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.
====================================================================== 

---------------------------------------------------------------------- 
 rkelly - 06-24-08 15:20  
---------------------------------------------------------------------- 
Same issue here.
This is quite a show stopper.
Centos 5.1 x86_64 
Asterisk tag 1.4.21 from svn.

Once up for a little bit, the trunk goes down and after which, executing a
core show channels lists the channels then hangs before displaying the call
info. Performing that on the console hangs the cli. Performing the same
command from a remote console session only outputs the channel info, then
after the first fails, outputs nothing on successive executions.
IAX trunking is dead until a restart.
Our other Asterisk box is 1.4.19 and doesn't exhibit the behavior.
We just downgraded to 1.4.19 to hopefully stop this issue until resolved. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-24-08 15:20  rkelly         Note Added: 0089175                          
======================================================================




More information about the asterisk-bugs mailing list