Max-Daily-Session for current station only

Lorenzo Milesi maxxer at ufficyo.com
Wed Feb 19 16:52:35 CET 2014


Hi.
I'd like to create a counter which is exactly like the Max-Daily-Session, but should count only the time consumed on the current Called-Station-Id only. This because using HuntGroups I'd like to allow the user to connect 1h from station A and 2h from station B. 

Having a look at the rlm_sqlcounter shipped with FR2 I find there are only three possible parameters to be used in the query, and this doesn't include the NAS. 

Any help on how to implement this counter?
Thanks
-- 
Lorenzo Milesi - lorenzo.milesi at yetopen.it

YetOpen S.r.l. - http://www.yetopen.it/


More information about the Freeradius-Users mailing list