[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 08:33:34 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 08:33 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.
======================================================================
----------------------------------------------------------------------
darren1713 - 08-25-07 08:33
----------------------------------------------------------------------
I have done some digging into this crash, at I do think it is related to
the recent update, but not convinced it actually fixed the problem and not
just avoid it.
Index: channels/chan_iax2.c
===================================================================
--- channels/chan_iax2.c (revision 80878)
+++ channels/chan_iax2.c (working copy)
@@ -8490,8 +8490,8 @@
static int iax2_poke_peer(struct iax2_peer *peer, int heldcall)
{
- if (!peer->maxms || (!peer->addr.sin_addr.s_addr &&
!peer->dnsmgr)) {
- /* IF we have no IP without dnsmgr, or this isn't to be
monitored, return
+ if (!peer->maxms || !peer->addr.sin_addr.s_addr) {
+ /* IF we have no IP, or this isn't to be monitored,
return
immediately after clearing things out */
peer->lastms = 0;
peer->historicms = 0;
On my box, I do not have a dnsmgr.conf file, and therefore, dnsmgr is off.
Does iax2_poke_peer get called at the beginning, setup, duration, or end of
an IAX call?
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.
Issue History
Date Modified Username Field Change
======================================================================
08-25-07 08:33 darren1713 Note Added: 0069410
======================================================================
More information about the asterisk-bugs
mailing list