[Serusers] SER radius registration failing:URGENT

Ashutosh Kumar ashutoshk at chetu.com
Wed Aug 17 11:52:03 CEST 2005


            Hi,

                  I m using ser-0.9.0, and radiusclient-ng (downloaded from
iptel' website, installed from source).

 

 

 

 

  _____  

From: Jean FX [mailto:xor007 at gmail.com] 
Sent: Wednesday, August 17, 2005 11:39 AM
To: Ashutosh Kumar
Cc: serusers at lists.iptel.org
Subject: Re: [Serusers] SER radius registration failing:URGENT

 

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/1f2932b2/attachment.htm>


More information about the sr-users mailing list