local_ip_v4 is setup inside switch_core.c as a global variable that can be used in the config. FreeSWITCH will try to detect the proper address to bind to for the sip profiles in your case it can't figure it out since you might not be connected to the internet. So you can open up vars.xml and set it... remember the default configs are just an example of how to use FreeSWITCH not the set in stone way you should use FreeSWITCH. You can also open up the xml files in sip_profiles and input the sip-ip and rtp-ip in there also. /b On Nov 26, 2008, at 5:48 AM, Carole O. wrote:
Hello,
I have just installed Freeswitch on OpenSUSE 10.3.
I was wondering where the variable indicated with $$ get their values. I get some problems with the variables local_ip_v4 and domain which are both initialized with the loopback address 127.0.0.1. Thereof, no registration is possible on the ip address of the PC (192.168.1.200) since the port 5060 is closed. Freeswitch is apparently waiting on the port 5060 of the ip address 127.0.0.1 which is open. How does it come that the loopback address is chosen?
I try the following: add in vars.xml $${local_ip_v4}=192.168.1.200. After this freeswitch is listening at the port 5060 of 192.168.1.200. So it seems to work, even if it does not answer my first question (where does the default value of local_ip_v4 come?). Moreover, I got another problem. The registrations are now possible but I observe that the default domain is still bound to the ip address 127.0.0.1. So I try to add in vars.xml $${domain}=192.168.1.200, which did not work. The domain is still bound to 127.0.0.1. Why????
I thank you in advance for your help. Best regards, Carole