From owner-freebsd-isp Tue Mar 14 8:42:14 2000 Delivered-To: freebsd-isp@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id 4281C37B707; Tue, 14 Mar 2000 08:42:08 -0800 (PST) (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (tun.AwfulHak.org [194.242.139.173] (may be forged)) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id QAA18292; Tue, 14 Mar 2000 16:42:01 GMT (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id QAA05225; Tue, 14 Mar 2000 16:41:59 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200003141641.QAA05225@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Joe Abley Cc: Dominic Mitchell , Brian Somers , Nik Clayton , Lee Johnston , freebsd-users@uk.freebsd.org, brian@hak.lan.Awfulhak.org, freebsd-isp@FreeBSD.org, brian@hak.lan.Awfulhak.org Subject: Re: ispsetup (was: Re: FreeBSD in Dixons) In-Reply-To: Message from Joe Abley of "Mon, 13 Mar 2000 22:31:58 +1300." <20000313223154.A31177@patho.gen.nz> Date: Tue, 14 Mar 2000 16:41:54 +0000 From: Brian Somers Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Mon, Mar 13, 2000 at 08:16:40AM +0000, Dominic Mitchell wrote: > > > There are complications in selecting which number to dial, too. > > > For example, here in NZ: > > > > [snip] > > > > > I see in the Demon example you used 0845, which is cheating :) I'm > > > not sure a totally generic solution is even possible, but it'd be > > > nice to be flexible. > > > > Well, I'm sure a gfeneric solution is possible; I do actually like the > > idea of the "dialling locations" feature in win95. However, for the > > moment, I think it's best to just put a reminder in the program stating > > that the configuration assumes a national phone number and no pabx (edit > > if required). We can then revisit this area when we have some more > > functionality in place. > > I think the existence of a national number is the exception rather than > the rule, although I appreciate things might be a little different in > the UK. > > How about extending your directory structure to: > > .../isp/COUNTRY/REGION/ISP/ > > where COUNTRY is an iso3166 country code, and REGION is either a > string representing a local calling area or some other obvious > country-specific string like "national". Wouldn't .../isp/COUNTRY/REGION be better, where you'd have something like .../isp/demon .../isp/uk/demon .../isp/nl/demon .../isp/uk/london/demon The 0845 numbers could then appear in the isp/uk/demon file and the 0171 numbers in the london one etc, and things could default as appropriate (if .nl have one global number, it can be put at that level rather than being repeated for various regions that may have other region-specific stuff). > See attached example -- note that I haven't changed your scripts; I've > just added an extra layer of directories. Haven't looked at you next mail yet :-) > Joe -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message