[freeside] Prepaid Dialup Hours Configuration Confirmation

ivan at 420.am ivan at 420.am
Sun Mar 23 14:01:51 PST 2003


On Mon, Mar 17, 2003 at 10:51:23AM +1100, Hugh Blandford wrote:
> Hi all,
> 
> I am exploring the Freeside setup for prepaid dialup hours.
> 
> I will be using Freeradius with a Pg backend so I have setup an SQL export.
> I have setup a service called dialup_hour on the svc_acct table with a fixed
> shell and changed nothing else from the defaults.
> I have then setup a package called 365hours which is for a prebought block
> of 365 hours.  The intention with the prepaid hours is that you can have as
> long as you like to use the hours but when you run out of time the account
> is locked out and you have to purchase more hours before it gets unlocked.
>
> I selected the "Base charge plus charge per-minute from the session monitor"
> price plan with a setup fee equivalent to the prepaid amout, 0 monthly
> charge, 21900 minutes included and 0 charge for additional minutes.
> 
> Does this do what I mentioned above?

Nope.  There's no point in using the "per-minute" package price plan if
you're not going to set a price for additional minutes.

>  Is there a better way of doing it?

> What happens to the account when the included minutes have run out,

The customer is charged for the additional minutes.

> is the account locked out so that they cannot login?

Nope.

> If not, is there a way that I can do this?

Yes.  We look forward to your patch.

-- 
_ivan



More information about the freeside-users mailing list