[Freeswitch-users] Freeswitch-users Digest, Vol 15, Issue 37

cake918 cake918 at 126.com
Tue Sep 25 01:57:07 PDT 2007


thank you for all your help .and now i can register . there is another question: in the <param name="register-from" value="">, the value i used is my UA ip, but when i change it to the server ip ,it's also goes well. what's happens? is there any differences? what's the real mean about this param? waiting for you advise! thank you very much!   
在2007-09-24,freeswitch-users-request at lists.freeswitch.org 写道:
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. how to register? (cake918) 2. Re: how to register? (Brian West) 3. Re: how to register? (Jonas Gauffin) 4. Re: how to register? (Jonas Gauffin) ---------------------------------------------------------------------- Message: 1 Date: Mon, 24 Sep 2007 09:30:28 +0800 (CST) From: cake918 <cake918 at 126.com> Subject: [Freeswitch-users] how to register? To: freeswitch-users at lists.freeswitch.org Message-ID: <12704102.397481190597428939.JavaMail.coremail at bj126app56.126.com> Content-Type: text/plain; charset="gbk" hello everyone, i have configured the freeswitch to get two sip UA connected. each has its own profile. now in the sofia profile ,in one profile i set <param name="accept-blind-reg" value="flase">, and also add the <registration> configuration as follows: <registration name="1001"> <param name="register-scheme" value="Digest"/> <param name="register-realm" value="cake.com"/>//cake.com is my server domain.<param name="register-username" value="1001"/> <param name="register-password" value="mypassword"/> <param name="register-from" value="sip:1001 at 192.168.82.234:5060"/>//it's my UA ip <param name="register-to" value="sip:1001 at 192.168.82.210"/> //it's my server ip <param name="register-proxy" value="sip:cake.com"/> <param name="register-frequency" value="20"/> # time in seconds </registration> i also configured the directory .xml to add the user as follows: <user id="1001"> <params> <param name="password" value="mypassword"/> <params> <user/> follow is a part of the debug information: 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:432 sofia_reg_handle_register() Requesting Registration from: [1001 at 192.168.82.210] 2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth() can't find user [1002 at 192.168.82.210] 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418 sofia_reg_handle_register() send challange for [1002 at 192.168.82.210] 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event [nua_r_register] status [401][Unauthorized] session: n/a 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:687 sofia_reg_handle_sip_r_challenge() Authenticating 'FreeSWITCH' with 'Digest:"192.168.82.210":1001:1111'. 2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth() can't find user [1001 at 192.168.82.210] 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418 sofia_reg_handle_register() send challange for [1001 at 192.168.82.210] 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event [nua_r_register] status [403][Forbidden] session: n/a 2007-09-07 00:06:43 [WARNING] sofia_reg.c:569 sofia_reg_handle_sip_r_register() Registration Failed with status 403 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event [nua_r_register] status [403][Forbidden] session: n/a 2007-09-07 00:06:43 [WARNING] sofia_reg.c:569 sofia_reg_handle_sip_r_register() Registration Failed with status 403 what happens ,and what's wrong with my configuration ? any idea is welcome , thank you very much! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070924/71a22f83/attachment-0001.html ------------------------------ Message: 2 Date: Sun, 23 Sep 2007 21:30:48 -0500 From: Brian West <brian.west at mac.com> Subject: Re: [Freeswitch-users] how to register? To: freeswitch-users at lists.freeswitch.org Message-ID: <CD9DE227-534C-4007-8A8C-2968016598B7 at mac.com> Content-Type: text/plain; charset="utf-8" You're missing one key thing here.. the domain tag in the directory must match the domain for which the user is within. <domain name="$${domain}"> (which wouldn't be correct for your situation) please post your full directory.xml /b On Sep 23, 2007, at 8:30 PM, cake918 wrote: > > hello everyone, > > i have configured the freeswitch to get two sip UA connected. > > each has its own profile. > > now in the sofia profile ,in one profile i set > > <param name="accept-blind-reg" value="flase">, > > and also add the <registration> configuration as follows: > > <registration name="1001"> > <param name="register-scheme" value="Digest"/> > <param name="register-realm" value="cake.com"/>//cake.com is my > server domain. > <param name="register-username" value="1001"/> > <param name="register-password" value="mypassword"/> > <param name="register-from" value="sip:1001 at 192.168.82.234:5060"/>// > it's my UA ip > <param name="register-to" value="sip:1001 at 192.168.82.210"/> //it's > my server ip > <param name="register-proxy" value="sip:cake.com"/> > <param name="register-frequency" value="20"/> # time in seconds > </registration> > > i also configured the directory .xml to add the user as follows: > > <user id="1001"> > <params> > <param name="password" value="mypassword"/> > <params> > <user/> > > > follow is a part of the debug information: > 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:432 > sofia_reg_handle_register() Requesting Registration from: > [1001 at 192.168.82.210] > 2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth > () can't find user [1002 at 192.168.82.210] > 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418 > sofia_reg_handle_register() send challange for [1002 at 192.168.82.210] > 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event > [nua_r_register] status [401][Unauthorized] session: n/a > 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:687 > sofia_reg_handle_sip_r_challenge() Authenticating 'FreeSWITCH' with > 'Digest:"192.168.82.210":1001:1111'. > 2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth > () can't find user [1001 at 192.168.82.210] > 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418 > sofia_reg_handle_register() send challange for [1001 at 192.168.82.210] > 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event > [nua_r_register] status [403][Forbidden] session: n/a > 2007-09-07 00:06:43 [WARNING] sofia_reg.c:569 > sofia_reg_handle_sip_r_register() Registration Failed with status 403 > 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event > [nua_r_register] status [403][Forbidden] session: n/a > 2007-09-07 00:06:43 [WARNING] sofia_reg.c:569 > sofia_reg_handle_sip_r_register() Registration Failed with status 403 > > what happens ,and what's wrong with my configuration ? > > any idea is welcome , thank you very much! > > > > > > ? ? Yeah.net ? ? ? ? ? ? ? ??? ? ? ? > ? ??? ? ? ? >> > _______________________________________________ > 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/20070923/95d958ed/attachment-0001.html ------------------------------ Message: 3 Date: Mon, 24 Sep 2007 08:04:42 +0200 From: "Jonas Gauffin" <jonas.gauffin at gmail.com> Subject: Re: [Freeswitch-users] how to register? To: freeswitch-users at lists.freeswitch.org Message-ID: <d021d3be0709232304k68840c25r294e573f0f00370 at mail.gmail.com> Content-Type: text/plain; charset=GB2312 Actually, the domain variable have been superseded by $${sip_profile} which is defined in freeswitch.xml. The default directory.xml still uses $${domain} which is incorrect. Replace it with your domain, or use the $${sip_profile} variable. Examples: <domain name="$${sip_profile}"> <domain name="mydomain.com"> Also, make your phone register with the domain name, or the ip address of the proxy since the stuff behind the '@'-sign must match the domain specified. On 9/24/07, Brian West <brian.west at mac.com> wrote: > You're missing one key thing here.. the domain tag in the directory must > match the domain for which the user is within. > > <domain name="$${domain}"> (which wouldn't be correct for your situation) > please post your full directory.xml > > > /b > > > > On Sep 23, 2007, at 8:30 PM, cake918 wrote: > > > > hello everyone, > > i have configured the freeswitch to get two sip UA connected. > > each has its own profile. > > now in the sofia profile ,in one profile i set > > <param name="accept-blind-reg" value="flase">, > > and also add the <registration> configuration as follows: > > <registration name="1001"> > <param name="register-scheme" value="Digest"/> > <param name="register-realm" value="cake.com"/>//cake.com is my server > domain. > <param name="register-username" value="1001"/> > <param name="register-password" value="mypassword"/> > <param name="register-from" value="sip:1001 at 192.168.82.234:5060"/>//it's my > UA ip > <param name="register-to" value="sip:1001 at 192.168.82.210"/> //it's my server > ip > <param name="register-proxy" value="sip:cake.com"/> > <param name="register-frequency" value="20"/> # time in seconds > </registration> > > i also configured the directory .xml to add the user as follows: > > <user id="1001"> > <params> > <param name="password" value="mypassword"/> > <params> > <user/> > > > > follow is a part of the debug information: > > 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:432 sofia_reg_handle_register() > Requesting Registration from: [1001 at 192.168.82.210] > 2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth() can't > find user [1002 at 192.168.82.210] > 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418 sofia_reg_handle_register() send > challange for [1002 at 192.168.82.210] > 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event > [nua_r_register] status [401][Unauthorized] session: n/a > 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:687 > sofia_reg_handle_sip_r_challenge() Authenticating > 'FreeSWITCH' with 'Digest:"192.168.82.210":1001:1111'. > 2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth() can't > find user [1001 at 192.168.82.210] > 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418 sofia_reg_handle_register() send > challange for [1001 at 192.168.82.210] > 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event > [nua_r_register] status [403][Forbidden] session: n/a > 2007-09-07 00:06:43 [WARNING] sofia_reg.c:569 > sofia_reg_handle_sip_r_register() Registration Failed with > status 403 > 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event > [nua_r_register] status [403][Forbidden] session: n/a > 2007-09-07 00:06:43 [WARNING] sofia_reg.c:569 > sofia_reg_handle_sip_r_register() Registration Failed with > status 403 > > > what happens ,and what's wrong with my configuration ? > > any idea is welcome , thank you very much! > > > > > ________________________________ > ?? ?? Yeah.net ?? ?? ?? ?? ?? ?? ?? ?????? ?? ?? ?? ?? ?????? ?? ?? ?? >> > _______________________________________________ > 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 > > ------------------------------ Message: 4 Date: Mon, 24 Sep 2007 08:28:15 +0200 From: "Jonas Gauffin" <jonas.gauffin at gmail.com> Subject: Re: [Freeswitch-users] how to register? To: freeswitch-users at lists.freeswitch.org Message-ID: <d021d3be0709232328s651aa964x7fe06b802c37c248 at mail.gmail.com> Content-Type: text/plain; charset=GB2312 I've just made a rather sparse wiki entry describing how to configure phones in FreeSwitch. Hopefully others will help improve it. You can find it here: http://wiki.freeswitch.org/wiki/Configuring_SIP On 9/24/07, cake918 <cake918 at 126.com> wrote: > > > hello everyone, > > i have configured the freeswitch to get two sip UA connected. > > each has its own profile. > > now in the sofia profile ,in one profile i set > > <param name="accept-blind-reg" value="flase">, > > and also add the <registration> configuration as follows: > > <registration name="1001"> > <param name="register-scheme" value="Digest"/> > <param name="register-realm" value="cake.com"/>//cake.com is my server > domain. > <param name="register-username" value="1001"/> > <param name="register-password" value="mypassword"/> > <param name="register-from" value="sip:1001 at 192.168.82.234:5060"/>//it's my > UA ip > <param name="register-to" value="sip:1001 at 192.168.82.210"/> //it's my server > ip > <param name="register-proxy" value="sip:cake.com"/> > <param name="register-frequency" value="20"/> # time in seconds > </registration> > > i also configured the directory .xml to add the user as follows: > > <user id="1001"> > <params> > <param name="password" value="mypassword"/> > <params> > <user/> > > > > follow is a part of the debug information: > > 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:432 sofia_reg_handle_register() > Requesting Registration from: [1001 at 192.168.82.210] > 2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth() can't > find user [1002 at 192.168.82.210] > 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418 sofia_reg_handle_register() send > challange for [1002 at 192.168.82.210] > 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event > [nua_r_register] status [401][Unauthorized] session: n/a > 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:687 > sofia_reg_handle_sip_r_challenge() Authenticating > 'FreeSWITCH' with 'Digest:"192.168.82.210":1001:1111'. > 2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth() can't > find user [1001 at 192.168.82.210] > 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418 sofia_reg_handle_register() send > challange for [1001 at 192.168.82.210] > 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event > [nua_r_register] status [403][Forbidden] session: n/a > 2007-09-07 00:06:43 [WARNING] sofia_reg.c:569 > sofia_reg_handle_sip_r_register() Registration Failed with > status 403 > 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event > [nua_r_register] status [403][Forbidden] session: n/a > 2007-09-07 00:06:43 [WARNING] sofia_reg.c:569 > sofia_reg_handle_sip_r_register() Registration Failed with > status 403 > > > what happens ,and what's wrong with my configuration ? > > any idea is welcome , thank you very much! > > > > > ________________________________ > ?? ?? Yeah.net ?? ?? ?? ?? ?? ?? ?? ?????? ?? ?? ?? ?? ?????? ?? ?? ?? >> > _______________________________________________ > 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 End of Freeswitch-users Digest, Vol 15, Issue 37 ************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070925/c88a1753/attachment-0002.html 


More information about the FreeSWITCH-users mailing list