[Serusers] SER radius registration failing:URGENT

Jean FX xor007 at gmail.com
Wed Aug 17 08:09:12 CEST 2005


Which version of ser R u running?

On 8/16/05, Ashutosh Kumar <ashutoshk at chetu.com> wrote:
> 
>  Hi,
> 
> My registrations to the radius servers is failing, with the error msg in 
> log:
> 
> consume_credentials(): No authorized credentials found (error in scripts).
> 
>  Although radiusclient and everything is in place.
> 
>  The relevant code from my ser.cfg is as follows:
> 
> ----------------------------------
> 
> route[2] {
> 
>  # -----------------------------------------------------------------
> 
> # REGISTER Message Handler
> 
> # ----------------------------------------------------------------
> 
>  sl_send_reply("100", "Trying");
> 
>  if (!search("^Contact:\ +\*") && client_nat_test("7")) {
> 
> setflag(6);
> 
> # fix_nated_register();
> 
> force_rport();
> 
> fix_contact();
> 
> };
> 
>  * if (!radius_www_authorize("")) {*
> 
> * # if (!www_authorize("","subscriber")) {*
> 
> * www_challenge("","0");*
> 
> * break;*
> 
> * };*
> 
> * *
> 
> * if (!check_to()) {*
> 
> * sl_send_reply("401", "Unauthorized");*
> 
> * break;*
> 
> * };*
> 
>  consume_credentials();
> 
>  if (!save("location")) {
> 
> sl_reply_error();
> 
> };
> 
> }
> 
> -------------------------
> 
>   Regards,
> 
> Ashutosh Kumar
> 
> Chetu, Inc.
> 
> Ph : 1(305) 402 6724 - Witin US
> 
> Ph : 91 120 5323340 - Outside US
> 
> Fax:1 (305) 832 5987
> 
> For more information, please visit http://www.chetu.com
> 
>  
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 
> 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050817/aec4ef49/attachment.htm>


More information about the sr-users mailing list