View previous topic :: View next topic |
Author |
Message |
mszlazak at aol.com Guest
|
Posted: Sun Jan 04, 2009 3:16 pm Post subject: [Freeswitch-users] How do I set my FS internal ip address to |
|
|
I believe there is a variable $${domain} that is used by FreeSwitch for it's internal IP address. This address was 10.0.0.2 but changes when I connect or disconnect things to my computer and I wanted to make it "static." The "Getting Started Guide" suggests this is do-able but it seems I have to change things in several places besides vars.xml like \sip_profiles\internal.xml and maybe other places. Is there some general way to set my internal domain?
Thanks.
Get a free MP3 every day with the Spinner.com Toolbar. Get it Now. |
|
Back to top |
|
|
krice at suspicious.org Guest
|
Posted: Sun Jan 04, 2009 3:54 pm Post subject: [Freeswitch-users] How do I set my FS internal ip address to |
|
|
That is the DOMAIN not the IP... Hence the name is domain... If you look thru vars.xml you’ll see other variables for the IP...
From: <mszlazak@aol.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Sun, 04 Jan 2009 15:14:27 -0500
To: <freeswitch-users@lists.freeswitch.org>
Subject: [Freeswitch-users] How do I set my FS internal ip address to a "static" value.
I believe there is a variable $${domain} that is used by FreeSwitch for it's internal IP address. This address was 10.0.0.2 but changes when I connect or disconnect things to my computer and I wanted to make it "static." The "Getting Started Guide" suggests this is do-able but it seems I have to change things in several places besides vars.xml like \sip_profiles\internal.xml and maybe other places. Is there some general way to set my internal domain?
Thanks.
Get a free MP3 every day with the Spinner.com Toolbar. Get it Now <http://toolbar.aol.com/spinner/download.html?ncid=emlweusdown00000020> .
_______________________________________________
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 |
|
|
mszlazak at aol.com Guest
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sun Jan 04, 2009 5:07 pm Post subject: [Freeswitch-users] How do I set my FS internal ip address to |
|
|
or you can open the confit in sip_profiles/*.xml and input the sip-ip and rtp-ip for the sofia profile.
/b
On Jan 4, 2009, at 3:05 PM, mszlazak@aol.com (mszlazak@aol.com) wrote:
Quote: | 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??
|
|
|
Back to top |
|
|
mszlazak at aol.com Guest
|
Posted: Sun Jan 04, 2009 7:26 pm Post subject: [Freeswitch-users] How do I set my FS internal ip address to |
|
|
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.
Get a free MP3 every day with the Spinner.com Toolbar. Get it Now. |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sun Jan 04, 2009 8:57 pm Post subject: [Freeswitch-users] How do I set my FS internal ip address to |
|
|
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 (mszlazak@aol.com) wrote:
Quote: | 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 (jason@jasonjgw.net)>
To: freeswitch-users@lists.freeswitch.org (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.
Get a free MP3 every day with the Spinner.com Toolbar. Get it Now.
_______________________________________________
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
|
|
|
Back to top |
|
|
mszlazak at aol.com Guest
|
Posted: Mon Jan 05, 2009 1:08 am Post subject: [Freeswitch-users] How do I set my FS internal ip address to |
|
|
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 (mszlazak@aol.com) wrote:
=
Get a free MP3 every day with the Spinner.com Toolbar. Get it Now. |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Mon Jan 05, 2009 1:20 am Post subject: [Freeswitch-users] How do I set my FS internal ip address to |
|
|
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 (mszlazak@aol.com) wrote:
Quote: | 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. |
|
|
Back to top |
|
|
mszlazak at aol.com Guest
|
Posted: Mon Jan 05, 2009 1:37 am Post subject: [Freeswitch-users] How do I set my FS internal ip address to |
|
|
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 (mszlazak@aol.com) wrote:
Quote: | 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. |
=
Get a free MP3 every day with the Spinner.com Toolbar. Get it Now. |
|
Back to top |
|
|
mszlazak at aol.com Guest
|
Posted: Mon Jan 05, 2009 1:57 am Post subject: [Freeswitch-users] How do I set my FS internal ip address to |
|
|
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.
Get a free MP3 every day with the Spinner.com Toolbar. Get it Now. |
|
Back to top |
|
|
|