Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
kin_quek at yahoo.com
Guest





PostPosted: Thu Sep 11, 2008 10:50 am    Post subject: [Freeswitch-users] Can't set up users outside of local domai Reply with quote

Hi All,
I am new to FreeSwitch so please bear with me if my question is too obvious. I set up FS in Boston and it is running fine. I want to set up a user in LA with username 1003 for example. I edited default.xml as below:

<include>
<!--the domain or ip (the right hand side of the @ in the addr-->
<domain name="$${domain}" value="12.345.67.89">
<params>
<param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain},transfer_fallback_extension=${dialed_user}}${sofia_contact(${dialed_domain}/${dialed_user}@${dialed_domain})}"/>
</params>

<variables>
<variable name="record_stereo" value="true"/>
</variables>

<X-PRE-PROCESS cmd="include" data="default/*.xml"/>
</domain>
</include>
-----------
I set up directory.xml as such:
<domain name="$${sip_profile}">
<user id="1003">
<params>
<param name="password" value="1234"/>
</params>
<variables>
<variable name="sip-force-contact" value="sip:1003@12.345.67.89"/>
</variables>
</user>
</domain>
----------------
My user in LA tried to register as user 1003 using X-Lite:
Username: 1003
Password: 1234
Auth username: 1003
Domain: 12.345.67.89
-------------
The remote user won't be able to register with FS. The warning messages are attached:
[Warning] sofia_reg.c: 1251 sofia_reg_parse_auth() can't find user [1003@12.345.67.89]
You must define a domain called '12.345.67.89' in your directory and add a user with the id="1003" attribute and you must configure your device to use the proper domain in it's authentication on credentials.
-------------
I tried different attempts including hard code the domain name value in default.xml and the error message remained the same. I know this is possible because my user at LA set up something similar with Asterisk and we have used it many times. I think it should be possible on FS as well.

Any help well be highly appreciated! Thanks in advance.

Best regards,

Kin Quek
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Sep 11, 2008 10:55 am    Post subject: [Freeswitch-users] Can't set up users outside of local domai Reply with quote

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:

Quote:
12.345.67.89

Brian West
sip:brian@freeswitch.org







_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Sep 11, 2008 10:58 am    Post subject: [Freeswitch-users] Can't set up users outside of local domai Reply with quote

Was this listed on the wiki somewhere?



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

Quote:
<domain name="$${domain}" value="12.345.67.89">

Brian West
sip:brian@freeswitch.org







_______________________________________________
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
Back to top
kin_quek at yahoo.com
Guest





PostPosted: Thu Sep 11, 2008 12:37 pm    Post subject: [Freeswitch-users] Can't set up users outside of local domai Reply with quote

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:
Quote:
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:

Quote:
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:


Brian West
sip:brian@freeswitch.org








_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Sep 11, 2008 12:50 pm    Post subject: [Freeswitch-users] Can't set up users outside of local domai Reply with quote

show me the output of "sofia status"

/b

