<div dir="ltr">Many routers/phones have problems because of their loose interpretation of SIP.<div><br></div><div>So, here&#39;s what you need to do;</div><div><br></div><div>* Perform a test call reproducing the problem from start to finish, collect as many debug logs as possible, see [1], [2], [3]</div>
<div>* Ensure to enable SIP trace in [3]</div><div>* Attempt to find the problem yourself, if you&#39;re still having a problem then pastebin the results [4]</div><div><br></div><div>I cannot stress how often this problem comes up, and you are unlikely to get a response unless you have clearly shown to be doing your homework.</div>
<div><br></div><div>Please make sure you include (in detail) what you have attempted to do to fix the problem, what your own thoughts are, and as much info as possible.</div><div><br></div><div>Hope this helps</div><div><br>
</div><div>Cal</div><div><br></div><div>[1] <a href="https://wiki.freeswitch.org/wiki/Debugging_Freeswitch">https://wiki.freeswitch.org/wiki/Debugging_Freeswitch</a></div><div>[2] <a href="http://wiki.freeswitch.org/wiki/Troubleshooting_Freeswitch">http://wiki.freeswitch.org/wiki/Troubleshooting_Freeswitch</a></div>
<div>[3] <a href="http://wiki.freeswitch.org/wiki/Sofia-SIP#Debugging_Sofia-SIP">http://wiki.freeswitch.org/wiki/Sofia-SIP#Debugging_Sofia-SIP</a></div><div>[4] <a href="http://wiki.freeswitch.org/wiki/Reporting_Bugs#Using_The_Pastebin">http://wiki.freeswitch.org/wiki/Reporting_Bugs#Using_The_Pastebin</a></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 17, 2013 at 5:32 AM, ThanhTruong <span dir="ltr">&lt;<a href="mailto:ngoc217thanh@yahoo.com" target="_blank">ngoc217thanh@yahoo.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><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><span>HI all,</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">
<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span>In my case, my FS server is in public IP. and I see that I am getting nat in client (sip phone) side.</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span style="font-size:12pt">I have tried with sturn server, but no luck, I have checked contact detail in database and see that it can get external IP correct.</span></div>
<div style="font-style:normal;font-size:12pt;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span style="font-size:12pt"><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">
<span style="font-size:12pt">I have read much, tried more than 2 weeks with this, but cant get it works :( </span></div><div style="font-style:normal;font-size:12pt;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">
<span style="font-size:12pt"><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span style="font-size:12pt">That is a bad situation for me.</span></div>
<div style="font-style:normal;font-size:12pt;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span style="font-size:12pt">:( </span></div><div>ThanhTruong</div><div><br></div>
  <div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt"> <div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt"> <div dir="ltr"> <hr size="1">
  <font face="Arial"> <b><span style="font-weight:bold">From:</span></b> Paul &lt;<a href="mailto:pasha@prosperity4ever.com" target="_blank">pasha@prosperity4ever.com</a>&gt;<br> <b><span style="font-weight:bold">To:</span></b> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt; <br>
<b><span style="font-weight:bold">Cc:</span></b> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt; <br> <b><span style="font-weight:bold">Sent:</span></b> Tuesday, September 17, 2013 12:40 AM<br>
 <b><span style="font-weight:bold">Subject:</span></b> Re:
 [Freeswitch-users] NAT issue from client<br> </font> </div><div><div class="h5"> <div><br><div>

Edit your public sip profile xml and make sure that your internal ip of the server and external ip of the server (for both rtp and sip) are set properly. That should fix it.<div><br></div><div>Paul<br><br>On Mon, 16 Sep, 2013 at 10:02 AM, Cal Leeming [Simplicity Media Ltd] &lt;<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>&gt; wrote:<br>

<blockquote type="cite"><div dir="ltr">Hello,<div><br></div><div>You&#39;ll see this has been raised many times already, a quick google search shows;</div><div><br></div><div><a rel="nofollow" href="https://www.google.co.uk/search?q=freeswitch+30+seconds" target="_blank">https://www.google.co.uk/search?q=freeswitch+30+seconds</a><br>

</div><div><a rel="nofollow" href="http://lists.freeswitch.org/pipermail/freeswitch-users/2011-June/073842.html" target="_blank">http://lists.freeswitch.org/pipermail/freeswitch-users/2011-June/073842.html</a><br></div><div>
<a rel="nofollow" href="http://jira.freeswitch.org/browse/FS-3496" target="_blank">http://jira.freeswitch.org/browse/FS-3496</a><br>
</div><div><a rel="nofollow" href="http://freeswitch-users.2379917.n2.nabble.com/NAT-issues-Outbound-Call-drops-after-30-seconds-td7386901.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/NAT-issues-Outbound-Call-drops-after-30-seconds-td7386901.html</a><br>

</div><div><a rel="nofollow" href="http://freeswitch-users.2379917.n2.nabble.com/Re-call-disconnects-after-32-seconds-issue-FreeSWITCH-users-Digest-Vol-77-Issue-117-td7584663.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Re-call-disconnects-after-32-seconds-issue-FreeSWITCH-users-Digest-Vol-77-Issue-117-td7584663.html</a><br>

</div><div><br></div><div>Please review all those answers and let us know if it resolves your problem.</div><div><br></div><div>If not then please update the ticket with some debug logs (remember to paste into pastebin, not direct into the ticket)</div>

<div><a rel="nofollow" href="https://wiki.freeswitch.org/wiki/Debugging_Freeswitch" target="_blank">https://wiki.freeswitch.org/wiki/Debugging_Freeswitch</a></div><div><a rel="nofollow" href="http://wiki.freeswitch.org/wiki/Troubleshooting_Freeswitch" target="_blank">http://wiki.freeswitch.org/wiki/Troubleshooting_Freeswitch</a></div>

<div><br></div><div>Hope this helps</div><div><br></div><div>Cal</div></div><div><br><br><div>On Mon, Sep 16, 2013 at 5:48 PM, ThanhTruong <span dir="ltr">&lt;<a rel="nofollow" href="mailto:ngoc217thanh@yahoo.com" target="_blank">ngoc217thanh@yahoo.com</a>&gt;</span> wrote:<br>

<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt">

<span>Hi all,</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">

<span>I have built basic FS server with default sip account 1011 &amp; 1012.</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">

<span>I have registered 2 this accounts with xlite, portgo. them in NAT via my router.</span></div><div><span>When I make call, call connect and drop after 30 seconds.</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">

<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span>my dialplan is:</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">

<span><br></span></div><div style="background-color:transparent">&lt;extension name=&quot;public_extensions&quot;&gt;</div><div style="background-color:transparent">      &lt;condition field=&quot;destination_number&quot;
 expression=&quot;(\d+)$&quot; &gt;</div><div style="background-color:transparent">        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div><div style="background-color:transparent">

        &lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/${destination_number}@${domain_name}&quot;/&gt;</div><div style="background-color:transparent"><span></span></div><div style="background-color:transparent">

      &lt;/condition&gt;</div><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">

<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span>I have tried many
 configure but not success.</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span>PLease help to fix this issue.</span></div>

<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">

<span>I am veny new in this system and tried many cases to fix it.</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">

<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span>Thank all for suggesttion.</span></div><span><font color="#888888"><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt">

</div><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt"> </div><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt">ThanhTruong</div>

</font></span></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a rel="nofollow" href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a rel="nofollow" href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br><br></div> </div></div></div> </div>  </div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>