Commit Graph

252 Commits

Author SHA1 Message Date
keil fe14dca76c - Fix some glibc header file problems
- Fix some autoconf file syntax, newer autoconf check it strict
2002-07-06 00:11:16 +00:00
paul 9665f21065 "DEM" -> "EUR" 2002-07-04 10:29:18 +00:00
leo dc9e94d56d added X:-tag 2002-06-25 08:01:43 +00:00
leo 1d16c85329 EUR version 2002-06-24 15:47:25 +00:00
akool b42732fd41 isdnlog-4.58:
- another patch from Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
    - wrong sized malloc() in
    	- isdnlog/tools/cdb/i4l_cdb.c

    And again *many* thanks to Enrico!!

  - New rates as of April, 24. 2002
2002-04-23 17:31:35 +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
paul fe575d2e07 updated GSM areacodes, added special internet areacode 2002-03-11 15:36:11 +00:00
paul 779b348a81 Don't be verbose if stdout is not a tty. 2002-01-31 20:01:49 +00:00
paul a2e43c99b0 Changed order of "$(LDFLAGS) -o $@ $(CDBEXTRALIBS)" to
"$(CDBEXTRALIBS) $(LDFLAGS) -o $@" so that CDBEXTRALIBS
actually does something.
2002-01-31 20:01:12 +00:00
paul 203db9f2e5 #include <stdlib.h> and <string.h> for prototypes to prevent warnings. 2002-01-31 20:00:08 +00:00
paul fdb0afeedc #include <stdlib.h> for prototypes to prevent warnings. 2002-01-31 19:59:44 +00:00
keil 998cbe4196 Seems somebody in Nuertingen use isdnlog :-) Thanks to Andreas Lauser 2002-01-30 00:12:04 +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 ab9b655516 isdnlog-4.55:
Tatahhh: isdnlog speaks Euro :-)

	Many thanks to Bernhard Schmidt (berni@birkenwald.de)!

	** At least, you have to install "/usr/lib/isdn/rate-de.dat"
  ** and modify your "/etc/isdn/isdn.conf" or "/etc/isdn/callerid.conf"
  ** to read:
  **   [ISDNLOG]
	**	   CURRENCY = 0.062,EUR

I wish all of you a happy new year!
2001-12-30 17:17:40 +00:00
akool 0d098a2ec9 isdnlog-4.54
added new prefix 01505 Quam (new german cellphone company)
2001-11-22 15:09:01 +00:00
leo a3e74183e1 fixed redzone statistics 2001-10-16 13:29:44 +00:00
leo aded4afa26 fixed cdb zonefiles 2001-10-15 11:35:46 +00:00
paul b7817b0489 zone.c and mkzonedb.c now understand filename "-" to mean stdin. 2001-06-12 14:24:17 +00:00
paul e80c35358d zone files are now created byte-order independent, so:
- creating the zone files works on sparc
- CDB files created on e.g. intel can be used without problem om sparc
Our copy of CDB has also been modified for this.
2001-06-12 13:54:47 +00:00
paul 339049046c zone files are now created byte-order independent, so:
- creating the zone files works on sparc
- CDB files created on e.g. intel can be used without problem om sparc
Our copy of CDB has also been modified for this.
2001-06-12 13:48:17 +00:00
paul 10f699ef70 Various patches to fix errors when using the newest glibc,
replaced use of insecure tempnam() function
and to remove warnings etc.
2001-03-01 14:59:11 +00:00
akool 9d4d8b6fbe isdnlog-4.49
- added more Euracom decodings

 - added new prefixes
     0151 - Germany cellphone D1
     0152 - Germany cellphone D2
     0163 - Germany cellphone Eplus
   to "country-de.dat"

 - removed Freecall "0130" and "Germany cellphone C"
2001-01-14 12:13:49 +00:00
leo a1bc72a63a Fixed isdnrate -X50 2000-12-07 16:26:12 +00:00
leo 1f85108daa Updated Version 2000-12-07 16:24:38 +00:00
paul 1cd6801f15 Move $(CDBEXTRALIBS) earlier in the command (not at the end),
works better in some cases.
2000-12-07 14:45:18 +00:00
leo af0d554899 New Rates: 3U 2000-12-07 14:11:37 +00:00
leo 5a6b742733 Work around a SIGSEGV with R:Tags - V4.44 2000-11-19 14:31:52 +00:00
leo 4215894073 changed uint32_t to uint32 2000-09-19 16:30:52 +00:00
paul 3895014f50 Update of NL data 2000-09-12 18:26:26 +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
paul b3de8b8703 Some spelling changes 2000-09-04 15:07:04 +00:00
paul 7ec0ee03c0 More renaming of country-de.dat to country.dat .
makedest needs to be changed some more when country-de.dat is renamed in CVS.
2000-09-01 12:35:43 +00:00
paul 5e65c31f95 Now install country-de.dat as country.dat; renaming the source can be done by
someone who is more experienced with CVS.
Default value for country.dat changed in isdnconf.c; also default zonefile
etc. changed from .gdbm to .cdb
2000-09-01 06:30:20 +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
paul 1ff673c3b2 Added rule to make CH zone db;
changed call to mkzonedb to read stdin, and pipe "bzip2 -dc" output into it
so that the input file is not decompressed and recompressed all the time.
2000-08-22 14:14:15 +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 6e40d6c3eb isdnlog-4.40
- isdnlog/tools/cdb/debian ... (NEW dir) copyright and such from orig
2000-08-17 21:31:43 +00:00
paul 751e83711d Cannot use {x,y} expansion when SHELL=/bin/sh (that is a bash/csh extension) 2000-08-16 08:21:34 +00:00
paul d177c2fe01 Cannot use {x,y} expansion when SHELL=/bin/sh (that is a bash/csh extension) 2000-08-16 08:01:40 +00:00
paul 199c9e1000 use $(MODULE) in rule for compilation, not $? as $? lists only those
prerequisites newer than the target. If only the CBD library is newer,
the .o file was not used, and the lib was given twice! (already explicitly)
2000-08-16 07:47:16 +00:00
paul 7abb9dbfa8 Don't "rm configure" with distclean target, this isn't usual for distclean
(maybe only for maintclean; and there is no rule to create configure from
configure.in).
2000-08-15 15:16:23 +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 622be2a3bc Re-added "cdb", now GPL'ed "freecdb_0.61.tar.gz" 2000-08-14 18:37:50 +00:00
akool 61101037dc non-GPL "cdb" totally removed 2000-08-14 18:32:49 +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
paul 065232018a distclean now also depends on dataclean 2000-08-04 11:09:26 +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 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 5f7bb9c08a isdnlog-4.32
- 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:
2000-07-17 16:34:20 +00:00
akool e7a9703a26 isdnlog-4.31
- isdnlog/rate-pl.dat ... changed charges
 - isdnlog/tools/zone/lu/code	... NEW please check this - thx
2000-07-16 00:46:00 +00:00