<div class="gmail_quote">
<div>Thanks Dave,</div>
<blockquote style="MARGIN-RIGHT:0px" dir="ltr">
<div>We already tried &quot;NDLB-connectile-dysfunction=true&quot; as the client (Yealink T28P) is not using rport in its VIA header. But still no luck freeswitch still sending the response to the port in Contact header (5062) instead of the recieving port (14335). 5062 port is actually not valid as the client is behind NAT and only can get the response if freeswitch will send it to 14335 port.</div>

<div> </div>
<div>Do you have any other idea about this?</div>
<div>:-( .........</div></blockquote>
<div>Regards,</div>
<div>Belint</div>
<div> </div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">---------- Forwarded message ----------<br>From: &quot;Dave R. Kompel&quot; &lt;<a href="mailto:drk@drkngs.net">drk@drkngs.net</a>&gt;<br>
To: &quot;FreeSWITCH Users Help&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>Cc: <br>Date: Thu, 07 Jun 2012 21:35:56 -0700<br>Subject: Re: [Freeswitch-users] Freeswitch is responding to contact&#39;s port when client behind NAT<br>
<u></u>
<div>
<div>Sorry for the long delay, but here&#39;s your answer:</div>
<div> </div>
<div>It&#39;s going to go to the address in the un-altered VIA header, unless RPORT gets sent it the VIA. If you have agressive_nat_detection turned on, and the client puts RPORT in the via, it will work fine. If you have a broken device that won&#39;t do it, then set the variable &quot;NDLB-connectile-dysfunction=true&quot; in the users directory enter (XML) or other, what ever you are using. That will cause the contact to be re-written to the transport address from where it came (both ip address and port) and the response will also be sent there.</div>

<div> </div>
<div>--Dave</div><br>
<blockquote style="BORDER-LEFT:#0000ff 2px solid;PADDING-LEFT:5px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
<hr>
<b>From:</b> BELint Inc [mailto:<a href="mailto:belintinc@gmail.com" target="_blank">belintinc@gmail.com</a>]<br><b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b>Sent:</b> Thu, 07 Jun 2012 10:56:07 -0700<br><b>Subject:</b> Re: [Freeswitch-users] Freeswitch is responding to contact&#39;s port when client behind NAT<br><br>Does any one know its solutions, 
<div>Guys please help, its urgent. I am even unable to register my phones :-(</div>
<div><br></div>
<div>Regards,<br><br>
<div class="gmail_quote">On Thu, Jun 7, 2012 at 9:20 AM, BELint Inc <span>&lt;<a href="mailto:belintinc@gmail.com" target="_blank">belintinc@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><span style="FONT-FAMILY:verdana,sans-serif">Hi All,</span><br style="FONT-FAMILY:verdana,sans-serif"><br style="FONT-FAMILY:verdana,sans-serif">

<div style="FONT-FAMILY:verdana,sans-serif;MARGIN-LEFT:40px">We`ve been using freeswitch since very long, It was good all over but it got stuck to a simple yet complex situation. We have Yealink T28P series phones behind NAT and freeswitch is unable to get them register. In the scenario freeswitch is at public IP. The reason we think is that freeswitch is using sip port in contact header to respond to.<br>
<br>Is there anyway we can avoid this or force it to always send the response to destination IP instead of contact or via header ports because clients are behind NAT and response can only reach them if it respond to destination IP &amp; PORT.<br>
<br>Please revert if someone know how to solve this problem. It is very urgent.<br></div><br style="FONT-FAMILY:verdana,sans-serif"><span style="FONT-FAMILY:verdana,sans-serif">Regards</span><span><font color="#888888"><br style="FONT-FAMILY:verdana,sans-serif">
<span style="FONT-FAMILY:verdana,sans-serif">BELint</span><br></font></span></blockquote></div><br></div></blockquote>
<div> </div></div></blockquote></div>