<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        margin-bottom:5.95pt;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-ZA link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Bruce/Brian, <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Success on my side too! <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks for sharing your experience. I too reset my FS and made
minimal changes to my config. Voila! <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>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. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I’ll be adding my config and service provider setup to the
wiki this week. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Rgds<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Bruce
Hopkins<br>
<b>Sent:</b> 14 March 2010 12:57 AM<br>
<b>To:</b> freeswitch-users@lists.freeswitch.org<br>
<b>Subject:</b> Re: [Freeswitch-users] doublenat outgoing call issue<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><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:<o:p></o:p></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB
style='font-size:9.0pt;font-family:"Courier New"'><variable
name="sip-force-contact"
value="NDLB-connectile-dysfunction"/></span><span lang=EN-GB><o:p></o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB
style='font-size:9.0pt;font-family:"Courier New"'><param
name="aggressive-nat-detection" value="true"/></span><span
lang=EN-GB><o:p></o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB><o:p> </o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB
style='font-size:9.0pt;font-family:"Courier New"'>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><o:p></o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB><o:p> </o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB
style='font-size:9.0pt;font-family:"Courier New"'>All I did - after a reinstall
- to get everything working through double NATs is:</span><span lang=EN-GB><o:p></o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB><o:p> </o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB
style='font-size:9.0pt;font-family:"Courier New"'>1. In vars.xml </span><span
lang=EN-GB><o:p></o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB
style='font-size:9.0pt;font-family:"Courier New"'><X-PRE-PROCESS
cmd="set" data="external_rtp_ip=<my.fs.ext.ip>"/></span><o:p></o:p></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><o:p> </o:p></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB
style='font-size:9.0pt;font-family:"Courier New"'><X-PRE-PROCESS
cmd="set" data="external_sip_ip=<my.fs.ext.ip>"/></span><o:p></o:p></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><o:p> </o:p></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB
style='font-size:9.0pt;font-family:"Courier New"'>2. Then in
prefix/sip_profiles/internal.xml</span><o:p></o:p></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB
style='font-size:9.0pt;font-family:"Courier New"'><param
name="ext-rtp-ip" value="$${external_rtp_ip}"/></span><span
lang=EN-GB><o:p></o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB
style='font-size:9.0pt;font-family:"Courier New"'><param
name="ext-sip-ip" value="$${external_sip_ip)"/></span><span
lang=EN-GB><o:p></o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB><o:p> </o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB
style='font-size:9.0pt;font-family:"Courier New"'>Then as the man says, it just
works. </span><span lang=EN-GB><o:p></o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB
style='font-size:9.0pt;font-family:"Courier New"'>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><o:p></o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB><o:p> </o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB
style='font-size:9.0pt;font-family:"Courier New"'>And that's it. I can't
believe the knots I was tying myself in. It just works !</span><span
lang=EN-GB><o:p></o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>cheers</span><span
lang=EN-GB><o:p></o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB>Bruce<o:p></o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><o:p> </o:p></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB><o:p> </o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB><o:p> </o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB><o:p> </o:p></span></p>
<p style='margin-bottom:0cm;margin-bottom:.0001pt'><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>
<div>
<p class=MsoNormal>On 9 March 2010 19:08, Roly Maz <<a
href="mailto:rm@callrica.co.za">rm@callrica.co.za</a>> wrote:<o:p></o:p></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.<o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><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><o:p></o:p></p>
</div>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>