Date: Wed, 14 Aug 2002 11:30:55 +0200 From: "Robert Tan" <tar@transfer.nl> To: "Gary Jennejohn" <garyj@jennejohn.org> Cc: <freebsd-isdn@FreeBSD.ORG> Subject: RE: Rates in Holland Message-ID: <DPEDIFKGFNJACMLKGOEGGEGNCDAA.tar@transfer.nl> In-Reply-To: <200208140845.g7E8jNBm009474@peedub.jennejohn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Tnx for your confirmation. Now, After configuring, and having some traffic, over isp0, my isdnd.acct always shows the value 0, for the unit field. Any ideas why? > -----Original Message----- > From: owner-freebsd-isdn@FreeBSD.ORG > [mailto:owner-freebsd-isdn@FreeBSD.ORG]On Behalf Of Gary Jennejohn > Sent: Wednesday, August 14, 2002 10:45 AM > To: Robert Tan > Cc: freebsd-isdn@FreeBSD.ORG > Subject: Re: Rates in Holland > > > "Robert Tan" writes: > > Tnx Gary, > > > > Ive studied the man pages, but, Im not clear about the > > unitlength of the charge unit I have to specify either > > in the entry section of isdnd.rc, or in the rates file. > > > > Here's where I'm not sure: > > > > Different times, are charged differently. I have > > the money/minute, for this: > > > > Period: Rate: > > > > Initial charge: 4.14 e/minute > > Standard: 2.51 e/minute > > Dal: 1.35 e/minute > > Weekend/Night: 0.90 e/minute > > > > Should I say set a "Standard" unit of 60 seconds, resulting in a > > "Dal" unit of 60 * 2.51/1.35 ~= 111 seconds. "Night" would then > > be 'bout 167 seconds? So cheaper means longer calling for the same > > price. > > > > So for Monday: ra0 1 08.00-19.00:60 19.00-24.00:111 > 00.00-08.00:167. > > > > Then as this configuration gets logged in my isdnd.acct > file, for say > > 5 minutes: > > > > 14.08.2002 09:05:00 - 14.08.2002 09:10:00 Provider > Units (300) > > (in/out) > > > > then Units would be either: 300/60 = 5 Stanard units, or > 300/111 = 2.7 > > units, for example. > > > > Then for each entry in my isdnd.acct file I add the initial > charges, to > > calculate > > my cost. > > > > Does the above explain how it works? > > > > I'd do it such that a unit corrresponds to a charge of 1 EURO. Then it's > easy to convert between (fictitious) units and EUROs. > > --- > Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isdn" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DPEDIFKGFNJACMLKGOEGGEGNCDAA.tar>