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.
- README: explain possibility to open the "outfile=" in Append-Mode with "+"
- Fixed 2 typos in isdnlog/tools/zone/de - many thanks to
Tobias Becker <tobias@talypso.de>
- detect interface (via IIOCNETGPN) _before_ setting CHARGEINT/HUPTIMEOUT
- isdnlog/isdnlog/processor.c ... fixed wrong init of IIOCNETGPNavailable
- isdnlog/isdnrep/isdnrep.c ... new option -S summary
- isdnlog/isdnrep/rep_main.c
- isdnlog/isdnrep/isdnrep.1.in
- isdnlog/tools/NEWS
- isdnlog/tools/cdb/debian ... (NEW dir) copyright and such from orig
- new "rate-de.dat" from sourceforge (hi and welcome: Who is "roro"?)
- isdnlog now uses ioctl(IIOCNETGPN) to associate phone numbers, interfaces
and slots in "/dev/isdninfo".
This requires a Linux-Kernel 2.2.12 or better.
Support for older Kernel's are implemented.
If IIOCNETGPN is available, the entries "INTERFACE = xxx" in
"/etc/isdn/isdn.conf" are obsolete.
- added 01013:Tele2 totally Freecall on 12. and 13. August 2000
- resolved *any* warning's from "rate-de.dat" (once more ...)
- Patch from oliver@escape.de (Oliver Wellnitz) against
"Ziffernwahl verschluckt Nummern"
**Please "make clean" before using this version of isdnlog!!**
- removed "09978 Schoenthal Oberpfalz" from "zone-de.dtag.cdb". Entry was
totally buggy.
- isdnlog/isdnlog/processor.c ... added err msg for failing IIOCGETCPS
- isdnlog/tools/cdb ... (NEW DIR) cdb Constant Data Base
- isdnlog/Makefile.in ... cdb Constant Data Base
- isdnlog/configure{,.in}
- isdnlog/policy.h.in
- isdnlog/FAQ sic!
- isdnlog/NEWS
- isdnlog/README
- isdnlog/tools/NEWS
- isdnlog/tools/dest.c
- isdnlog/tools/isdnrate.man
- isdnlog/tools/zone/Makefile.in
- isdnlog/tools/zone/configure{,.in}
- isdnlog/tools/zone/config.h.in
- isdnlog/tools/zone/common.h
- isdnlog/tools/dest/Makefile.in
- isdnlog/tools/dest/configure{,.in}
- isdnlog/tools/dest/makedest
- isdnlog/tools/dest/CDB_File_Dump.{pm,3pm} ... (NEW) writes cdb dump files
- isdnlog/tools/dest/mcdb ... (NEW) convert testdest dumps to cdb dumps
- isdnlog/tools/Makefile ... clean:-target fixed
- isdnlog/tools/telnum{.c,.h} ... TELNUM.vbn was not always initialized
- isdnlog/tools/rate.c ... fixed bug with R:tag and isdnlog not always
calculating correct rates (isdnrate worked)
s. isdnlog/tools/NEWS on details for using cdb. and
isdnlog/README 20.a Datenbanken for a note about databases (in German).
As this is the first version with cdb and a major patch there could be
still some problems. If you find something let me know. <lt@toetsch.at>
- 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
- added new Prefixes 0160 (D1) and 0162 (D2) to "country-de.dat"
- corrected all german mobil phone numbers (many thank's to
Tobias Becker <i4l-projects@talypso.de> for the tool "fix_rates.pl")
- isdnlog/tools/rate.c ... New R:-tag
- isdnlog/tools/isdnrate.c ... print warnings from getRate if verbose
- isdnlog/tools/rate-files.man ... New R:-tag
- isdnlog/tools/NEWS ... New R:-tag
- isdnlog/README ... New R:-tag
- isdnlog/samples/rtest.dat ... example rate-file for testing R:
- isdnlog/isdnrep/isdnrep.c ... bugfix for wrong providers and duration
by Hans Klein on d.a.c.i
- isdnlog/tools/rate-at.c ... 1046 Neu, 1002 ab 1.6., 1024
- isdnlog/rate-at.dat ... 1046 Neu, 1002 ab 1.6., 1024
- new rates 01078:3U and 01024:Super_24
- isdnlog/tools/rate-at.c ... patch for max (new rates)
- isdnlog/rate-at.dat ... max new rates
- isdnlog/country-de.dat ... _TRMF, some duplicate N entries
- isdnlog/tools/NEWS ... hint for rebuilding dest.gdbm
=> ** Please rebuild the destination database! **
- 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
- isdnlog/tools/tools.h ... moved one_call, sum_calls to isdnrep.h
==> DO A 'make clean' PLEASE
- isdnlog/tools/telnum.c ... fixed a small typo
- isdnlog/isdnrep/rep_main.c ... incl. dest.h
- isdnlog/isdnrep/isdnrep.c ... fixed %l, %L
- isdnlog/isdnrep/isdnrep.h ... struct one_call, sum_calls are now here
Support for Norway added. Many thanks to Tore Ferner <torfer@pvv.org>
- isdnlog/rate-no.dat ... NEW
- isdnlog/holiday-no.dat ... NEW
- isdnlog/samples/isdn.conf.no ... NEW
- isdnlog/samples/rate.conf.no ... NEW
- isdnlog/Makefile.in ... sep install-targets, installs samples, no isdnconf
- isdnlog/samples/rate.conf.{lu,nl} ... NEW
- isdnlog/samples/isdn.conf.lu ... chg provider
- isdnlog/samples/stop ... chg \d,\d => \d.\d
- isdnlog/samples/isdnlog.isdnctrl0.options ... NEW
- isdnlog/samples/isdnlog.users ... NEW
- isdnlog/country-de.dat ... _DEMF again
- isdnlog/isdnlog/processor.c ... LCR
- isdnlog/tools/isdnrate.c ... fmt of s
Old config is not installed anymore, to acomplish this do
make install-old-conf
make install
A running isdnlog is now HUP-ed not KILL-ed
- ABC_LCR tested and fixed. It's really working now, Detlef!
- Patch from Hans Klein <hansi.klein@net-con.net>
German-"Verzonungstabelle" fixed
- new "zone-de-dtag.gdbm" generated
- Support for Luxemburg added:
- isdnlog/country-de.dat ... no +352 1 luxemburg city
- isdnlog/rate-lu.dat ... initial LU version NEW
- isdnlog/holiday-lu.dat ... NEW - FIXME
- isdnlog/.Config.in ... LU support
- isdnlog/configure.in ... LU support
- isdnlog/samples/isdn.conf.lu ... LU support NEW
- German zone-table enhanced
- isdnlog/tools/zone/de/01033/mk ...fixed, with verify now
- isdnlog/tools/zone/redzone ... fixed
- isdnlog/tools/zone/de/01033/mzoneall ... fixed, faster
- isdnlog/tools/zone/mkzonedb.c .... data Version 1.21
- Patch from Philipp Matthias Hahn <pmhahn@titan.lahn.de>
- PostgreSQL SEGV solved
- Patch from Armin Schindler <mac@melware.de>
- Eicon-Driver Support for isdnlog
following:
I don't use buildnumber() anymore to translate the numbers to aliases, because
it apparently did never work quite right. If someone knows how to handle
buildnumber(), we can go ahead and fix this.
- Patch from Gerrit Pape <pape@innominate.de>
fixes html-output if "-t" option of isdnrep is omitted
- Patch from Roland Rosenfeld <roland@spinnaker.de>
fixes "%p" in ILABEL and OLABEL
- isdnlog/Makefile.in ... added dep for Makefile.in
- isdnlog/tools/zone/configure{,.in} ... better error msg if bzip2 not found
- isdnlog/tools/dest/configure{,.in} ... better error msg if bzip2 not found
- tools for generating a fully expanded zonefile added
- Patch from Jochen Erwied <mack@joker.e.ruhr.de>
makes the "-O" and "-C" options usable at the same time
- Workaround from Karsten Keil <kkeil@suse.de>
segfault in ASN.1 parser
- isdnlog/tools/rate.c ... ignores "empty" providers
- isdnlog/tools/telnum.h ... fixed TN_MAX_PROVIDER_LEN
missing, at least on alpha there will be trouble (default return value is
int (4 bytes), and it is used as a pointer (8 bytes).
Why was it commented out?
- changed getProvider() to not return NULL on unknown providers
many thanks to Matthias Eder <mateder@netway.at>
- corrected zone-processing when doing a internal -> world call
- 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]
in tools directory, declare it as external function.
compiler and linker did not detect the problem.
Now print_msg is a function in rep_main.c and I copied
print_in_modules from isdnconf. Also set_print_fct_for_isdnrep
is removed from isdnrep.c. isdnrep didnt crash now, but throw
out warning messages about rate.dat and didt generate output.
- 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!)
- fixed the "0800" -> free of charge problem
- *many* additions to "ausland.dat"
- first relase of "rate-de.dat" from the CVS-Server of the I4L-Tarif-Crew
- README: isdnconf: new features explained
- rate-de.dat: many new rates from the I4L-Tarifdatenbank-Crew
- added the ability to directly enter a country-name into "rate-xx.dat"
- CVS headers added to the asn* files
- repaired the "4.CI" message directly on CONNECT
- HANGUP message extended (CI's and EH's shown)
- reactivated the OVERLOAD message
- rate-at.dat extended
- fixes from Michael Reinelt
- added ASN.1 Parser from Kai Germaschewski <kai@thphy.uni-duesseldorf.de>
isdnlog now fully support all fac- and cf-messages!
- some additions to the "rate-de.dat"
- countries-at.dat added
- spelling corrections in "countries-de.dat" and "countries-us.dat"
- LCR-function of isdnconf now accepts a duration (isdnconf -c .,duration)
- "rate-at.dat" and "rate-de.dat" extended/fixed
- holiday.c and rate.c fixed (many thanks to reinelt@eunet.at)
- reenable the least-cost-router functions of "isdnconf"
try "isdnconf -c <areacode>" or even "isdnconf -c ."
- README: "rate-xx.dat" documented
- small fixes in processor.c and rate.c
- "rate-de.dat" optimized
- splitted countries.dat into countries-de.dat and countries-us.dat
- "make install" now install's "rate-xx.dat", "rate.conf" and "ausland.dat"
- "holiday-xx.dat" Version 1.1
- many rate fixes (Thanks again to Michael Reinelt <reinelt@eunet.at>)
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)
- "%B" tag in ILABEL/OLABEL corrected
- isdnlog now register's incoming calls when there are no free B-channels
(idea from sergio@webmedia.es)
- better "samples/rate.conf.de" (suppress provider without true call-by-call)
- "tarif.dat" V:1.17 [03-Apr-99]
- Added EWE-Tel rates from Reiner Klaproth <rk1@msjohan.dd.sn.schule.de>
- isdnconf can now be used to generate a Least-cost-router table
(try "isdnconf -c .")
- isdnlog now simulate a RELEASE COMPLETE if nothing happpens after a SETUP
- CHARGEMAX Patches from Oliver Lauer <Oliver.Lauer@coburg.baynet.de>
- 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)
- Michael Reinelt's patch as of 16Mar99 06:58:58
- fix a fix from yesterday with sondernummern
- ignore "" COLP/CLIP messages
- dont show a LCR-Hint, if same price
- 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
- general cleanup
- new layout for "rate-xx.dat" and "holiday-xx.dat" files from
Michael Reinelt <reinelt@eunet.at>
unused by now - it's a work-in-progress !
- bugfix for Wolfgang Siefert <siefert@wiwi.uni-frankfurt.de>
The Agfeo AS 40 (Software release 2.1b) uses AOC_AMOUNT, not AOC_UNITS
- bugfix for Ralf G. R. Bergs <rabe@RWTH-Aachen.DE> - 0800/xxx numbers
are free of charge ;-)
- tarif.dat V 1.08 - new mobil-rates DTAG
- new March 1999 tarife
- added new provider "01051 Telecom"
- fixed a buffer overrun from Michael Weber <Michael.Weber@Post.RWTH-Aachen.DE>
- fixed a bug using "sondernnummern.c"
- fixed chargeint change over the time
- "make install" now install's "sonderrufnummern.dat", "tarif.dat",
"vorwahl.dat" and "tarif.conf"! Many thanks to
Mario Joussen <mario.joussen@post.rwth-aachen.de>
- Euracom Frames would now be ignored
- fixed warnings in "sondernnummern.c"
- "10plus" messages no longer send to syslog
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