<DIV>thank you for all your help .</DIV>
<DIV>and now i can register .</DIV>
<DIV> </DIV>
<DIV>there is another question:</DIV>
<DIV> </DIV>
<DIV>in the <param name="register-from" value="">, </DIV>
<DIV> </DIV>
<DIV>the value i used is my UA ip,</DIV>
<DIV> </DIV>
<DIV>but when i change it to the server ip ,it's also goes well.</DIV>
<DIV> </DIV>
<DIV>what's happens? is there any differences? </DIV>
<DIV> </DIV>
<DIV>what's the real mean about this param?</DIV>
<DIV> </DIV>
<DIV>waiting for you advise!</DIV>
<DIV> </DIV>
<DIV>thank you very much!</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </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 <cake918@126.com>
Subject: [Freeswitch-users] how to register?
To: freeswitch-users@lists.freeswitch.org
Message-ID:
        <12704102.397481190597428939.JavaMail.coremail@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@192.168.82.234:5060"/>//it's my UA ip
<param name="register-to" value="sip:1001@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@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 <brian.west@mac.com>
Subject: Re: [Freeswitch-users] how to register?
To: freeswitch-users@lists.freeswitch.org
Message-ID: <CD9DE227-534C-4007-8A8C-2968016598B7@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@192.168.82.234:5060"/>//
> it's my UA ip
> <param name="register-to" value="sip:1001@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@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!
>
>
>
>
>
> ? ? Yeah.net ? ? ? ? ? ? ? ??? ? ? ?
> ? ??? ? ? ? >>
> _______________________________________________
> 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
-------------- 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@gmail.com>
Subject: Re: [Freeswitch-users] how to register?
To: freeswitch-users@lists.freeswitch.org
Message-ID:
        <d021d3be0709232304k68840c25r294e573f0f00370@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@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@192.168.82.234:5060"/>//it's my
> UA ip
> <param name="register-to" value="sip:1001@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@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!
>
>
>
>
> ________________________________
> ?? ?? Yeah.net ?? ?? ?? ?? ?? ?? ?? ?????? ?? ?? ?? ?? ?????? ?? ?? ?? >>
> _______________________________________________
> 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
>
>
------------------------------
Message: 4
Date: Mon, 24 Sep 2007 08:28:15 +0200
From: "Jonas Gauffin" <jonas.gauffin@gmail.com>
Subject: Re: [Freeswitch-users] how to register?
To: freeswitch-users@lists.freeswitch.org
Message-ID:
        <d021d3be0709232328s651aa964x7fe06b802c37c248@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@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@192.168.82.234:5060"/>//it's my
> UA ip
> <param name="register-to" value="sip:1001@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@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!
>
>
>
>
> ________________________________
> ?? ?? Yeah.net ?? ?? ?? ?? ?? ?? ?? ?????? ?? ?? ?? ?? ?????? ?? ?? ?? >>
> _______________________________________________
> 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
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>