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

2009-02-02 Thread Brian West
you need to add this setting to sofia.conf.xml

param name=auto-restart value=false/


You'll also need to edit the sofia profiles and input the exact IP you  
wish it to bind to.  The params are sip-ip and rtp-ip.

/b

On Feb 1, 2009, at 3:24 PM, c...@eugeneweb.com wrote:

 Hi Gang,

 I've been struggleing with this also. Actually I can get it to bind  
 to my
 address, the problem is it randomly drops my calls. :-(

 I have a FS running on a box with a static IP and I can start a call  
 between
 two extensions and it will go for hours. Then I add anther interface  
 say eth0:0
 with a new static IP and reconfigure my phones and FS to use that,  
 and the
 calls drop after about 15-20 mins. Though it's pretty random.

 Here is my setup. I have Debian Linux 2.6.23.1 kernel, and  
 freeswitch-1.0.1.
 Here is my /etc/network/interfaces:

 # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

 # The loopback interface
 auto lo
 iface lo inet loopback

 # The first network card - this entry was created during the Debian
 installation
 auto eth0 eth0:0
 iface eth0 inet dhcp
 iface eth0:0 inet static
   address 192.168.0.249
   netmask 255.255.255.0
   gateway 192.168.0.254

 The only change I made to the FS config is in Vars.xml. I added this  
 line close
 to the top:

 X-PRE-PROCESS cmd=set data=local_ip_v4=192.168.0.249/

 Here is the console log of the call being dropped:

 freeswi...@archive sofia status
 API CALL [sofia(status)] output:
  NameType   Data
 State
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 ==
  external profile sip:mod_so...@67.171.158.226:5080
 RUNNING (0)
  internal profile   sip:mod_so...@192.168.0.249:5060
 RUNNING (2)
   nat profile sip:mod_so...@67.171.158.226:5070
 RUNNING (0)
   default   alias   internal
 ALIASED
  outbound   alias   external
 ALIASED
 192.168.0.249   alias   internal
 ALIASED
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 ==
 3 profiles 3 aliases

 freeswi...@archive 2009-02-01 13:23:19 [NOTICE] sofia_glue.c:2634
 sofia_glue_restart_all_profiles() Reload XML [Success]
 2009-02-01 13:23:19 [INFO] mod_enum.c:817 event_handler() ENUM  
 Reloaded
 2009-02-01 13:23:19 [NOTICE] mod_sofia.c:568 sofia_read_frame() Hangup
 sofia/internal/ 
 1...@192.168.0.53:5060;user=phone;transport=udp;fs_nat=yes
 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
 2009-02-01 13:23:19 [NOTICE] switch_ivr_bridge.c:820
 switch_ivr_multi_threaded_bridge() Hangup sofia/internal/1...@192.168.0.249
 [CS_EXECUTE] [NORMAL_CLEARING]
 2009-02-01 13:23:19 [NOTICE] switch_core_session.c:807
 switch_core_session_thread() Session 6
 (sofia/internal/ 
 1...@192.168.0.53:5060;user=phone;transport=udp;fs_nat=yes)
 Ended
 2009-02-01 13:23:19 [NOTICE] switch_core_session.c:809
 switch_core_session_thread() Close Channel
 sofia/internal/ 
 1...@192.168.0.53:5060;user=phone;transport=udp;fs_nat=yes
 [CS_HANGUP]
 2009-02-01 13:23:19 [NOTICE] switch_core_session.c:807
 switch_core_session_thread() Session 5 (sofia/internal/1...@192.168.0.249 
 )
 Ended
 2009-02-01 13:23:19 [NOTICE] switch_core_session.c:809
 switch_core_session_thread() Close Channel sofia/internal/1...@192.168.0.249
 [CS_HANGUP]
 2009-02-01 13:23:19 [NOTICE] sofia.c:645 sofia_profile_thread_run()  
 waiting for
 worker thread
 2009-02-01 13:23:19 [NOTICE] sofia.c:645 sofia_profile_thread_run()  
 waiting for
 worker thread
 2009-02-01 13:23:19 [NOTICE] sofia.c:1865 config_sofia() Adding Alias
 [192.168.0.249] for profile [internal]
 2009-02-01 13:23:19 [NOTICE] sofia.c:1865 config_sofia() Adding  
 Alias [default]
 for profile [internal]
 2009-02-01 13:23:19 [NOTICE] sofia.c:1875 config_sofia() Started  
 Profile
 internal [sofia_reg_internal]
 2009-02-01 13:23:20 [NOTICE] sofia.c:1865 config_sofia() Adding Alias
 [outbound] for profile [external]
 2009-02-01 13:23:20 [NOTICE] sofia.c:1875 config_sofia() Started  
 Profile
 external [sofia_reg_external]
 2009-02-01 13:23:20 [NOTICE] sofia.c:645 sofia_profile_thread_run()  
 waiting for
 worker thread
 2009-02-01 13:23:20 [NOTICE] sofia.c:1875 config_sofia() Started  
 Profile nat
 [sofia_reg_nat]
 sofia status
 API CALL [sofia(status)] output:
  NameType   Data
 State
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 = 
 ==
  external profile sip:mod_so...@67.171.158.226:5080
 

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

2009-02-02 Thread clif
Hi Gang,

I've been struggleing with this also. Actually I can get it to bind to my 
address, the problem is it randomly drops my calls. :-(

I have a FS running on a box with a static IP and I can start a call between 
two extensions and it will go for hours. Then I add anther interface say eth0:0 
with a new static IP and reconfigure my phones and FS to use that, and the 
calls drop after about 15-20 mins. Though it's pretty random.

Here is my setup. I have Debian Linux 2.6.23.1 kernel, and freeswitch-1.0.1. 
Here is my /etc/network/interfaces:

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian 
installation
auto eth0 eth0:0
iface eth0 inet dhcp
iface eth0:0 inet static
address 192.168.0.249
netmask 255.255.255.0
gateway 192.168.0.254

The only change I made to the FS config is in Vars.xml. I added this line close 
to the top:

X-PRE-PROCESS cmd=set data=local_ip_v4=192.168.0.249/

Here is the console log of the call being dropped:

freeswi...@archive sofia status
API CALL [sofia(status)] output:
  Name Type   Data 
State
=
  external  profile sip:mod_so...@67.171.158.226:5080 
RUNNING (0)
  internal  profile   sip:mod_so...@192.168.0.249:5060 
RUNNING (2)
   nat  profile sip:mod_so...@67.171.158.226:5070 
RUNNING (0)
   defaultalias   internal 
ALIASED
  outboundalias   external 
ALIASED
 192.168.0.249alias   internal 
ALIASED
=
3 profiles 3 aliases

freeswi...@archive 2009-02-01 13:23:19 [NOTICE] sofia_glue.c:2634 
sofia_glue_restart_all_profiles() Reload XML [Success]
2009-02-01 13:23:19 [INFO] mod_enum.c:817 event_handler() ENUM Reloaded
2009-02-01 13:23:19 [NOTICE] mod_sofia.c:568 sofia_read_frame() Hangup 
sofia/internal/1...@192.168.0.53:5060;user=phone;transport=udp;fs_nat=yes 
[CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2009-02-01 13:23:19 [NOTICE] switch_ivr_bridge.c:820 
switch_ivr_multi_threaded_bridge() Hangup sofia/internal/1...@192.168.0.249 
[CS_EXECUTE] [NORMAL_CLEARING]
2009-02-01 13:23:19 [NOTICE] switch_core_session.c:807 
switch_core_session_thread() Session 6 
(sofia/internal/1...@192.168.0.53:5060;user=phone;transport=udp;fs_nat=yes) 
Ended
2009-02-01 13:23:19 [NOTICE] switch_core_session.c:809 
switch_core_session_thread() Close Channel 
sofia/internal/1...@192.168.0.53:5060;user=phone;transport=udp;fs_nat=yes 
[CS_HANGUP]
2009-02-01 13:23:19 [NOTICE] switch_core_session.c:807 
switch_core_session_thread() Session 5 (sofia/internal/1...@192.168.0.249) 
Ended
2009-02-01 13:23:19 [NOTICE] switch_core_session.c:809 
switch_core_session_thread() Close Channel sofia/internal/1...@192.168.0.249 
[CS_HANGUP]
2009-02-01 13:23:19 [NOTICE] sofia.c:645 sofia_profile_thread_run() waiting for 
worker thread
2009-02-01 13:23:19 [NOTICE] sofia.c:645 sofia_profile_thread_run() waiting for 
worker thread
2009-02-01 13:23:19 [NOTICE] sofia.c:1865 config_sofia() Adding Alias 
[192.168.0.249] for profile [internal]
2009-02-01 13:23:19 [NOTICE] sofia.c:1865 config_sofia() Adding Alias [default] 
for profile [internal]
2009-02-01 13:23:19 [NOTICE] sofia.c:1875 config_sofia() Started Profile 
internal [sofia_reg_internal]
2009-02-01 13:23:20 [NOTICE] sofia.c:1865 config_sofia() Adding Alias 
[outbound] for profile [external]
2009-02-01 13:23:20 [NOTICE] sofia.c:1875 config_sofia() Started Profile 
external [sofia_reg_external]
2009-02-01 13:23:20 [NOTICE] sofia.c:645 sofia_profile_thread_run() waiting for 
worker thread
2009-02-01 13:23:20 [NOTICE] sofia.c:1875 config_sofia() Started Profile nat 
[sofia_reg_nat]
sofia status
API CALL [sofia(status)] output:
  Name Type   Data 
State
=
  external  profile sip:mod_so...@67.171.158.226:5080 
RUNNING (0)
  internal  profile   sip:mod_so...@192.168.0.249:5060 
RUNNING (0)
  outboundalias   external 
ALIASED
 192.168.0.249alias   internal 
ALIASED
   nat  profile sip:mod_so...@67.171.158.226:5070 
RUNNING (0)
   defaultalias   internal 
ALIASED
=
3 profiles 3 aliases

There is an older thread that says one 

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

2009-01-04 Thread Ken Rice
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: mszla...@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=emlweusdown0020 .


___
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


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

2009-01-04 Thread mszlazak

 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 kr...@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: mszla...@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=emlweusdown0020 . 





___

Freeswitch-users mailing li
st

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


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

2009-01-04 Thread Brian West
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, mszla...@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??







___
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


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

2009-01-04 Thread Jason White
mszla...@aol.com mszla...@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


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

2009-01-04 Thread mszlazak


 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 ja...@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.













mszla...@aol.com mszla...@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


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

2009-01-04 Thread Jason White
mszla...@aol.com mszla...@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.


___
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


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

2009-01-04 Thread Brian West
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, mszla...@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 ja...@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.


mszla...@aol.com mszla...@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


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

2009-01-04 Thread mszlazak

 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 br...@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, mszla...@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 ja...@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.
 
 
 
mszla...@aol.com mszla...@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



 

___
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


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

2009-01-04 Thread Brian West
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, mszla...@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


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

2009-01-04 Thread Jason White
mszla...@aol.com mszla...@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


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

2009-01-04 Thread mszlazak

 Brian, I did that and know it was every instance since I used Textpad's 
replace function. 


 

-Original Message-
From: Brian West br...@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, mszla...@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



 

___
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


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

2009-01-04 Thread mszlazak

 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 ja...@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.










mszla...@aol.com mszla...@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



 

___
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