Re: [Freeswitch-users] How do I set my FS internal ip address to a "static" value.
I see the following in that file: ? <X-PRE-PROCESS cmd="set" data="bind_server_ip=auto"/> and thought that's what might need changing to: ? <X-PRE-PROCESS cmd="set" data="bind_server_ip=10.0.0.3"/> But your looking at the same variable I was and I'm guessing something else might be in order like: <X-PRE-PROCESS cmd="set" data="local_ip_v4=10.0.0.3"/> I'll see if either of these work unless you have a different suggestion. You and Brian also suggested a more specific approach in sip_profiles/*.xml and input the sip-ip and rtp-ip for the sofia profile. ??? <param name="sip-ip" value="$${local_ip_v4}"/>????? to???? <param name="sip-ip" value="10.0.0.3"/> ??? <param name="rtp-ip" value="$${local_ip_v4}"/>?????? to???? <param name="rtp-ip" value="10.0.0.3"/> What's the advantage to doing it in the sip_profiles\internal.xml file over the general way in vars.xml? ? ? -----Original Message----- From: Jason White <jason@jasonjgw.net> To: freeswitch-users@lists.freeswitch.org Sent: Sun, 4 Jan 2009 3:15 pm Subject: Re: [Freeswitch-users] How do I set my FS internal ip address to a "static" value. mszlazak@aol.com <mszlazak@aol.com> wrote:
Ok, so is it? $${local_ip_v4} that needs changing somewhere? I see stuff in
vars.xml for external address changes but not for internal ip address
changes??
If you set $${local_ip_v4} in vars.xml it will determine which address FreeSWITCH binds to, at least in the default configuration. Addresses can be configured more flexibly in the SIP profiles. _______________________________________________ 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
mszlazak@aol.com <mszlazak@aol.com> wrote:
What's the advantage to doing it in the sip_profiles\internal.xml file over the general way in vars.xml?
The obvious advantage is that you can set those RTP and SIP addresses independently of each other in the profile, so presumably they could be different if that's what you wanted.
I'm going to guess you don't have the latest configs. bind_server_ip is for Dingaling ONLY at this point and is noted with the nice HUGE warning above the setting. You can set the local_ip_v4 address but you're better off setting the ip's in the profile. /b On Jan 4, 2009, at 6:23 PM, mszlazak@aol.com wrote:
I see the following in that file:
<X-PRE-PROCESS cmd="set" data="bind_server_ip=auto"/>
and thought that's what might need changing to:
<X-PRE-PROCESS cmd="set" data="bind_server_ip=10.0.0.3"/>
But your looking at the same variable I was and I'm guessing something else might be in order like:
<X-PRE-PROCESS cmd="set" data="local_ip_v4=10.0.0.3"/>
I'll see if either of these work unless you have a different suggestion.
You and Brian also suggested a more specific approach in sip_profiles/*.xml and input the sip-ip and rtp-ip for the sofia profile.
<param name="sip-ip" value="$${local_ip_v4}"/> to <param name="sip-ip" value="10.0.0.3"/>
<param name="rtp-ip" value="$${local_ip_v4}"/> to <param name="rtp-ip" value="10.0.0.3"/>
What's the advantage to doing it in the sip_profiles\internal.xml file over the general way in vars.xml?
-----Original Message----- From: Jason White <jason@jasonjgw.net> To: freeswitch-users@lists.freeswitch.org Sent: Sun, 4 Jan 2009 3:15 pm Subject: Re: [Freeswitch-users] How do I set my FS internal ip address to a "static" value.
mszlazak@aol.com <mszlazak@aol.com> wrote:
Ok, so is it $${local_ip_v4} that needs changing somewhere? I see stuff in
vars.xml for external address changes but not for internal ip address
changes??
If you set $${local_ip_v4} in vars.xml it will determine which address
FreeSWITCH binds to, at least in the default configuration.
Addresses can be configured more flexibly in the SIP profiles.
_______________________________________________
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
Get a free MP3 every day with the Spinner.com Toolbar. Get it Now. _______________________________________________ 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
Brian and Jason. I tried changing $${local_ip_v4} to a static IP in the vars.xml and internal and external sip_profiles files. This didn't work. What I want to do is maybe more related to what local ip address my Windows machine binds FreeSwitch to. It's currently associating it to 10.0.0.2 if I change? $${local_ip_v4} to 10.0.0.3 then FS gets errors and sofia status doesn't show any ip address associated with FS. I'm guessing I need to get Windows always associating FS with a static IP instead of a possibly changing value. I did this with a Linksys SPA3103 in it's configuration menu so is there something analogous for FS and how do I do that? Thanks. -----Original Message----- From: Brian West <brian@freeswitch.org> To: freeswitch-users@lists.freeswitch.org Sent: Sun, 4 Jan 2009 5:56 pm Subject: Re: [Freeswitch-users] How do I set my FS internal ip address to a "static" value. I'm going to guess you don't have the latest configs. ?bind_server_ip is for Dingaling ONLY at this point and is noted with the nice HUGE warning above the setting. You can set the local_ip_v4 address but you're better off setting the ip's in the profile. /b On Jan 4, 2009, at 6:23 PM, mszlazak@aol.com wrote: I see the following in that file: ? <X-PRE-PROCESS cmd="set" data="bind_server_ip=auto"/> and thought that's what might need changing to: ? <X-PRE-PROCESS cmd="set" data="bind_server_ip=10.0.0.3"/> But your looking at the same variable I was and I'm guessing something else might be in order like: <X-PRE-PROCESS cmd="set" data="local_ip_v4=10.0.0.3"/> I'll see if either of these work unless you have a different suggestion. You and Brian also suggested a more specific approach in sip_profiles/*.xml and input the sip-ip and rtp-ip for the sofia profile. ??? <param name="sip-ip" value="$${local_ip_v4}"/>????? to???? <param name="sip-ip" value="10.0.0.3"/> ??? <param name="rtp-ip" value="$${local_ip_v4}"/>?????? to???? <param name="rtp-ip" value="10.0.0.3"/> What's the advantage to doing it in the sip_profiles\internal.xml file over the general way in vars.xml? ? ? -----Original Message----- From: Jason White <jason@jasonjgw.net> To: freeswitch-users@lists.freeswitch.org Sent: Sun, 4 Jan 2009 3:15 pm Subject: Re: [Freeswitch-users] How do I set my FS internal ip address to a "static" value. mszlazak@aol.com <mszlazak@aol.com> wrote:
Ok, so is it? $${local_ip_v4} that needs changing somewhere? I see stuff in
vars.xml for external address changes but not for internal ip address
changes??
If you set $${local_ip_v4} in vars.xml it will determine which address FreeSWITCH binds to, at least in the default configuration. Addresses can be configured more flexibly in the SIP profiles. _______________________________________________ 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 Get a free MP3 every day with the Spinner.com Toolbar. Get it Now. _______________________________________________ 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 = _______________________________________________ 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
Well I did say open up sip_profiles/internal.xml or sip_profiles/ external.xml and every place it has $${local_ip_v4} REPLACE IT with the desired IP. Is 10.0.0.3 bound to your windows machine? /b On Jan 5, 2009, at 12:06 AM, mszlazak@aol.com wrote:
I tried changing $${local_ip_v4} to a static IP in the vars.xml and internal and external sip_profiles files. This didn't work.
Brian, I did that and know it was every instance since I used Textpad's "replace" function. -----Original Message----- From: Brian West <brian@freeswitch.org> To: freeswitch-users@lists.freeswitch.org Sent: Sun, 4 Jan 2009 10:13 pm Subject: Re: [Freeswitch-users] How do I set my FS internal ip address to a "static" value. Well I did say open up sip_profiles/internal.xml or sip_profiles/external.xml and every place it has $${local_ip_v4} REPLACE IT with the desired IP. ?Is?10.0.0.3 bound to your windows machine? /b On Jan 5, 2009, at 12:06 AM, mszlazak@aol.com wrote: I tried changing $${local_ip_v4} to a static IP in the vars.xml and internal and external sip_profiles files. This didn't work. = _______________________________________________ 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
mszlazak@aol.com <mszlazak@aol.com> wrote:
I tried changing $${local_ip_v4} to a static IP in the vars.xml and internal and external sip_profiles files. This didn't work.
Make sure that one of your network interfaces - the one that you want FreeSWITCH to use - is assigned that address first, otherwise there will be nothing for FreeSWITCH to bind to when it starts. I don't know much about Windows, so if you're running FreeSWITCH on Windows, I'm sure there will be others on the list who are in a position to help. If you're using Linux, just make sure that the address you want is associated with an interface, e.g., using ifconfig, then start FreeSWITCH with the pre-processor variable $${local_ip_v4} set appropriately.
Jason, I have no idea either but if I assign an IP address to the network interface, say 10.0.0.3 then I may have another problem. I have a Voxeo Prophecy ASR server being assigned to 10.0.0.2. Actually both FS and Prophecy were being assigned by Windows to 10.0.0.2 but this was causing audio transfer problems when I bridged FS to Prophecy. So I wanted to assign FS to something else but I *believe* that Windows only uses one adaptor. What I need to do next I don't know (create another adaptor) and probably I've never done. -----Original Message----- From: Jason White <jason@jasonjgw.net> To: freeswitch-users@lists.freeswitch.org Sent: Sun, 4 Jan 2009 10:17 pm Subject: Re: [Freeswitch-users] How do I set my FS internal ip address to a "static" value. mszlazak@aol.com <mszlazak@aol.com> wrote:
I tried changing $${local_ip_v4} to a static IP in the vars.xml and internal and external sip_profiles files. This didn't work.
Make sure that one of your network interfaces - the one that you want FreeSWITCH to use - is assigned that address first, otherwise there will be nothing for FreeSWITCH to bind to when it starts. I don't know much about Windows, so if you're running FreeSWITCH on Windows, I'm sure there will be others on the list who are in a position to help. If you're using Linux, just make sure that the address you want is associated with an interface, e.g., using ifconfig, then start FreeSWITCH with the pre-processor variable $${local_ip_v4} set appropriately. _______________________________________________ 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
participants (3)
-
Brian West
-
Jason White
-
mszlazak@aol.com