[Freeswitch-users] Can't set up users outside of local domain...

Kin Quek kin_quek at yahoo.com
Thu Sep 11 22:13:45 EDT 2008


Brian,
Attached please find the sofia status.
Thanks,
Kin Quek
--------------------
show me the output of "sofia status"

/b

On Sep 11, 2008, at 12:32 PM, Kin Quek 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 at 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



Kin Quek <kin_quek at 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 at 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 at lists.freeswitch.org wrote: From: Brian West <brian at freeswitch.org>
To: freeswitch-users at 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 at freeswitch.org








From: Brian West <brian at freeswitch.org>
To: freeswitch-users at 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:

>   

Brian West
sip:brian at freeswitch.org








_______________________________________________
Freeswitch-users mailing  list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

         


       
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080911/b573284a/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sofia status.jpg
Type: image/jpeg
Size: 45084 bytes
Desc: 328730139-sofia status.jpg
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080911/b573284a/attachment-0001.jpg 


More information about the Freeswitch-users mailing list