<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 11, 2013 at 8:32 AM, Mordechay Kaganer <span dir="ltr">&lt;<a href="mailto:mkaganer@gmail.com" target="_blank">mkaganer@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">B.H.<div><br></div><div>Hello!</div><div><br></div><div>We have several Asterik boxes that are connected to PSTN using PRI cards and they are interconnected using IAX2 trunks so that incoming calls are delivered from PSTN to the servers they belong to.</div>

<div><br></div><div>In past we were using asterisk 1.4 on the server that is receiving IAX connections and everything worked as expected. Recently, we have switched to a newer box with asterisk 1.8.22 and then we began to experience sometimes a strange problem:</div>

<div><br></div><div>At some point of time, incoming IAX connections begin to get refused by the server and we get the following messages in the logs:</div><div><br></div><div><font face="courier new, monospace">WARNING[XXXX] chan_iax2.c: Too much delay in IAX2 calltoken timestamp from address X.X.X.X</font></div>

<div><br></div><div>where X.X.X.X is the IP of the PSTN-&gt;IAX gateways and all the incoming calls start to be rejected.</div><div><br></div><div>Direct PSTN calls (both incoming and outgoing) to the same server work OK. The only solution that helps is to kill the asterisk and restart it.</div>

<div><br></div><div>All the servers are connected to the same LAN segment, with gigabit switch, there is no problems with the network. No packet loss.</div><div><br></div><div>There&#39;s already bug report present with very similar issue, but it is &quot;suspended&quot; and, like stated there, the problem is very hard to reproduce.</div>

<div><br></div><div>See: <a href="https://issues.asterisk.org/jira/browse/ASTERISK-21762" target="_blank">https://issues.asterisk.org/jira/browse/ASTERISK-21762</a></div><span class="HOEnZb"><font color="#888888"><div><br>
</div><div><br>-- <br><div dir="ltr"><div style="direction:rtl">
<font color="#666666">משיח NOW!</font></div></div></div></font></span></div></blockquote><div><br></div><div style>Use SIP and never look back.</div><div style><br></div><div style>Thanks,</div><div style>Steve Totaro </div>
</div></div></div>