Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Can FS offer both internal & external IP address?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
DEdwards at vertical.com
Guest





PostPosted: Wed Feb 17, 2016 4:18 pm    Post subject: [Freeswitch-users] Can FS offer both internal & external Reply with quote

I'm running FS behind Nginx, so I explicitly removed the local IP address from localnet.auto. This forces FS to always offer 'ext-rtp-ip'. Outside users work fine in that scenario.

Internal users also work, as long as we turn on NAT reflection in our router. I'm looking for a way to not require that router change.

If I can get FS to offer up both it's internal IP and 'ext-rtp-ip' as candidates in the initial INVITE, the browser could then use ICE to determine which IP address was correct.

Is there a way to offer both and allow ICE on the client side to figure out which one to use?

Thanks,
Dan

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Feb 17, 2016 4:35 pm    Post subject: [Freeswitch-users] Can FS offer both internal & external Reply with quote

Actually no, what you do in this case is set the local-network-acl, it will then know which one to use based on the request.

On Wed, Feb 17, 2016 at 3:16 PM, Dan Edwards <DEdwards@vertical.com (DEdwards@vertical.com)> wrote:
Quote:
I'm running FS behind Nginx, so I explicitly removed the local IP address from localnet.auto. This forces FS to always offer 'ext-rtp-ip'. Outside users work fine in that scenario.

Internal users also work, as long as we turn on NAT reflection in our router. I'm looking for a way to not require that router change.

If I can get FS to offer up both it's internal IP and 'ext-rtp-ip' as candidates in the initial INVITE, the browser could then use ICE to determine which IP address was correct.

Is there a way to offer both and allow ICE on the client side to figure out which one to use?

Thanks,
Dan

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--

Brian West
brian@freeswitch.org (brian@freeswitch.org)


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
Back to top
ahabiba at gmail.com
Guest





PostPosted: Wed Feb 17, 2016 4:56 pm    Post subject: [Freeswitch-users] Can FS offer both internal & external Reply with quote

It is all about how you want things to run, FS allow to have multiple profile each of them can work on different ip considering that all users can call each other even they are registered on different IPs
here is below and example:

profile1:
Name—> Internal
IP —> 192.168.1.1
SIP Port —> 5060
Sip_profile.xml: <param name="ext-rtp-ip" value=“192.168.1.1"/>
<param name="ext-sip-ip" value="192.168.1.1”/>


Profile2:
Name —> internal_nat
IP —> 192.168.1.1
SIP Port —> 5065 —>(Port Forwarded on Router to —> RealIP:5060)
Sip_profile.xml <param name="ext-rtp-ip" value="auto-nat"/>
<param name="ext-sip-ip" value="auto-nat"/>

However of the above configuration still both internal and external will be able to call each other based on the below dial string , the “*/“ assure that users from different profile can call each other

conf/directory/default.xml : <param name="dial-string" value="{^^:sip_invite_domain=${dialed_domain}:presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(*/${dialed_user}@${dialed_domain})}"/>



Quote:
On Feb 18, 2016, at 12:17 AM, freeswitch-users-request@lists.freeswitch.org (freeswitch-users-request@lists.freeswitch.org) wrote:
From: Dan Edwards <DEdwards@vertical.com (DEdwards@vertical.com)>
Subject: [Freeswitch-users] Can FS offer both internal & external IP address?
Date: February 18, 2016 at 12:16:47 AM GMT+3
To: "freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)" <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
I'm running FS behind Nginx, so I explicitly removed the local IP address from localnet.auto. This forces FS to always offer 'ext-rtp-ip'. Outside users work fine in that scenario.Internal users also work, as long as we turn on NAT reflection in our router. I'm looking for a way to not require that router change.If I can get FS to offer up both it's internal IP and 'ext-rtp-ip' as candidates in the initial INVITE, the browser could then use ICE to determine which IP address was correct. Is there a way to offer both and allow ICE on the client side to figure out which one to use?Thanks,Dan
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services