[asterisk-bugs] [Asterisk 0010551]: IAX channel failure/crash in Trunk and Branch

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Aug 25 11:09:18 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10551 
====================================================================== 
Reported By:                darren1713
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10551
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-24-2007 11:08 CDT
Last Modified:              08-25-2007 11:09 CDT
====================================================================== 
Summary:                    IAX channel failure/crash in Trunk and Branch
Description: 
Every outbound call placed to an iax channel causes a crash:

*CLI>     -- Executing [919547097232 at outbound:1] Dial("SIP/john-08253840",
"IAX2/ftloffice/919547097232 at gsoutbound") in new stack
Core dumped

failure at
http://bugs.digium.com/view.php?id=0  peer_hash_cb (obj=0xbf1ff884, flags=8) at
strings.h:279

gdb bt's will be attached as files.
====================================================================== 

---------------------------------------------------------------------- 
 russell - 08-25-07 11:09  
---------------------------------------------------------------------- 
iax2_poke_peer() is not called in the context of a regular call at all.  It
is called for all peers in iax.conf when Asterisk loads.  At this time, if
it knows the IP address, it will go ahead and start pinging them with this
POKE.  It also gets called on a registration.  When a peer registers,
Asterisk now knows its IP and can start pinging it.

"The real question is should iax2_poke_peer really return 0 if there is a
fixed IP address, and no dnsmgr? I would think a fixed IP would function
fine with no dnsmgr."

No, it should not.  However, it doesn't do that.  It only returns early in
the case that there is _no_ IP specified, and dnsmgr is not in use, meaning
that the address is not going to magically show up at some point in the
future. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-25-07 11:09  russell        Note Added: 0069414                          
======================================================================




More information about the asterisk-bugs mailing list