Commit Graph

231 Commits

Author SHA1 Message Date
Peter Marschall 2181ac8518 isdnlog: hard-code man-page dates & autoreconf
Do not use the date of the last RCS checkin-time as manual page data.
This does not make sense anymore with git as DVCS.
2012-04-27 19:29:39 +02:00
Rolf Leggewie f70ec5b736 drop all isdnlog/isdnlog/ora* files
the copyright holders forbid commercial use of the code which makes it
non-free
2012-03-31 21:14:07 +02:00
Rolf Leggewie 665d71a41b isdnlog: fix some spelling mistakes 2012-03-29 16:36:38 +02:00
Rolf Leggewie 09500223aa drop .cvsignore files 2012-03-29 16:36:36 +02:00
keil 19482907d7 fix compiler warnings 2007-05-17 21:10:29 +00:00
tobiasb b4ebc28847 Made isdnrep and isdnrate buildable under cygwin. See ChangeLog for details. 2007-01-05 04:23:57 +00:00
tobiasb d2435d6818 Fix for special case with DUALFIX_SRCNUM (-2/dual= includes 0x200).
A more general approach would do reordering of layer 2 frames.
2006-05-01 13:52:31 +00:00
keil 9d0dfbfd87 fix some issues with newer gcc (mostly aliasing) 2006-01-15 15:08:54 +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 d2ac230cd2 Improved utilization of special number information from ratefile. 2005-01-02 16:37:21 +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 658e05fadb Minor fixes, required by gcc-3.4: Label at end of block, double function
declaration.  Revealed by Andreas Jochens as Debian bug #266523.
2004-08-25 21:22:05 +00:00
tobiasb 3666819646 New entry `REPOPTIONS' in section [ISDNLOG] of the isdn configuration
file.  This will be used for commandline options defaults of isdnrep.
2004-07-24 16:16:56 +00:00
tobiasb 55ea34f8f3 Set call duration -- written \$5 in callerid.conf -- until a
CONNECT occurs to 0 and not to the time elapsed since SETUP.  Now
the value 0 clearly indicates an unanswered call at HANGUP.  This
was reported by Rainer Dorsch on the isdn4linux mailinglist in
message <200404181436.48694.rdorsch@web.de> at 2004-04-18.
2004-07-24 15:48:45 +00:00
tobiasb 2c930bfa53 isdnlog-4.68:
- New German ratefile, rate-de.dat version 3.08 from rates4linux,
   included rates have been reviewed in January 2004 or later.
 - New setting for parameterfile: closefds=yes
   See isdnlog(8) or isdnlog/start_prog.c for details.
 - Changes checked in earlier but after step to isdnlog-4.67:
   - Added Belgian area codes.
   - Supported database are shown at isdnlog's startup.
   - isdnlog now tries to reconnect to a mysql server if necessary.
   - Fixed SIGSEGV in isdnrep with missing zonenames in ratefile.
   - New options -c and -i for isdnrate.
   - Some small fixes for redirs in ratefiles.
   - Disabled unicode for filehandles in Perl scripts.
2004-02-12 23:52:28 +00:00
tobiasb 572688f762 mysql_dbStatus() now really reports the connection state and tries to
reconnect if necessary.  Previously the database server had to be
reachable at isdnlog startup.  Otherwise no database logging took place.
Many thanks to Jochen Erwied for advising this change.
2004-02-06 16:56:20 +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 0680582c2b isdnlog-4.67:
- Enhancements for isdnrep:
   - New option -r for recomputing the connection fees with the rates
     from the current (and for a different or the cheapest provider).
   - Revised output format of summaries at end of report.
   - New format parameters %j, %v, and %V.
   - 2 new input formats for -t option.
 - Fix for dualmode workaround 0x100 to ensure that incoming calls
   will not become outgoing calls if a CALL_PROCEEDING message with
   an B channel confirmation is sent by a terminal prior to CONNECT.
 - Fixed and enhanced t: Tag handling in pp_rate.
 - Fixed typo in interface description of tools/rate.c
 - Fixed typo in tools/isdnrate.man, found by Paul Slootman.
 - Minor update to sample isdn.conf files:
   - Default isdnrep format shows numbers with 16 chars (+ & 15 digits).
   - New isdnrep format (-FNIO) without display of transfered bytes.
   - EUR as currency in Austria, may clash with outdated rate-at.dat.
     The number left of the currency symbol is nowadays insignificant.
 - Changes checked in earlier but after step to isdnlog-4.66:
   - New option for isdnrate: `-rvNN' requires a vbn starting with NN.
   - Do not compute the zone with empty strings (areacodes) as input.
   - New ratefile tags r: und t: which need an enhanced pp_rate.
     For a tag description see rate-files(5).
   - Some new and a few updated international cellphone destinations.

NOTE: If there any questions, problems, or problems regarding isdnlog,
   feel free to join the isdn4linux mailinglist, see
   https://www.isdn4linux.de/mailman/listinfo/isdn4linux for details,
   or send a mail in English or German to <tobiasb@isdn4linux.de>.
