1 .\" $NetBSD: isdnd.rates.5,v 1.3 2002/01/19 03:17:42 wiz Exp $
3 .\" Copyright (c) 1997, 1999 Hellmuth Michaelis. All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .\" $Id: isdnd.rates.5,v 1.4 2003/06/27 19:09:24 wiz Exp $
30 .\" last edit-date: [Mon Dec 13 22:59:31 1999]
32 .Dd September 11, 1998
37 .Nd isdn4bsd ISDN management daemon rates description file
41 contains descriptions how long charging units last at a given time of day,
42 day of week and the distance to the destination.
43 If this file is available, this information may be used by the
45 ISDN connection management daemon to calculate the short hold time for a
48 The format of a rate entry line is as follows:
52 defines a collection of rates (for each day of the week) which can be
57 This field must start with the identifier
59 followed by a digit in the range of zero to four.
63 selects the day of week for which this entry defines the rates, where 0 stands
64 for Sunday, 1 for Monday and so on until the digit 6 which stands for Saturday.
66 The rest of the line consists of one or more space separated fields which have
68 .Bd -filled -offset indent
69 start_hour.start_minutes-end_hour.end_minutes:charge_unit_length
72 Start_hour and start_minutes define the begin of a time section and end_hour
73 and end_minutes define the end.
74 Charge_unit_length define the length of a
75 charging unit in the previously defined time section.
76 No spaces or tabs are allowed inside this field.
77 The hour and minutes specifications MUST have
78 exactly 2 digits, in case just one digit is needed, a leading 0 must be used.
81 .Bd -filled -offset indent
85 defines, that between 2:00 PM and 6:00 PM the length of one charging unit
88 .Bl -tag -width /etc/isdn/isdnd.rates -compact
89 .It Pa /etc/isdn/isdnd.rates
90 The default rates specification file for the
97 ra0 0 00.00-05.00:240 05.00-21.00:150 21.00-24.00:240
100 defines the unit lengths for a Sunday.
105 The rates subsystem for the
109 belongs was designed and written by
114 daemon and this manual page were written by
115 .An Hellmuth Michaelis Aq hm@kts.org .