[asterisk-bugs] [Asterisk 0014008]: Asterisk logs: Max retries exceeded to host on IAX/peer (type = 6, subclass = 11) but these packages can't be found in a tcpdump

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 2 18:48:20 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14008 
====================================================================== 
Reported By:                kwark
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14008
Category:                   Channels/chan_iax2
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.21.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-02 10:56 CST
Last Modified:              2008-12-02 18:48 CST
====================================================================== 
Summary:                    Asterisk logs: Max retries exceeded to host on
IAX/peer (type = 6, subclass = 11) but these packages can't be found in a
tcpdump
Description: 
During the last 2 months I had a couple of asterisk "crashes", each time
the logs get spammed with lines like:

[Dec  1 20:18:55] WARNING[1812] chan_iax2.c: Max retries exceeded to host
89.146.34.134 on IAX2/locografix-5656 (type = 6, subclass = 2, ts=4978257,
seqno=230)

During the last I had the opportunity  to make a tcpdump (tshark -w
/tmp/foo port 4569), but this tcpdump only contains normal iax2 traffic for
this host:
pokes/pongs/acks and regreqs/regacks/acks
So the only subclass I have in the cap are 3,4,13,15 and 30.

During the previous "crash" the problem started with 1 iax peer, but over
the course of 30m the max retries log entries started to appear for almost
all iax peers (sadly no packetdump from this crash).

Next time I'll try to remember to dump all interfaces (2 ethernet (1
external, 1 lan) and loopback), maybe somehow asterisk is routing the
traffic to the wrong interface. 

Restarting asterisk fixes all problems.

This machine is the gateway to the ISDN network, the peers connect thru
iax trunks.
====================================================================== 

---------------------------------------------------------------------- 
 (0095702) Corydon76 (administrator) - 2008-12-02 18:48
 http://bugs.digium.com/view.php?id=14008#c95702 
---------------------------------------------------------------------- 
This patch should, at the very least tell you why the packets aren't
getting delivered.  It's possible that the frames are hanging out past the
point where they should be destroyed, or it's also possible that something
is wrong with the network, and a permanent failure has resulted.  In either
case, we should output that to the logs and we are not currently.

Patch is against the current 1.4 SVN, which may be slightly different than
1.4.21.2. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-02 18:48 Corydon76      Note Added: 0095702                          
======================================================================




More information about the asterisk-bugs mailing list