[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
Wed Jun 25 09:11:02 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:                     feedback
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-25-2008 09:11 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-25-08 09:11  
---------------------------------------------------------------------- 
Unfortunately when compiled with DEBUG_THREADS and DONT_OPTIMIZE  1.4.21
doesn't 
exhibit the problem. (at least not over the last 24 hours....) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-25-08 09:11  tpanton        Note Added: 0089212                          
======================================================================




More information about the asterisk-bugs mailing list