From owner-freebsd-isp Mon Mar 13 1:32:39 2000 Delivered-To: freebsd-isp@freebsd.org Received: from tardis.patho.gen.nz (tardis.patho.gen.nz [203.97.2.226]) by hub.freebsd.org (Postfix) with ESMTP id C6F2837B799; Mon, 13 Mar 2000 01:32:34 -0800 (PST) (envelope-from jabley@tardis.patho.gen.nz) Received: (from jabley@localhost) by tardis.patho.gen.nz (8.9.3/8.9.3) id WAA07983; Mon, 13 Mar 2000 22:32:00 +1300 (NZDT) Date: Mon, 13 Mar 2000 22:31:58 +1300 From: Joe Abley To: Dominic Mitchell , Brian Somers , Nik Clayton , Lee Johnston , freebsd-users@uk.freebsd.org, brian@hak.lan.awfulhak.org, freebsd-isp@FreeBSD.ORG Subject: Re: ispsetup (was: Re: FreeBSD in Dixons) Message-ID: <20000313223154.A31177@patho.gen.nz> References: <200003100835.IAA00469@hak.lan.Awfulhak.org> <20000311000931.A349@myrddin.demon.co.uk> <20000311181152.A1206@myrddin.demon.co.uk> <20000313002106.A32502@patho.gen.nz> <20000313081639.A348@myrddin.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000313081639.A348@myrddin.demon.co.uk>; from dom@happygiraffe.net on Mon, Mar 13, 2000 at 08:16:40AM +0000 X-Files: the Truth is Out There 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". See attached example -- note that I haven't changed your scripts; I've just added an extra layer of directories. Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message