Howto provide free airtime or no accounting in night for quota base user
Alan Buxey
alan.buxey at gmail.com
Thu Jan 25 10:33:56 CET 2018
not magical code, just unlang
man unlang
then in the accounting section, wrap your current accounting process
(your call to sql or whatever) with some logic to ensure its only
called if relevant ...but as i said, theres likely to be other logic
needed (dealing with accounting stop packets if they provide a final
data count etc)
alan
On 25 January 2018 at 08:04, JAHANZAIB SYED <aacable at hotmail.com> wrote:
> Ok my understanding is once a user is connected to the NAS, all accounting will transfer to the FR radacct table via interim update and we cannot exclude specific sites accounting. Ok for specific users (group) we have to create some magical code in FR that should check for specific user details and if the user service allows free airtime, then donot update the radacct table or less the data ? I dont need exact codes but still i am looking for some more directions if possible.
>
> Thank you
>
>
>
>
> ________________________________
> From: Freeradius-Users <freeradius-users-bounces+aacable=hotmail.com at lists.freeradius.org> on behalf of Alan Buxey <alan.buxey at gmail.com>
> Sent: Wednesday, January 24, 2018 5:32 PM
> To: FreeRadius users mailing list
> Subject: Re: Howto provide free airtime or no accounting in night for quota base user
>
> some smarts elsewhere would ensure that traffic to certain services is
> umlimited - eg use routing to ensure
> that such traffic doesnt go through a metered link.
>
> your overnight question could probably be done in FR currently - in
> your accounting section(s) you would need to wrap
> your current calls with some unlang that checks the timestamp of the
> packet and only proceeds if the time is not within
> a particular range.there would have to be some other logic for the
> accounting stop ..you've ignored the interim-uddates? no,
> they'd have to go into some other increment table and then taken off
> the final stop packet...
>
> alan
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> Support & Services<http://www.freeradius.org/list/users.html>
> www.freeradius.org
> The world's leading RADIUS server. The project includes a GPL AAA server, BSD licensed client and PAM and Apache modules. Full support is available from NetworkRADIUS.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list