Commit Graph

66 Commits

Author SHA1 Message Date
Peter Marschall 232fa2e196 lib/Makefile.in: convert .config -> scripts/autoconf.mk
Convert lib's Makefile.in to use the generated Makefile-snippet
scripts/autoconf.mk instead of the shell-script snippet .config.
2012-04-20 16:34:50 +02:00
Rolf Leggewie 3a58e36e8a fix spelling mistake s/seperat/separat/ 2012-03-29 16:36:37 +02:00
Karsten Keil fcaa9126fa Compile the isdn library with -fPIC
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-03-19 13:49:19 +01:00
tobiasb 0062f5431d - replaced prototype for basename() by #include <libgen.h>
- include <linux/limits.h> only if __linux__ is defined, try
  <limits.h> otherwise
2007-01-05 03:45:50 +00:00
keil 9d0dfbfd87 fix some issues with newer gcc (mostly aliasing) 2006-01-15 15:08:54 +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 6d14cc8aad The modifications remove a bug which occurs when dealing with special
numbers and the callerid.conf file.  Regular numbers such as +4940555
can be noted in the following way in a NUMBER line:
NUMBER=+49-40-555, +49-69-555

For special numbers prior to this modifications there are strong
unmentioned limitations.  Only one number per NUMBER line is allowed
without any of the options shown above.
Allowed: NUMBER=01802555
Not allowed/not working: NUMBER=01802-555
also not working: NUMBER=0180255, 0700555

