Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 1996 12:34:40 +0100
From:      Andreas Klemm <andreas@sunny.wup.de>
To:        ports@freebsd.org
Subject:   tua config file for German phone costs (1995 and 1996)
Message-ID:  <199601191134.MAA02797@sunny.wup.de>

next in thread | raw e-mail | index | archive | help

Hi !

Should perhaps be included into the standard tua config
file ...
BTW: the default german config file entries that come with 
tua are not ok and should be completely deleted...

So this should become a patch .... Satoshi, please deceide
what to do with it. If you are short in time I'd give you
the file as patch for the default config file... Please
tell me.

Thanks and have fun ...

	Andreas ///

				
----- Begin Included Message -----

>From news1.gtn.com!uucp@wup.de Fri Jan 19 08:00 MET 1996
X-Phone: +49 2173 3964 161
X-Fax:   +49 2173 3964 222
From: Andreas Klemm <andreas@knobel.gun.de>
Subject: no subject (file transmission)
To: akl@wup.de
Date: Fri, 19 Jan 1996 07:37:33 +0100 (MET)
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit

# -*- c -*-
#
# This file contains a country specific description of how your telephone
# company calculate the cost of the call thru each day of the week.
# The language used is simple: see the configuration for "italy" for an example;
# it does contain all the allowed statements.
#
# Overlapping slots will be detected and ignored by TUA. There will be a message
# printed on stderr that shows exactly the location of the slots.
#
# PLEASE, forward to me (lele@nautilus.sublink.org) any new country you
# insert. 
#

# DEFAULT COUNTRY:
# This statement defines the default country, i.e. the country that will
# be in effect if no --country option is used.
#default = "Germany-95-Ortstarif";
default = "Germany-96-City";
#default = "Germany-96-Region50";
#default = "Germany-96-Region200";
#default = "Germany-96-Fern";

country "Germany-96-City" = {
	currency = "DM";
	decimals = 2;

	name MONDSCHEINTARIF = "City Mondscheintarif";
	cost MONDSCHEINTARIF = 0.12/240;
	name FREIZEITTARIF   = "City Freizeittarif";
	cost FREIZEITTARIF   = 0.12/150;
	name VORMITTAGTARIF  = "City Vormittagtarif";
	cost VORMITTAGTARIF  = 0.12/90;

  monday-friday = {
    rate MONDSCHEINTARIF = 00:01-05:00, 21:01-24:00;
    rate FREIZEITTARIF   = 05:01-09:00, 18:01-21:00;
    rate VORMITTAGTARIF  = 09:01-18:00;
  };
  saturday = {
    rate MONDSCHEINTARIF = 00:01-05:00, 21:01-24:00;
    rate FREIZEITTARIF   = 05:01-21:00;
  };
  sunday = {
    rate MONDSCHEINTARIF = 00:01-05:00, 21:01-24:00;
    rate FREIZEITTARIF   = 05:01-21:00;
  };
}

country "Germany-96-Region50" = {
	currency = "DM";
	decimals = 2;

	name NACHTTARIF      = "Region50 Nachttarif";
	cost NACHTTARIF      = 0.12/120;
	name MONDSCHEINTARIF = "Region50 Mondscheintarif";
	cost MONDSCHEINTARIF = 0.12/60;
	name FREIZEITTARIF   = "Region50 Freizeittarif";
	cost FREIZEITTARIF   = 0.12/45;
	name NACHMITTAGTARIF = "Region50 Nachmittagtarif";
	cost NACHMITTAGTARIF = 0.12/30;
	name VORMITTAGTARIF  = "Region50 Vormittagtarif";
	cost VORMITTAGTARIF  = 0.12/26;

  monday-friday = {
    rate MONDSCHEINTARIF = 00:01-02:00, 21:01-24:00;
    rate NACHTTARIF      = 02:01-05:00;
    rate FREIZEITTARIF   = 05:01-09:00, 18:01-21:00;
    rate VORMITTAGTARIF  = 09:01-12:00;
    rate NACHMITTAGTARIF = 12:01-18:00;
  };
  saturday = {
    rate MONDSCHEINTARIF = 00:01-05:00, 21:01-24:00;
    rate FREIZEITTARIF   = 05:01-21:00;
  };
  sunday = {
    rate MONDSCHEINTARIF = 00:01-05:00, 21:01-24:00;
    rate FREIZEITTARIF   = 05:01-21:00;
  };
}

