Certain providers can be completely ignored (skipped) when loading the
rate-file. The selection is done by Q: tags in rate.conf or by skipProv=
in the parameter file. The syntax is explained in the new manual page
rate.conf(5). Absurd settings for provider skipping may cause trouble.
The version number will change to 4.70 in a few days after an update
of the rate-de.dat.
The network provided number is now preferred in any case. The other
number (typical set by originating user) can be ignored using the
ignoreCOLP or -U setting, which allows different values for COLP and CLIP
now. (The old behaviour was to use the first number if ignoreCOLP was set
and the network provided number regardless of order otherwise.)
The fd limit is now taken from getrlimit() instead of NR_OPEN.
Close_Fds(first) which tries to close all possible fds is generally
built in but the execution must be requested with "closefds=yes" in
the parameterfile otherwise the isdnlog behaviour remains unchanged.
starting a start script as reaction to a call. The same applies to the
restart of isdnlog using SIGHUP. Till now each restart increases the
number of used fds.
For now the modifications are inactive by default. They can be enabled
by adding the line "DEFS += -DFD_AT_EXEC_MODE=1" to ../Makefile.in.
The next isdnlog (4.68) will have this enabled per default.
The upper limit for fd numbers is taken from NR_OPEN in <linux/limits.h>.
If there is a smarter way to access this limit, please let me know.
Another approach would be to set the close-on-exec flag on each fd
directly after it is opened. This would require more extensive changes.
I'd like to thank Jan Bernhardt for discovering this problem.
- New values for isdnlog option -2x / dual=x with enable certain
workarounds for correct logging in dualmode in case of prior
errors. See `man isdnlog' and isdnlog/processor.c for details.
- New isdnlog option -U2 / ignoreCOLP=2 for displaying ignored
COLP information.
- Improved handling of incomplete D-channel frames.
- Increased length of number aliases shown immediately by isdnlog.
Now 127 instead of 32 chars are possible. (Patch by Jochen Erwied.)
- The zone number for an outgoing call as defined in the rate-file
is written to the logfile again and used by isdnrep
- Improved zone summary of isdnrep. Now the real zone numbers as
defined in the rate-file are shown. The zone number is taken
from the logfile as mentioned before or computed from the current
rate-file. Missmatches are indicated with the chars ~,+ and *,
isdnrep -v ... explains the meanings.
- Fixed provider summary of isdnrep. Calls should no longer be
treated wrongly as done via the default (preselected) provider.
- Fixed the -pmx command line option of isdnrep, where x is the xth
defined [MSN].
- `make install' restarts isdnlog after installing the data files.
- A new version number generates new binaries.
- `make clean' removes isdnlog/isdnlog/ilp.o when called with ILP=1.
- verified Leo's correction of Paul's byte-order independent Patch to the CDB
(now it's Ok, Leo, and *many* thanks to Paul!)
- "rate-de.dat" updated
- added "-Q" option to isdnlog
It now uses the value of "COUNTRYCODE = 999" to determine the country, and sets
a variable mycountrynum to that value. That is then used in the code to set the
way isdnlog works.
It works for me, please check it! No configure.in / doc changes yet until
it has been checked to work.
So finally a version of isdnlog that can be compiled and distributed
internationally.
- since around Linux-2.2.16 signals are *not* reset to their default
behavior when raised :-( (bug or feature?).
- isdnlog/rate-pl.dat ... changes from Karsten Voss <vossdoku@gmx.net>
- populated "samples/isdn.conf.de" with all german Internet-by-Call numbers
- isdnlog/isdnlog/isdnlog.8.in ... documented hup3
- isdnlog/tools/dest.c ... _DEMD1 not recogniced as key
- mySQL Server version 3.22.27 support
- new rates
- removed about 1 Mb of (now unused) data files
- replaced areacodes and "vorwahl.dat" support by zone databases
- fixed "Sonderrufnummern"
- rate-de.dat :: V:1.10-Germany [20-Aug-1999 21:23:27]
- processing of "sonderrufnummern" much more faster
- detection for sonderrufnummern of other provider's implemented
(like 01929:FreeNet)
- Patch from Oliver Lauer <Oliver.Lauer@coburg.baynet.de>
- Patch from Markus Schoepflin <schoepflin@ginit.de>
- easter computing corrected
- rate-de.dat 1.02-Germany [22-May-1999 11:37:33] (from rate-CVS)
- countries-de.dat 1.02-Germany [22-May-1999 11:37:47] (from rate-CVS)
- new option "-B" added (see README)
(using "isdnlog -B16 ..." isdnlog now works in the Netherlands!)
WARNING: This is pre-ALPHA-dont-ever-use-Code!
"tarif.dat" (aka "rate-xx.dat"): the next generation!
You have to do the following to test this version:
cp /usr/src/isdn4k-utils/isdnlog/holiday-de.dat /etc/isdn
cp /usr/src/isdn4k-utils/isdnlog/rate-de.dat /usr/lib/isdn
cp /usr/src/isdn4k-utils/isdnlog/samples/rate.conf.de /etc/isdn/rate.conf
After that, add the following entries to your "/etc/isdn/isdn.conf" or
"/etc/isdn/callerid.conf" file:
[ISDNLOG]
SPECIALNUMBERS = /usr/lib/isdn/sonderrufnummern.dat
HOLIDAYS = /usr/lib/isdn/holiday-de.dat
RATEFILE = /usr/lib/isdn/rate-de.dat
RATECONF = /etc/isdn/rate.conf
Please replace any "de" with your country code ("at", "ch", "nl")
Good luck (Andreas Kool and Michael Reinelt)
- moved "sondernnummern.c" from isdnlog/ to tools/
- "holiday.c" and "rate.c" integrated
- NetCologne rates from Oliver Flimm <flimm@ph-cip.uni-koeln.de>
- corrected UUnet and T-Online rates
- more tesion)) Tarife from Michael Graw <Michael.Graw@bartlmae.de>
- use "bunzip -f" from Franz Elsner <Elsner@zrz.TU-Berlin.DE>
- show another "cheapest" hint if provider is overloaded ("OVERLOAD")
- "make install" now makes the required entry
[GLOBAL]
AREADIFF = /usr/lib/isdn/vorwahl.dat
- README: Syntax description of the new "rate-at.dat"
- better integration of "sondernummern.c" from mario.joussen@post.rwth-aachen.de
- server.c: buffer overrun fix from Michael.Weber@Post.RWTH-Aachen.DE (Michael Weber)
- new Option "-u1" (or "ignoreRR=1")
- added version information to "sonderrufnummern.dat"
- added debug messages if sonderrufnummern.dat or tarif.dat could not be opened
- sonderrufnummern.dat V 1.01 - new 01805 rates
CHARGEMAX fix from Oliver Lauer <Oliver.Lauer@coburg.baynet.de>
isdnrep fix from reinhard.karcher@dpk.berlin.fido.de (Reinhard Karcher)
"takt_at.c" fixes from Ulrich Leodolter <u.leodolter@xpoint.at>
sondernummern.c from Mario Joussen <mario.joussen@post.rwth-aachen.de>
Reenable usage of the ZONE entry from Schlottmann-Goedde@t-online.de
Fixed a typo in callerid.conf.5
Sebastian Kanthak <sebastian.kanthak@muehlheim.de>)
- CITYWEEKEND via config-file possible
- fixes from Michael Reinelt <reinelt@eunet.at>
- fix a typo in the README from Sascha Ziemann <szi@aibon.ping.de>
- Charge for .at optimized by Michael Reinelt <reinelt@eunet.at>
- first alpha-Version of the new chargeinfo-Database
ATTENTION: This version requires the following manual steps:
cp /usr/src/isdn4k-utils/isdnlog/tarif.dat /usr/lib/isdn
cp /usr/src/isdn4k-utils/isdnlog/samples/tarif.conf /etc/isdn
- new option "-o" to suppress causes of other ISDN-Equipment
- more support for the internal S0-bus
- Patches from Jochen Erwied <mack@Joker.E.Ruhr.DE>, fixes TelDaFax Tarif
- workaround from Sebastian Kanthak <sebastian.kanthak@muehlheim.de>
- new CHARGEINT chapter in the README from
"Georg v.Zezschwitz" <gvz@popocate.hamburg.pop.de>
- new Option "-R" to supply the preselected provider (-R24 -> Telepassport)
- made Provider-Prefix 6 digits long
- full support for internal S0-bus implemented (-A, -i Options)
- isdnlog now ignores unknown frames
- added 36 allocated, but up to now unused "Auskunft" Numbers
- added _all_ 122 Providers
- Patch from Jochen Erwied <mack@Joker.E.Ruhr.DE> for Quante-TK-Anlagen
(first dialed digit comes with SETUP-Frame)