Commit Graph

78 Commits

Author SHA1 Message Date
Rolf Leggewie 665d71a41b isdnlog: fix some spelling mistakes 2012-03-29 16:36:38 +02:00
tobiasb b4ebc28847 Made isdnrep and isdnrate buildable under cygwin. See ChangeLog for details. 2007-01-05 04:23:57 +00:00
tobiasb 7604713269 New feature: provider skipping.
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.
2005-02-23 14:33:37 +00:00
tobiasb fb170b00da Fix for rate computation of outgoing calls from other devices and for logging
of calls from and to the observed card (simultaneous SETUP messages).
Area code setting also in parameterfile.
2004-12-16 22:40:30 +00:00
tobiasb f800d91a7a Changed handling of multiple "calling party number" information elements.
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.)
2004-09-29 21:02:01 +00:00
tobiasb 2ce9303a2a New parameter file entry "ignoreUPD" for suppressing "Unexpected
discrimator (...)" messages, demanded by Günther J. Niederwimmer
on the suse-isdn mailing list.
2004-09-05 22:04:55 +00:00
tobiasb f06fb3e873 Second step in restricting fds at isdnlog restart and script starting.
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.
2004-01-28 14:27:46 +00:00
tobiasb 7aa7b660c2 First step to close all unnecessary open file descriptors before
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.
2004-01-26 15:20:07 +00:00
tobiasb 22c00ee4ae Show supported database(s) at startup. 2004-01-04 02:22:53 +00:00
tobiasb 408c0bb82c isdnlog-4.65:
- 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.
2003-07-25 22:18:02 +00:00
akool 0c2043ae85 isdnlog-4.53
- 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
2001-10-15 19:51:47 +00:00
paul 0039150ce6 Close stdout and stderr if we're becoming a daemon. 2001-08-18 12:01:25 +00:00
paul f17c3ba564 Now isdnlog doesn't use any more ISDN_XX defines to determine the way it works.
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.
2000-09-05 08:05:02 +00:00
akool 4ab12ed6bc isdnlog-4.34
- 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
2000-07-19 19:41:32 +00:00
akool 9ecf54dd74 isdnlog-4.33
- isdnlog/tools/rate.c ... Bug fixed
  - isdnlog/isdnlog/isdnlog.c ... check for callfmt
  - "rate-de.dat" corrected (duplicates removed)
2000-07-18 22:26:02 +00:00
akool 1c0a68c4e8 - Ported "imontty", "isdnctrl", "isdnlog", "xmonisdn" and "hisaxctrl" to
Linux-2.4 "devfs" ("/dev/isdnctrl" -> "/dev/isdn/isdnctrl")
2000-06-29 17:38:26 +00:00
akool 27d6330cfc isdnlog-4.29
- better ASN.1 display
 - many new rates
 - new Option "isdnlog -Q" dump's "/etc/isdn/isdn.conf" into a SQL database
2000-06-20 17:09:58 +00:00
akool 758d301a6a isdnlog-4.18
- 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
2000-04-02 17:35:06 +00:00
akool 8ba8191721 isdnlog-4.16
- isdnlog/samples/isdn.conf.no ... changed VBN
 - isdnlog/isdnlog/isdnlog.c .. ciInterval
 - isdnlog/isdnlog/processor.c .. ciInterval
 - isdnlog/tools/tools.h .. ciInterval, abclcr conf option
 - isdnlog/tools/isdnconf.c .. ciInterval, abclcr conf option
 - isdnlog/tools/isdnrate.c .. removed a warning
 - isdnlog/NEWS ... updated
 - isdnlog/README ... updated
 - isdnlog/isdnlog/isdnlog.8.in ... updated
 - isdnlog/isdnlog/isdnlog.5.in ... updated
 - isdnlog/samples/provider ... NEW

   ==> Please run a make clean, and be sure to read isdnlog/NEWS for changes
   ==> and new features.
2000-03-09 18:50:01 +00:00
akool f2f5341d65 isdnlog-4.10
- Set CHARGEINT to 11 if < 11
 - new Option "-dx" controls ABC_LCR feature (see README for infos)
 - new rates
2000-02-11 10:41:50 +00:00
akool a5d7f3df1b isdnlog-4.08
isdnlog/tools/rate.c ... LCR patch again
  isdnlog/tools/isdnrate.c ... LCR patch again
  isdnbill enhanced/fixed
  DTAG AktivPlus fixed
