2014-09-04 - Re: [GRASE-Hotspot] implementing activation from first login

Header Data

From: Timothy White <ti***8@gmail.com>
Message Hash: f4a08b74497522101bf6fb1f74c4ed24c3f65c2241bf1e24885c92d2e712d230
Message ID: <CAESLx0JkNaen0FQceWQQHqmWzhi8LdpA_sxP5Zm=rOPCYahEEQ@mail.gmail.com>
Reply To: <f48b8276-15f7-4463-932c-a1ccc65a0f2a@grasehotspot.org>
UTC Datetime: 2014-09-04 16:47:12 UTC
Raw Date: Fri, 05 Sep 2014 09:47:12 +1000

Raw message

Hi Mohammad

In theory, this is easy to implement. In practice, getting it right is
harder. It's something I'm hoping I can get implemented well in the near
future. It's fairly "easy" to implement if all vouchers expire within a
month of first, usage, however, due to how we "compact" the accounting data
each month, it's harder for longer expiries. I'm hoping for a 2 pronged
approach, where at first login we can get the correct expiry dynamically,
but a script will run regularly and update the dynamic expiry to a static
one so it can span more than a month.

Tim


On Sun, Aug 31, 2014 at 5:50 PM, Mohammad Javad Ra'adi <
pe***t@gmail.com> wrote:

> Hello Tim and the community. I've been wondering how it is possible to
> implement voucher activation from first login. Currently you can only
> specify expiration date and the voucher will be expired as soon as it
> reaches expiration date whether the voucher is used or not. Is our possible
> to set the expiration date upon first login?
> I've read this post
> https://groups.google.com/a/grasehotspot.org/forum/m/#!topic/grase-hotspot/zfZfFZZFyfA)
> but i don't understand how freeradius  and I'm unclear about the concepts.
> I've been reading about freeradius for the past 3 days and i still can't
> figure out how you've managed to implement the attributes and counters. If
> you could guide me or show me a source to better understand the whole thing
> it would be amazing.
> Thanks everyone
>
> --
> This mailing list is for the Grase Hotspot Project http://grasehotspot.org
> ---
> You received this message because you are subscribed to the Google Groups
> "Grase Hotspot" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gr***e@grasehotspot.org.
> To post to this group, send email to gr***t@grasehotspot.org.
> Visit this group at
> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
> To view this discussion on the web visit
> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/f48b8276-15f7-4463-932c-a1ccc65a0f2a%40grasehotspot.org
> .
>

Thread