[SR-Users] Radius and kamailio: avp unknown attribute

Dominguez Jover, Ricardo djover at umh.es
Tue Feb 1 12:00:49 CET 2011


Hi everybody,

 

I have a problem with Kamalio and Radius, when a try to authenticate a
user I get the following:

 

Feb  1 11:50:48 kamailiodes /usr/local/kamailio-3.1/sbin/kamailio[5941]:
rc_avpair_new: unknown attribute 5

Feb  1 11:50:48 kamailiodes /usr/local/kamailio-3.1/sbin/kamailio[5941]:
ERROR: auth_radius [sterman.c:412]: authorization failed

 

In fact I can't see any packet sended to the Radius Server from
Kamailio. I've read several posts and I've chmod of /var/run/radius.seq,
include dictionary.sip in dictionary.radius and so on.

 

Changing                 "if (!radius_www_authorize("$td"))" with "
if (!radius_www_authorize(""))" I don't get any error but and can't
neither see any packet sended to the Radius Server. I've checked the
connection between radius client and radius server and it's OK, I get:

 

Received response ID 91, code 2, length = 211

 

Any help would be appreciated.

 

Kind regards,

Ricardo Dominguez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110201/7178c4b6/attachment.html>


More information about the sr-users mailing list