<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi All,<br>
<br>
I have a problem with the latest Asterisk 1.8.4.4.<br>
<br>
I have two asterisk servers with a IAX2 trunk.<br>
Between the two asterisk server we have a link with 600ms RTT and
around 2% packetloss, bandwidth is limited to 5 mbps<br>
<br>
When I make one call, everything goes fine,<br>
but during benchmarking, Ive used sipp to connect to asterisk-a
server, that asterisk is connecting to the second asterisk-b server
into an extension with MusicOnHold.<br>
<br>
When I setup sipp to create multiple channels in a few seconds, when
hanging up, the second asterisk still thinks there are a few IAX
channels active.<br>
In the log files I see the Max retries exceeded message for the (at
the moment 12) hanging channels.<br>
I've already tried to increase the max_retries in chan_iax2.c from 4
to 10.<br>
But I still get the "Max retries exceeded messages".<br>
<br>
I can imagine that the packetloss is taking away some IAX2 packets,<br>
but 12 channels can not be closed properly, when creating 120
channels with a max_retry of 10?<br>
<br>
My main concern is, that these channels are *never* closed.<br>
I've just waited 3 whole days, but all 12 channels are still up
(according to the second asterisk server).<br>
I don't see them on the first asterisk server.<br>
<br>
If I look into the chan_iax2.c source, I see that when the
max_retries is reached, it tries to hangup the call or just destroys
the call, based on wether the owner is still known or not.<br>
But, in this case the owner is still known, but I assume a hangup is
not sent at all, because I don't see any network traphic.<br>
So do these calls really hang just forever? Or am I missing a
configuration option (like the rtptimeout in sip.conf)<br>
<br>
Does anybody have more information about this issue, or know where I
should start debugging?<br>
<br>
Thnx,<br>
Robert Cerspuy<br>
<br>
[Jul 18 09:48:43] WARNING[13771]: chan_iax2.c:3487
__attempt_transmit: Max retries exceeded to host 10.1.1.1 on
IAX2/asterisk-a-10963 (type = 6, subclass = 11, ts=318547115,
seqno=216)<br>
[Jul 18 09:48:43] WARNING[13772]: chan_iax2.c:3487
__attempt_transmit: Max retries exceeded to host 10.1.1.1 on
IAX2/asterisk-a-3320 (type = 6, subclass = 11, ts=318547154,
seqno=216)<br>
[Jul 18 09:48:43] WARNING[13770]: chan_iax2.c:3487
__attempt_transmit: Max retries exceeded to host 10.1.1.1 on
IAX2/asterisk-a-130 (type = 6, subclass = 11, ts=318547085,
seqno=216)<br>
[Jul 18 09:48:43] WARNING[13769]: chan_iax2.c:3487
__attempt_transmit: Max retries exceeded to host 10.1.1.1 on
IAX2/asterisk-a-5098 (type = 6, subclass = 11, ts=318546989,
seqno=216)<br>
[Jul 18 09:48:44] WARNING[13764]: chan_iax2.c:3487
__attempt_transmit: Max retries exceeded to host 10.1.1.1 on
IAX2/asterisk-a-401 (type = 6, subclass = 2, ts=318542897,
seqno=215)<br>
[Jul 18 09:48:44] WARNING[13767]: chan_iax2.c:3487
__attempt_transmit: Max retries exceeded to host 10.1.1.1 on
IAX2/asterisk-a-6879 (type = 6, subclass = 11, ts=318546898,
seqno=216)<br>
[Jul 18 09:48:46] WARNING[13765]: chan_iax2.c:3487
__attempt_transmit: Max retries exceeded to host 10.1.1.1 on
IAX2/asterisk-a-199 (type = 6, subclass = 11, ts=318547098,
seqno=216)<br>
[Jul 18 09:48:46] WARNING[13772]: chan_iax2.c:3487
__attempt_transmit: Max retries exceeded to host 10.1.1.1 on
IAX2/asterisk-a-7422 (type = 6, subclass = 2, ts=318542908,
seqno=215)<br>
[Jul 18 09:48:47] WARNING[13768]: chan_iax2.c:3487
__attempt_transmit: Max retries exceeded to host 10.1.1.1 on
IAX2/asterisk-a-907 (type = 6, subclass = 11, ts=318547309,
seqno=216)<br>
[Jul 18 09:48:47] WARNING[13772]: chan_iax2.c:3487
__attempt_transmit: Max retries exceeded to host 10.1.1.1 on
IAX2/asterisk-a-134 (type = 6, subclass = 11, ts=318547299,
seqno=216)<br>
<br>
[root@asterisk-b asterisk]# rasterisk -nx "core show channels"<br>
Channel Location State
Application(Data) <br>
IAX2/asterisk-a-74 699@from-c:5 Up
MusicOnHold() <br>
IAX2/asterisk-a-11 699@from-c:5 Up
MusicOnHold() <br>
IAX2/asterisk-a-68 699@from-c:5 Up
MusicOnHold() <br>
IAX2/asterisk-a-90 699@from-c:5 Up
MusicOnHold() <br>
IAX2/asterisk-a-10 699@from-c:5 Up
MusicOnHold() <br>
IAX2/asterisk-a-40 699@from-c:5 Up
MusicOnHold() <br>
IAX2/asterisk-a-19 699@from-c:5 Up
MusicOnHold() <br>
IAX2/asterisk-a-50 699@from-c:5 Up
MusicOnHold() <br>
IAX2/asterisk-a-50 699@from-c:5 Up
MusicOnHold() <br>
IAX2/asterisk-a-33 699@from-c:5 Up
MusicOnHold() <br>
IAX2/asterisk-a-13 699@from-c:5 Up
MusicOnHold() <br>
IAX2/asterisk-a-13 699@from-c:5 Up
MusicOnHold() <br>
12 active channels<br>
12 active calls<br>
122 calls processed<br>
<br>
<br>
<div class="moz-signature">-- <br>
<b>Exa-Omicron</b><br>
Patroonsweg 10<br>
3892 DB Zeewolde<br>
Tel.: 088-OMICRON (66 427 66)<br>
<a class="moz-txt-link-freetext" href="http://www.exa-omicron.nl">http://www.exa-omicron.nl</a></div>
</body>
</html>