[Serusers] SER radius registration failing:URGENT

Ashutosh Kumar ashutoshk at chetu.com
Tue Aug 16 21:31:10 CEST 2005


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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050817/a495cad2/attachment.htm>


More information about the sr-users mailing list