<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 10 February 2015 at 09:02, jg <span dir="ltr"><<a href="mailto:webaccounts173@jgoettgens.de" target="_blank">webaccounts173@jgoettgens.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
<br>
I get an occasional similar problem, we have Mikrotik firewalls and from tcpdump monitoring on the asterisk boxes I can see that the firewall (unbidden) has changed the IAX port. Usually a firewall reset and sometimes PBX reset combination fixes it.<br>
<br>
Its odd as its only one direction, occurs rarely and with no obvious driver. So IAX is happy in one direction but not the other. And I can see packets in the unhappy point arriving on the wrong port.<br>
<br>
I couldn't fix it without kicking the router/firewall so I would say its a router problem in the Destination NAT process.<br>
<br>
Cheers Duncan<br>
<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><span class="">
Port is changed when NAT is applied from LAN to WAN.<br>
While UDP session is maintained as ESTABLISHED, that port should not change.<br>
<br>
If your peer changes constantly of session port could be UDP session<br>
is too short in NAT table on routers.<br>
You can try setting qualify=1000 (which is in ms. Default is 2000),<br>
and see if peer keeps same port.<br>
<br>
Regards.<br>
<br>
</span></blockquote></blockquote>
<a href="http://voip-info.org" target="_blank">voip-info.org</a> also has an entry about general NAT related issues, which could be relevant here<br>
<br>
I do not seem to have problems with Netgear firewalls, but other firewalls show this effect. So far it happened only on a single side, such that calls work from the other side. I already checked the open ports with nc/ncat/netcat as UDP sender and receiver on the other end. The ports are open, even when the arbitrary ports are used by Asterisk.<br>
<br>
I'll need to read a bit more and evaluate my pcap traces and possibly ask the router vendors.<br>
<br>
Thank you for your efforts.<span class="HOEnZb"><font color="#888888"><br>
<br>
jg</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
</div><div class="h5"><br></div></div></blockquote><div><br></div><div>Some firewalls have a 'consistent NAT' option that needs to be enabled, otherwise you get the symptoms described. </div></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><pre>Ishfaq Malik 
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: <a href="mailto:ish@pack-net.co.uk" target="_blank">ish@pack-net.co.uk</a>
w: <a href="http://www.pack-net.co.uk" target="_blank">http://www.pack-net.co.uk</a>

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street 
Manchester, M1 2JW
COMPANY REG NO. 04920552
</pre></div></div>
</div></div>