2003-10-29 17:41:33 +00:00
tobiasb af7e5bfa2c isdnlog-4.66:
- Added support for AVM B1 (with layer 2 d-channel trace) in point-to-
   point mode, where only TEI 0 is used ("Anlagenanschluss" in German).
   Many thanks to Klaus Heske for his testing efforts.
 - The source number "0" in outgoing calls is now expanded to
   +<country><area>0.  This may be useful for point-to-point setups,
   when <area> contains area code and local number without extension.
 - Basic support for different codesets in (E)DSS1 messages.  Except
   for codeset 0, unknown information elements are now silently
   ignored (controlled by ignore_unknown_IE in isdnlog/isdnlog.h).
 - Added some information elements to isdnlog/messages.c.
 - Increased the length of msn (local number) in struct telnum.
 - Fixed seperation of country and area code for long numbers
   in getDest, tools/dest.c.
 - Changed broken (with gcc 2.95.2) generation of .depend.  The old
   output did not consider the location of objectfiles in subdirs.
   Remove this file before compiling this upgraded isdnlog.
 - Moved DUALFIX... defines from tools/tools.h to isdnlog/isdnlog.h.
 - Added missing R:-Links for cellphone entries in country-de.dat.
 - Different entry for each city "Neustadt" in tools/zone/de/code.
 - Earlier changes since isdnlog-4.65:
    - Allow dualmode workaround 0x100 (DUALFIX_DESTNUM) to work also with
      CALL_PROCEEDING messages for cleaning up unanswered incoming calls.
2003-08-26 19:46:11 +00:00
tobiasb 71af2ed919 Allow dualmode workaround 0x100 aka DUALFIX_DESTNUM to work also with
CALL_PROCEEDING messages for cleaning up unanswered incoming calls.
  (http://lists.suse.com/archive/suse-isdn/2003-Aug/0026.html in German)
Update for `Denmark cellphone' entry in destination database.
2003-08-14 12:18:57 +00:00
tobiasb 75c7c1392e Added .cvsignore files to isdnlog directories. 2003-07-25 22:55:23 +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 2e3804d65d isdnlog-4.61:
- Support for mysql-4.0alpha -- many thanks to Jochen Erwied (jochen@erwied.de)!
2002-07-26 22:14:19 +00:00
akool 167a7238f4 isdnlog-4.58:
- Patches from Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
    - uninitialized variables in
    	- isdn4k-utils/isdnlog/connect/connect.c
      - isdn4k-utils/isdnlog/tools/rate.c
    - return() of a auto-variable in
      - isdn4k-utils/isdnlog/isdnlog/user_access.c

    *Many* thanks to Enrico!!

  - New rates as of April, 23. 2002 (EUR 0,014 / minute long distance call ;-)
2002-04-22 19:07:49 +00:00
leo 45168801ab make 2.4.x pager compatible 2002-04-11 11:18:57 +00:00
leo 91904c11da fixed module unload 2002-04-08 14:34:13 +00:00
leo e013d2892d adapted for 2.4.x - 2. 2002-04-05 15:43:50 +00:00
leo c9af9720c2 adapted for 2.4.x 2002-04-05 13:20:15 +00:00
paul 32490d389c DM -> EUR; and only test for IIOCNETGPN on i386 systems 2002-03-11 16:18:43 +00:00
paul d83f097908 DM -> EUR 2002-03-11 16:17:10 +00:00
paul dfd0b1f4b7 Fixed typo, clarified text a bit 2002-03-11 16:13:38 +00:00
paul 05011009cc Made explanation of VBN and VBNLEN a bit clearer. 2002-02-03 14:37:53 +00:00
paul 301f6d7ffb Cosmetics, also changed DM to EUR in example. 2002-01-31 19:56:43 +00:00
akool 02e98d8b1a isdnlog-4.56:
- dont set the Provider-field of the MySQL DB to "?*? ???" on incoming calls

 - implemented
     0190029 Telebillig        (17,5 Cent/minute to any cellphone)
		 0190031 Teledump
		 0190035 TeleDiscount
		 0190037 Fonfux            (1,5 Cent/minute german-call)
		 0190087 Phonecraft

   you have to change:

   1. "/etc/isdn/rate.conf" - add the following:

     P:229=0		#E Telebillig
		 P:231=0		#E Teledump
		 P:235=0		#E TeleDiscount
		 P:237=0		#E Fonfux
		 P:287=0		#E Phonecraft

   2. "/etc/isdn/isdn.conf" (or "/etc/isdn/callerid.conf"):

	     VBN = 010

	   to

	     VBN = 010:01900
2002-01-26 20:43:30 +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 d22fe1698f Don't attempt to write to stderr if we're a daemon. 2001-08-18 12:04:08 +00:00
paul 0039150ce6 Close stdout and stderr if we're becoming a daemon. 2001-08-18 12:01:25 +00:00
kai 57eccc6beb fix to compile with newer kernel headers. Maybe someone wants to fix isdnlog to recognize the number of channels at run time? 2001-06-08 11:55:24 +00:00
leo 7df0c78dda added IIOCNETGPN support for 2.0 kernels
s. isdnlog/kernel_2_0/README for more information (isdnlog 4.51)
2001-03-13 14:39:30 +00:00
leo 16ed18ff88 Fixed length of Alias in ilp.c 2001-01-31 11:58:00 +00:00
leo 50ab54c896 modilp, ilp - show duration, bugfix
s. isdnlog/ilp/README for more information isdnlog 4.48
2000-12-21 09:56:46 +00:00
leo 3c2c67567f modilp, ilp - B-chan usage in /proc/isdnlog
s. isdnlog/ilp/README for more information
2000-12-15 14:36:04 +00:00
leo a2bd6c1b8a modilp, ilp - B-chan usage in /proc/isdnlog
s. isdnlog/ilp/README for more information
2000-12-15 14:16:18 +00:00
paul 948a220361 Translated progress messages;
german language version still available with #define LANG_DE
2000-12-13 14:43:16 +00:00
paul 38f422773b Add support for both 2.2 and 2.4 kernels so that recompile is not necessary
(seems to work in debian version already).
2000-12-07 12:48:00 +00:00
paul b2d36d64dc 19 fields, not 17 2000-11-06 14:59:31 +00:00