<html><body bgcolor="#FFFFFF"><div>I think your question here is can you force the nat device to pick a specific port to map?<br><br>On Apr 14, 2010, at 5:49 AM, Jonas Gauffin &lt;<a href="mailto:jonas.gauffin@gmail.com">jonas.gauffin@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>A follow up question:&nbsp;<div><br></div><div>Can I force freeswitch to use a specific port (saved in user directory) when the phone asks for "rport", instead of using the actual port that the message was received from?</div>
<div><br><br><div class="gmail_quote">On Wed, Apr 14, 2010 at 10:05 AM, Jonas Gauffin <span dir="ltr">&lt;<a href="mailto:jonas.gauffin@gmail.com"><a href="mailto:jonas.gauffin@gmail.com">jonas.gauffin@gmail.com</a></a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I found the problem. The phone uses RPORT and switches to the port reported by FS instead of using the one specified in the provisioning. :(<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Apr 14, 2010 at 8:45 AM, Jonas Gauffin <span dir="ltr">&lt;<a href="mailto:jonas.gauffin@gmail.com" target="_blank"><a href="mailto:jonas.gauffin@gmail.com">jonas.gauffin@gmail.com</a></a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hello,</div>
<div>&nbsp;</div>
<div>I got a problem with Snom phones where they report a different port than the one provisioned. I tried to talk with the snom support without success.</div>
<div>&nbsp;</div>
<div>REGISTER sip:<a href="http://phone.gateon.se:5070" target="_blank">phone.gateon.se:5070</a> SIP/2.0<br>Via: SIP/2.0/UDP 217.31.xxx.xxx:26062;branch=z9hG4bK-u1y0v7is9ix0;rport<br>From: "Helene XXX" &lt;<a href="http://sip:u1000028@phone.xxxx.se:5070" target="_blank">sip:u1000028@phone.xxxx.se:5070</a>&gt;;tag=kjaa26j1qv<br>


To: "Helene xxx" &lt;<a href="http://sip:u1000028@phone.xxxx.se:5070" target="_blank">sip:u1000028@phone.xxxx.se:5070</a>&gt;<br>Call-ID: 3c267019ee2d-ni5vq3v88za6<br>CSeq: 133 REGISTER<br>Max-Forwards: 70<br>Contact: &lt;sip:u1000028@217.31.xxx.xxx:26062;line=yhkplirb&gt;;reg-id=1;q=1.0;+sip.instance="&lt;urn:uuid:1f2c528a-18f1-435d-ad61-2be3d1a88425&gt;";audio;mobility="fixed";duplex="full";description="snom360";actor="principal";events="dialog";methods="INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO"<br>


User-Agent: snom360/7.3.30<br>Supported: gruu<br>Allow-Events: dialog<br>X-Real-IP: 192.168.3.109<br>Expires: 3600<br>Content-Length: 0<br></div>
<div>The port that I provisioned (and I've doublechecked in the webinterface) is 5071 and not 26062. </div>
<div>&nbsp;</div>
<div>Have anyone else&nbsp;got this problem and solved it?</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>&nbsp; Jonas</div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>