Where can I set the IP address for Freeswitch to bind to?
I have a rather complicated but necessary IP setup. I have a VPN running on the system, and some of the IP address a bridged with other network devices, and Freeswitch is not quite sure which one to bind to. It has an IP for the local network, one for the VPN and one for the gateway, but it appears to bind to the gateway IP or the VPN when the VPN comes up. I want it bind to the local IP, and let the VPN do its normal stuff on the outbound, I edited vars.xml and set local ip but it doesn't seem to be working. <X-PRE-PROCESS cmd="set" data="domain=192.168.1.41"/> <X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/> Is the vars.xml the right place to do it? I take it that vars.xml is where you change stuff in the default settings? Thanks /vfclists -- View this message in context: http://old.nabble.com/Where-can-I-set-the-IP-address-for-Freeswitch-to-bind-... Sent from the Freeswitch-users mailing list archive at Nabble.com.
open up sip_profiles/*.xml and put the IP in there for rtp-ip and sip-ip /b On Jan 25, 2010, at 11:36 AM, vfclists wrote:
I have a rather complicated but necessary IP setup.
I have a VPN running on the system, and some of the IP address a bridged with other network devices, and Freeswitch is not quite sure which one to bind to.
It has an IP for the local network, one for the VPN and one for the gateway, but it appears to bind to the gateway IP or the VPN when the VPN comes up. I want it bind to the local IP, and let the VPN do its normal stuff on the outbound,
I edited vars.xml and set local ip but it doesn't seem to be working.
<X-PRE-PROCESS cmd="set" data="domain=192.168.1.41"/> <X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/>
Is the vars.xml the right place to do it?
I take it that vars.xml is where you change stuff in the default settings?
Thanks
/vfclists
That'll be in the per-profile settings (sofia). -Michael -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of vfclists Sent: Monday, January 25, 2010 10:37 AM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Where can I set the IP address for Freeswitch to bind to? I have a rather complicated but necessary IP setup. I have a VPN running on the system, and some of the IP address a bridged with other network devices, and Freeswitch is not quite sure which one to bind to. It has an IP for the local network, one for the VPN and one for the gateway, but it appears to bind to the gateway IP or the VPN when the VPN comes up. I want it bind to the local IP, and let the VPN do its normal stuff on the outbound, I edited vars.xml and set local ip but it doesn't seem to be working. <X-PRE-PROCESS cmd="set" data="domain=192.168.1.41"/> <X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/> Is the vars.xml the right place to do it? I take it that vars.xml is where you change stuff in the default settings? Thanks /vfclists -- View this message in context: http://old.nabble.com/Where-can-I-set-the-IP-address-for-Freeswitch-to-bind-... Sent from the Freeswitch-users mailing list archive at Nabble.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
You need to set IP in the profile settings, rtp-ip and sip-ip parameters. On Monday 25 January 2010, vfclists wrote:
I have a rather complicated but necessary IP setup.
I have a VPN running on the system, and some of the IP address a bridged with other network devices, and Freeswitch is not quite sure which one to bind to.
It has an IP for the local network, one for the VPN and one for the gateway, but it appears to bind to the gateway IP or the VPN when the VPN comes up. I want it bind to the local IP, and let the VPN do its normal stuff on the outbound,
I edited vars.xml and set local ip but it doesn't seem to be working.
<X-PRE-PROCESS cmd="set" data="domain=192.168.1.41"/> <X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/>
Is the vars.xml the right place to do it?
I take it that vars.xml is where you change stuff in the default settings?
Thanks
/vfclists
participants (4)
-
Brian West
-
Michael Giagnocavo
-
Sergey Okhapkin
-
vfclists