Doubles all round !<br><br>cheers<br>Bruce<br><br><div class="gmail_quote">On 14 March 2010 18:41, Roly Maz <span dir="ltr">&lt;<a href="mailto:rm@callrica.co.za">rm@callrica.co.za</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-ZA">

<div>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi Bruce/Brian, </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Success on my side too! </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks for sharing your experience. I too reset my FS and made
minimal changes to my config. Voila! </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Anyone new to FS, and running it on Windows server– I strongly
recommend you pull a copy of Wireshark off the net. It has great tools for analysing
SIP/IP packets. </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">I’ll be adding my config and service provider setup to the
wiki this week. </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Rgds</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Bruce
Hopkins<br>
<b>Sent:</b> 14 March 2010 12:57 AM<div><div></div><div class="h5"><br>
<b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b>Subject:</b> Re: [Freeswitch-users] doublenat outgoing call issue</div></div></span></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"> </p>

<p class="MsoNormal" style="margin-bottom: 12pt;"><br>
Hi Roly,<br>
<br>
I promised I&#39;d let you know when I got it working - so here it is:<br>
<br>
As Brian said, doublenat is no longer needed.<br>
<br>
It looks like I must have just been confusing things horribly by using various
things I&#39;d read about, including:</p>

<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">&lt;variable
name=&quot;sip-force-contact&quot;
value=&quot;NDLB-connectile-dysfunction&quot;/&gt;</span><span lang="EN-GB"></span></p>

<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">&lt;param
name=&quot;aggressive-nat-detection&quot; value=&quot;true&quot;/&gt;</span><span lang="EN-GB"></span></p>

<p style="margin-bottom: 0.0001pt;"><span lang="EN-GB"> </span></p>

<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">These, and who knows what
other mucking about I had been doing, must have confused everything as none of
this is now necessary.</span><span lang="EN-GB"></span></p>

<p style="margin-bottom: 0.0001pt;"><span lang="EN-GB"> </span></p>

<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">All I did - after a reinstall
- to get everything working through double NATs is:</span><span lang="EN-GB"></span></p>

<p style="margin-bottom: 0.0001pt;"><span lang="EN-GB"> </span></p>

<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">1.  In vars.xml </span><span lang="EN-GB"></span></p>

<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">&lt;X-PRE-PROCESS
cmd=&quot;set&quot; data=&quot;external_rtp_ip=&lt;my.fs.ext.ip&gt;&quot;/&gt;</span></p>

<p style="margin-bottom: 0.0001pt;"> </p>

<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">&lt;X-PRE-PROCESS
cmd=&quot;set&quot; data=&quot;external_sip_ip=&lt;my.fs.ext.ip&gt;&quot;/&gt;</span></p>

<p style="margin-bottom: 0.0001pt;"> </p>

<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">2.  Then in
prefix/sip_profiles/internal.xml</span></p>

<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">&lt;param
name=&quot;ext-rtp-ip&quot; value=&quot;$${external_rtp_ip}&quot;/&gt;</span><span lang="EN-GB"></span></p>

<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">&lt;param
name=&quot;ext-sip-ip&quot; value=&quot;$${external_sip_ip)&quot;/&gt;</span><span lang="EN-GB"></span></p>

<p style="margin-bottom: 0.0001pt;"><span lang="EN-GB"> </span></p>

<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">Then as the man says, it just
works.  </span><span lang="EN-GB"></span></p>

<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">I decided not to enable
options pings to keep the far-end NAT open to enable calling the remote phone -
instead I configured it to send keep-alives.</span><span lang="EN-GB"></span></p>

<p style="margin-bottom: 0.0001pt;"><span lang="EN-GB"> </span></p>

<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">And that&#39;s it.  I can&#39;t
believe the knots I was tying myself in.  It just works !</span><span lang="EN-GB"></span></p>

<p style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">cheers</span><span lang="EN-GB"></span></p>

<p style="margin-bottom: 0.0001pt;"><span lang="EN-GB">Bruce</span></p>

<p style="margin-bottom: 0.0001pt;"> </p>

<p style="margin-bottom: 0.0001pt;"><span lang="EN-GB"> </span></p>

<p style="margin-bottom: 0.0001pt;"><span lang="EN-GB"> </span></p>

<p style="margin-bottom: 0.0001pt;"><span lang="EN-GB"> </span></p>

