[Freeswitch-users] External Softphone vs. Internal Question

Michael Collins msc at freeswitch.org
Thu May 9 06:26:34 MSD 2013


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.

-MC


On Wed, May 8, 2013 at 11:17 AM, Jeff Bernhardt <jeff at askcornerstone.net>wrote:

>  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). ****
>
> ** **
>
> 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. ****
>
> ** **
>
> I’ve created my external profile according to
> http://wiki.freeswitch.org/wiki/General_NAT_example_scenarios. ****
>
> ** **
>
> Here’s the reg info for the profile:****
>
> ** **
>
> Call-ID:                 328893541****
>
> User:                       1000 at 192.168.10.32****
>
> 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>
> ****
>
> Agent:                    LinphoneIPhone/2.0.2 (eXosip2/3.6.0)****
>
> Status:                   Registered(UDP-NAT)(unknown) EXP(2013-05-08
> 18:20:07) EXPSECS(524)****
>
> Host:                      freeswitch****
>
> IP:                           <phone-firewall-ext-ip>****
>
> Port:                       3773****
>
> Auth-User:            1000****
>
> Auth-Realm:        1.2.3.4****
>
> MWI-Account:    1000 at 192.168.10.32****
>
> ** **
>
> Total items returned: 1****
>
> ** **
>
> Here’s the status for the ext5090 profile:****
>
> ** **
>
> Name                                     ext5090****
>
> Domain Name                     N/A****
>
> Auto-NAT                             false****
>
> DBName                               sofia_reg_ext5090****
>
> Pres Hosts             ****
>
> Dialplan                                 XML****
>
> Context                                 public****
>
> Challenge Realm                 auto_to****
>
> RTP-IP                                   192.168.10.32****
>
> Ext-RTP-IP                           <fs-firewall-ext-ip>****
>
> SIP-IP                                    192.168.10.32****
>
> Ext-SIP-IP                             <fs-firewall-ext-ip>****
>
> URL                                       sip:mod_sofia@
> <fs-firewall-ext-ip>:5090****
>
> BIND-URL                           sip:mod_sofia@
> <fs-firewall-ext-ip>:5090;maddr=192.168.10.32;transport=udp,tcp****
>
> HOLD-MUSIC                     local_stream://moh****
>
> OUTBOUND-PROXY         N/A****
>
> CODECS IN                        G722,PCMU,PCMA,GSM****
>
> CODECS OUT                     PCMU,PCMA,GSM****
>
> TEL-EVENT                        101****
>
> DTMF-MODE                      rfc2833****
>
> CNG                                       13****
>
> SESSION-TO                       0****
>
> MAX-DIALOG                    0****
>
> NOMEDIA                            false****
>
> LATE-NEG                           true****
>
> PROXY-MEDIA                  false****
>
> ZRTP-PASSTHRU              true****
>
> AGGRESSIVENAT             true****
>
> CALLS-IN                            30****
>
> FAILED-CALLS-IN            4****
>
> CALLS-OUT                        14****
>
> FAILED-CALLS-OUT        4****
>
> REGISTRATIONS              1****
>
> ** **
>
> ** **
>
> ** **
>
> Thanks,****
>
> ** **
>
> Jeff ****
>
> ** **
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael
> Collins
> *Sent:* Wednesday, May 08, 2013 6:44 AM
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] External Softphone vs. Internal Question
> ****
>
> ** **
>
> ** **
>
> ** **
>
> On Wed, May 8, 2013 at 2:00 AM, Jeff Bernhardt <jeff at askcornerstone.net>
> wrote:****
>
> 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…****
>
> 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?****
>
> -MC****
>
> ** **
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130508/663a2240/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list