Hello,
On 23.11.23 19:33, Duarte Rocha via sr-users wrote:
Hello all,
I'm currently implementing a Kamailio with RADIUS.
I want to send an Access-Request to my RADIUS server and in order to do that i'm
using misc_radius module and radius_does_uri_exist() function without any arguments :
"if (radius_does_uri_exist()) {"
For my module configuration I have the following configurations :
"modparam("misc_radius", "radius_config",
"/etc/radcli/radiusclient.conf")
modparam("misc_radius", "uri_extra",
"Sip-Method=$rm")"
From what i understand, with this config my access-request should contain the default
attributes and Sip-Method Attribute but that is not happening. Only defaults attributes
are included.
I've tried to run Kamailio with "-ddd" flag for better debug and i only get
this error : "1(176) DEBUG: misc_radius [functions.c:615]:
radius_does_uri_user_host_exist(): failure".
Is there any other configuration that i must do?
if you haven't done it, I think you need to exten the radius dictionary
as well. Maybe this (very old) tutorial can help a bit:
-
https://www.kamailio.org/docs/kamailio-radius-1.0.x.html
Cheers, Daniel
--
Daniel-Constantin Mierla (@
asipto.com)
twitter.com/miconda --
linkedin.com/in/miconda
Kamailio Consultancy and Development Services
Kamailio Advanced Training --
asipto.com