Hey Roly,<br><br>Are you getting anywhere?  I&#39;m still struggling, I&#39;m afraid.<br><br>I&#39;m able to call from WAN --&gt; LAN using the internal profile on port 5060, but I still can&#39;t call out from LAN --&gt; WAN so there is obviously something really basic I&#39;m still not getting.<br>
<br>In sip_profiles/internal.xml I have:<br><br> &lt;param name=&quot;aggressive-nat-detection&quot; value=&quot;true&quot;/&gt;<br>&lt;param name=&quot;ext-rtp-ip&quot; value=&quot;$${external_rtp_ip}&quot;/&gt;<br>&lt;param name=&quot;ext-sip-ip&quot; value=&quot;$${external_sip_ip}&quot;/&gt;<br>
<br>&lt;!-- the external_rtp_ip etc being defined in vars.xml --&gt;<br><br><br>In this example I have left &lt;param name=&quot;force-register-domain&quot; value=&quot;$${domain}&quot;/&gt; etc uncommented to force the registration to go to default.xml in the dialplan.  <br>
<br>I thought maybe this was my problem and tried putting a separate file in the directory to enable the WAN phone to register using the external DNS name for the server as its domain, and uncommenting force-register-domain, etc.  But then I got an error saying that the local (to Freeswitch) phone in the LAN was not registered when I tried to make the call from the WAN.<br>
<br>Any thoughts?<br><br>cheers<br>Bruce<br><br><br><br><br><br><br><div class="gmail_quote">On 10 March 2010 12:00, Bruce Hopkins <span dir="ltr">&lt;<a href="mailto:jbrucehopkins@gmail.com">jbrucehopkins@gmail.com</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>Hi Roly,</div>
<div> </div>
<div>I hope to be able to have a go at this later today.  I&#39;ll let you know what happens.</div>
<div> </div>
<div>I have my FS box behind a hardware router/firewall, so I&#39;m assuming I just forward SIP port 5060 from the WAN to the FS box and use internal profile, instead of using external profile with port 5080 forwarded as I have at the moment.  We&#39;ll see what happens.</div>


<div> </div>
<div>cheers</div>
<div>Bruce<font color="#888888"><br><br></font></div><div><div></div><div class="h5">
<div class="gmail_quote">On 9 March 2010 19:08, Roly Maz <span dir="ltr">&lt;<a href="mailto:rm@callrica.co.za" target="_blank">rm@callrica.co.za</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">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.<br>
<div>
<div></div>
<div><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><br></div></div></blockquote></div><br>
</div></div></blockquote></div><br>