[SR-Users] kamailio and radius

Juha Heinanen jh at tutpro.com
Mon May 30 13:50:42 CEST 2011


Asun writes:

> Can anyone send me a kamailio.cfg file with radius authentication for
> kamailio 3.1?

i have:

loadmodule "auth_radius"
modparam("auth_radius", "radius_config", "/etc/radiusclient-ng/radiusclient.conf")

    if (!radius_proxy_authorize("$var(uri_domain)", "$var(uri_user)")) {
       ... here authentication failed
    }
    ... here it succeeded ...

obviously, you need to check that your radiusclient.conf has proper
contents that matches your environment.

-- juha




More information about the sr-users mailing list