From owner-freebsd-isdn Thu Dec 31 09:02:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA20240 for freebsd-isdn-outgoing; Thu, 31 Dec 1998 09:02:29 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from mail.ppp.net (mail.ppp.net [194.64.12.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA20235 for ; Thu, 31 Dec 1998 09:02:25 -0800 (PST) (envelope-from ernie!bert.kts.org!hm@ppp.net) Received: from casparc.ppp.net (casparc2.ppp.net [194.64.12.42]) by mail.ppp.net (8.8.8/8.8.8) with SMTP id SAA04736; Thu, 31 Dec 1998 18:02:02 +0100 Received: from ernie by casparc.ppp.net with uucp (Smail3.1.28.1 #1) id m0zvlU1-002ZjZC; Thu, 31 Dec 98 18:02 MET Received: from bert.kts.org([194.55.156.2]) (3124 bytes) by ernie.kts.org via sendmail with P:smtp/R:smart_host/T:uux (sender: ) id for ; Thu, 31 Dec 1998 17:55:51 +0100 (CET) (Smail-3.2.0.103 1998-Oct-9 #3 built 1998-Dec-9) Received: from localhost (2675 bytes) by bert.kts.org via sendmail with P:stdio/R:smart_host/T:smtp (sender: ) (ident using unix) id for ; Thu, 31 Dec 1998 17:55:57 +0100 (CET) (Smail-3.2.0.103 1998-Oct-9 #4 built 1998-Dec-26) Message-Id: From: hm@kts.org (Hellmuth Michaelis) Subject: Re: Rates calculations and the U.K. In-Reply-To: <000001be34bc$6aecea80$060110ac@barrynt.private> from Barry Scott at "Dec 31, 1998 12:52:26 pm" To: barry@scottb.demon.co.uk (Barry Scott) Date: Thu, 31 Dec 1998 17:55:57 +0100 (CET) Cc: freebsd-isdn@FreeBSD.ORG Organization: Kitchen Table Systems Reply-To: hm@kts.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Barry Scott wrote: > The rates mechanism does not work for the U.K. with its tenth second > billing. I know. You might want to contact Andrew Gordon who tells me for a loooong time now that the rates mechanism should be expanded to include time based billing as in the UK. Its very difficult to implement for me for obvious reasons, so perhaps you can work together towards a solution for this. > As an OO designer I'd naturally solve the rates problem with objects. Is > there any reason why isdnd is not a C++ program using OO design? 1) the whole billing mechanism is partly implemented in the kernel and partly in isdnd: it is unlikely that C++ will ever be used in the kernel 2) as long as noone takes over the maintenance of isdn4bsd who is fluent in all of its aspects and is able and willing to start maintaining it with C++ code in it, there will be no C++ code in isdnd or any other i4b utility, simply because i don't like it. Splitting maintenance of i.e. isdnd to a different person will not work, because the kernel and the userland utilities are _very_ tightly coupled and this will likely lead to severe problems. Martin Husemann from time to time tries to inject strange macros from his life in a parallel OO-universe into isdnd :-)) , but that made it so hard (for me!) to understand the code after a month again and maintain it, that i rejected and removed it because it costs too much of my time. Don't misunderstand me please, i don't say C++ and OOD is bad, its just that i want to make maintaining and enhancing isdnd for me as easy and quickly as possible. Anyway, i'll be happy to accept a time based billing enhancement to i4b written in plain good old non-macrofied maintainable C using OO design ;-) Guten Rutsch! (this is untranslatable german wishing everyone a nice party into newyear :-) ! ). hellmuth -- Hellmuth Michaelis hm@kts.org Hamburg, Europe We all live in a yellow subroutine, yellow subroutine, yellow subroutine ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message