Re: Prepaid card module/software

2004-12-28 Thread Bruno Machado
Hi I tried to use this files but it didnt work. The parameter Max-All-Session isnt know by the radius. What dictionary I need to use? I didnt find this keyword at any dictionaries... Thanks for any help. Bruno --- Carl Peterson [EMAIL PROTECTED] escreveu: How would I implement this? What

Re: Prepaid card module/software

2004-12-28 Thread Carl Peterson
You need to add the sql counter for it like: $INCLUDE ${confdir}/sql.conf sqlcounter noresetcounter { counter-name = Max-All-Session-Time check-name = Max-All-Session sqlmod-inst = sql key = User-Name

Re: Prepaid card module/software

2004-12-27 Thread Thor Spruyt
Carl Peterson wrote: I am working on writing it as we speak. Current release is phpMyPrepaid-0.1.2. It actually works with a MySQL database and inserts the users into the radcheck table. Hourly cards work but I haven't figured out the post-auth stuff in Freeradius for daily cards yet. You can

Re: Prepaid card module/software

2004-12-27 Thread Carl Peterson
How would I implement this? What I need is to add something like WISPr-Session-Terminate-Time with a Value of 24 hours from first use after their first use. Of course it needs to be added as soon as they log in the first time, or actually before, perhaps in pre-auth so that their first session