How do I tie the mac address and not a username to max daily session?
Do I change the sqlcounter dailycounter key from user-name to callingstatinID
Can the dailycounter query be rewritten with callingstationID rather than UserName?
query = "SELECT SUM(AcctSessionTime - GREATEST((%b - UNIX_TIMESTAMP(AcctStartTime)), 0)) FROM radacct WHERE UserName='%{%k}' AND UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime > '%b'"
Am I on the right track here?