On Sep 11, 2008, at 12:32 PM, Kin Quek wrote:
Quote:
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 (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 (freeswitch-users-request@lists.freeswitch.org) wrote:
Quote:
From: Brian West <brian@freeswitch.org (brian@freeswitch.org)>
To: freeswitch-users@lists.freeswitch.org (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:

Quote:
12.345.67.89

Brian West
[url=sip:brian@freeswitch.org]sip:brian@freeswitch.org[/url]








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:


Brian West
sip:brian@freeswitch.org








_______________________________________________
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


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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


Brian West
[url=sip:brian@freeswitch.org]sip:brian@freeswitch.org[/url]
Back to top
anthony.minessale at g...
Guest





PostPosted: Thu Sep 11, 2008 1:01 pm    Post subject: [Freeswitch-users] Can't set up users outside of local domai Reply with quote

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 (kin_quek@yahoo.com)> wrote:
Quote:
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 (freeswitch-users-request@lists.freeswitch.org) wrote:
Quote:
From: Brian West <brian@freeswitch.org (brian@freeswitch.org)>
To: freeswitch-users@lists.freeswitch.org (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:


Quote:
12.345.67.89

Brian West
sip:brian@freeswitch.org ([email]sip%3Abrian@freeswitch.org[/email])









From: Brian West <brian@freeswitch.org (brian@freeswitch.org)>
To: freeswitch-users@lists.freeswitch.org (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:



Brian West
sip:brian@freeswitch.org ([email]sip%3Abrian@freeswitch.org[/email])








_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
kin_quek at yahoo.com
Guest





PostPosted: Thu Sep 11, 2008 9:16 pm    Post subject: [Freeswitch-users] Can't set up users outside of local domai Reply with quote

Quote:
Brian,Attached please find the sofia status.Thanks,Kin Quek--------------------show me the output of "sofia status"/bOn 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@yahoo.com> wrote:
Quote:
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:
Quote:
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:

Quote:
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:


Brian West
sip:brian@freeswitch.org








_______________________________________________
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


Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Sep 11, 2008 9:24 pm    Post subject: [Freeswitch-users] Can't set up users outside of local domai Reply with quote

You're behind nat? And is your softphone behind nat too?

If so you need to fully understand what you're doing. You can't use your public IP without first setting up the ext-sip-ip and ext-rtp-ip on the sofia profile. Then you're left with a profile that can't be used by anything behind the same nat. You're better off putting FreeSWITCH on a public IP and then registering to it.


/b





On Sep 11, 2008, at 9:13 PM, Kin Quek wrote:
Quote:
Quote:
Brian,Attached please find the sofia status.Thanks,Kin Quek--------------------show me the output of "sofia status"/bOn 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@yahoo.com (kin_quek@yahoo.com)> wrote:
Quote:
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 (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 (freeswitch-users-request@lists.freeswitch.org) wrote:
Quote:
From: Brian West <brian@freeswitch.org (brian@freeswitch.org)>
To: freeswitch-users@lists.freeswitch.org (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:

Quote:
12.345.67.89

Brian West
[url=sip:brian@freeswitch.org]sip:brian@freeswitch.org[/url]








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:


Brian West
sip:brian@freeswitch.org








_______________________________________________
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




<sofia status.jpg>_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
Back to top
kin_quek at yahoo.com
Guest





PostPosted: Thu Sep 11, 2008 10:02 pm    Post subject: [Freeswitch-users] Can't set up users outside of local domai Reply with quote

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 ([email]freeswitch-users%40lists.freeswitch.org?Subject=%5BFreeswitch-users%5D%20Can%27t%20set%20up%20users%20outside%20of%20local%20domain...&In-Reply-To=303450.93603.qm%40web43135.mail.sp1.yahoo.com[/email])
Thu Sep 11 13:58:36 EDT 2008
Quote:
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.fsxmland look for <directoryand 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@lists.freeswitch.org wrote:
Quote:
Send Freeswitch-users mailing list submissions to
freeswitch-users@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@lists.freeswitch.org

You can reach the person managing the list at
freeswitch-users-owner@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@freeswitch.org>
To: freeswitch-users@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:

Quote:
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@freeswitch.org








From: Kin Quek <kin_quek@yahoo.com>
To: freeswitch-users@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...

Quote:
Brian,Attached please find the sofia status.Thanks,Kin Quek--------------------show me the output of "sofia status"/bOn 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@yahoo.com> wrote:
Quote:
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:
Quote:
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:

Quote:
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:


Brian West
sip:brian@freeswitch.org








_______________________________________________
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



_______________________________________________
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

Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Sep 11, 2008 10:05 pm    Post subject: [Freeswitch-users] Can't set up users outside of local domai Reply with quote

You do realize thats not a valid IP address Wink

/b

On Sep 11, 2008, at 10:00 PM, Kin Quek wrote:

Quote:
12.345.67.89


_______________________________________________
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
Back to top
kin_quek at yahoo.com
Guest





PostPosted: Thu Sep 11, 2008 11:05 pm    Post subject: [Freeswitch-users] Can't set up users outside of local domai Reply with quote

Brian,
Thank you for your advice. I am in the process of setting up a public IP as you suggested. Meanwhile I was trying to use the Windows version of FS to learn sip and once I get the public IP set up, I will install a Linux version of FS.

Others have pointed out to set up ext-sip-ip and ext-rtp-ip as well. I just didn't know how to have them set up properly. Is there any tutorial or example on how to do this? Thanks for your help, appreciated!

Kin Quek
--------------
brian at freeswitch.org ([email]freeswitch-users%40lists.freeswitch.org?Subject=%5BFreeswitch-users%5D%20Can%27t%20set%20up%20users%20outside%20of%20local%20domain...&In-Reply-To=502194.7560.qm%40web43136.mail.sp1.yahoo.com[/email])
Thu Sep 11 22:21:44 EDT 2008
Quote:
You're behind nat? And is your softphone behind
nat too?If so you need to fully understand what you're doing. You can't use your public IP without first setting up the ext-sip-ip and ext-rtp-ip on the sofia profile. Then you're left with a profile that can't be used by anything behind the same nat. You're better off putting FreeSWITCH on a public IP and then registering to it./bOn Sep 11, 2008, at 9:13 PM, Kin Quek wrote:> Brian,> Attached please find the sofia status.> Thanks,> Kin Quek> --------------------> show me the output of "sofia status">> /b>
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri Sep 12, 2008 1:44 am    Post subject: [Freeswitch-users] Can't set up users outside of local domai Reply with quote

Might also be wise to join us on irc. #freeswitch @ irc.freenode.net
so we can help you in a more realtime manner.

/b

On Sep 11, 2008, at 11:02 PM, Kin Quek wrote:

Quote:
Brian,
Thank you for your advice. I am in the process of setting up a
public IP as you suggested. Meanwhile I was trying to use the
Windows version of FS to learn sip and once I get the public IP set
up, I will install a Linux version of FS.

Others have pointed out to set up ext-sip-ip and ext-rtp-ip as well.
I just didn't know how to have them set up properly. Is there any
tutorial or example on how to do this? Thanks for your help,
appreciated!

Kin Quek

Brian West
sip:brian@freeswitch.org







_______________________________________________
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
Back to top
kin_quek at yahoo.com
Guest





PostPosted: Fri Sep 12, 2008 10:29 am    Post subject: [Freeswitch-users] Can't set up users outside of local domai Reply with quote

Quote:
Brian,
Thanks for your advice. I will like to join FS on the IRC and to further learn from you and the FS team. What is the most effective way to set up an experimental FS environment so I can quickly move up the learning cureve? What Linux platform will you recommend? I also have access to Mac and Windows Vista platform.
Thanks,
KinQ


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

Might also be wise to join us on irc. #freeswitch @ irc.freenode.net
so we can help you in a more realtime manner.

/b

On Sep 11, 2008, at 11:02 PM, Kin Quek wrote:

Quote:
Brian,
Thank you for your advice. I am in the process of setting up a
public IP as you suggested. Meanwhile I was trying to use the
Windows version of FS to learn sip and once I get the public IP set
up, I will install a Linux version of FS.

Others have pointed out to set up ext-sip-ip and ext-rtp-ip as well.
I just didn't know how to have them set up properly. Is there any
tutorial or example on how to do this? Thanks for your help,
appreciated!

Kin Quek

Back to top
mike at jerris.com
Guest





PostPosted: Fri Sep 12, 2008 10:45 am    Post subject: [Freeswitch-users] Can't set up users outside of local domai Reply with quote

On Sep 12, 2008, at 11:26 AM, Kin Quek wrote:

Quote:
Brian,
Thanks for your advice. I will like to join FS on the IRC and to
further learn from you and the FS team. What is the most effective
way to set up an experimental FS environment so I can quickly move
up the learning cureve? What Linux platform will you recommend? I
also have access to Mac and Windows Vista platform.
Thanks,
KinQ


On linux I think we prefer centos or debian as they are the most used
and tested with freeswitch. Mac and windows should also be just as
good for a test box to learn on.

Mike


_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services