[Freeswitch-users] how can i tell freeswitch listen on 0.0.0.0 and a fixed ip
the os have three ip, one public ipv4 with adsl which is dynamic assigned every time, two lan ip in diffrent scope, 192.169.0.2 ,192.168.5.2. when freeswitch start ,it auto bind to the pubic ip, so the lan user cann't connect to freeswitch use lan ip. i have setting X-PRE-PROCESS cmd=set data=bind_server_ip=0.0.0.0/ but have no effect, freeswitch also auto bind to the public ip. any help is thanks. ___ 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 can i tell freeswitch listen on 0.0.0.0 and a fixed ip
jun yang yj13535428...@gmail.com wrote: when freeswitch start ,it auto bind to the pubic ip, so the lan user cann't connect to freeswitch use lan ip. i have setting X-PRE-PROCESS cmd=set data=bind_server_ip=0.0.0.0/ but have no effect, freeswitch also auto bind to the public ip. any help is thanks. Set local_ip_v4 in vars.xml to your desired IP address. ___ 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 can i tell freeswitch listen on 0.0.0.0 and a fixed ip
i add X-PRE-PROCESS cmd=set data=local_ip_v4=0.0.0.0/ before X-PRE-PROCESS cmd=set data=domain=$${local_ip_v4}/ and it has no effect all the same. is that something wrong. 2009/9/11 Jason White ja...@jasonjgw.net jun yang yj13535428...@gmail.com wrote: when freeswitch start ,it auto bind to the pubic ip, so the lan user cann't connect to freeswitch use lan ip. i have setting X-PRE-PROCESS cmd=set data=bind_server_ip=0.0.0.0/ but have no effect, freeswitch also auto bind to the public ip. any help is thanks. Set local_ip_v4 in vars.xml to your desired IP address. ___ 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 can i tell freeswitch listen on 0.0.0.0 and a fixed ip
when i set local_ip_v4 to 0.0.0.0 i see the info below: 2009-09-11 20:22:27.15625 [WARNING] sofia.c:2291 Invalid IP 0.0.0.0 replaced with 218.21.105.133 2009-09-11 20:22:27.15625 [WARNING] sofia.c:2300 Invalid IP 0.0.0.0 replaced with 218.21.105.133 2009-09-11 20:22:27.15625 [NOTICE] sofia.c:1509 Adding Alias [0.0.0.0] for profile [internal] 2009/9/11 jun yang yj13535428...@gmail.com i add X-PRE-PROCESS cmd=set data=local_ip_v4=0.0.0.0/ before X-PRE-PROCESS cmd=set data=domain=$${local_ip_v4}/ and it has no effect all the same. is that something wrong. 2009/9/11 Jason White ja...@jasonjgw.net jun yang yj13535428...@gmail.com wrote: when freeswitch start ,it auto bind to the pubic ip, so the lan user cann't connect to freeswitch use lan ip. i have setting X-PRE-PROCESS cmd=set data=bind_server_ip=0.0.0.0/ but have no effect, freeswitch also auto bind to the public ip. any help is thanks. Set local_ip_v4 in vars.xml to your desired IP address. ___ 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 can i tell freeswitch listen on 0.0.0.0 and a fixed ip
i also found that: 2009/7/17 Raul Fragoso raul at etellicom.com http://lists.freeswitch.org/mailman/listinfo/freeswitch-users: * You can not do that with a single profile. Each profile is bound to only ** one local IP, so if you need to bind to more than one you will have to ** create a new profile and set the specific sip-ip/rtp-ip params for them. ** but cann't understand how to do..* 2009/9/11 jun yang yj13535428...@gmail.com the os have three ip, one public ipv4 with adsl which is dynamic assigned every time, two lan ip in diffrent scope, 192.169.0.2 ,192.168.5.2. when freeswitch start ,it auto bind to the pubic ip, so the lan user cann't connect to freeswitch use lan ip. i have setting X-PRE-PROCESS cmd=set data=bind_server_ip=0.0.0.0/ but have no effect, freeswitch also auto bind to the public ip. any help is thanks. ___ 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 can i tell freeswitch listen on 0.0.0.0 and a fixed ip
You can NOT bind to 0.0.0.0 you can however use ${local_ip_v4} and if the IP changes sofia will bounce the profile and update the IP. /b On Sep 11, 2009, at 7:55 AM, jun yang wrote: i also found that: 2009/7/17 Raul Fragoso raul at etellicom.com: You can not do that with a single profile. Each profile is bound to only one local IP, so if you need to bind to more than one you will have to create a new profile and set the specific sip-ip/rtp-ip params for them. but cann't understand how to do.. 2009/9/11 jun yang yj13535428...@gmail.com the os have three ip, one public ipv4 with adsl which is dynamic assigned every time, two lan ip in diffrent scope, 192.169.0.2 , 192.168.5.2. when freeswitch start ,it auto bind to the pubic ip, so the lan user cann't connect to freeswitch use lan ip. i have setting X-PRE-PROCESS cmd=set data=bind_server_ip=0.0.0.0/ but have no effect, freeswitch also auto bind to the public ip. any help is thanks. ___ 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 can i tell freeswitch listen on 0.0.0.0 and a fixed ip
sip in general cannot properly support binding to 0.0.0.0 for a UAS, there is no easy way for the sip stack to know which traffic is for which host and all of the outbound traffic will appear to go out a single interface when no specific binding is made. running each ip on it's own profile is the correct way to do multi ip configurations. On Fri, Sep 11, 2009 at 8:19 AM, Brian West br...@freeswitch.org wrote: You can NOT bind to 0.0.0.0 you can however use ${local_ip_v4} and if the IP changes sofia will bounce the profile and update the IP. /b On Sep 11, 2009, at 7:55 AM, jun yang wrote: i also found that: 2009/7/17 Raul Fragoso raul at etellicom.com http://lists.freeswitch.org/mailman/listinfo/freeswitch-users: * You can not do that with a single profile. Each profile is bound to only ** one local IP, so if you need to bind to more than one you will have to ** create a new profile and set the specific sip-ip/rtp-ip params for them. ** but cann't understand how to do..* 2009/9/11 jun yang yj13535428...@gmail.com the os have three ip, one public ipv4 with adsl which is dynamic assigned every time, two lan ip in diffrent scope, 192.169.0.2 ,192.168.5.2. when freeswitch start ,it auto bind to the pubic ip, so the lan user cann't connect to freeswitch use lan ip. i have setting X-PRE-PROCESS cmd=set data=bind_server_ip=0.0.0.0/ but have no effect, freeswitch also auto bind to the public ip. any help is thanks. ___ 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org pstn:213-799-1400 ___ 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 can i tell freeswitch listen on 0.0.0.0 and a fixed ip
thanks for the info that it is a sip problem. seems it should be doc in wiki to explain that how to configure freeswitch so that client can connect from any interface, cause not everyone play with freeswitch is a sip guru. so thanks any way, i should learn more with sip and freeswitch. 2009/9/11 Anthony Minessale anthony.miness...@gmail.com sip in general cannot properly support binding to 0.0.0.0 for a UAS, there is no easy way for the sip stack to know which traffic is for which host and all of the outbound traffic will appear to go out a single interface when no specific binding is made. running each ip on it's own profile is the correct way to do multi ip configurations. On Fri, Sep 11, 2009 at 8:19 AM, Brian West br...@freeswitch.org wrote: You can NOT bind to 0.0.0.0 you can however use ${local_ip_v4} and if the IP changes sofia will bounce the profile and update the IP. /b On Sep 11, 2009, at 7:55 AM, jun yang wrote: i also found that: 2009/7/17 Raul Fragoso raul at etellicom.com http://lists.freeswitch.org/mailman/listinfo/freeswitch-users: * You can not do that with a single profile. Each profile is bound to only ** one local IP, so if you need to bind to more than one you will have to ** create a new profile and set the specific sip-ip/rtp-ip params for them. ** but cann't understand how to do..* 2009/9/11 jun yang yj13535428...@gmail.com the os have three ip, one public ipv4 with adsl which is dynamic assigned every time, two lan ip in diffrent scope, 192.169.0.2 ,192.168.5.2. when freeswitch start ,it auto bind to the pubic ip, so the lan user cann't connect to freeswitch use lan ip. i have setting X-PRE-PROCESS cmd=set data=bind_server_ip=0.0.0.0/ but have no effect, freeswitch also auto bind to the public ip. any help is thanks. ___ 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org pstn:213-799-1400 ___ 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