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