just like the verbose warning states:

did you look in you user directory and confirm you have a
<domain name="12.345.67.89"> with a <user id="1001"> in there?

open /usr/local/freeswitch/log/freeswitch.xml.fsxml
and look for <directory
and visually confirm it's configured.


On Thu, Sep 11, 2008 at 12:32 PM, Kin Quek <kin_quek@yahoo.com> wrote:
Brian,
Thanks for the quick response. I did exactly as you suggested:
Now vars.xml is as below:

  <!-- Preprocessor Variables
       These are introduced when configuration strings must be consistent across modules.
   -->
  <X-PRE-PROCESS cmd="set" data="sound_prefix=$${base_dir}/sounds/en/us/callie"/>
  <X-PRE-PROCESS cmd="set" data="domain=12.345.67.89"/>
  <X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh"/>
......
Everything else is the same as before. I exited FS and restarted it again. I used X-Lite to register again:
Username: 1001
Password: 1234
Auth username: 1001

Domain: 12.345.67.89
------
The same response from FS as before: [Warning] sofia_reg.c:1251 sofia_reg_parse_auth() can't find user [1001@12.345.67.89] You must define a domain called '12.345.67.89' in your directory and add a user with the id="1001" attribute and you must configure your device to use the proper domain in its authentication credentials.

The response on X-Lite:
Registration error: 403 - Forbidden
------
I may want to add: I ran FS on Windows Vista with the latest binary downloaded from FS web-site.

Note: registration with my local domain 192.168.0.104 works! Ping to 12.345.67.89 is OK as well.

Any suggestions?

Thanks for your help!

Kin Quek
 

freeswitch-users-request@lists.freeswitch.org wrote:
From: Brian West <brian@freeswitch.org>
To: freeswitch-users@lists.freeswitch.org
Date: Thu, 11 Sep 2008 10:53:48 -0500
Subject: Re: [Freeswitch-users] Can't set up users outside of local domain...


Revert to the default config and open up vars.xml and set the domain=
tag to the 12.345.67.89 address. Restart and try again. That should
be all you need to do.

/b

On Sep 11, 2008, at 10:28 AM, Kin Quek wrote:

> 12.345.67.89

Brian West
sip:brian@freeswitch.org








From: Brian West <brian@freeswitch.org>
To: freeswitch-users@lists.freeswitch.org
Date: Thu, 11 Sep 2008 10:56:07 -0500
Subject: Re: [Freeswitch-users] Can't set up users outside of local domain...


Was this listed on the wiki somewhere?



On Sep 11, 2008, at 10:28 AM, Kin Quek wrote:

>



_______________________________________________
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/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400