<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@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:0in;
        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;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Times New Roman","serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt">No, they’re behind different NAT devices. It goes phone > firewall1 > WAN > firewall2 > FS. Ports 5060 and 5090 are forwarded to FS in firewall2 (though 5060 is disabled now for testing).
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">I find in the “domain” setting (on Linphone, “Registrar” on Jisti), I can put anything (1.2.3.4) and it will register as long as the proxy is set to <ext-ip>:5090.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">I’ve created my external profile according to
</span><span style="font-size:10.0pt"><a href="http://wiki.freeswitch.org/wiki/General_NAT_example_scenarios" target="_blank">http://wiki.freeswitch.org/wiki/General_NAT_example_scenarios</a>.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Here’s the reg info for the profile:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Call-ID: 328893541<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">User: 1000@192.168.10.32<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Contact: "user" <sip:1000@<phone-firewall-ext-ip>:3773;line=7e848ad901ec2ca;fs_nat=yes;fs_path=sip%3A1000%<phone-firewall-ext-ip>%3A3773%3Bline%3D7e848ad901ec2ca><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Agent: LinphoneIPhone/2.0.2 (eXosip2/3.6.0)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Status: Registered(UDP-NAT)(unknown) EXP(2013-05-08 18:20:07) EXPSECS(524)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Host: freeswitch<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">IP: <phone-firewall-ext-ip><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Port: 3773<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Auth-User: 1000<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Auth-Realm: 1.2.3.4<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">MWI-Account: 1000@192.168.10.32<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Total items returned: 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Here’s the status for the ext5090 profile:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Name ext5090<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Domain Name N/A<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Auto-NAT false<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">DBName sofia_reg_ext5090<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Pres Hosts <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Dialplan XML<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Context public<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Challenge Realm auto_to<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">RTP-IP 192.168.10.32<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Ext-RTP-IP <fs-firewall-ext-ip><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">SIP-IP 192.168.10.32<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Ext-SIP-IP <fs-firewall-ext-ip><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">URL sip:mod_sofia@<fs-firewall-ext-ip>:5090<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">BIND-URL sip:mod_sofia@<fs-firewall-ext-ip>:5090;maddr=192.168.10.32;transport=udp,tcp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">HOLD-MUSIC local_stream://moh<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">OUTBOUND-PROXY N/A<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">CODECS IN G722,PCMU,PCMA,GSM<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">CODECS OUT PCMU,PCMA,GSM<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">TEL-EVENT 101<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">DTMF-MODE rfc2833<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">CNG 13<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">SESSION-TO 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">MAX-DIALOG 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">NOMEDIA false<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">LATE-NEG true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">PROXY-MEDIA false<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">ZRTP-PASSTHRU true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">AGGRESSIVENAT true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">CALLS-IN 30<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">FAILED-CALLS-IN 4<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">CALLS-OUT 14<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">FAILED-CALLS-OUT 4<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">REGISTRATIONS 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Jeff <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span 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>Michael Collins<br>
<b>Sent:</b> Wednesday, May 08, 2013 6:44 AM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] External Softphone vs. Internal Question<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Wed, May 8, 2013 at 2:00 AM, Jeff Bernhardt <<a href="mailto:jeff@askcornerstone.net" target="_blank">jeff@askcornerstone.net</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt">As a follow up to this, I have another question! I got busy with some other things the last couple weeks and was revisiting this again. I realized
that even though I thought I was registering to my external5090 profile, I was actually still registering to the internal one on 5060 (5060 is forwarded through my firewall to FS in addition to 5090). I discovered that this is because even though I put what
I thought was the registration port 5090 in Jitsi (or Bria, or Linphone, etc.), the softphone was still registering to 5060. Couldn’t figure out why, but then I put in the <external-address>:5090 in the outbound proxy settings, and it worked and confirmed
registered to 5090 in fs_cli. Why do I have to put the external ip in the proxy settings on my phone? Something set up wrong in my Freeswitch, my softphone(s)? Confused…</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">Without knowing the topology we are equally confused. Is your phone behind the same NAT device as FreeSWITCH? What happens when you put <internal-fs-ip-addr>:5090 in the proxy settings of the phone?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-MC<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>