Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] How do I set my FS internal ip address to a "static" value.


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





PostPosted: Sun Jan 04, 2009 3:16 pm    Post subject: [Freeswitch-users] How do I set my FS internal ip address to Reply with quote

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





PostPosted: Sun Jan 04, 2009 3:54 pm    Post subject: [Freeswitch-users] How do I set my FS internal ip address to Reply with quote

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





PostPosted: Sun Jan 04, 2009 4:12 pm    Post subject: [Freeswitch-users] How do I set my FS internal ip address to Reply with 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??








-----Original Message-----
From: Ken Rice <krice@suspicious.org>
To: freeswitch-users@lists.freeswitch.org
Sent: Sun, 4 Jan 2009 12:48 pm
Subject: Re: [Freeswitch-users] How do I set my FS internal ip address to a "static" value.

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 (mszlazak@aol.com)>
Reply-To: <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Date: Sun, 04 Jan 2009 15:14:27 -0500
To: <freeswitch-users@lists.freeswitch.org (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=2 0my 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 (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

=0 A
Quote:
_______________________________________________
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

Get a free MP3 every day with the Spinner.com Toolbar. Get it Now.
Back to top
brian at freeswitch.org
Guest





PostPosted: Sun Jan 04, 2009 5:07 pm    Post subject: [Freeswitch-users] How do I set my FS internal ip address to Reply with quote

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





PostPosted: Sun Jan 04, 2009 7:26 pm    Post subject: [Freeswitch-users] How do I set my FS internal ip address to Reply with 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>
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.

Quote:
mszlazak@aol.com (mszlazak@aol.com) <mszlazak@aol.com (mszlazak@aol.com)> wrote:


Quote:
Ok, so is it  $${local_ip_v4} that needs changing somewhere? I see stuff in

Quote:
vars.xml for external address changes but not for internal ip address

Quote:
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 (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.
Back to top
brian at freeswitch.org
Guest





PostPosted: Sun Jan 04, 2009 8:57 pm    Post subject: [Freeswitch-users] How do I set my FS internal ip address to Reply with quote

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.

Quote:
mszlazak@aol.com (mszlazak@aol.com) <mszlazak@aol.com (mszlazak@aol.com)> wrote:


Quote:
Ok, so is it  $${local_ip_v4} that needs changing somewhere? I see stuff in

Quote:
vars.xml for external address changes but not for internal ip address

Quote:
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 (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 (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





PostPosted: Mon Jan 05, 2009 1:08 am    Post subject: [Freeswitch-users] How do I set my FS internal ip address to Reply with quote

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:
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.

Quote:
mszlazak@aol.com (mszlazak@aol.com) <mszlazak@aol.com (mszlazak@aol.com)> wrote:






Quote:
Ok, so is it  $${local_ip_v4} that needs changing somewhere? I see stuff in



Quote:
vars.xml for external address changes but not for internal ip address



Quote:
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 (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 (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



=
Quote:
_______________________________________________
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

Get a free MP3 every day with the Spinner.com Toolbar. Get it Now.
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Jan 05, 2009 1:20 am    Post subject: [Freeswitch-users] How do I set my FS internal ip address to Reply with quote

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





PostPosted: Mon Jan 05, 2009 1:37 am    Post subject: [Freeswitch-users] How do I set my FS internal ip address to Reply with quote

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.



=
Quote:
_______________________________________________
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

Get a free MP3 every day with the Spinner.com Toolbar. Get it Now.
Back to top
mszlazak at aol.com
Guest





PostPosted: Mon Jan 05, 2009 1:57 am    Post subject: [Freeswitch-users] How do I set my FS internal ip address to Reply with quote

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.

Quote:
mszlazak@aol.com (mszlazak@aol.com) <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.

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 (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.
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