This modification brings the later two examples in function.  About the
background of the problem:  isdnlog/isdnrep and other know a sort of
telephone numbers called `special numbers', which are noted with S: and
N: Tags in the rate-file. These numbers are per definition only available
within the country.  In order to emphasize this and for other more
practical reasons, the normalized format for this numbers is not the
usual +<countrycode><areacode><local number> but the national format
like 01802555.

While the logged numbers in /var/log/isdn.log or so follow this convention,
such entries in callerid.conf got internally converted to the normalized
format (+49180255 in case of the last mentioned number) so that the
comparison executed by isdnlog or isdnrep did not show the expected
result.

The modification activates the advanced feature in the notation of normal
numbers for special numbers.

IMPORTANT NOTE:  As the resulting library is located outside the isdnlog
subdirectory, this changes may influence other parts of the isdn4k-utils.
2003-07-23 20:55:39 +00:00
paul 8b1a259129 Add "#define CCODE_OTHER 9999" for defining behaviour in
non-specified countries.
2002-01-31 20:03:59 +00:00
paul 78aeecb340 Added missing endpwent() call that meant /etc/passwd was being kept open;
reorganized num_match() a bit; made the arrays in expand_number() one byte
bigger to prevent possible off-by-one buffer overflow.
2001-08-18 11:59:01 +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 340b80cf14 increased BUFSIZ 2000-07-19 19:45:43 +00:00
akool 9cd5faf53b - lib/Makefile.in ... no cp GNUmakefile 1999-12-12 17:22:36 +00:00
paul 4ea8154e96 Added { } to suppress egcs warnings. 1999-11-03 16:13:36 +00:00
akool a9c6ab312a isdnlog-3.58
- big cleanup ( > 1.3 Mb removed!)
  - v0.02 of destination support - better, but not perfect
    (does't work with gcc-2.7.2.3 yet - use egcs!)
1999-10-26 18:17:11 +00:00
akool f7e13abfde removed avon-, vorwahl- and areacodes-support 1999-08-20 19:43:46 +00:00
akool 47c42c59f9 not required references to libndbm removed 1999-06-11 15:46:54 +00:00
paul 1e1bbe45bf glibc 2.1 compatibility 1999-06-01 12:42:45 +00:00
akool 7fddd627e4 - first try to add the 1999 tarif of the German Telekom
- fix the areacode 2.0 support
1998-12-16 20:57:24 +00:00
luethje 846b052226 isdnlog: Added the switch -K 1998-10-18 20:13:23 +00:00
luethje 343a6f81ab isdnlog: evaluate the variable PATH for program starts. 1998-10-13 22:17:09 +00:00
luethje e1d10fddbf isdnrep and lib: bugfixes 1998-10-13 21:53:17 +00:00
akool 31048f5b41 - quick and dirty Call-History in "-m" Mode (press "h" for more info) added
- eat's one more socket, Stefan: sockets[3] now is STDIN, FIRST_DESCR=4 !!
 - Support for tesion)) Baden-Wuerttemberg Tarif
 - more Providers
 - Patches from Wilfried Teiken <wteiken@terminus.cl-ki.uni-osnabrueck.de>
   - better zone-info support in "tools/isdnconf.c"
   - buffer-overrun in "isdntools.c" fixed
 - big Austrian Patch from Michael Reinelt <reinelt@eunet.at>
   - added $(DESTDIR) in any "Makefile.in"
   - new Configure-Switches "ISDN_AT" and "ISDN_DE"
     - splitted "takt.c" and "tools.c" into
         "takt_at.c" / "takt_de.c" ...
         "tools_at.c" / "takt_de.c" ...
   - new feature
       CALLFILE = /var/log/caller.log
       CALLFMT  = %b %e %T %N7 %N3 %N4 %N5 %N6
     in "isdn.conf"
 - ATTENTION:
     1. "isdnrep" dies with an seg-fault, if not HTML-Mode (Stefan?)
     2. "isdnlog/Makefile.in" now has hardcoded "ISDN_DE" in "DEFS"
     	should be fixed soon
1998-09-26 18:27:23 +00:00
akool 15abb04d17 Renamed old to new zone-names (CityCall, RegioCall, GermanCall, GlobalCall) 1998-06-07 21:03:26 +00:00
paul 43357c9425 More paranoid about freeing pointers. 1998-05-20 12:22:15 +00:00
paul ddb0c21bd9 Oops, the temp string _was_ necessary. Made it static so that returning a
pointer to it is not a problem.
1998-05-20 09:56:14 +00:00
paul 25f3937b1e function Find_Section returned pointer to local automatic variable. Local
variable removed, as it was not necessary; now return parameter.
1998-05-20 09:25:01 +00:00
luethje 679f1922ed Some changes for "vorwahlen.dat" 1998-05-11 19:43:43 +00:00
luethje 7ba7263755 Added support for VORWAHLEN2.EXE 1998-05-10 22:11:47 +00:00
paul f2abd95a27 Fixed compiler warnings from egcs. 1998-04-28 08:33:52 +00:00
luethje 64d039cff4 Patches by Paul Slootman 1998-03-08 12:13:38 +00:00
luethje f15626a998 added the option "force" for the commands delif and reset 1997-07-23 20:39:14 +00:00
luethje 61a65e70af bugfixes 1997-06-22 22:57:08 +00:00
luethje 89d58c2d0c some bugfixes 1997-06-15 23:50:34 +00:00
luethje 0c4679d06a isdnlog: close all files and open again after kill -HUP
isdnrep:  support vbox version 2.0
isdnconf: changes by Roderich Schupp <roderich@syntec.m.EUnet.de>
conffile: ignore spaces at the end of a line
1997-05-25 19:40:43 +00:00
luethje 32294ed9c3 bugfix for isdnconf 1997-05-19 23:37:05 +00:00
luethje 02f1102b7d - bugfix: it is possible to install isdnlog now
- improved performance for read files for vbox files and mgetty files.
- it is possible to decide via config if you want to use avon or
  areacode.
1997-05-19 22:57:51 +00:00
luethje ea361dffb2 isdnlog: new switch -O
isdnrep: new format %S
bugfix in handle_runfiles()
1997-05-09 23:30:37 +00:00
luethje 82b48f9f68 new structure of isdnrep completed. 1997-04-17 23:29:35 +00:00
luethje 811bd4b9b6 some bugfixes, README completed 1997-04-16 22:22:43 +00:00
luethje a95ea83b2e allows the character `"' in the program argument like the shell.
some bugfixes.
1997-04-15 22:36:58 +00:00
luethje 548dd7c055 replace variables: some bugfixes, README comleted 1997-04-15 00:19:53 +00:00
luethje f6b03058b0 some bug fixes 1997-04-10 23:41:26 +00:00
luethje d1997beda6 Added the feature, that environment variables are allowed in the config files. 1997-04-10 23:31:59 +00:00
luethje d38c0170dd Create the file isdn.conf
some bug fixes for pid and lock file
make the prefix of the code in `isdn.conf' variable
1997-04-08 21:56:42 +00:00
luethje d5215e576a Bugfix: isdnlog is running again ;-)
isdnlog creates now a file like /var/lock/LCK..isdnctrl0
README completed
Added some values (countrycode, areacode, lock dir and lock file) to
the global menu
1997-04-08 00:02:05 +00:00
luethje 0470bc659c bug fixes: environ variables are working again, no seg. 11 :-)
improved performance for reading the config files.
1997-04-03 22:39:11 +00:00
fritz 2a62aa9e4f Bugfix: Changes for bash-2.00.0:
workaround for empty list in for-loops.
        workaround for missing allow_null_glob_expansion
Bugfix: CONFIG_HASX11 was not reset on non-X11 systems.
1997-04-03 08:56:40 +00:00
fritz 29e9df31dc Fixed 2 typos 1997-03-24 03:56:30 +00:00
fritz e4b959d13e Added capbility to override CFLAGS from commandline. 1997-03-24 01:34:43 +00:00
luethje 3b5555f28f improved performance 1997-03-23 23:11:48 +00:00