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
Ph : 91 120 5323340 - Outside US
Fax:1 (305) 832 5987
For more information, please visit http://www.chetu.com