[OpenSER-Users] radius_is_user_in

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Jul 25 09:03:36 CEST 2007


Hi Marc,

have you looked in the radius server logs? does it receive the RADIUS 
request?

Regards,
Bogdan


Marc LEURENT wrote:
> Thanks to you, my openser is working well with freeradius!!
> I still have a few questions:
>
>  * the function radius_is_user_in("From","my_group") always returns false.
>
> modparam("group_radius", "radius_config",
> "/etc/radiusclient-ng/radiusclient.conf")
> modparam("group_radius", "use_domain", 1)
>
>
>        if(is_method("INVITE")) {
>                if (!radius_is_user_in("From","voip")) {
>                        xlog("L_DBG","NOT IN THE voip GROUP \r\n");
>                        sl_send_reply("403", "Forbidden - Not in the voip
> group");
>                } else {
>                        xlog("L_DBG","IN THE voip GROUP\r\n");
>                };
>        };
>
> I've monitored the mysql.log file, and no requests is sent to the sql
> server to know if the user is owned by the voip group..
>
>
> I you have any idea, I would be very grateful
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>   





More information about the Users mailing list