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@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:
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
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:
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@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:
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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Brian West
-
Kin Quek