<p style="margin-bottom: 0.0001pt;"><span lang="EN-GB"> </span></p>

<p class="MsoNormal" style="margin-bottom: 12pt;"> </p>

<div>

<p class="MsoNormal">On 9 March 2010 19:08, Roly Maz &lt;<a href="mailto:rm@callrica.co.za" target="_blank">rm@callrica.co.za</a>&gt; wrote:</p>

<p class="MsoNormal">Ah I see... what? Please share and lead this blind man out
the FS<br>
wilderness!<br>
<br>
I don&#39;t understand...what happens to the external profile? Do you delete it?<br>
And how do you forward port 5060?<br>
<br>
...and you thought you were a newbie!<br>
<br>
Any insight would be much appreciated...loving the journey.</p>

<div>

<div>

<p class="MsoNormal"><br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
On Behalf Of Bruce<br>
Hopkins<br>
Sent: 09 March 2010 08:23 AM<br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
Subject: Re: [Freeswitch-users] doublenat outgoing call issue<br>
<br>
Ah I see.  I will try again using the internal profile and forwarding<br>
port 5060.  Presumably still creating a directory entry to enable the<br>
outside-facing domain to be used.<br>
<br>
Many thanks for your patient help of a newbie Brian.<br>
<br>
Cheers<br>
Bruce<br>
<br>
Please excuse the brevity - sent from my mobile.<br>
<br>
On 8 Mar 2010, at 17:21, Brian West &lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;
wrote:<br>
<br>
&gt; ok you aren&#39;t catching one key thing here.. you no longer need two<br>
&gt; profiles.<br>
&gt;<br>
&gt; /b<br>
&gt;<br>
&gt; On Mar 8, 2010, at 11:12 AM, Bruce Hopkins wrote:<br>
&gt;<br>
&gt;&gt; Hi again,<br>
&gt;&gt;<br>
&gt;&gt; Thanks for the help so far.  Unfotrunately I must still be doing<br>
&gt;&gt; something wrong here as I am still having difficulty, and still<br>
&gt;&gt; have the same problem.<br>
&gt;&gt;<br>
&gt;&gt; I updated to build 16938 by means of &quot;make current&quot;<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m not able to use UPNP or NATPMP so changed the port forwarding<br>
&gt;&gt; to use 5080 instead of 5090.<br>
&gt;&gt;<br>
&gt;&gt; I got rid of the doublenat profile in sip_profiles, though I had to<br>
&gt;&gt; retain an entry in the directory /usr/local/freeeswitch/conf/<br>
&gt;&gt; directory/ext_dns.xml in order to give freeswitch the dns name of<br>
&gt;&gt; the server as a domain for the remote softphone to register on.
 I<br>
&gt;&gt; left the group name in this entry the same as inthe default entry,<br>
&gt;&gt; so that the remote phone could register on the same extension<br>
&gt;&gt; numbers (100, etc) as in the default build.<br>
&gt;&gt;<br>
&gt;&gt; I still find that, if I initiate a call from the local (on same LAN<br>
&gt;&gt; as freeswitch) phone to the remote phone, I get the message on the<br>
&gt;&gt; CLI:<br>
&gt;&gt;<br>
&gt;&gt; [ERR] switch_ivr_originate.c2389 Cannot create outgoing channel of<br>
&gt;&gt; type [user] cause: [USER_NOT_REGISTERED]<br>
&gt;&gt;<br>
&gt;&gt; One possibly unrelated aside, I also found I needed to uncomment<br>
&gt;&gt; &lt;param name=&quot;aggressive-nat-detection&quot;
value=&quot;true&quot;/&gt; in<br>
&gt;&gt; external.xml, otherwise in the case of a call initiated by the<br>
&gt;&gt; remote phone being hung up by the local phone, freeswitch sent the<br>
&gt;&gt; BYE to the private IP of the remote phone, rather than its public<br>
&gt;&gt; ip - meaning that the remote phone didn&#39;t receive the BYE.<br>
&gt;&gt;<br>
&gt;&gt; Any further ideas where I am going wrong here please?<br>
&gt;&gt;<br>
&gt;&gt; thanks again in advance<br>
&gt;&gt; Bruce<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a><br>
&gt; users<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<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>
_______________________________________________<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></p>

</div>

</div>

</div>

<p class="MsoNormal"> </p>

</div></div></div>

</div>


<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>