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

Kin Quek kin_quek at yahoo.com
Thu Sep 11 20:00:15 PDT 2008


Anthony,

FS is installed on Windows Vista, so below is my 
conf\directory\default\1001.xml:
<include>
  <user id="1001" mailbox="1001">
    <params>
      <param name="password" value="1234"/>
      <param name="vm-password" value="1001"/>
    </params>
    <variables>
      <variable name="accountcode" value="1001"/>
      <variable name="user_context" value="default"/>
      <variable name="effective_caller_id_name" value="Extension 1001"/>
      <variable name="effective_caller_id_number" value="1001"/>
    </variables>
  </user>
</include>
---------------------
<domain name = 12.345.67.89> was not defined here.
Should I add the domain name value in 1001.xml?
Thanks for your help,

Kin Quek

Anthony Minessale      anthony.minessale at gmail.com        
     Thu Sep 11 13:58:36 EDT 2008
---------------------------------
    
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 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: Send Freeswitch-users mailing list submissions to
 freeswitch-users at lists.freeswitch.org

To subscribe or unsubscribe via the World Wide Web, visit
 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
or, via email, send a message with subject or body 'help' to
 freeswitch-users-request at lists.freeswitch.org

You can reach the person managing the list at
 freeswitch-users-owner at lists.freeswitch.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Freeswitch-users digest..."
Today's Topics:

   1. Re: DTMF issues/question (Brian West)
   2. Re: Can't set up users outside of local domain... (Kin Quek)
From: Brian West <brian at freeswitch.org>
To: freeswitch-users at lists.freeswitch.org
Date: Thu, 11 Sep 2008 17:57:52 -0500
Subject: Re: [Freeswitch-users] DTMF issues/question

 Can you get me a trace of inbound RFC2833... call your cellphone press  
1234,, the press 1234 outbound... I need the pcap file so I can see  
what they are sending.

/b

On Sep 11, 2008, at 5:51 PM, Marc Lewis wrote:

> The problems arise when trying to send to other IVR's.  My last  
> tests have been to call my two different banks and american  
> express.  None of the three of them recognized the DTMF tones.

Brian West
sip:brian at freeswitch.org








From: Kin Quek <kin_quek at yahoo.com>
To: freeswitch-users at lists.freeswitch.org
Date: Thu, 11 Sep 2008 19:13:45 -0700 (PDT)
Subject: Re: [Freeswitch-users] Can't set up users outside of local domain...

 
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

         

           _______________________________________________
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/c471f355/attachment-0002.html 


More information about the FreeSWITCH-users mailing list