2000-02-03 18:24:49 +00:00
akool 3216d3dfb6 isdnlog-4.07
- many new rates per 1.2.2000
2000-02-02 22:43:08 +00:00
akool cdcdf04af9 isdnlog-4.00 (Millenium-Edition)
- Oracle support added by Jan Bolt (Jan.Bolt@t-online.de)
1999-12-31 13:30:01 +00:00
akool 876f8c3c95 isdnlog-3.65
- added "B:" Tag to "rate-xx.dat"
1999-11-08 21:09:36 +00:00
akool 8eb5be904e isdnlog-3.64
- new "Sonderrufnummern" handling
1999-11-07 13:29:25 +00:00
akool ec01043e7b - fixed "-q" option
- workaround for "Sonderrufnummern"
1999-10-30 18:03:29 +00:00
akool dfd1934c9e isdnlog-3.60
- sucessfully ported/tested to/with:
     - Linux-2.3.24 SMP
     - egcs-2.91.66
   using -DBIG_PHONE_NUMBERS

 - finally added working support for HFC-card in "echo mode"
   try this:
     hisaxctrl bri 10 1
     hisaxctrl bri 12 1
     isdnlog -21 -1
-----------------^^ new option
1999-10-29 19:45:59 +00:00
akool c793cb437a isdnlog-3.57
WARNING: Experimental version!
  	   Please use isdnlog-3.56 for production systems!
1999-10-25 18:30:03 +00:00
akool ffdb1ad74c isdnlog-3.55
- Patch from Oliver Lauer <Oliver.Lauer@coburg.baynet.de>
    added hup3 to option file
  - changed country-de.dat to ISO 3166 Countrycode / Airportcode
1999-09-26 10:55:19 +00:00
akool 41ae722951 isdnlog-3.50
added 3. parameter to "-h" Option: Controls CHARGEHUP for providers like
  DTAG (T-Online) or AOL.
  Many thanks to Martin Lesser <m-lesser@lesser-com.de>
1999-09-11 22:28:22 +00:00
akool bd6b4cb0d5 isdnlog-3.45
- 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]
1999-08-20 19:27:15 +00:00
akool 76e6615e55 isdnlog Version 3.38
- new utility "isdnrate" started
1999-06-28 19:14:59 +00:00
akool 1355b886f3 fixed zone-processing 1999-06-16 23:37:31 +00:00
akool f63779b1fa isdnlog Version 3.33
- big step in using the new zone files
  - *This*is*not*a*production*ready*isdnlog*!!
  - Maybe the last release before the I4L meeting in Nuernberg
1999-06-15 20:02:54 +00:00
akool 8ff9da473e isdnlog Version 3.32
- new option "-U1" (or "ignoreCOLP=1") to ignore CLIP/COLP Frames
 - TEI management decoded
1999-06-13 14:06:53 +00:00
akool 1524bcaa52 isdnlog Version 3.29
- 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!)
1999-05-22 10:17:50 +00:00
akool 4f066c93f0 isdnlog Version 3.28
- "-u" Option corrected
 - "ausland.dat" removed
 - "countries-de.dat" fully integrated
     you should add the entry
     "COUNTRYFILE = /usr/lib/isdn/countries-de.dat"
     into section "[ISDNLOG]" of your config file!
 - rate-de.dat V:1.02-Germany [13-May-1999 12:26:24]
 - countries-de.dat V:1.02-Germany [13-May-1999 12:26:26]
1999-05-13 11:38:43 +00:00
akool b8b1f51117 isdnlog Version 3.24
- fully removed "sondernummern.c"
 - removed "gcc -Wall" warnings in ASN.1 Parser
 - many new entries for "rate-de.dat"
 - better "isdnconf" utility
1999-05-04 19:32:01 +00:00
akool 78c1664662 isdnlog Version 3.13
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)
1999-04-10 16:34:57 +00:00
akool ba136f9495 - isdnlog Version 3.11
- make isdnlog compile with egcs 1.1.7 (Bug report from Christophe Zwecker <doc@zwecker.com>)
1999-03-25 19:39:41 +00:00
akool 0dccf7b448 - isdnlog Version 3.10
- 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
1999-03-24 19:37:29 +00:00
akool 5255397dca - isdnlog Version 3.08
- 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)
1999-03-20 14:32:29 +00:00
akool 925c030f60 - isdnlog Version 3.05
- 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
1999-03-14 14:26:08 +00:00
akool 38ee6148db Fixed a typo in isdnconf.c from Andreas Jaeger <aj@arthur.rhein-neckar.de>
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
1999-02-28 19:32:17 +00:00
akool 468f71f8f1 - second version of the new chargeint database
- isdnrep reanimated
1999-01-24 19:01:20 +00:00
akool 29b4200fd2 - "message = 0" bug fixed (many thanks to
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
1999-01-10 15:22:43 +00:00
paul b9fe29fe77 converted termio calls to termios 1998-12-31 09:58:50 +00:00
akool 5be4f9c161 - new option "-0x:y" for leading zero stripping on internal S0-Bus
- 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>
1998-12-09 20:39:14 +00:00
akool 38eccc0268 - changed my email-adress
- 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)
1998-11-24 20:50:59 +00:00
akool 75daaadc8a - fix new Option "-i" (Internal-S0-Bus)
- more Providers (Nikoma, First Telecom, Mox)
 - isdnrep-Bugfix from reinhard.karcher@dpk.berlin.fido.de (Reinhard Karcher)
 - Configure.help completed
1998-11-17 00:37:34 +00:00