<br>Hi Roly,<br><br>I promised I'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'd read about, including:<br>
<br><meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 3.0 (Win32)"><style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
        -->
        </style>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB">
<font face="Courier New, monospace"><font style="font-size: 9pt;" size="2"><variable
name="sip-force-contact"
value="NDLB-connectile-dysfunction"/></font></font></p>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 3.0 (Win32)"><style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
        --></style><meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 3.0 (Win32)"><style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
        -->
        </style>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB">
<font face="Courier New, monospace"><font style="font-size: 9pt;" size="2"><param
name="aggressive-nat-detection" value="true"/></font></font></p><p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"><font face="Courier New, monospace"><font style="font-size: 9pt;" size="2"><br>
</font></font></p><p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"></p><p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"><font face="Courier New, monospace"><font style="font-size: 9pt;" size="2">These, and who knows what other mucking about I had been doing, must have confused everything as none of this is now necessary.</font></font></p>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"><br></p><p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"><font face="Courier New, monospace"><font style="font-size: 9pt;" size="2">All I did - after a reinstall - to get everything working through double NATs is:</font></font></p>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"><br></p><p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"><font face="Courier New, monospace"><font style="font-size: 9pt;" size="2">1. In vars.xml <br>
</font></font></p><meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 3.0 (Win32)"><style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
        -->
        </style>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT"><font face="Courier New, monospace"><font style="font-size: 9pt;" size="2"><span lang="en-GB"><X-PRE-PROCESS
cmd="set" data="external_rtp_ip=<my.fs.ext.ip>"/></span></font></font></p>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT"><br>
</p>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT"><font face="Courier New, monospace"><font style="font-size: 9pt;" size="2"><span lang="en-GB"><X-PRE-PROCESS
cmd="set" data="external_sip_ip=<my.fs.ext.ip>"/></span></font></font></p><p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT"><br><font face="Courier New, monospace"><font style="font-size: 9pt;" size="2"><span lang="en-GB"></span></font></font></p>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT"><font face="Courier New, monospace"><font style="font-size: 9pt;" size="2"><span lang="en-GB">2. Then in prefix/sip_profiles/internal.xml</span></font></font></p>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 3.0 (Win32)"><style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
        -->
        </style>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB">
<font face="Courier New, monospace"><font style="font-size: 9pt;" size="2"><param
name="ext-rtp-ip" value="$${external_rtp_ip}"/></font></font></p>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB">
</p>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB">
<font face="Courier New, monospace"><font style="font-size: 9pt;" size="2"><param
name="ext-sip-ip" value="$${external_sip_ip)"/></font></font></p><p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"><br></p><p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB">
<font face="Courier New, monospace"><font style="font-size: 9pt;" size="2">Then as the man says, it just works. <br></font></font></p><p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"><font face="Courier New, monospace"><font style="font-size: 9pt;" size="2">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.</font></font></p>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"><br></p><p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"><font face="Courier New, monospace"><font style="font-size: 9pt;" size="2">And that's it. I can't believe the knots I was tying myself in. It just works !</font></font></p>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"><font size="2"><font face="Courier New, monospace">cheers</font></font></p><p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB">
Bruce<br></p><font size="2"><font face="Courier New, monospace"></font></font>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT"><font face="Courier New, monospace"><font style="font-size: 9pt;" size="2"><span lang="en-GB"><br></span></font></font></p>
<p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"><font face="Courier New, monospace"><font style="font-size: 9pt;" size="2"><br></font></font></p><p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB">
<br></p><p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"><br></p><p style="margin-bottom: 0cm; text-decoration: none;" align="LEFT" lang="en-GB"><font face="Courier New, monospace"><font style="font-size: 9pt;" size="2"><br>
</font></font></p>
<br><br><div class="gmail_quote">On 9 March 2010 19:08, Roly Maz <span dir="ltr"><<a href="mailto:rm@callrica.co.za">rm@callrica.co.za</a>></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;">
Ah I see... what? Please share and lead this blind man out the FS<br>
wilderness!<br>
<br>
I don'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 class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">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">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 <<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>> wrote:<br>
<br>
> ok you aren't catching one key thing here.. you no longer need two<br>
> profiles.<br>
><br>
> /b<br>
><br>
> On Mar 8, 2010, at 11:12 AM, Bruce Hopkins wrote:<br>
><br>
>> Hi again,<br>
>><br>
>> Thanks for the help so far. Unfotrunately I must still be doing<br>
>> something wrong here as I am still having difficulty, and still<br>
>> have the same problem.<br>
>><br>
>> I updated to build 16938 by means of "make current"<br>
>><br>
>> I'm not able to use UPNP or NATPMP so changed the port forwarding<br>
>> to use 5080 instead of 5090.<br>
>><br>
>> I got rid of the doublenat profile in sip_profiles, though I had to<br>
>> retain an entry in the directory /usr/local/freeeswitch/conf/<br>
>> directory/ext_dns.xml in order to give freeswitch the dns name of<br>
>> the server as a domain for the remote softphone to register on. I<br>
>> left the group name in this entry the same as inthe default entry,<br>
>> so that the remote phone could register on the same extension<br>
>> numbers (100, etc) as in the default build.<br>
>><br>
>> I still find that, if I initiate a call from the local (on same LAN<br>
>> as freeswitch) phone to the remote phone, I get the message on the<br>
>> CLI:<br>
>><br>
>> [ERR] switch_ivr_originate.c2389 Cannot create outgoing channel of<br>
>> type [user] cause: [USER_NOT_REGISTERED]<br>
>><br>
>> One possibly unrelated aside, I also found I needed to uncomment<br>
>> <param name="aggressive-nat-detection" value="true"/> in<br>
>> external.xml, otherwise in the case of a call initiated by the<br>
>> remote phone being hung up by the local phone, freeswitch sent the<br>
>> BYE to the private IP of the remote phone, rather than its public<br>
>> ip - meaning that the remote phone didn't receive the BYE.<br>
>><br>
>> Any further ideas where I am going wrong here please?<br>
>><br>
>> thanks again in advance<br>
>> Bruce<br>
><br>
><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-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a><br>
> users<br>
> <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">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">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>