Commit Graph

134 Commits

Author SHA1 Message Date
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
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 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 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
paul 32490d389c DM -> EUR; and only test for IIOCNETGPN on i386 systems 2002-03-11 16:18: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
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 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
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 f016eff63c 1.15 was 1.12 with my patches! So changes from 1.13 and 1.14 were lost.
Now put back.
2000-09-05 10:53:20 +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 4248d1db7a isdnlog-4.41
- fix a fix within Change_Channel()

 - isdnlog/tools/dest/CDB_File_Dump.pm ... fixed bug with duplicates like _DEMD2

   After installing this, please rebuild dest.cdb by:
   $ cd isdnlog/tools/dest
   $ rm dest.cdb
   $ make alldata
   $ su -c "cp ./dest.cdb /usr/lib/isdn"

 - isdnlog/isdnlog/processor.c ... fixed warning
2000-08-27 15:18:19 +00:00
akool d68eb932aa isdnlog-4.40
- 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"?)
2000-08-17 21:34:42 +00:00
akool 9078e7744c isdnlog-4.39
- fixed 2 segfaults in processor.c
 - replaced non-GPL "cdb" with "freecdb_0.61.tar.gz"
2000-08-14 18:41:42 +00:00
akool 79607ee6e2 isdnlog-4.38
- 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!!**
2000-08-06 13:06:52 +00:00
akool ac6b9f39f9 isdnlog-4.37
- 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>
2000-08-01 20:31:28 +00:00
akool 533ad83094 isdnlog-4.30
- isdnlog/tools/rate-at.c ... 1001 onlinetarif
 - isdnlog/rate-at.dat ... 1001 onlinetarif
 - isdnlog $ILABEL / $OLABEL may now contain "\t" (Tab)
 - isdnlog/isdnlog/processor.c ... clearchan .pay = -1
 - added
    - freenet PowerTarif
    - DTAG flatrate
      if you really want to use a flatrate please start isdnlog with the
      Option "-h86399 -I86399" to hangup after 23 hour's 59 seconds ;-)

    - new Provider 01094:Startec, 010012:11883 Telecom, 010021:FITphone
2000-07-07 19:38:29 +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 0f4d0246ac isdnlog-4.28
- isdnlog/tools/rate.c ... patch by Hans Klein, unknown provider
 - fixed RR on HFC-cards
2000-06-02 12:14:26 +00:00
akool ae477adbce isdnlog-4.19
isdnlog/isdnlog/processor.c ... abclcr (-d0) turn off
  isdnlog/tools/dest.c ... isKey
2000-04-25 20:12:20 +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 ac979a67ad isdnlog-4.13
- isdnlog/tools/rate-at.c ... chg. 1003
 - isdnlog/tools/country.c ... no dupl. area warning
 - isdnlog/rate-at.dat ... chg. 1003
 - isdnlog/tools/dest/pp_rate ... added 'q'
 - isdnlog/country-de.dat ... splitted _INM*

 - isdnlog/tools/rate.c ... getSpecial, vbn2prefix fixed, include
 - isdnlog/tools/dest/pp_rate ... include
 - isdnlog/tools/rate-files.man ... include

 - new rates, Services (S:, N:) reenabled
2000-02-22 20:04:09 +00:00
akool 7fc316b547 isdnlog-4.12
- ABC_LCR enhanced
 - country-de.dat more aliases
 - new rates
 - isdnlog/Makefile.in ... defined NATION
 - isdnlog/isdnlog/processor.c ... msn patch for NL
 - isdnlog/tools/isdnconf.c ... default config
2000-02-20 19:03:07 +00:00
akool 65569b44ca isdnlog-4.11
- 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
2000-02-12 16:40:21 +00:00
akool 646714d32c zred.dtag.bz2 added binary
01040:GTS Weekend 0,039/Min
2000-02-11 15:16:31 +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 e4943ba01c isdnlog-4.05
- 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
2000-01-24 23:06:20 +00:00
akool 947689f778 isdnlog-4.04
- 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
2000-01-23 22:31:13 +00:00
kai 450863ca2b rewrote the ASN.1 parsing stuff. No known problems so far, apart from the
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.
2000-01-20 07:30:09 +00:00
akool fe48f63efb - isdnlog/tools/holiday.c ... returns ERVERYDAY for '*'
- FAQ/configure{,.in} ...  test '==' => '='
- isdnlog/tools/dest/configure{,.in} ...  test '==' => '='
- isdnlog/tools/dest/Makefile.in ...  test '==' => '='
- isdnlog/tools/zone/configure{,.in} ...  test '==' => '='

- isdnlog/tools/rate-at.c ... P:1069
- isdnlog/rate-at.dat ... P:1069
- isdnlog/country-de.dat ... _DEMF

- many new rates
- more EURACOM sequences decoded
2000-01-12 23:22:50 +00:00
akool 0168a4f2dd isdnlog-4.01
- first Y2K-Bug fixed
2000-01-01 15:05:22 +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 5b6e01456c isdnlog-3.75
- ABC_LCR support (untested)
1999-12-12 14:35:51 +00:00
akool 69bc19bf85 isdnlog-3.66
- 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
1999-11-12 20:50:48 +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 c48c1ed339 isdnlog-3.63
- many new rates
 - cosmetics
1999-11-05 20:21:59 +00:00
akool 62536e7ea1 isdnlog-3.61 1999-10-30 14:38:46 +00:00
akool a7753f06de isdnlog-3.60
- many new rates
  - compiler warnings resolved
  - fixed "Sonderrufnummer" Handling
1999-10-30 13:42:35 +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