Section: User Commands (1)
Return to Main Contents
isdnrate - Print telefon rates and various info from rate-files(5).
isdnrate -bbest -dday -ffrom -hhour -llen
-ttakt -vverbose -xexclude
-C -Ddet -Gdata -H -L -N -Osocketfile -Ppiddir
-Ssort -T -U -V -Xexplain
All options are optional.
program prints various information from rate-files(5). It's main purpose
is the calculation of telefon rates from your location to an arbitrary
destination at a certain time and of a certain length for all the providers in a rate-file.
A telefon number may be
a local area number
a different area in your country
a foreign country
text for a foreign country
a code as defined in
a Service name (if option
is also given).
Note that currently only city names in AT, DE, NL are supported plus some international capitals.
Note also, spaces in country- or service names may be given as underscores.
Print only best providers. Default is all.
Use rateconf as provider selection file and ignore setting in
Calc rates for day. day can be one of
day of current month
day, month, year
Weekday - night
Default is now.
Callers location. Default ist from
of call. Default is now.
Use ratefile (usually rate-CC.dat) as source for telephone fees and
ignore setting in
Length of call in second. Default value is 153 secs.
Show only booked providers. These are providers, which are listed in
Print only info for given provider(s).
is the provider number, without the leading VBN, or
if there are more variations, or
for business providers.
Show only providers whose vbn begins with NN.
The vbn is also known as provider prefix consisting of VBN and provider number.
as the name of a service and print all numbers / providers, which supply
Print only providers, which have calculation impulses smaller or equal to takt.
Default is 9999.
Set verbose level.
Exclude these provider(s).
DISPLAY AND RUN OPTIONS
Connect to a running isdnrate daemon. This avoids long startup times.
Start as a daemon, waiting for connections from a client. The socket
is created, which clients can connect to.
Start as a daemon and go background.
Stop a running daemon.
Print raw data for connection. n may be currently 97,98,99.
Print a header.
Print a semicolon separated list of
vbn ; providername ; zone ; day ; time ; currency ; charge ; basicprice ; price ;
duration ; charge/min ; takt ; minimum price
Show info about following numbers. If no provider is given, the preselected
provider is used.
Write socket to given filename on start of daemon. Default is
Write own PID to
on start of daemon.
Sort output by sort, which may be
provider name. Default is by charge.
Print a table of charges for daytimes weekday/weekend.
Print version info and exit.
Print additional information for charge or from rate-file.
(charge/min, zone, day, time)
Print C:COMMENT: info from rate files.
is given, the number of the service is also listed with
Print info for LCR
e.g. isdnrate -p1 -ZX 19430
shows the rate for provider 1 and the cheapest rate to this service.
Note: Various output options may not be used together. If you gave conflicting
options you'll see a warning.
Note also: Sort by name or providernumber and
will bring you the first
providers in sorting order, not the cheapest.
And finally: Some options like
-X50, -X51, -X52, -D, -V
don't require a telefon
Note: The extension of zone- and dest data files depends on configuration.
Start the isdnrate daemon.
isdnrate -D2 -P /var/run -O /tmp/isdnr_socket
Start the isdnrate daemon, write
to /var/run and create the given socket.
isdnrate -CH -b5 -f01 -l120 Attersee
Connect to running daemon, print a header and the best 5 rates from Vienna
for a connection length of 2 Minutes.
isdnrate -CX -p1_2,24 +1
Show rates and zones for destination USA for providers
1_2 and 24.
isdnrate -C -l60 -rv010 HAM
Show rates for a one minute call to Hamburg (HAM: airport code) and
use only providers whose vbn begins with 010.
So provider A with vbn 01030 is displayed,
provider B with vbn 0190023 is not.
isdnrate -CX -H -dW -b5 US CA
Show a header, rates and zones for destinations USA and Canada for best 5
providers during workday.
isdnrate -CHoX US
Show header, rate and zone for destination USA for booked providers only.
isdnrate -CsX -l60 Internet
Show rates and numbers for service
for a 1 minutes call.
isdnrate -CZ 19430
Show rates and the best provider for this (service-)number.
Stop the running isdnrate daemon.
A isdnrate daemon restarts (and therefore rereads its configuration) on
getting a SIGHUP signal.
rate-files(5), isdnlog(8), isdn.conf(5)
Definitely yes. Sometimes more then one daemon can be started, sometimes the
socket is not removed, when the daemon terminates. if this happens
('socket in use'), do a
and try again.
Andreas Kool <firstname.lastname@example.org> started this program.
Leopold Toetsch <email@example.com> continued the work and brought this man
page to you. Michael Reinelt
<firstname.lastname@example.org> did the calculation engine and various tools for it.
- DISPLAY AND RUN OPTIONS
- SEE ALSO
linux.jgfs.net manual pages