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"><<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;">
<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'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:</p>
<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: "Courier New";" lang="EN-GB"><variable
name="sip-force-contact"
value="NDLB-connectile-dysfunction"/></span><span lang="EN-GB"></span></p>
<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: "Courier New";" lang="EN-GB"><param
name="aggressive-nat-detection" value="true"/></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: "Courier New";" 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: "Courier New";" 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: "Courier New";" 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: "Courier New";" lang="EN-GB"><X-PRE-PROCESS
cmd="set" data="external_rtp_ip=<my.fs.ext.ip>"/></span></p>
<p style="margin-bottom: 0.0001pt;"> </p>
<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: "Courier New";" lang="EN-GB"><X-PRE-PROCESS
cmd="set" data="external_sip_ip=<my.fs.ext.ip>"/></span></p>
<p style="margin-bottom: 0.0001pt;"> </p>
<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: "Courier New";" 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: "Courier New";" lang="EN-GB"><param
name="ext-rtp-ip" value="$${external_rtp_ip}"/></span><span lang="EN-GB"></span></p>
<p style="margin-bottom: 0.0001pt;"><span style="font-size: 9pt; font-family: "Courier New";" lang="EN-GB"><param
name="ext-sip-ip" value="$${external_sip_ip)"/></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: "Courier New";" 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: "Courier New";" 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: "Courier New";" lang="EN-GB">And that's it. I can'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: "Courier New";" 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 <<a href="mailto:rm@callrica.co.za" target="_blank">rm@callrica.co.za</a>> 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'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 <<a href="mailto:brian@freeswitch.org" target="_blank">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" 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-" 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" 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>