country "Germany-96-Region200" = {
	currency = "DM";
	decimals = 2;

	name NACHTTARIF      = "Region200 Nachttarif";
	cost NACHTTARIF      = 0.12/120;
	name MONDSCHEINTARIF = "Region200 Mondscheintarif";
	cost MONDSCHEINTARIF = 0.12/30;
	name FREIZEITTARIF   = "Region200 Freizeittarif";
	cost FREIZEITTARIF   = 0.12/21.5;
	name NACHMITTAGTARIF = "Region200 Nachmittagtarif";
	cost NACHMITTAGTARIF = 0.12/13.5;
	name VORMITTAGTARIF  = "Region200 Vormittagtarif";
	cost VORMITTAGTARIF  = 0.12/12;

  monday-friday = {
    rate MONDSCHEINTARIF = 00:01-02:00, 21:01-24:00;
    rate NACHTTARIF      = 02:01-05:00;
    rate FREIZEITTARIF   = 05:01-09:00, 18:01-21:00;
    rate VORMITTAGTARIF  = 09:01-12:00;
    rate NACHMITTAGTARIF = 12:01-18:00;
  };
  saturday = {
    rate MONDSCHEINTARIF = 00:01-05:00, 21:01-24:00;
    rate FREIZEITTARIF   = 05:01-21:00;
  };
  sunday = {
    rate MONDSCHEINTARIF = 00:01-05:00, 21:01-24:00;
    rate FREIZEITTARIF   = 05:01-21:00;
  };
}

country "Germany-96-Fern" = {
	currency = "DM";
	decimals = 2;

	name NACHTTARIF      = "Fern Nachttarif";
	cost NACHTTARIF      = 0.12/120;
	name MONDSCHEINTARIF = "Fern Mondscheintarif";
	cost MONDSCHEINTARIF = 0.12/25;
	name FREIZEITTARIF   = "Fern Freizeittarif";
	cost FREIZEITTARIF   = 0.12/20;
	name NACHMITTAGTARIF = "Fern Nachmittagtarif";
	cost NACHMITTAGTARIF = 0.12/12.5;
	name VORMITTAGTARIF  = "Fern Vormittagtarif";
	cost VORMITTAGTARIF  = 0.12/11.5;

  monday-friday = {
    rate MONDSCHEINTARIF = 00:01-02:00, 21:01-24:00;
    rate NACHTTARIF      = 02:01-05:00;
    rate FREIZEITTARIF   = 05:01-09:00, 18:01-21:00;
    rate VORMITTAGTARIF  = 09:01-12:00;
    rate NACHMITTAGTARIF = 12:01-18:00;
  };
  saturday = {
    rate MONDSCHEINTARIF = 00:01-05:00, 21:01-24:00;
    rate FREIZEITTARIF   = 05:01-21:00;
  };
  sunday = {
    rate MONDSCHEINTARIF = 00:01-05:00, 21:01-24:00;
    rate FREIZEITTARIF   = 05:01-21:00;
  };
}

# ITALY - Pizza & Spaghetti country
country "italy" = {
  currency = "Lit";
  decimals = 0;                 # Do not print fractions of Lits

  # COSTS:
  # - assuming that 1 unit costs 200 Lit...
  # - timings are for distances > 120km
  
  name PEAK = "Peak Time";	# 8:30am to 1pm
  cost PEAK = 200/11.5;		# 1 unit every 11.5sec
  name NORMAL = "Normal Time";	# 8am to 8:30am, 1pm to 6:30pm
  cost NORMAL = 200/18.5;       # 1 unit every 18.5sec
  name EVENING= "Evening Time";	# 6:30pm to 10pm
  cost EVENING = 200/29.8;      # 1 unit every 29.8sec 
  name NIGHT= "Night Time";	# 10pm to 8 am
  cost NIGHT = 200/37;          # 1 unit every 37sec
  
  monday-friday = {
    rate PEAK = 8:31-13:00;
    rate NORMAL = 8:01-8:30, 13:01-18:30;
    rate EVENING= 18:31-22:00;
    rate NIGHT= 22:01-08:00;    # sc for 22:01-24:00, 0:01-8:00
  };
  saturday = {
    rate NORMAL = 08:01-13:00;
    rate EVENING= 13:01-22:00;
    rate NIGHT= 22:01-08:00;
  };
  sunday = {
    rate EVENING= 8:01-22:00;
    rate NIGHT= 22:01-08:00;
  };
}

# UNITED KINGDOM 
country "uk" = {
  name PEAK = "Peak Rate";	# 9:00am to 1pm
  name NORMAL = "Normal Rate";	# 8am to 9.00am, 1pm to 6:00pm 
  name CHEAP = "Cheap Rate";	# 6pm to 8 am

  sunday = { rate CHEAP = 00:00-24:00; };
  saturday = { rate CHEAP = 00:00-24:00; };
  monday-friday = {
    rate PEAK = 9:01-13:00;
    rate NORMAL = 8:01-9:00, 13:01-18:00;
    rate CHEAP = 18:01-8:00;
  };
}

