<DIV>thank you for all your help .</DIV>
<DIV>and now i can register .</DIV>
<DIV>&nbsp;</DIV>
<DIV>there is another question:</DIV>
<DIV>&nbsp;</DIV>
<DIV>in the &lt;param name="register-from" value=""&gt;, </DIV>
<DIV>&nbsp;</DIV>
<DIV>the value i used is my UA ip,</DIV>
<DIV>&nbsp;</DIV>
<DIV>but when i change it to the server ip ,it's also goes well.</DIV>
<DIV>&nbsp;</DIV>
<DIV>what's happens? is there any differences? </DIV>
<DIV>&nbsp;</DIV>
<DIV>what's the real mean about this param?</DIV>
<DIV>&nbsp;</DIV>
<DIV>waiting&nbsp;for you advise!</DIV>
<DIV>&nbsp;</DIV>
<DIV>thank you very much!</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV ></DIV><BR>在2007-09-24,freeswitch-users-request@lists.freeswitch.org 写道:<BR>
<BLOCKQUOTE id=isReplyContent style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><PRE>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. 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 &lt;cake918@126.com&gt;
Subject: [Freeswitch-users] how to register?
To: freeswitch-users@lists.freeswitch.org
Message-ID:
        &lt;12704102.397481190597428939.JavaMail.coremail@bj126app56.126.com&gt;
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  &lt;param name="accept-blind-reg" value="flase"&gt;,  and also add the &lt;registration&gt; configuration as follows:  &lt;registration name="1001"&gt;
&lt;param name="register-scheme" value="Digest"/&gt;
&lt;param name="register-realm" value="cake.com"/&gt;//cake.com is my server domain.&lt;param name="register-username" value="1001"/&gt;
&lt;param name="register-password" value="mypassword"/&gt;
&lt;param name="register-from" value="sip:1001@192.168.82.234:5060"/&gt;//it's my UA ip
&lt;param name="register-to" value="sip:1001@192.168.82.210"/&gt; //it's my server ip
&lt;param name="register-proxy" value="sip:cake.com"/&gt;
&lt;param name="register-frequency" value="20"/&gt; # time in seconds
&lt;/registration&gt;  i also configured  the directory .xml to add the user as follows:  &lt;user id="1001"&gt;    &lt;params&gt;       &lt;param name="password" value="mypassword"/&gt;    &lt;params&gt; &lt;user/&gt;     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@192.168.82.210]
2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth() can't find user [1002@192.168.82.210]
2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418 sofia_reg_handle_register() send challange for [1002@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@192.168.82.210]
2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418 sofia_reg_handle_register() send challange for [1001@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 &lt;brian.west@mac.com&gt;
Subject: Re: [Freeswitch-users] how to register?
To: freeswitch-users@lists.freeswitch.org
Message-ID: &lt;CD9DE227-534C-4007-8A8C-2968016598B7@mac.com&gt;
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.

&lt;domain name="$${domain}"&gt;  (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:

&gt;
&gt; hello everyone,
&gt;
&gt;  i have configured the freeswitch to get two sip UA connected.
&gt;
&gt;  each has its own profile.
&gt;
&gt;  now in the sofia profile ,in one profile i set
&gt;
&gt;  &lt;param name="accept-blind-reg" value="flase"&gt;,
&gt;
&gt;  and also add the &lt;registration&gt; configuration as follows:
&gt;
&gt;  &lt;registration name="1001"&gt;
&gt; &lt;param name="register-scheme" value="Digest"/&gt;
&gt; &lt;param name="register-realm" value="cake.com"/&gt;//cake.com is my  
&gt; server domain.
&gt; &lt;param name="register-username" value="1001"/&gt;
&gt; &lt;param name="register-password" value="mypassword"/&gt;
&gt; &lt;param name="register-from" value="sip:1001@192.168.82.234:5060"/&gt;// 
&gt; it's my UA ip
&gt; &lt;param name="register-to" value="sip:1001@192.168.82.210"/&gt; //it's  
&gt; my server ip
&gt; &lt;param name="register-proxy" value="sip:cake.com"/&gt;
&gt; &lt;param name="register-frequency" value="20"/&gt; # time in seconds
&gt; &lt;/registration&gt;
&gt;
&gt;  i also configured  the directory .xml to add the user as follows:
&gt;
&gt;  &lt;user id="1001"&gt;
&gt;     &lt;params&gt;
&gt;        &lt;param name="password" value="mypassword"/&gt;
&gt;     &lt;params&gt;
&gt;  &lt;user/&gt;
&gt;
&gt;
&gt; follow is a part of the debug information:
&gt; 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:432  
&gt; sofia_reg_handle_register() Requesting Registration from:  
&gt; [1001@192.168.82.210]
&gt; 2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth 
&gt; () can't find user [1002@192.168.82.210]
&gt; 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418  
&gt; sofia_reg_handle_register() send challange for [1002@192.168.82.210]
&gt; 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event  
&gt; [nua_r_register] status [401][Unauthorized] session: n/a
&gt; 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:687  
&gt; sofia_reg_handle_sip_r_challenge() Authenticating 'FreeSWITCH' with  
&gt; 'Digest:"192.168.82.210":1001:1111'.
&gt; 2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth 
&gt; () can't find user [1001@192.168.82.210]
&gt; 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418  
&gt; sofia_reg_handle_register() send challange for [1001@192.168.82.210]
&gt; 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event  
&gt; [nua_r_register] status [403][Forbidden] session: n/a
&gt; 2007-09-07 00:06:43 [WARNING] sofia_reg.c:569  
&gt; sofia_reg_handle_sip_r_register() Registration Failed with status 403
&gt; 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event  
&gt; [nua_r_register] status [403][Forbidden] session: n/a
&gt; 2007-09-07 00:06:43 [WARNING] sofia_reg.c:569  
&gt; sofia_reg_handle_sip_r_register() Registration Failed with status 403
&gt;
&gt; what happens ,and what's wrong with my configuration ?
&gt;
&gt; any idea is welcome , thank you very much!
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; ? ? Yeah.net ? ? ? ? ? ? ? ??? ? ? ?  
&gt; ? ??? ? ? ? &gt;&gt;
&gt; _______________________________________________
&gt; Freeswitch-users mailing list
&gt; Freeswitch-users@lists.freeswitch.org
&gt; http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
&gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
&gt; users
&gt; 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" &lt;jonas.gauffin@gmail.com&gt;
Subject: Re: [Freeswitch-users] how to register?
To: freeswitch-users@lists.freeswitch.org
Message-ID:
        &lt;d021d3be0709232304k68840c25r294e573f0f00370@mail.gmail.com&gt;
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:
&lt;domain name="$${sip_profile}"&gt;
&lt;domain name="mydomain.com"&gt;

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 &lt;brian.west@mac.com&gt; wrote:
&gt; You're missing one key thing here.. the domain tag in the directory must
&gt; match the domain for which the user is within.
&gt;
&gt; &lt;domain name="$${domain}"&gt;  (which wouldn't be correct for your situation)
&gt; please post your full directory.xml
&gt;
&gt;
&gt; /b
&gt;
&gt;
&gt;
&gt; On Sep 23, 2007, at 8:30 PM, cake918 wrote:
&gt;
&gt;
&gt;
&gt; hello everyone,
&gt;
&gt;  i have configured the freeswitch to get two sip UA connected.
&gt;
&gt;  each has its own profile.
&gt;
&gt;  now in the sofia profile ,in one profile i set
&gt;
&gt;  &lt;param name="accept-blind-reg" value="flase"&gt;,
&gt;
&gt;  and also add the &lt;registration&gt; configuration as follows:
&gt;
&gt;  &lt;registration name="1001"&gt;
&gt; &lt;param name="register-scheme" value="Digest"/&gt;
&gt; &lt;param name="register-realm" value="cake.com"/&gt;//cake.com is my server
&gt; domain.
&gt; &lt;param name="register-username" value="1001"/&gt;
&gt; &lt;param name="register-password" value="mypassword"/&gt;
&gt; &lt;param name="register-from" value="sip:1001@192.168.82.234:5060"/&gt;//it's my
&gt; UA ip
&gt; &lt;param name="register-to" value="sip:1001@192.168.82.210"/&gt; //it's my server
&gt; ip
&gt; &lt;param name="register-proxy" value="sip:cake.com"/&gt;
&gt; &lt;param name="register-frequency" value="20"/&gt; # time in seconds
&gt; &lt;/registration&gt;
&gt;
&gt;  i also configured  the directory .xml to add the user as follows:
&gt;
&gt;  &lt;user id="1001"&gt;
&gt;     &lt;params&gt;
&gt;        &lt;param name="password" value="mypassword"/&gt;
&gt;     &lt;params&gt;
&gt;  &lt;user/&gt;
&gt;
&gt;
&gt;
&gt; follow is a part of the debug information:
&gt;
&gt; 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:432 sofia_reg_handle_register()
&gt; Requesting Registration from: [1001@192.168.82.210]
&gt; 2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth() can't
&gt; find user [1002@192.168.82.210]
&gt; 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418 sofia_reg_handle_register() send
&gt; challange for [1002@192.168.82.210]
&gt; 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event
&gt; [nua_r_register] status [401][Unauthorized] session: n/a
&gt; 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:687
&gt; sofia_reg_handle_sip_r_challenge() Authenticating
&gt; 'FreeSWITCH' with 'Digest:"192.168.82.210":1001:1111'.
&gt; 2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth() can't
&gt; find user [1001@192.168.82.210]
&gt; 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418 sofia_reg_handle_register() send
&gt; challange for [1001@192.168.82.210]
&gt; 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event
&gt; [nua_r_register] status [403][Forbidden] session: n/a
&gt; 2007-09-07 00:06:43 [WARNING] sofia_reg.c:569
&gt; sofia_reg_handle_sip_r_register() Registration Failed with
&gt; status 403
&gt; 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event
&gt; [nua_r_register] status [403][Forbidden] session: n/a
&gt; 2007-09-07 00:06:43 [WARNING] sofia_reg.c:569
&gt; sofia_reg_handle_sip_r_register() Registration Failed with
&gt; status 403
&gt;
&gt;
&gt; what happens ,and what's wrong with my configuration ?
&gt;
&gt; any idea is welcome , thank you very much!
&gt;
&gt;
&gt;
&gt;
&gt; ________________________________
&gt;  ?? ?? Yeah.net ?? ?? ?? ?? ?? ?? ?? ?????? ?? ?? ?? ?? ?????? ?? ?? ?? &gt;&gt;
&gt; _______________________________________________
&gt; Freeswitch-users mailing list
&gt; Freeswitch-users@lists.freeswitch.org
&gt; http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
&gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
&gt; http://www.freeswitch.org
&gt;
&gt; _______________________________________________
&gt; Freeswitch-users mailing list
&gt; Freeswitch-users@lists.freeswitch.org
&gt; http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
&gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
&gt; http://www.freeswitch.org
&gt;
&gt;

------------------------------

Message: 4
Date: Mon, 24 Sep 2007 08:28:15 +0200
From: "Jonas Gauffin" &lt;jonas.gauffin@gmail.com&gt;
Subject: Re: [Freeswitch-users] how to register?
To: freeswitch-users@lists.freeswitch.org
Message-ID:
        &lt;d021d3be0709232328s651aa964x7fe06b802c37c248@mail.gmail.com&gt;
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 &lt;cake918@126.com&gt; wrote:
&gt;
&gt;
&gt; hello everyone,
&gt;
&gt;  i have configured the freeswitch to get two sip UA connected.
&gt;
&gt;  each has its own profile.
&gt;
&gt;  now in the sofia profile ,in one profile i set
&gt;
&gt;  &lt;param name="accept-blind-reg" value="flase"&gt;,
&gt;
&gt;  and also add the &lt;registration&gt; configuration as follows:
&gt;
&gt;  &lt;registration name="1001"&gt;
&gt; &lt;param name="register-scheme" value="Digest"/&gt;
&gt; &lt;param name="register-realm" value="cake.com"/&gt;//cake.com is my server
&gt; domain.
&gt; &lt;param name="register-username" value="1001"/&gt;
&gt; &lt;param name="register-password" value="mypassword"/&gt;
&gt; &lt;param name="register-from" value="sip:1001@192.168.82.234:5060"/&gt;//it's my
&gt; UA ip
&gt; &lt;param name="register-to" value="sip:1001@192.168.82.210"/&gt; //it's my server
&gt; ip
&gt; &lt;param name="register-proxy" value="sip:cake.com"/&gt;
&gt; &lt;param name="register-frequency" value="20"/&gt; # time in seconds
&gt; &lt;/registration&gt;
&gt;
&gt;  i also configured  the directory .xml to add the user as follows:
&gt;
&gt;  &lt;user id="1001"&gt;
&gt;     &lt;params&gt;
&gt;        &lt;param name="password" value="mypassword"/&gt;
&gt;     &lt;params&gt;
&gt;  &lt;user/&gt;
&gt;
&gt;
&gt;
&gt; follow is a part of the debug information:
&gt;
&gt; 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:432 sofia_reg_handle_register()
&gt; Requesting Registration from: [1001@192.168.82.210]
&gt; 2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth() can't
&gt; find user [1002@192.168.82.210]
&gt; 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418 sofia_reg_handle_register() send
&gt; challange for [1002@192.168.82.210]
&gt; 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event
&gt; [nua_r_register] status [401][Unauthorized] session: n/a
&gt; 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:687
&gt; sofia_reg_handle_sip_r_challenge() Authenticating
&gt; 'FreeSWITCH' with 'Digest:"192.168.82.210":1001:1111'.
&gt; 2007-09-07 00:06:43 [WARNING] sofia_reg.c:797 sofia_reg_parse_auth() can't
&gt; find user [1001@192.168.82.210]
&gt; 2007-09-07 00:06:43 [DEBUG] sofia_reg.c:418 sofia_reg_handle_register() send
&gt; challange for [1001@192.168.82.210]
&gt; 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event
&gt; [nua_r_register] status [403][Forbidden] session: n/a
&gt; 2007-09-07 00:06:43 [WARNING] sofia_reg.c:569
&gt; sofia_reg_handle_sip_r_register() Registration Failed with
&gt; status 403
&gt; 2007-09-07 00:06:43 [DEBUG] sofia.c:71 sofia_event_callback() event
&gt; [nua_r_register] status [403][Forbidden] session: n/a
&gt; 2007-09-07 00:06:43 [WARNING] sofia_reg.c:569
&gt; sofia_reg_handle_sip_r_register() Registration Failed with
&gt; status 403
&gt;
&gt;
&gt; what happens ,and what's wrong with my configuration ?
&gt;
&gt; any idea is welcome , thank you very much!
&gt;
&gt;
&gt;
&gt;
&gt; ________________________________
&gt;  ?? ?? Yeah.net ?? ?? ?? ?? ?? ?? ?? ?????? ?? ?? ?? ?? ?????? ?? ?? ?? &gt;&gt;
&gt; _______________________________________________
&gt; Freeswitch-users mailing list
&gt; Freeswitch-users@lists.freeswitch.org
&gt; http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
&gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
&gt; http://www.freeswitch.org
&gt;
&gt;

------------------------------

_______________________________________________
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


End of Freeswitch-users Digest, Vol 15, Issue 37
************************************************
</PRE></BLOCKQUOTE><br><!-- footer --><br><hr>
<a style="font-size:14px;line-height:15px; color:#000; text-decoration:none" href=" http://event.mail.163.com/chanel/click.htm?from=NO_16&domain=126" target="_blank"><span style="text-decoration:underline; color:blue">网 易 Yeah.net 邮 箱 夏 日 大 变 脸,带 你 感 受 新 一 代 邮 箱 的 全 新 魅 力 >></span> </a>