Menu

Days to Use

mymanga
2017-04-02
2021-05-23
  • mymanga

    mymanga - 2017-04-02

    Has this feature been fully implemented on the new cakephp3 update of radiusdesk? Its always been on the topup page, but no instruction on how to implement it, unlike the time based profile and data based profiles. My real questions are;

    • If it has, is it simialr to "Access Period" where when a user is activated now for a 24hour package, they expire exactly 24 hours after first login.
    • How do I create a days to use profile, so I can use the topup feature with it.
     
  • Freddy FALANGA

    Freddy FALANGA - 2017-06-11

    Hello Barnabie and all the community,

    I'm glad to inform you that the TopUp option is now working as expected. You will have a look on the attachement.

    Best regard

     
  • mymanga

    mymanga - 2017-06-13

    Hi, can you you tell me how you created a profile for it. which attributes you used

     
  • james gicharu

    james gicharu - 2018-01-18

    am also facing the same issue, how to i assign an initial top-up to a Permanent User with these a profile that has no Rd-Total-Time ?. iam not able to create an initial top up. any help with be hugely appreciated

     
  • mymanga

    mymanga - 2018-02-08

    When creating the user, make user they are assgned some time to begin with. I was doing 10 seconds. That gives the system enough time to do some accounting if you are running in the cloud and theres some latency

     
    • Michael Danuschenkov

       

      Last edit: Michael Danuschenkov 2018-10-10
    • certgio monasterio

      hello you use the recharge with the api reset some can give me a model of api for the recharge that I could adapt I would greatly appreciate

       
  • daniel biland

    daniel biland - 2019-02-16

    anybody can tell me to make this profile ? : when a user is activated now for a 24hour package, they expire exactly 24 hours after first login.

     
  • mymanga

    mymanga - 2021-05-23

    We are back to this question again in 2021. When a user logs out , radiusdesk stop accounting, So for example, on a 2 hour session, if they use 1 hour today, tomorrow they can back log in and use the remaining hour. I have enabled "activate on login", I assumed that meant start counting down, but nope

     

    Last edit: mymanga 2021-05-23
  • mymanga

    mymanga - 2021-05-23

    Figured this out,

    • Used the following tutorial (https://mangospot.net/enable-sqlcounter-freeradius.html) to add access-period to sqlcounter
    • Then added the
      **"ATTRIBUTE Access-Period 3165 Integer" **
      to the dictionary file in the main freeradius folder
    • Now I just create a package via the normal wizards, then edit profile components and add "Acces-Period" attribute from "Freeradius-Custom"
     

    Last edit: mymanga 2021-05-23

Log in to post a comment.

Auth0 Logo