From owner-freebsd-isdn Wed Aug 14 1:46: 2 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5024137B400 for ; Wed, 14 Aug 2002 01:46:00 -0700 (PDT) Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98DB243E3B for ; Wed, 14 Aug 2002 01:45:59 -0700 (PDT) (envelope-from garyj@jennejohn.org) Received: from fwd08.sul.t-online.de by mailout05.sul.t-online.com with smtp id 17etmv-000294-01; Wed, 14 Aug 2002 10:45:57 +0200 Received: from peedub.jennejohn.org (520017439985-0001@[217.80.225.67]) by fmrl08.sul.t-online.com with esmtp id 17etmR-0bjp9UC; Wed, 14 Aug 2002 10:45:27 +0200 Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.5/8.11.6) with ESMTP id g7E8jNBm009474; Wed, 14 Aug 2002 10:45:34 +0200 (CEST) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200208140845.g7E8jNBm009474@peedub.jennejohn.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: "Robert Tan" Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: Rates in Holland Reply-To: Gary Jennejohn In-reply-to: Your message of "Wed, 14 Aug 2002 01:37:59 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 14 Aug 2002 10:45:23 +0200 From: Gary Jennejohn X-Sender: 520017439985-0001@t-dialin.net Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "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