[Freeswitch-users] Multi-Homed setup, starting over - still not working

Joseph L. Casale jcasale at activenetwerx.com
Tue Jan 12 09:29:18 PST 2010


>Hi Guys
> 
>I really would like to have this up and running, but I'm constantly running into things that doesn't work, and I have no idea where the problem is...
> 
>I've started from scratch with pfSense and Freeswitch.
>I've followed the Multi Home tutorial here: http://wiki.freeswitch.org/wiki/Multi_home_tutorial
> 
>I've deleted the 'lan' profile, and altered the 'internal' profile as recommended, and I've gotten to the paragraph:
>
>APPLYING YOUR CHANGES AND CHECKING YOUR WORK
>
>When I start up my x-lite program I get this error:
>2010-01-12 16:38:54.172731 [WARNING] sofia_reg.c:1755 Can't find user [1000 at 83.89.x.x]
>You must define a domain called '83.89.x.xin your directory and add a user with the id="1000" attribute
>and you must configure your device to use the proper domain in it's authentication credentials.
>and you must configure your device to use the proper domain in it's authentication credentials.
> 
>83.89.x.x is my external IP, and not my internal IP???
>
>Any help on this?

This is because you haven't set your domain in vars.xml. The behavior is that
$${local_ip_v4} evals to your wan ip. This is the first step in that tutorial:)
http://wiki.freeswitch.org/wiki/Multi_home_tutorial#INTERNAL_LAN

Open vars.xml, make the line:
  <X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/>
  <X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/>

Match your lan ip:
  <X-PRE-PROCESS cmd="set" data="domain=192.168.13.1"/>
  <X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/>
 
restart fs, then goto the fs_cli and type `eval ${domain}` it should
come back with "your" lan ip.




More information about the FreeSWITCH-users mailing list