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



_______________________________________________
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