19c749625f
ISDN4BSD is the work of our brand-new comitter: Hellmuth Michaelis, who has done a tremendous amount of work to bring us this far. There are still some outstanding issues and files to bring into the tree, and for now it will be needed to pick up all the extra docs from the isdn4bsd release. It is probably also a very good idea to subscribe to the isdn@freebsd.org mailing list before you try this out. These files correspond to release "beta Version 0.70.00 / December 1998" from Hellmuth.
116 lines
3.7 KiB
Groff
116 lines
3.7 KiB
Groff
.\"
|
|
.\" Copyright (c) 1997, 1998 Hellmuth Michaelis. All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
.\" SUCH DAMAGE.
|
|
.\"
|
|
.\" $Id: isdnd.rates.5,v 1.6 1998/12/05 18:03:21 hm Exp $
|
|
.\"
|
|
.\" last edit-date: [Sat Dec 5 18:09:57 1998]
|
|
.\"
|
|
.Dd September 11, 1998
|
|
.Dt isdnd.rates 5
|
|
.Sh NAME
|
|
.Nm isdnd.rates
|
|
.Nd isdn4bsd ISDN management daemon rates description file
|
|
.Sh DESCRIPTION
|
|
The file
|
|
.Pa isdnd.rates
|
|
contains descriptions how long charging units last at a given time of day,
|
|
day of week and the distance to the destination. If this file is available,
|
|
this information may be used by the
|
|
.Xr isdnd 8
|
|
ISDN connection management daemon to calculate the short hold time for a
|
|
connection.
|
|
.Pp
|
|
The format of a rate entry line is a follows:
|
|
.Pp
|
|
The first field, the
|
|
.Pq Fa rate-code
|
|
defines a collection of rates (for each day of the week) which can be
|
|
referenced in the
|
|
.Xr isdnd 8
|
|
configuration file
|
|
.Xr isdnd.rc 5 .
|
|
This field must start with the identifier
|
|
.Dq ra
|
|
followed by a digit in the range of zero to four.
|
|
.Pp
|
|
|
|
The second field, the
|
|
.Pq Fa day-number
|
|
selects the day of week for which this entry defines the rates, where 0 stands
|
|
for Sunday, 1 for Monday and so on until the digit 6 which stands for Saturday.
|
|
.Pp
|
|
|
|
The rest of the line consists of one or more space separated fields which have
|
|
the following syntax:
|
|
.Bd -filled -offset indent
|
|
start_hour.start_minutes-end_hour.end_minutes:charge_unit_length
|
|
.Ed
|
|
.Pp
|
|
Start_hour and start_minutes define the begin of a time section and end_hour
|
|
and end_minutes define the end. Charge_unit_length define the length of a
|
|
charging unit in the previously defined time section. No spaces or tabs are
|
|
allowed inside this field. The hour and minutes specifications MUST have
|
|
exactly 2 digits, in case just one digit is needed, a leading 0 must be used.
|
|
.Pp
|
|
For example,
|
|
.Bd -filled -offset indent
|
|
14.00-18.00:90
|
|
.Ed
|
|
.Pp
|
|
defines, that between 2:00 PM and 6:00 PM the length of one charging unit
|
|
lasts 90 seconds.
|
|
.Pp
|
|
|
|
.Sh FILES
|
|
.Bl -tag -width /etc/isdn/isdnd.rates -compact
|
|
.It Pa /etc/isdn/isdnd.rates
|
|
The default rates specification file for the
|
|
.Nm isdnd
|
|
ISDN daemon.
|
|
|
|
.Sh EXAMPLES
|
|
The line:
|
|
.Bd -literal
|
|
ra0 0 00.00-05.00:240 05.00-21.00:150 21.00-24.00:240
|
|
.Ed
|
|
.Pp
|
|
defines the unit lengths for a Sunday.
|
|
|
|
.Sh SEE ALSO
|
|
.Xr isdnd 8 ,
|
|
.Xr isdnd.rc 5
|
|
|
|
.Sh AUTHOR
|
|
The rates subsystem for the
|
|
.Xr isdnd 8
|
|
daemon to which
|
|
.Nm
|
|
belongs was designed and written by Gary Jennejohn.
|
|
.Pp
|
|
The
|
|
.Xr isdnd 8
|
|
daemon and this manual page were written by Hellmuth Michaelis.
|
|
He can be reached at hm@kts.org or hm@hcs.de.
|
|
|