[Kamailio-Users] Kamailio 1.5.0 and radius client

Juha Heinanen jh at tutpro.com
Fri Mar 6 09:42:59 CET 2009


Daniel-Constantin Mierla writes:

 > - open modules/auth_radius/authrad_mod.c
 > - locate mod_init function
 > - inside the function move following piece of code:
 >     vend = rc_dict_findvend(rh, "Cisco");
 >     if (vend == NULL) {
 >         LM_DBG("no `Cisco' vendor in Radius dictionary\n");
 >         attrs[A_CISCO_AVPAIR].n = NULL;
 >     }
 > 
 > before the line:
 > 
 >     INIT_AV(rh, attrs, n, vals, V_MAX, "auth_radius", -5, -6);

daniel,

the above piece of Cisco specific code is already located before INIT_AV
call.

-- juha




More information about the sr-users mailing list