[Freeswitch-users] how to register?

Brian West brian.west at mac.com
Sun Sep 23 22:30:48 EDT 2007


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.html 


More information about the Freeswitch-users mailing list