# GERMANY - Sauerkraut und Bier
country "Germany-95-Ortstarif" = {
	currency = "DM";
	decimals = 2;
  name DAY   = "Ortstarif Tag";	  # 8:00am to 6pm
  cost DAY   = 0.23/360;
  name NIGHT = "Ortstarif Nacht/Wochenende"; # 6pm to 8.00am
  cost NIGHT = 0.23/720;
  
  monday-friday = {
    rate NIGHT = 00:01-08:00, 18:01-24:00;
    rate DAY   = 08:01-18:00;
  };
  saturday = {
    rate NIGHT = 00:01-24:00;
  };
  sunday = {
    rate NIGHT = 00:01-24:00;
  };
}

# CANADA
country "canada" = {
  name PEAK = "Peak Rate";		# 8:00am to 6:00pm
  name EVENING = "Evening Rate";	# 6:00pm to 11:00pm
  name NIGHT = "Night/Weekend Rate"; 	# 11:00pm to 8:00am
  sunday = { rate NIGHT = 00:00-24:00; };
  saturday = { rate NIGHT = 00:00-24:00; };
  mon-fri = {
    rate PEAK = 8:01-18:00;
    rate EVENING = 18:01-23:00;
    rate NIGHT = 23:01-8:00;
  };
}

# DENMARK - Little Mermaid & H.C. Andersen
country "denmark" = {
  name DAY = "Day Time";	# 0800 to 1930
  name NIGHT = "Night Time";	# 1930 to 0800
  sunday = { rate NIGHT = 0:00-24:00; };
  mon-sat = {
    rate DAY = 8:01-19:30;
    rate NIGHT = 19:31-8:00;
  };
}

# South Africa - Springbok and Protea Flowers
country "rsa" = {
  name RATE1 = "Rate group 1";	# weekdays 0700 to 1800, saturday 0700-1300
  name RATE2 = "Rate group 2";	# weekdays 1800 to 2000
  name RATE3 = "Rate group 3";	# all other hours
  mon-fri = {
	rate RATE1 = 7:00-18:00;
	rate RATE2 = 18:01-20:00;
	rate RATE3 = 20:01-6:59;
  };
  sat = {
	rate RATE1 = 7:00-13:00;
	rate RATE3 = 13:01-6:59;
  };
  sun = { rate RATE3 = 0:00-24:00; };
}

# USA
country "usa" = {
  name PEAK = "Peak Rate";		# 8:00am to 5:00pm
  name EVENING = "Evening Rate";	# 5:00pm to 11:00pm
  name NIGHT = "Night/Weekend Rate"; 	# 11:00pm to 8:00am
  sunday = {
    rate NIGHT = 23:01-17:00;
    rate EVENING = 17:01-23:00;
  };
  saturday = { rate NIGHT = 00:00-24:00; };
  mon-fri = {
    rate PEAK = 8:01-17:00;
    rate EVENING = 17:01-23:00;
    rate NIGHT = 23:01-8:00;
  };
}

# NAMIBIA - Biltong and Boereworst country (dried meat and a nice sausage)
country "namibia" = {
  currency = "$NA";
  decimals = 2;
  
  name NORMAL = "Normal Time";
  cost NORMAL = 0.185/8;
  name CHEAP  = "Cheap Time";
  cost CHEAP  = 0.185/23;

  monday-friday = {
    rate NORMAL = 7:01-19:00;
    rate CHEAP  = 19:01-7:00;
  };
  saturday = {
    rate NORMAL = 07:01-13:00;
    rate CHEAP  = 13:01-7:00;
  };
  sunday = {
    rate CHEAP  = 0:01-24:00;
  };
}

# FRANCE
country "france" = {
  currency = "Francs";
  decimals = 2;
  
  name NORMAL = "Plein Tarif";
  cost NORMAL = 0.73/360;
  name PEAK = "-30% Tarif reduit";
  cost PEAK = 0.73/540;
  name EVENING = "-50% Tarif reduit";
  cost EVENING = 0.73/720;
  name NIGHT = "-65% Tarif de nuit";
  cost EVENING = 0.73/1080;

  mon-fri = {
    rate NORMAL = 08:00-12:29, 13:30-17:59;
    rate PEAK = 12:30-13:29, 18:00-21:29;
    rate EVENING = 06:00-07:59, 21:30-22:29;
    rate NIGHT = 22:30-05:59;
  };

  sat = {
    rate NORMAL = 08:00-12:29;
    rate PEAK = 12:30-13:29;
    rate EVENING = 06:00-07:59, 13:30-22:29;
    rate NIGHT = 22:30-05:59;
  };

  sun = {
    rate EVENING = 06:00-22:29;
    rate NIGHT = 22:30-05:59;
  };
}
    


----- End Included Message -----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601191134.MAA02797>