<div dir="ltr"><div>That sounds like the way the softphone happens to work. It seems to me that putting <ext-ip-addr>:5090 in the proxy field is fine if it indeed works with your softphone + network config + FreeSWITCH config.<br>
<br></div>-MC<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 8, 2013 at 11:17 AM, Jeff Bernhardt <span dir="ltr"><<a href="mailto:jeff@askcornerstone.net" target="_blank">jeff@askcornerstone.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<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).
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></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.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></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>.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Here’s the reg info for the profile:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Call-ID: 328893541<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">User: <a href="mailto:1000@192.168.10.32" target="_blank">1000@192.168.10.32</a><u></u><u></u></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><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Agent: LinphoneIPhone/2.0.2 (eXosip2/3.6.0)<u></u><u></u></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)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Host: freeswitch<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">IP: <phone-firewall-ext-ip><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Port: 3773<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Auth-User: 1000<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Auth-Realm: 1.2.3.4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">MWI-Account: <a href="mailto:1000@192.168.10.32" target="_blank">1000@192.168.10.32</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Total items returned: 1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Here’s the status for the ext5090 profile:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Name ext5090<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Domain Name N/A<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Auto-NAT false<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">DBName sofia_reg_ext5090<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Pres Hosts <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Dialplan XML<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Context public<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Challenge Realm auto_to<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">RTP-IP 192.168.10.32<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Ext-RTP-IP <fs-firewall-ext-ip><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">SIP-IP 192.168.10.32<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Ext-SIP-IP <fs-firewall-ext-ip><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">URL sip:mod_sofia@<fs-firewall-ext-ip>:5090<u></u><u></u></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<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">HOLD-MUSIC local_stream://moh<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">OUTBOUND-PROXY N/A<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">CODECS IN G722,PCMU,PCMA,GSM<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">CODECS OUT PCMU,PCMA,GSM<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">TEL-EVENT 101<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">DTMF-MODE rfc2833<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">CNG 13<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">SESSION-TO 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">MAX-DIALOG 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">NOMEDIA false<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">LATE-NEG true<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">PROXY-MEDIA false<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">ZRTP-PASSTHRU true<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">AGGRESSIVENAT true<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">CALLS-IN 30<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">FAILED-CALLS-IN 4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">CALLS-OUT 14<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">FAILED-CALLS-OUT 4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">REGISTRATIONS 1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Jeff <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></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""> <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>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<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></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:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><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><u></u><u></u></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?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">-MC<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</div>