[asterisk-dev] chan_iax2.c: I should never be called!

Daniel Ferrer daniel at ipcontact.com.uy
Tue Sep 2 21:02:26 CDT 2008


Hi,
We've got a customer that receives a lot of IAX2 calls (normally ~80  
simultaneous calls) from other Asterisk servers. We're experiencing  
this previously reported bug: http://bugs.digium.com/view.php?id=8286.

The problem is as follow: iax2_read function is called from  
channel.c, and IAX channel gets into a infinite loop (tons of  
"chan_iax2.c: I should never be called" logs). After some time, the  
machine goes unresponsive, and only respond to ping and the only  
solution is a manual reboot (I don't know why, maybe because asterisk  
is running as a realtime priority thread?).
Asterisk version is SVN-branch-1.4-r138685 with sip_read patch (issue  
#13257).

Should I reopen issue #8286 ? The patch commited in issue #8286  
(http://svn.digium.com/view/asterisk?view=rev&revision=59341) was  
reverted in issue #9600 (http://svn.digium.com/view/asterisk? 
view=rev&revision=62038), but I think the bug is back, we suffered it  
a number of times with other asterisk versions (> 1.4.21).

[2008-09-02 12:23:24] VERBOSE[18175] logger.c:     -- IAX2/ 
voip07-1300 stopped sounds
[2008-09-02 12:23:24] VERBOSE[18175] logger.c:     -- IAX2/ 
voip07-1300 answered SIP/778-08703f60
[2008-09-02 12:23:24] WARNING[18174] format_wav.c: Unable to find our  
position
...
[2008-09-02 12:23:37] NOTICE[18175] chan_iax2.c: I should never be  
called!
[2008-09-02 12:23:37] NOTICE[18175] chan_iax2.c: I should never be  
called!

I'll wait for your comments...
thanks

--
Ing. Daniel Ferrer
IPContact Software S.R.L.
(+5982) 4025420





More information about the asterisk-dev mailing list