- fixed "configure.in" problem with NATION_*

- DESTDIR fixes (many thanks to Michael Reinelt <reinelt@eunet.at>)
 - isdnrep: Outgoing calls ordered by Zone/Provider/MSN corrected
 - new Switch "-i" -> running on internal S0-Bus
 - more providers
 - "sonderrufnummern.dat" extended (Frag Fred, Telegate ...)
 - added AVM-B1 to the documentation
 - removed the word "Teles" from the whole documentation ;-)
This commit is contained in:
Andreas Kool 1998-11-01 08:50:52 +00:00
parent 3cbeb5b3ea
commit 07d3626a93
17 changed files with 631 additions and 414 deletions

View File

@ -150,3 +150,6 @@ TODO-Liste:
-Fehler bei den Conditions vom Einlesen der Configdateien muessen
dokumentiert werden
-"sonderrufnummern.dat" sowie "vorwahl.dat" muss noch manuell installiert
werden (AK:01-Nov-98)

View File

@ -19,6 +19,9 @@
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
##
## $Log$
## Revision 1.45 1998/10/16 12:38:04 keil
## fixes to compile and install under 2.0.36
##
## Revision 1.44 1998/10/13 22:17:09 luethje
## isdnlog: evaluate the variable PATH for program starts.
##
@ -348,7 +351,7 @@ SERVICEFILE = /etc/services
# DON'T EDIT BELOW THIS LINE
######################################################################
VERSION = 2.99.34
VERSION = 2.99.35
ifeq ($(POSTGRES),1)
DEFS += -DPOSTGRES
@ -370,7 +373,7 @@ endif
DEFS += \
-DVERSION=\"$(VERSION)\" \
-DI4LVERSION=\"$(I4LVERSION)\" \
-DISDN_DE=1 \
-D@NATION_MACRO@=1 \
$(INCLUDE)
%.o: %.c

View File

@ -1,10 +1,10 @@
ISDNLOG - Version pre3.0 - 04-Oct-98 12:33
ISDNLOG - Version pre3.0 - 01-Nov-98 09:26
isdnlog ist ein Utility zur Auswertung des D-Kanal eines ISDN-BRI Anschlusses.
isdnlog ist ein Utility zur Auswertung des D-Kanals eines
ISDN-BRI Anschlusses.
isdnlog-3.0 wurde ausgiebig mit Linux-2.0.35 / isdn4kernel-2.0.30
getestet.
isdnlog-3.0 wurde ausgiebig mit Linux-2.0.36 getestet.
Fuer alle, die es nun ueberhaupt nicht mehr abwarten koennen, hier das
@ -12,7 +12,7 @@ Fuer alle, die es nun ueberhaupt nicht mehr abwarten koennen, hier das
Quick-Installation-Guide
------------------------
1. Linux-2.0.35 + isdn4kernel-2.0.30 verwenden:
1. Linux-2.0.36 verwenden:
CONFIG_ISDN=m
CONFIG_ISDN_DRV_HISAX=m
@ -55,9 +55,9 @@ Quick-Installation-Guide
4. isdn4linux das D-Kanal-Protokoll entlocken:
hisaxctrl <myTeles> 1 4
hisaxctrl <DriverID> 1 4
mit <myTeles> entsprechend Driver-ID, wie beim "insmod" des HiSax-Treibers
mit <DriverID> entsprechend Driver-ID, wie beim "insmod" des HiSax-Treibers
angegeben, oder "line0", falls der HiSax-Treiber im Kern enthalten ist.
5. isdnlog starten:
@ -138,6 +138,11 @@ Anmerkung:
Es wurden folgende Dinge geaendert, die vor dem ersten Start
dieser neuen Version unbedingt angepasst werden muessen!
Aenderungen seit Version 2.60:
- Unterstuetzung fuer die seit 1.1.1998 moeglichen privaten
Telefongesellschaften
Aenderungen seit Version 2.50:
- Konfigurationsdateien heissen jetzt isdn.conf, callerid.conf und
@ -188,7 +193,7 @@ sondern an
i4l-isdnlog@franken.de
Bitte auch nicht mehr die alte Adresse isdnlog@Kool.f.UUnet.de verwenden.
Bitte auch nicht mehr die alte Adresse isdnlog@Kool.f.EUnet.de verwenden.
So bekommen alle Entwickler die Anfragen direkt mit, und muessen nicht
von mir extra weitergeleitet werden. Dadurch wird die Anfrage mit
@ -216,7 +221,7 @@ sowie "/dev/isdninfo" lauscht, und saemtliche Vorgaenge auf dem eigenen
ISDN-Anschluss anzeigt.
Dazu liest es aus "/dev/isdnctrl0" (resp. "/dev/isdnctrl2", falls eine
2. Teles-Karte im Rechner steckt) das gesamte D-Kanal Protokoll, sowie aus
2. ISDN-Karte im Rechner steckt) das gesamte D-Kanal Protokoll, sowie aus
"/dev/isdninfo" alle internen Meldungen von isdn4linux.
isdnlog sammelt all diese Informationen, und gestattet damit folgendes:
@ -224,7 +229,7 @@ isdnlog sammelt all diese Informationen, und gestattet damit folgendes:
- der gesamte Verkehr kann auf einer Linux-Console, oder einem xterm
angezeigt werden. Dies sieht etwa so aus:
Beispiel #1 : Ein Raus-Ruf mit der Teles-Karte:
Beispiel #1 : Ein Raus-Ruf mit der ISDN-Karte:
13 21:16:31 * tei 104 calling UUnet with Phone Digital
13 21:16:33 tei 104 calling UUnet with ISDN Time:Wed Mar 13 21:17:00 1996
13 21:16:33 tei 104 calling UUnet with ISDN CONNECT
@ -303,12 +308,12 @@ isdnlog sammelt all diese Informationen, und gestattet damit folgendes:
2. Was kann isdnlog nicht?
--------------------------
Z.Zt. arbeitet isdnlog _nur_ mit dem HiSax-Treiber (und damit mit einer
Teles- od. compatiblen Karte) zusammen, die ICN-Karte wird
leider noch nicht unterstuetzt.
Z.Zt. arbeitet isdnlog _nur_ mit dem HiSax-Treiber (d.h. allen passiven
Karten) sowie der AVM-B1 zusammen, die ICN-Karte wird leider noch nicht
unterstuetzt.
Weiterhin kann isdnlog bei allen rausgehenden Verbindungen, die nicht
mit der Teles-Karte entstanden sind (ISDN-Telefon, Modem/Fax etc. am
mit der ISDN-Karte entstanden sind (ISDN-Telefon, Modem/Fax etc. am
a/b Adapter oder einer Telefonanlage) die entsprechenden Telefonnummern
leider nicht anzeigen. Dazu Gernot Zander:
@ -317,15 +322,15 @@ leider nicht anzeigen. Dazu Gernot Zander:
: geschickt, aber nicht _zurueckgeschickt_ wird. Bei eigenen Anrufen weiss der
: Treiber die Nummer zwangslaeufig:-), bei ankommenden wird sie _vom_ Amt
: mitgeteilt.
: Die Karte (und damit teles0.4d) kann nur das mitschreiben, was _vom_
: Die Karte (und damit HiSax) kann nur das mitschreiben, was _vom_
: Amt kommt oder was sie selber _zum_ Amt schickt. Nicht aber, was Fremd-
: geraete _zum_ Amt senden.
: Die Karte bekommt immer nur eine Richtung mit, naemlich Amt->User.
: Sie kann von den User->Amt nur die _eigenen_ Meldungen
: ausgeben (also die der Teles selbst).
: ausgeben (also die der ISDN-Karte selbst).
: Wenn man mit seiner TK-Anlage rauswaehlt, geht die Zielnummer
: aber User->Amt, und genau das wird von einer Teles
: aber User->Amt, und genau das wird von einer ISDN-Karte
: nicht mitgeschnitten (kann sie nicht!), es passiert auf dem falschen Bus!
: Der S.0 ist ja deshalb 4adrig, weil 2 Adern von den Endgeraeten _zum_
: und zwei _vom_ NT gehen. Und jedes normale Endgeraet sendet auf
@ -1032,7 +1037,7 @@ dort verwendet wird, reagiert z.B. das Telefon nicht (es klingelt nicht!),
wenn ein Teilnehmer sich mit einem PC an dieser Nummer anwaehlt.
Beispiel:
Auf der MSN 4711 lauscht sowohl die Teles-Karte auf X.75 Anrufe, als auch
Auf der MSN 4711 lauscht sowohl die ISDN-Karte auf X.75 Anrufe, als auch
ein Analoges Telefon ueber eine Telefonanlage.
Hier wuerden folgende Eintraege in der "callerid.conf" passen:
@ -1062,7 +1067,7 @@ Die genaue Syntax wird weiter unten beschrieben.
Ruft nun jemand die 4711 mit einem Telefon an, wird das als Anruf auf
"Phone" angezeigt, und mit "auplay" das Soundfile "ring.au" abgespielt.
Waehlt jemand hingehen die 4711 mit einer Teles-Karte an, wird das als
Waehlt jemand hingehen die 4711 mit einer ISDN-Karte an, wird das als
"X.75" angezeigt, und mit "auplay" das Soundfile "computer.au" abgespielt.
Startet hingegen jemand eine Video-Uebertragung auf die 4711, wird auch
@ -2058,7 +2063,7 @@ isdnlog benoetigt allerdings auf jeden Fall die "4"
Nun kann isdnlog mittels:
isdnlog [ -avsx:m:l:rt:cC:w:SVTRDPeMh: ] [ /dev/isdnctrl0 | - ]
isdnlog [ -av:sp:x:m:l:rt:c:C:w:SVTDPMh:nW:H:f:bL:NFA:2:O:Ki ] [ /dev/isdnctrl0 | - ]
gestartet werden. Der isdnlog kann nur als root gestartet werden!
@ -2305,15 +2310,19 @@ angegeben werden.
-2x Dual-Mode. isdnlog empfaengt die D-Kanal-Frames der anderen
Geraete auf dem S0-Bus ueber eine zweite, falsch angeschlossene
Teles-Karte.
ISDN-Karte.
Mit x = 2 zeigt isdnlog auch jede Kleinigkeit - wie z.b. jedes
einzelne gewaehlte Digit beim Telefonieren direkt an.
(dual="value")
-K Schreibt bei jedem Tastendruck einen Datendurchsatz. Kann nicht zusammen
mit Option -d verwendet werden!
-K isdnlog zeigt bei Betaetigung der Taste <l> eine Liste der letzten
Anrufer an. (History)
Kann nicht zusammen mit Option -d verwendet werden!
(keyboard={yes|no})
-i isdnlog laeuft an einem internen S0-Bus (*FUTURE*EXPANSION*)
(interns0={yes|no})
Bei den Optionen -mX, -lX -xX sind folgende Flags moeglich:
@ -3571,12 +3580,12 @@ gesaugten Byte zaehlen.
-------------
Wie eingangs erwaehnt, kann isdnlog bei allen rausgehenden Verbindungen,
die nicht mit der Teles-Karte entstanden sind (ISDN-Telefon, Modem/Fax)
die nicht mit der ISDN-Karte entstanden sind (ISDN-Telefon, Modem/Fax)
die entsprechenden Telefonnummern leider nicht anzeigen.
Mit dem Dual-Mode ist genau dies jedoch moeglich.
Dazu muss der Rechner mit einer zweiten Teles-Karte ausgestattet, und
Dazu muss der Rechner mit einer zweiten ISDN-Karte ausgestattet, und
darauf ein HiSax-Treiber installiert werden.
Bei mir sieht das so aus:
@ -3755,7 +3764,7 @@ Diese Fehlermeldung sollte bitte an "i4l-isdnlog@franken.de" geschickt
werden.
- Bei jeder Anwahl von draussen an meine Teles-Karte meldet mir isdnlog
- Bei jeder Anwahl von draussen an meine ISDN-Karte meldet mir isdnlog
2 HANGUP's?
Bei einem eingehenden Ruf melden alle Geraete, die sich zustaendig
@ -3767,14 +3776,14 @@ werden.
dem Klingeln wieder aufhoeren. Dasselbe passiert natuerlich auch,
wenn der Anrufer vor dem Abnehmen schon auflegt.
D.h. der erste HANGUP stammt vom 2. B-Kanal der Teles-Karte, der den
D.h. der erste HANGUP stammt vom 2. B-Kanal der ISDN-Karte, der den
Anruf ablehnt!
Die Teles-Karte spielt die Rolle von zwei Geraeten, wohl weil ein
Die ISDN-Karte spielt die Rolle von zwei Geraeten, wohl weil ein
Geraet zu einer Zeit immer nur eine Dienstkennung haben kann,
die Teles koennte aber gleichzeitig eine Voice- und eine Data-
die ISDN-Karte koennte aber gleichzeitig eine Voice- und eine Data-
Verbindung fahren (nur (noch?) nicht unter i4l).
Fehlt also nach dem CONNECT der Teles der HANGUP des zweiten
Fehlt also nach dem CONNECT der ISDN-Karte der HANGUP des zweiten
Kanals, ist das ein Indiz dafuer, dass dieser haengt.
- Es wird bei isdnlog, isdnrep und xisdn immer nur die letzte Ziffer der
@ -3851,8 +3860,8 @@ Den _gesamten_ Output an die oben angegebene Adresse senden.
Folgende Files werden von diesem System verwendet:
/sbin/isdnlog - Das Protokoll-Programm
/usr/sbin/isdnrep - Das Report-Programm
/usr/sbin/isdnconf - Das Konfigurationstool
/usr/bin/isdnrep - Das Report-Programm
/usr/bin/isdnconf - Das Konfigurationstool
/etc/isdn/isdnlog.conf - Die alte Config-Datei
/etc/isdn/isdn.conf - Die neue Config-Datei
~/.isdn - Die Config-Datei des Benutzers
@ -3863,7 +3872,10 @@ Folgende Files werden von diesem System verwendet:
/etc/isdn/charge.dat - Zwischenspeicher fuer die ChargeMax-Funktion
/etc/isdn/reload - Script zum Wiederanfahren eines verklemmten i4l
/etc/isdn/stop - Script zum Stoppen bei erreichen von CHARGEMAX
/usr/lib/areacode - Neues Vorwahl-Verzeichnis
/etc/isdn/dontstop - verhindert temporaer die CHARGEMAX-Funktion
/usr/lib/isdn/areacodes - Neues Vorwahl-Verzeichnis
/usr/lib/isdn/sonderrufnummern.dat - Verzeichnis aller Sonderrufnummern (110, 112 ...)
/usr/lib/isdn/vorwahl.dat - Verzonungstabelle
/var/log/isdn.log - Das Logbuch
/var/run/isdnlog.pid - Enthaelt die PID des laufenden isdnlog
/dev/isdnctrl0 - Gibt das Q.931 Protokoll des HiSax-Treibers aus
@ -3933,13 +3945,13 @@ Bedanken moechte ich mich vor allem bei
Fritz Elfert (fritz@wuemaus.franken.de)
fuer isdn4linux, sowie
Jan den Ouden (denouden@groovin.xs4all.nl)
fuer den Teles-Treiber.
fuer den ISDN-Treiber.
Bei
Beat Doebeli (doebeli@vptt.ch)
fuer den Einbau jeglicher D-Channel Messages, sowie
Michael Bongartz (micha@mubo.saar.de)
fuer die Entdeckung der AOC-D sowie AOC-E Bytes im D-Kannel-Protokoll
fuer die Entdeckung der AOC-D sowie AOC-E Bytes im D-Kanal-Protokoll
Bei
Kai Voelcker (kai@fantaghiro.deceiver.org)
@ -3970,6 +3982,10 @@ Bei
Markus Maeder (mmaeder@cyberlink.ch)
der die Gebuehrenauswertung fuer die Schweiz korrigiert hat
Bei
Michael Reinelt <reinelt@eunet.at>
der die gesamte Anpassung fuer Oesterreich implementiert hat
Bei
Markus Leist (markus@hal.dirnet.com)
fuer die Anbindung an postgres95
@ -3989,13 +4005,13 @@ Gar nicht genug danken kann ich Dr.-Ing. Joachim Goeller sowie
Sebastian Goeller, die mir unzaehlige Informationen zum D-Kanal
Protokoll geliefert haben.
Und natuerlich bei der deutschen Telekom, die mir seit nunmehr zwei Jahren
falsche (aber von isdnlog erkannte) AOC-E Elemente schickt ;-)
Aber ganz besonders bei
Stefan Luethje (luethje@sl-gw.lake.de)
von dem sicherlich mittlerweile 50% des isdnlog-Codes bestehen.
Mein groesster Dank gilt natuerlich meiner Frau Claudia (clw@Kool.f.UUnet.de),
die die ganze Geduld aufgebracht hat, waerend ich am isdnlog
rumgeschraubt habe!
Viel Spass mit isdnlog wuenscht

238
isdnlog/configure vendored
View File

@ -635,13 +635,15 @@ EOF
if test "$CONFIG_ISDN_LOG_DE" = "y" ; then
NATION="de"
NATION_MACRO="ISDN_DE"
cat >> confdefs.h <<\EOF
#define ISDN_DE 1
EOF
fi
if test "$CONFIG_ISDNLOG_AT" = "y" ; then
if test "$CONFIG_ISDN_LOG_AT" = "y" ; then
NATION="at"
NATION_MACRO="ISDN_AT"
cat >> confdefs.h <<\EOF
#define ISDN_AT 1
EOF
@ -649,6 +651,7 @@ EOF
fi
if test "$CONFIG_ISDN_LOG_CH" = "y" ; then
NATION="ch"
NATION_MACRO="ISDN_CH"
cat >> confdefs.h <<\EOF
#define ISDN_CH 1
EOF
@ -656,6 +659,7 @@ EOF
fi
if test "$CONFIG_ISDN_LOG_NL" = "y" ; then
NATION="nl"
NATION_MACRO="ISDN_NL"
cat >> confdefs.h <<\EOF
#define ISDN_NL 1
EOF
@ -665,7 +669,7 @@ fi
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:669: checking for $ac_word" >&5
echo "configure:673: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -694,7 +698,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:698: checking for $ac_word" >&5
echo "configure:702: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -742,7 +746,7 @@ fi
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:746: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
echo "configure:750: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@ -752,11 +756,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext <<EOF
#line 756 "configure"
#line 760 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
if { (eval echo configure:760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
@ -776,12 +780,12 @@ if test $ac_cv_prog_cc_works = no; then
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:780: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "configure:784: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:785: checking whether we are using GNU C" >&5
echo "configure:789: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -790,7 +794,7 @@ else
yes;
#endif
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
@ -805,7 +809,7 @@ if test $ac_cv_prog_gcc = yes; then
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:809: checking whether ${CC-cc} accepts -g" >&5
echo "configure:813: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -862,7 +866,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:866: checking for a BSD compatible install" >&5
echo "configure:870: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -912,7 +916,7 @@ test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:916: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo "configure:920: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -940,7 +944,7 @@ fi
echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
echo "configure:944: checking for dbm_open in -ldbm" >&5
echo "configure:948: checking for dbm_open in -ldbm" >&5
ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -948,7 +952,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ldbm $LIBS"
cat > conftest.$ac_ext <<EOF
#line 952 "configure"
#line 956 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -959,7 +963,7 @@ int main() {
dbm_open()
; return 0; }
EOF
if { (eval echo configure:963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -981,7 +985,7 @@ EOF
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6
echo "configure:985: checking for gdbm_open in -lgdbm" >&5
echo "configure:989: checking for gdbm_open in -lgdbm" >&5
ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -989,7 +993,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lgdbm $LIBS"
cat > conftest.$ac_ext <<EOF
#line 993 "configure"
#line 997 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1000,7 +1004,7 @@ int main() {
gdbm_open()
; return 0; }
EOF
if { (eval echo configure:1004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:1008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -1022,7 +1026,7 @@ EOF
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for dbm_open in -ldb""... $ac_c" 1>&6
echo "configure:1026: checking for dbm_open in -ldb" >&5
echo "configure:1030: checking for dbm_open in -ldb" >&5
ac_lib_var=`echo db'_'dbm_open | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -1030,7 +1034,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ldb $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1034 "configure"
#line 1038 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1041,7 +1045,7 @@ int main() {
dbm_open()
; return 0; }
EOF
if { (eval echo configure:1045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:1049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -1069,7 +1073,7 @@ fi
fi
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:1073: checking how to run the C preprocessor" >&5
echo "configure:1077: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
@ -1084,13 +1088,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
#line 1088 "configure"
#line 1092 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
@ -1101,13 +1105,13 @@ else
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
#line 1105 "configure"
#line 1109 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
@ -1143,10 +1147,10 @@ fi
if test "$tst_postgresdir" != "" || test "$CONFIG_ISDNLOG_POSTGRES" = "y" ; then
echo $ac_n "checking for postgres in ${tst_postgresdir}""... $ac_c" 1>&6
echo "configure:1147: checking for postgres in ${tst_postgresdir}" >&5
echo "configure:1151: checking for postgres in ${tst_postgresdir}" >&5
if test "${tst_postgresdir}" != "" ; then
cat > conftest.$ac_ext <<EOF
#line 1150 "configure"
#line 1154 "configure"
#include "confdefs.h"
#include <${tst_postgresdir}/include/libpq-fe.h>
EOF
@ -1161,9 +1165,9 @@ rm -f conftest*
if test "$pqdir" = "no" ; then
echo "$ac_t"""$pqdir"" 1>&6
echo $ac_n "checking for postgres in /lib/postgres95""... $ac_c" 1>&6
echo "configure:1165: checking for postgres in /lib/postgres95" >&5
echo "configure:1169: checking for postgres in /lib/postgres95" >&5
cat > conftest.$ac_ext <<EOF
#line 1167 "configure"
#line 1171 "configure"
#include "confdefs.h"
#include </lib/postgre95/include/libpq-fe.h>
EOF
@ -1178,9 +1182,9 @@ rm -f conftest*
if test "$pqdir" = "no" ; then
echo "$ac_t"""$pqdir"" 1>&6
echo $ac_n "checking for postgres in /usr/lib/postgres95""... $ac_c" 1>&6
echo "configure:1182: checking for postgres in /usr/lib/postgres95" >&5
echo "configure:1186: checking for postgres in /usr/lib/postgres95" >&5
cat > conftest.$ac_ext <<EOF
#line 1184 "configure"
#line 1188 "configure"
#include "confdefs.h"
#include </usr/lib/postgre95/include/libpq-fe.h>
EOF
@ -1195,9 +1199,9 @@ rm -f conftest*
if test "$pqdir" = "no" ; then
echo "$ac_t"""$pqdir"" 1>&6
echo $ac_n "checking for postgres in /usr/local/postgres95""... $ac_c" 1>&6
echo "configure:1199: checking for postgres in /usr/local/postgres95" >&5
echo "configure:1203: checking for postgres in /usr/local/postgres95" >&5
cat > conftest.$ac_ext <<EOF
#line 1201 "configure"
#line 1205 "configure"
#include "confdefs.h"
#include </usr/lib/local/postgre95/include/libpq-fe.h>
EOF
@ -1212,9 +1216,9 @@ rm -f conftest*
if test "$pqdir" = "no" ; then
echo "$ac_t"""$pqdir"" 1>&6
echo $ac_n "checking for postgres in /usr/local/lib/postgres95""... $ac_c" 1>&6
echo "configure:1216: checking for postgres in /usr/local/lib/postgres95" >&5
echo "configure:1220: checking for postgres in /usr/local/lib/postgres95" >&5
cat > conftest.$ac_ext <<EOF
#line 1218 "configure"
#line 1222 "configure"
#include "confdefs.h"
#include </usr/lib/local/lib/postgre95/include/libpq-fe.h>
EOF
@ -1260,10 +1264,10 @@ fi
if test "$tst_mysqldir" != "" || test "$CONFIG_ISDNLOG_MYSQLDB" = "y" ; then
echo $ac_n "checking for mysql in ${tst_mysqldir}""... $ac_c" 1>&6
echo "configure:1264: checking for mysql in ${tst_mysqldir}" >&5
echo "configure:1268: checking for mysql in ${tst_mysqldir}" >&5
if test "${tst_mysqldir}" != "" ; then
cat > conftest.$ac_ext <<EOF
#line 1267 "configure"
#line 1271 "configure"
#include "confdefs.h"
#include <${tst_mysqldir}/include/mysql.h>
EOF
@ -1278,9 +1282,9 @@ rm -f conftest*
if test "$mydir" = "no" ; then
echo "$ac_t"""$mydir"" 1>&6
echo $ac_n "checking for mysql in /lib/mysql""... $ac_c" 1>&6
echo "configure:1282: checking for mysql in /lib/mysql" >&5
echo "configure:1286: checking for mysql in /lib/mysql" >&5
cat > conftest.$ac_ext <<EOF
#line 1284 "configure"
#line 1288 "configure"
#include "confdefs.h"
#include </lib/mysql/include/mysql.h>
EOF
@ -1295,9 +1299,9 @@ rm -f conftest*
if test "$mydir" = "no" ; then
echo "$ac_t"""$mydir"" 1>&6
echo $ac_n "checking for mysql in /usr/lib/mysql""... $ac_c" 1>&6
echo "configure:1299: checking for mysql in /usr/lib/mysql" >&5
echo "configure:1303: checking for mysql in /usr/lib/mysql" >&5
cat > conftest.$ac_ext <<EOF
#line 1301 "configure"
#line 1305 "configure"
#include "confdefs.h"
#include </usr/lib/mysql/include/mysql.h>
EOF
@ -1312,9 +1316,9 @@ rm -f conftest*
if test "$mydir" = "no" ; then
echo "$ac_t"""$mydir"" 1>&6
echo $ac_n "checking for mysql in /usr/local/mysql""... $ac_c" 1>&6
echo "configure:1316: checking for mysql in /usr/local/mysql" >&5
echo "configure:1320: checking for mysql in /usr/local/mysql" >&5
cat > conftest.$ac_ext <<EOF
#line 1318 "configure"
#line 1322 "configure"
#include "confdefs.h"
#include </usr/local/postgre95/include/mysql.h>
EOF
@ -1329,9 +1333,9 @@ rm -f conftest*
if test "$mydir" = "no" ; then
echo "$ac_t"""$mydir"" 1>&6
echo $ac_n "checking for mysql in /usr/local/lib/mysql""... $ac_c" 1>&6
echo "configure:1333: checking for mysql in /usr/local/lib/mysql" >&5
echo "configure:1337: checking for mysql in /usr/local/lib/mysql" >&5
cat > conftest.$ac_ext <<EOF
#line 1335 "configure"
#line 1339 "configure"
#include "confdefs.h"
#include </usr/local/lib/mysql/include/mysql.h>
EOF
@ -1380,15 +1384,15 @@ fi
if test "$DOTEST" = "y" || test "$CONFIG_KERNELDIR" != "" ; then
echo $ac_n "checking for linux kernel source in ${tst_kerneldir}""... $ac_c" 1>&6
echo "configure:1384: checking for linux kernel source in ${tst_kerneldir}" >&5
echo "configure:1388: checking for linux kernel source in ${tst_kerneldir}" >&5
CPPFLAGS="-nostdinc -I${tst_kerneldir}/include -I${tst_kerneldir}/drivers/isdn"
cat > conftest.$ac_ext <<EOF
#line 1387 "configure"
#line 1391 "configure"
#include "confdefs.h"
#include <isdn_common.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@ -1404,15 +1408,15 @@ rm -f conftest*
fi
if test "$lxdir" = "no" ; then
echo $ac_n "checking for linux kernel source in /usr/src/linux""... $ac_c" 1>&6
echo "configure:1408: checking for linux kernel source in /usr/src/linux" >&5
echo "configure:1412: checking for linux kernel source in /usr/src/linux" >&5
CPPFLAGS="-nostdinc -I/usr/src/linux/include -I/usr/src/linux/drivers/isdn"
cat > conftest.$ac_ext <<EOF
#line 1411 "configure"
#line 1415 "configure"
#include "confdefs.h"
#include <isdn_common.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@ -1427,15 +1431,15 @@ rm -f conftest*
if test "$lxdir" = "no" ; then
echo "$ac_t"""$lxdir"" 1>&6
echo $ac_n "checking for linux kernel source in /usr/local/src/linux""... $ac_c" 1>&6
echo "configure:1431: checking for linux kernel source in /usr/local/src/linux" >&5
echo "configure:1435: checking for linux kernel source in /usr/local/src/linux" >&5
CPPFLAGS="-nostdinc -I/usr/local/src/linux/include -I/usr/local/src/linux/drivers/isdn"
cat > conftest.$ac_ext <<EOF
#line 1434 "configure"
#line 1438 "configure"
#include "confdefs.h"
#include <isdn_common.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@ -1463,12 +1467,12 @@ EOF
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
echo "configure:1467: checking for ANSI C header files" >&5
echo "configure:1471: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1472 "configure"
#line 1476 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
@ -1476,7 +1480,7 @@ else
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@ -1493,7 +1497,7 @@ rm -f conftest*
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 1497 "configure"
#line 1501 "configure"
#include "confdefs.h"
#include <string.h>
EOF
@ -1511,7 +1515,7 @@ fi
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 1515 "configure"
#line 1519 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
@ -1532,7 +1536,7 @@ if test "$cross_compiling" = yes; then
:
else
cat > conftest.$ac_ext <<EOF
#line 1536 "configure"
#line 1540 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@ -1543,7 +1547,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if { (eval echo configure:1547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:1551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
:
else
@ -1567,12 +1571,12 @@ EOF
fi
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
echo "configure:1571: checking for sys/wait.h that is POSIX.1 compatible" >&5
echo "configure:1575: checking for sys/wait.h that is POSIX.1 compatible" >&5
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1576 "configure"
#line 1580 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
@ -1588,7 +1592,7 @@ wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
EOF
if { (eval echo configure:1592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_sys_wait_h=yes
else
@ -1612,17 +1616,17 @@ for ac_hdr in fcntl.h limits.h sys/ioctl.h sys/time.h syslog.h unistd.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:1616: checking for $ac_hdr" >&5
echo "configure:1620: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1621 "configure"
#line 1625 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@ -1699,12 +1703,12 @@ fi
echo $ac_n "checking for working const""... $ac_c" 1>&6
echo "configure:1703: checking for working const" >&5
echo "configure:1707: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1708 "configure"
#line 1712 "configure"
#include "confdefs.h"
int main() {
@ -1753,7 +1757,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if { (eval echo configure:1757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_const=yes
else
@ -1774,12 +1778,12 @@ EOF
fi
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
echo "configure:1778: checking for pid_t" >&5
echo "configure:1782: checking for pid_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1783 "configure"
#line 1787 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -1807,12 +1811,12 @@ EOF
fi
echo $ac_n "checking for size_t""... $ac_c" 1>&6
echo "configure:1811: checking for size_t" >&5
echo "configure:1815: checking for size_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1816 "configure"
#line 1820 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -1840,12 +1844,12 @@ EOF
fi
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
echo "configure:1844: checking whether time.h and sys/time.h may both be included" >&5
echo "configure:1848: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1849 "configure"
#line 1853 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
@ -1854,7 +1858,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if { (eval echo configure:1858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_time=yes
else
@ -1875,12 +1879,12 @@ EOF
fi
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
echo "configure:1879: checking whether struct tm is in sys/time.h or time.h" >&5
echo "configure:1883: checking whether struct tm is in sys/time.h or time.h" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1884 "configure"
#line 1888 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
@ -1888,7 +1892,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if { (eval echo configure:1892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_struct_tm=time.h
else
@ -1923,15 +1927,15 @@ fi
if test "$DOTEST" = "y" || test "$CONFIG_KERNELDIR" != "" ; then
echo $ac_n "checking for linux kernel source in ${tst_kerneldir}""... $ac_c" 1>&6
echo "configure:1927: checking for linux kernel source in ${tst_kerneldir}" >&5
echo "configure:1931: checking for linux kernel source in ${tst_kerneldir}" >&5
CPPFLAGS="-nostdinc -I${tst_kerneldir}/include -I${tst_kerneldir}/drivers/isdn"
cat > conftest.$ac_ext <<EOF
#line 1930 "configure"
#line 1934 "configure"
#include "confdefs.h"
#include <isdn_common.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@ -1947,15 +1951,15 @@ rm -f conftest*
fi
if test "$lxdir" = "no" ; then
echo $ac_n "checking for linux kernel source in /usr/src/linux""... $ac_c" 1>&6
echo "configure:1951: checking for linux kernel source in /usr/src/linux" >&5
echo "configure:1955: checking for linux kernel source in /usr/src/linux" >&5
CPPFLAGS="-nostdinc -I/usr/src/linux/include -I/usr/src/linux/drivers/isdn"
cat > conftest.$ac_ext <<EOF
#line 1954 "configure"
#line 1958 "configure"
#include "confdefs.h"
#include <isdn_common.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@ -1970,15 +1974,15 @@ rm -f conftest*
if test "$lxdir" = "no" ; then
echo "$ac_t"""$lxdir"" 1>&6
echo $ac_n "checking for linux kernel source in /usr/local/src/linux""... $ac_c" 1>&6
echo "configure:1974: checking for linux kernel source in /usr/local/src/linux" >&5
echo "configure:1978: checking for linux kernel source in /usr/local/src/linux" >&5
CPPFLAGS="-nostdinc -I/usr/local/src/linux/include -I/usr/local/src/linux/drivers/isdn"
cat > conftest.$ac_ext <<EOF
#line 1977 "configure"
#line 1981 "configure"
#include "confdefs.h"
#include <isdn_common.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@ -2007,13 +2011,13 @@ EOF
if test $ac_cv_prog_gcc = yes; then
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
echo "configure:2011: checking whether ${CC-cc} needs -traditional" >&5
echo "configure:2015: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_pattern="Autoconf.*'x'"
cat > conftest.$ac_ext <<EOF
#line 2017 "configure"
#line 2021 "configure"
#include "confdefs.h"
#include <sgtty.h>
Autoconf TIOCGETP
@ -2031,7 +2035,7 @@ rm -f conftest*
if test $ac_cv_prog_gcc_traditional = no; then
cat > conftest.$ac_ext <<EOF
#line 2035 "configure"
#line 2039 "configure"
#include "confdefs.h"
#include <termio.h>
Autoconf TCGETA
@ -2053,7 +2057,7 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
fi
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
echo "configure:2057: checking for 8-bit clean memcmp" >&5
echo "configure:2061: checking for 8-bit clean memcmp" >&5
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2061,7 +2065,7 @@ else
ac_cv_func_memcmp_clean=no
else
cat > conftest.$ac_ext <<EOF
#line 2065 "configure"
#line 2069 "configure"
#include "confdefs.h"
main()
@ -2071,7 +2075,7 @@ main()
}
EOF
if { (eval echo configure:2075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:2079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
ac_cv_func_memcmp_clean=yes
else
@ -2089,12 +2093,12 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.o"
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
echo "configure:2093: checking return type of signal handlers" >&5
echo "configure:2097: checking return type of signal handlers" >&5
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2098 "configure"
#line 2102 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
@ -2111,7 +2115,7 @@ int main() {
int i;
; return 0; }
EOF
if { (eval echo configure:2115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_type_signal=void
else
@ -2130,7 +2134,7 @@ EOF
echo $ac_n "checking whether utime accepts a null argument""... $ac_c" 1>&6
echo "configure:2134: checking whether utime accepts a null argument" >&5
echo "configure:2138: checking whether utime accepts a null argument" >&5
if eval "test \"`echo '$''{'ac_cv_func_utime_null'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2140,7 +2144,7 @@ if test "$cross_compiling" = yes; then
ac_cv_func_utime_null=no
else
cat > conftest.$ac_ext <<EOF
#line 2144 "configure"
#line 2148 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
@ -2151,7 +2155,7 @@ exit(!(stat ("conftestdata", &s) == 0 && utime("conftestdata", (long *)0) == 0
&& t.st_mtime - s.st_mtime < 120));
}
EOF
if { (eval echo configure:2155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:2159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
ac_cv_func_utime_null=yes
else
@ -2177,12 +2181,12 @@ fi
for ac_func in mktime select socket stime strdup strerror strftime strstr strtod strtol
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2181: checking for $ac_func" >&5
echo "configure:2185: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2186 "configure"
#line 2190 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -2205,7 +2209,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:2209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:2213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -2239,15 +2243,33 @@ EOF
fi
case "$CHARGECOUNTRY" in
DE)
NATION="de"
NATION_MACRO="ISDN_DE"
cat >> confdefs.h <<\EOF
#define ISDN_DE 1
EOF
;;
AT)
NATION="at"
NATION_MACRO="ISDN_AT"
cat >> confdefs.h <<\EOF
#define ISDN_AT 1
EOF
;;
CH)
ISDN_CH=1
NATION="ch"
NATION_MACRO="ISDN_CH"
cat >> confdefs.h <<\EOF
#define ISDN_CH 1
EOF
;;
NL)
ISDN_NL=1
NATION="nl"
NATION_MACRO="ISDN_NL"
cat >> confdefs.h <<\EOF
#define ISDN_NL 1
EOF
@ -2273,6 +2295,7 @@ esac
trap '' 1 2 15
cat > confcache <<\EOF
@ -2433,6 +2456,7 @@ s%@COUNTRYPREFIX@%$COUNTRYPREFIX%g
s%@AREACODE@%$AREACODE%g
s%@AREAPREFIX@%$AREAPREFIX%g
s%@NATION@%$NATION%g
s%@NATION_MACRO@%$NATION_MACRO%g
CEOF
EOF

View File

@ -77,19 +77,23 @@ AC_DEFINE_UNQUOTED(STOPCMD,"$STOPCMD")
AC_DEFINE_UNQUOTED(REBOOTCMD,"$REBOOTCMD")
if test "$CONFIG_ISDN_LOG_DE" = "y" ; then
NATION="de"
AC_DEFINE(ISDN_DE,1)
NATION_MACRO="ISDN_DE"
AC_DEFINE(ISDN_DE)
fi
if test "$CONFIG_ISDNLOG_AT" = "y" ; then
if test "$CONFIG_ISDN_LOG_AT" = "y" ; then
NATION="at"
AC_DEFINE(ISDN_AT,1)
NATION_MACRO="ISDN_AT"
AC_DEFINE(ISDN_AT)
fi
if test "$CONFIG_ISDN_LOG_CH" = "y" ; then
NATION="ch"
AC_DEFINE(ISDN_CH,1)
NATION_MACRO="ISDN_CH"
AC_DEFINE(ISDN_CH)
fi
if test "$CONFIG_ISDN_LOG_NL" = "y" ; then
NATION="nl"
AC_DEFINE(ISDN_NL,1)
NATION_MACRO="ISDN_NL"
AC_DEFINE(ISDN_NL)
fi
dnl Checks for programs.
@ -158,12 +162,24 @@ if test "$ALIB" = "area" ; then
AC_DEFINE(LIBAREA)
fi
case "$CHARGECOUNTRY" in
DE)
NATION="de"
NATION_MACRO="ISDN_DE"
AC_DEFINE(ISDN_DE)
;;
AT)
NATION="at"
NATION_MACRO="ISDN_AT"
AC_DEFINE(ISDN_AT)
;;
CH)
ISDN_CH=1
NATION="ch"
NATION_MACRO="ISDN_CH"
AC_DEFINE(ISDN_CH)
;;
NL)
ISDN_NL=1
NATION="nl"
NATION_MACRO="ISDN_NL"
AC_DEFINE(ISDN_NL)
;;
esac
@ -186,5 +202,6 @@ AC_SUBST(AREACODE)
AC_SUBST(AREAPREFIX)
AC_SUBST(AREACODE)
AC_SUBST(NATION)
AC_SUBST(NATION_MACRO)
AC_SUBST(CONFIG_KERNELDIR)
AC_OUTPUT(Makefile)

View File

@ -19,6 +19,9 @@
* along with this program; if not, write to the Free Software
*
* $Log$
* Revision 1.26 1998/10/26 20:21:14 paul
* thinko in check for symlink in /tmp
*
* Revision 1.25 1998/10/22 14:10:52 paul
* Check that /tmp/isdnctrl0 is not a symbolic link, which is a potential
* security threat (it can point to /etc/passwd or so!)
@ -187,9 +190,9 @@ static int read_param_file(char *FileName);
static char usage[] = "%s: usage: %s [ -%s ] file\n";
#ifdef Q931
static char options[] = "av:sp:x:m:l:rt:c:C:w:SVTDPMh:nW:H:f:bL:NqFA:2:O:K";
static char options[] = "av:sp:x:m:l:rt:c:C:w:SVTDPMh:nW:H:f:bL:NqFA:2:O:Ki";
#else
static char options[] = "av:sp:x:m:l:rt:c:C:w:SVTDPMh:nW:H:f:bL:NFA:2:O:K";
static char options[] = "av:sp:x:m:l:rt:c:C:w:SVTDPMh:nW:H:f:bL:NFA:2:O:Ki";
#endif
static char msg1[] = "%s: Can't open %s (%s)\n";
static char *ptty = NULL;
@ -591,6 +594,9 @@ int set_options(int argc, char* argv[])
case 'K' : readkeyboard++;
break;
case 'i' : interns0++;
break;
case '?' : printf(usage, myshortname, myshortname, options);
exit(1);
} /* switch */
@ -757,6 +763,9 @@ static int read_param_file(char *FileName)
else
if (!strcmp(Ptr->name,CONF_ENT_KEYBOARD))
readkeyboard = toupper(*(Ptr->value)) == 'Y'?1:0;
else
if (!strcmp(Ptr->name,CONF_ENT_INTERNS0))
interns0 = toupper(*(Ptr->value)) == 'Y'?1:0;
else
print_msg(PRT_ERR,"Error: Invalid entry `%s'!\n",Ptr->name);

View File

@ -20,6 +20,9 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log$
* Revision 1.11 1998/10/18 20:13:37 luethje
* isdnlog: Added the switch -K
*
* Revision 1.10 1998/09/26 18:29:10 akool
* - 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 !!
@ -308,6 +311,7 @@ _EXTERN char isdnctrl2[FNSIZE];
_EXTERN char *outfile;
_EXTERN char tmpout[PATH_MAX];
_EXTERN int readkeyboard;
_EXTERN int interns0;
_EXTERN IFO ifo[ISDN_MAX_CHANNELS];
_EXTERN IO io[ISDN_MAX_CHANNELS];

View File

@ -19,6 +19,22 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log$
* Revision 1.28 1998/10/04 12:04:05 akool
* - README
* New entries "CALLFILE" and "CALLFMT" documented
* Small Correction from Markus Werner <mw@empire.wolfsburg.de>
* cosmetics
*
* - isdnrep.c
* Bugfix (Thanks to Arnd Bergmann <arnd@uni.de>)
*
* - processor.c
* Patch from Oliver Lauer <Oliver.Lauer@coburg.baynet.de>
* Makes CHARGEMAX work without AOC-D
*
* Patch from Stefan Gruendel <sgruendel@adulo.de>
* gcc 2.7.2.1 Optimizer-Bug workaround
*
* Revision 1.27 1998/10/03 18:05:55 akool
* - processor.c, takt_at.c : Patch from Michael Reinelt <reinelt@eunet.at>
* try to guess the zone of the calling/called party
@ -651,8 +667,13 @@ static void buildnumber(char *num, int oc3, int oc3a, char *result, int version,
strcpy(result, countryprefix); /* 001 International */
break;
case 0x20 : if (version != VERSION_1TR6)
case 0x20 : if (version != VERSION_1TR6) {
strcpy(result, mycountry); /* 010 National */
if (interns0)
while (*num == '0')
num++;
} /* if */
break;
case 0x30 : break; /* 011 Network specific number */

View File

@ -62,7 +62,9 @@
#include <sys/types.h>
#include <sys/time.h>
#ifndef ISDNLOG
static void settime();
#endif
void UpdateList();
struct provider {
@ -147,131 +149,131 @@ static struct ttable tt[] = {
struct ttable tt[] = {
#endif
/* Arcor */
0, 0, BFNH|BFR5,
0, 1, BFR2|BFFN,
0, 2, BFMC|BFD1,
0, 3, BFD2,
0, 4, BFME,
0, 5, BFEY|BFE1,
0, 6, BFE2,
0, 7, BFW1,
0, 8, BFW2,
0, 9, BFW3,
0, 10, BFW4,
{ 0, 0, BFNH|BFR5 },
{ 0, 1, BFR2|BFFN },
{ 0, 2, BFMC|BFD1 },
{ 0, 3, BFD2 },
{ 0, 4, BFME },
{ 0, 5, BFEY|BFE1 },
{ 0, 6, BFE2 },
{ 0, 7, BFW1 },
{ 0, 8, BFW2 },
{ 0, 9, BFW3 },
{ 0, 10, BFW4 },
/* Interoute */
1, 0, BFNH|BFR5,
1, 1, BFR2|BFFN,
1, 2, BFMC|BFD1|BFD2|BFME,
1, 3, BFEY|BFE1,
1, 4, BFE2,
1, 5, BFW1,
1, 6, BFW2,
1, 7, BFW3,
1, 8, BFW4,
{ 1, 0, BFNH|BFR5 },
{ 1, 1, BFR2|BFFN },
{ 1, 2, BFMC|BFD1|BFD2|BFME },
{ 1, 3, BFEY|BFE1 },
{ 1, 4, BFE2 },
{ 1, 5, BFW1 },
{ 1, 6, BFW2 },
{ 1, 7, BFW3 },
{ 1, 8, BFW4 },
/* EWE TEL */
2, 0, BFR5,
2, 1, BFR2|BFFN,
2, 2, BFMC,
2, 3, BFD1|BFD2|BFME,
2, 5, BFEY,
2, 6, BFE1,
2, 7, BFE2,
2, 8, BFW1,
2, 9, BFW2,
2, 10, BFW3,
2, 11, BFW4,
{ 2, 0, BFR5 },
{ 2, 1, BFR2|BFFN },
{ 2, 2, BFMC },
{ 2, 3, BFD1|BFD2|BFME },
{ 2, 5, BFEY },
{ 2, 6, BFE1 },
{ 2, 7, BFE2 },
{ 2, 8, BFW1 },
{ 2, 9, BFW2 },
{ 2, 10, BFW3 },
{ 2, 11, BFW4 },
/* Mobilcom */
3, 0, BFNH|BFR5|BFR2|BFFN,
3, 1, BFMC|BFD1|BFD2|BFME,
{ 3, 0, BFNH|BFR5|BFR2|BFFN },
{ 3, 1, BFMC|BFD1|BFD2|BFME },
/* KomTel */
4, 0, BFNH|BFR5|BFR2|BFFN,
4, 1, BFMC|BFD1|BFD2|BFME,
4, 2, BFEY|BFE1,
4, 3, BFE2,
4, 4, BFW1,
4, 5, BFW2,
4, 6, BFW3|BFW4,
{ 4, 0, BFNH|BFR5|BFR2|BFFN },
{ 4, 1, BFMC|BFD1|BFD2|BFME },
{ 4, 2, BFEY|BFE1 },
{ 4, 3, BFE2 },
{ 4, 4, BFW1 },
{ 4, 5, BFW2 },
{ 4, 6, BFW3|BFW4 },
/* o.tel.o */
5, 0, BFNH,
5, 1, BFR5,
5, 2, BFR2|BFFN,
5, 3, BFMC,
5, 4, BFD1|BFD2,
5, 6, BFME,
5, 7, BFEY|BFE1|BFW1,
5, 8, BFE2,
5, 10, BFW2,
5, 11, BFW3,
5, 12, BFW4,
{ 5, 0, BFNH },
{ 5, 1, BFR5 },
{ 5, 2, BFR2|BFFN },
{ 5, 3, BFMC },
{ 5, 4, BFD1|BFD2 },
{ 5, 6, BFME },
{ 5, 7, BFEY|BFE1|BFW1 },
{ 5, 8, BFE2 },
{ 5, 10, BFW2 },
{ 5, 11, BFW3 },
{ 5, 12, BFW4 },
/* Talkline */
6, 0, BFR2|BFFN,
6, 1, BFMC|BFD1|BFD2|BFME,
6, 2, BFEY|BFE1|BFW1,
6, 3, BFW4,
{ 6, 0, BFR2|BFFN },
{ 6, 1, BFMC|BFD1|BFD2|BFME },
{ 6, 2, BFEY|BFE1|BFW1 },
{ 6, 3, BFW4 },
/* TelDaFax */
7, 0, BFNH|BFR5,
7, 1, BFR5|BFFN,
7, 2, BFMC|BFD1|BFD2|BFME,
7, 3, BFEY,
7, 4, BFE1,
7, 5, BFE2,
7, 6, BFW1,
7, 7, BFW2,
7, 8, BFW3,
7, 9, BFW4,
{ 7, 0, BFNH|BFR5 },
{ 7, 1, BFR5|BFFN },
{ 7, 2, BFMC|BFD1|BFD2|BFME },
{ 7, 3, BFEY },
{ 7, 4, BFE1 },
{ 7, 5, BFE2 },
{ 7, 6, BFW1 },
{ 7, 7, BFW2 },
{ 7, 8, BFW3 },
{ 7, 9, BFW4 },
/* Telekoma */
8, 0, BFCY|BFNH,
8, 2, BFR5,
8, 3, BFR2|BFFN,
8, 4, BFMC|BFD1,
8, 5, BFD2,
8, 6, BFME,
8, 7, BFEY,
8, 8, BFE1,
8, 9, BFE2,
8, 10, BFW1,
8, 11, BFW2,
8, 12, BFW3,
8, 13, BFW4,
{ 8, 0, BFCY|BFNH },
{ 8, 2, BFR5 },
{ 8, 3, BFR2|BFFN },
{ 8, 4, BFMC|BFD1 },
{ 8, 5, BFD2 },
{ 8, 6, BFME },
{ 8, 7, BFEY },
{ 8, 8, BFE1 },
{ 8, 9, BFE2 },
{ 8, 10, BFW1 },
{ 8, 11, BFW2 },
{ 8, 12, BFW3 },
{ 8, 13, BFW4 },
/* TelePassPort */
9, 0, BFNH|BFR5,
9, 1, BFR2|BFFN,
9, 2, BFMC|BFD1|BFD2|BFME,
9, 3, BFEY|BFE1,
9, 4, BFE2,
9, 5, BFW1,
9, 6, BFW2,
9, 7, BFW3,
9, 8, BFW4,
{ 9, 0, BFNH|BFR5 },
{ 9, 1, BFR2|BFFN },
{ 9, 2, BFMC|BFD1|BFD2|BFME },
{ 9, 3, BFEY|BFE1 },
{ 9, 4, BFE2 },
{ 9, 5, BFW1 },
{ 9, 6, BFW2 },
{ 9, 7, BFW3 },
{ 9, 8, BFW4 },
/* WestCom */
11, 0, BFNH|BFR5,
11, 1, BFR2,
11, 2, BFFN,
11, 3, BFMC|BFD1|BFD2|BFME,
11, 4, BFEY|BFE1,
11, 5, BFE2,
11, 6, BFW1,
11, 7, BFW2,
11, 8, BFW3,
11, 9, BFW4,
{ 11, 0, BFNH|BFR5 },
{ 11, 1, BFR2 },
{ 11, 2, BFFN },
{ 11, 3, BFMC|BFD1|BFD2|BFME },
{ 11, 4, BFEY|BFE1 },
{ 11, 5, BFE2 },
{ 11, 6, BFW1 },
{ 11, 7, BFW2 },
{ 11, 8, BFW3 },
{ 11, 9, BFW4 },
/* tele2 */
14, 0, BFNH|BFR5|BFR2|BFFN,
14, 2, BFMC|BFD1|BFD2|BFME,
14, 3, BFEY|BFW1,
14, 4, BFE1,
14, 5, BFE2,
14, 6, BFW2,
14, 7, BFW3,
14, 8, BFW4,
{ 14, 0, BFNH|BFR5|BFR2|BFFN },
{ 14, 2, BFMC|BFD1|BFD2|BFME },
{ 14, 3, BFEY|BFW1 },
{ 14, 4, BFE1 },
{ 14, 5, BFE2 },
{ 14, 6, BFW2 },
{ 14, 7, BFW3 },
{ 14, 8, BFW4 },
/* tesion */
16, 0, BFNH|BFR5|BFR2|BFFN,
16, 1, BFMC|BFD1|BFD2|BFME,
16, 2, BFEY|BFE1,
16, 3, BFE2,
16, 4, BFW1,
16, 5, BFW2|BFW3,
16, 6, BFW4,
-1, 0, 0 };
{ 16, 0, BFNH|BFR5|BFR2|BFFN },
{ 16, 1, BFMC|BFD1|BFD2|BFME },
{ 16, 2, BFEY|BFE1 },
{ 16, 3, BFE2 },
{ 16, 4, BFW1 },
{ 16, 5, BFW2|BFW3 },
{ 16, 6, BFW4 },
{ -1, 0, 0 }};
struct tarif tarife[] = {
/* arcor */
@ -597,7 +599,11 @@ double pay(time_t ts, int dauer, int tarifz, int pro)
void UpdateList()
#endif
{
#ifdef ISDNLOG
long t,z,g,ft;
#else
long t,z,g,r,s,ft;
#endif
unsigned char tarnum;
struct tm *dt;
#ifndef ISDNLOG

View File

@ -1,115 +0,0 @@
--- orig/gebuehr.c Fri May 8 11:24:39 1998
+++ ./gebuehr.c Sat May 16 09:17:04 1998
@@ -1,3 +1,11 @@
+#define ISDNLOG 1
+#ifdef ISDNLOG
+/*
+ 1. "http://www.insider.org/tarif/gebuehr.c" saugen
+ 2. patch -s -p0 < gebuehr.patch
+*/
+#endif
+
/*
Gebührenberechnung - Berechnung der jeweils aktuellen Gebühren für Telefon-
anrufe über die verschiedenen auf dem deutschen Markt
@@ -132,7 +140,12 @@
unsigned long tarber; /* Bit-Feld Tarifbereiche */
};
+
+#ifdef ISDNLOG
+static struct ttable tt[] = {
+#else
struct ttable tt[] = {
+#endif
/* Arcor */
0, 0, BFNH|BFR5,
0, 1, BFR2|BFFN,
@@ -553,13 +566,16 @@
{ 18, BFW4|BWA, 100, 2340, 0, 0,23},*/
{ -1, 0, 0, 0, 0,0}};
+#ifndef ISDNLOG
int tarifz;
unsigned char wt;
char tmp[10];
int dauer;
+#endif
unsigned long ftage[] = {19980410,19980413,19980501,19980521, 19980601,0};
+#ifndef ISDNLOG
main(argc,argv)
int argc;
char *argv[];
@@ -573,15 +589,28 @@
dauer=atoi(argv[2]);
UpdateList();
}
+#endif
+#ifdef ISDNLOG
+double pay(time_t ts, int dauer, int tarifz, int pro)
+#else
void UpdateList()
+#endif
{
long t,z,g,r,s,ft;
unsigned char tarnum;
struct tm *dt;
+#ifndef ISDNLOG
time_t ts;
+#endif
unsigned long tarbit;
+#ifndef ISDNLOG
ts=time(NULL);
+#endif
+#ifdef ISDNLOG
+unsigned char wt;
+int e = -1;
+#endif
/* ts-=3600; */
dt=localtime(&ts);
ft=(1900+dt->tm_year)*10000+(1+dt->tm_mon)*100+dt->tm_mday;
@@ -589,15 +618,24 @@
else wt=BWE;
t=0;
while (ftage[t]) {if (ftage[t]==ft) wt=BWE; t++;}
+#ifndef ISDNLOG
printf("%d\n",wt);
+#endif
for (t=0;t<NUMPROV;t++) prov[t].flag&=0x7f,prov[t].minpr=0;
tarbit=1;
t=tarifz;
while (t>1) tarbit<<=1,t--;
+#ifndef ISDNLOG
printf("Tarifbits: %lx\n",tarbit);
+#endif
t=0;
while (tt[t].prov>=0) {
+#ifdef ISDNLOG
+ if (!(prov[tt[t].prov].flag&0x80) && (prov[tt[t].prov].prefix == pro)) {
+ e = tt[t].prov;
+#else
if (!(prov[tt[t].prov].flag&0x80)) {
+#endif
if (tt[t].tarber&tarbit) {
tarnum=tt[t].tar;
z=t;
@@ -635,6 +673,7 @@
}
t++;
}
+#ifndef ISDNLOG
printf("Tarife für %d:%02d Minuten in Tarifzone %s um %d:%02d\n\n",dauer/60, dauer%60,tarnam[tarifz-1],dt->tm_hour, dt->tm_min);
for (t=0;t<NUMPROV;t++) srt[t]=t;
for (t=0;t<NUMPROV-1;t++) {
@@ -654,5 +693,8 @@
prov[srt[t]].minpr%100);
}
}
+#else
+ return((e == -1) ? -1.0 : (prov[e].minpr / 100.0));
+#endif
}

View File

@ -24,6 +24,10 @@
*
*
* $Log$
* Revision 1.48 1998/10/22 18:22:49 luethje
* isdnrep: suppress some messages
* isdnlog: remove function Pathfind()
*
* Revision 1.47 1998/10/13 21:53:17 luethje
* isdnrep and lib: bugfixes
*
@ -1063,6 +1067,7 @@ static int print_bottom(double unit, char *start, char *stop)
} /* if */
/* Was soll das werden, Andreas ? */
#if 0 /* War Quatsch - vergiss es ... */
if (known[knowns-1]->eh > 0)
{
print_line3(NULL,
@ -1074,6 +1079,7 @@ static int print_bottom(double unit, char *start, char *stop)
print_currency(known[knowns-1]->eh * unit, 0));
#endif
}
#endif
print_line2(F_BODY_BOTTOM2,"");
@ -2077,6 +2083,7 @@ static int print_entries(one_call *cur_call, double unit, int *nx, char *myname)
auto int go, zone = 1, zeit = -1;
auto time_t t1, t2;
#endif
auto int zone;
#if 0
@ -2092,20 +2099,21 @@ static int print_entries(one_call *cur_call, double unit, int *nx, char *myname)
how_expensive(cur_call);
#if 0
# if 0
#if 0
if (compute && !currency_factor &&
!cur_call->dir && ((cur_call->eh == -1) ||
(!cur_call->eh && cur_call->duration && cur_call->cause == -1))) { /* DIALOUT, keine AOCE Meldung */
# else
#else
go = 0;
if ((cur_call->eh == -1) && !cur_call->dir) { /* Rauswahl, Gebuehr unbekannt */
pro = cur_call->provider;
if (pro == -1)
pro = 33; /* Telekom */
if (pro && (nx[1] != -1)) {
if (nx[CALLED] != -1) {
if (!cur_call->dm) {
tarifz = known[nx[CALLED]]->zone;
@ -2128,7 +2136,7 @@ static int print_entries(one_call *cur_call, double unit, int *nx, char *myname)
computed = 1;
go = 0;
}
else if (nx[1] == -1) { /* Gegner unbekannt! */
else if (nx[CALLED] == -1) { /* Gegner unbekannt! */
if (compute) {
zone = compute; /* in "-c x" Zone vermuten */
go = 1;
@ -2140,7 +2148,7 @@ static int print_entries(one_call *cur_call, double unit, int *nx, char *myname)
}
else {
go = 1;
if (!(zone = known[nx[1]]->zone))
if (!(zone = known[nx[CALLED]]->zone))
go = cur_call->eh = 0;
} /* else */
}
@ -2159,7 +2167,7 @@ static int print_entries(one_call *cur_call, double unit, int *nx, char *myname)
} /* if */
if (go) {
# endif
#endif
t1 = cur_call->t;
t2 = cur_call->t + cur_call->duration;
@ -2188,8 +2196,21 @@ static int print_entries(one_call *cur_call, double unit, int *nx, char *myname)
if (pro == -1)
pro = 33; /* Telekom */
if (cur_call->duration || (cur_call->eh > 0))
{
if (cur_call->duration || (cur_call->eh > 0)) {
#if 1 /* AK:07-Oct-98 */
if ((cur_call->dir == DIALOUT) && (nx[CALLED] == -1)) {
zone = area_diff(NULL, cur_call->num[CALLED]);
zones[zone] += cur_call->eh;
zones_dm[zone] += cur_call->dm;
if (cur_call->duration > 0)
zones_dur[zone] += cur_call->duration;
zones_usage[zone]++;
} /* if */
#endif
add_one_call(computed?&day_com_sum:&day_sum,cur_call,unit);
if (cur_call->dir) {
@ -2200,7 +2221,7 @@ static int print_entries(one_call *cur_call, double unit, int *nx, char *myname)
if (cur_call->duration > 0)
known[knowns-1]->dur[DIALIN] += cur_call->duration;
} /* if */
}
else
{
known[nx[CALLING]]->usage[cur_call->dir]++;
@ -2241,7 +2262,14 @@ static int print_entries(one_call *cur_call, double unit, int *nx, char *myname)
zones_usage[known[nx[CALLED]]->zone]++;
#if 1 /* AK:05-May-98 */
} /* if */
} /* else */
}
else {
if (cur_call->cause != -1)
day_sum.err++;
} /* else */
if (cur_call->dir == DIALOUT) {
for (i = 0; i < mymsns; i++) {
if (!n_match(known[i]->num, cur_call->num[0], cur_call->version) && (known[i]->si == cur_call->si)) {
@ -2259,14 +2287,6 @@ static int print_entries(one_call *cur_call, double unit, int *nx, char *myname)
} /* if */
} /* if */
#endif
} /* if */
} /* else */
}
else {
if (cur_call->cause != -1)
day_sum.err++;
} /* else */
print_line(F_BODY_LINE,cur_call,computed,NULL);
return 0;

View File

@ -0,0 +1,181 @@
0010 |free| | | | | Operator Service | Handvermittlung Inland und Ausland. Eine T-Net-Verbindung zu dieser RufNr. ist kostenlos. Nach erfolgreicher Vermittlung werden die fuer das Gesprach geltenden Verbindungstarife erhoben.
0031800 |free| | | | | Plus Freephone Service (Niederl.) | Plus Freephone Service (Niederlande). Eine T-Net-Verbindung zu dieser Rufnummer ist kostenfrei.
0041800 |free| | | | | Plus Freephone Service (Schweiz) | Plus Freephone Service (Schweiz). Eine T-Net-Verbindung zu dieser Rufnummer ist kostenfrei.
00800 | | | | | | Freephone Service 800 | Universal International Freephone Service 800.
008711 | | | | 0.7 | 0.7 | Inmarsat A (Atl. Ozean Ost) | Satelliten-Mobilfunksystem (analog), Ausleuchtbereich Atlant. Ozean Ost. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087130 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean Ost) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean Ost. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087131 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean Ost) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean Ost. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087132 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean Ost) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean Ost. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087133 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean Ost) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean Ost. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087134 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean Ost) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean Ost. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087135 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean Ost) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean Ost. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087136 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean Ost) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean Ost. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087137 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean Ost) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean Ost. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087138 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean Ost) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean Ost. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087139 | | | | 0.3 | 0.3 | Inmarsat B HS. (Atl. Ozean Ost) | Satelliten-Mobilfunksystem High Speed (digital, nur ISDN), Ausleuchtbereich Atlant. Ozean Ost. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008715 | | | | 0.7 | 0.7 | Inmarsat Aero (Atl. Ozean Ost) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean Ost. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008716 | | | | 0.8 | 0.8 | Inmarsat M (Atl. Ozean Ost) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean Ost. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087176 | | | | 1 | 1 | Inmarsat-Phone (Mini-M) (Atl. Ozean Ost) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean Ost. Einschaltung: 01.08.96. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008718 | | | | 0.7 | 0.7 | Inmarsat A (Atl. Ozean Ost) | Satelliten-Mobilfunksystem (analog), Ausleuchtbereich Atlant. Ozean Ost. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008721 | | | | 0.7 | 0.7 | Inmarsat A (Pazif. Ozean) | Satelliten-Mobilfunksystem (analog), Ausleuchtbereich Pazif. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11.
0087230 | | | | 0.8 | 0.8 | Inmarsat B (Pazif. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Pazif. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087231 | | | | 0.8 | 0.8 | Inmarsat B (Pazif. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Pazif. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087232 | | | | 0.8 | 0.8 | Inmarsat B (Pazif. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Pazif. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087233 | | | | 0.8 | 0.8 | Inmarsat B (Pazif. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Pazif. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087234 | | | | 0.8 | 0.8 | Inmarsat B (Pazif. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Pazif. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087235 | | | | 0.8 | 0.8 | Inmarsat B (Pazif. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Pazif. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087236 | | | | 0.8 | 0.8 | Inmarsat B (Pazif. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Pazif. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087237 | | | | 0.8 | 0.8 | Inmarsat B (Pazif. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Pazif. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087238 | | | | 0.8 | 0.8 | Inmarsat B (Pazif. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Pazif. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087239 | | | | 0.3 | 0.3 | Inmarsat B HS (Pazif. Ozean) | Satelliten-Mobilfunksystem High Speed (digital, nur ISDN), Ausleuchtbereich Pazif. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008725 | | | | 0.7 | 0.7 | Inmarsat Aero (Pazif. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Pazif. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008726 | | | | 0.8 | 0.8 | Inmarsat M (Pazif. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Pazif. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087276 | | | | 1 | 1 | Inmarsat-Phone (Mini-M) (Pazif. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Pazif. Ozean. Einschaltung: 01.08.96. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008728 | | | | 0.7 | 0.7 | Inmarsat A (Pazif. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Pazif. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008731 | | | | 0.7 | 0.7 | Inmarsat A (Ind. Ozean) | Satelliten-Mobilfunksystem (analog), Ausleuchtbereich Ind. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087330 | | | | 0.8 | 0.8 | Inmarsat B (Ind. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Ind. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087331 | | | | 0.8 | 0.8 | Inmarsat B (Ind. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Ind. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087332 | | | | 0.8 | 0.8 | Inmarsat B (Ind. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Ind. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087333 | | | | 0.8 | 0.8 | Inmarsat B (Ind. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Ind. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087334 | | | | 0.8 | 0.8 | Inmarsat B (Ind. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Ind. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087335 | | | | 0.8 | 0.8 | Inmarsat B (Ind. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Ind. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087336 | | | | 0.8 | 0.8 | Inmarsat B (Ind. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Ind. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087337 | | | | 0.8 | 0.8 | Inmarsat B (Ind. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Ind. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087338 | | | | 0.8 | 0.8 | Inmarsat B (Ind. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Ind. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087339 | | | | 0.3 | 0.3 | Inmarsat B HS (Ind. Ozean) | Satelliten-Mobilfunksystem High Speed(digital, nur ISDN), Ausleuchtbereich Ind. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008735 | | | | 0.7 | 0.7 | Inmarsat Aero (Ind. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Ind. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008736 | | | | 0.8 | 0.8 | Inmarsat M (Ind. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Ind. Ozean. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087376 | | | | 1 | 1 | Inmarsat-Phone (Mini-M) (Ind. Ozean) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Ind. Ozean. Einschaltung: 01.08.96. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008738 | | | | 0.7 | 0.7 | Inmarsat A (Ind. Ozean) | Satelliten-Mobilfunksystem (analog), Ausleuchtbereich Ind. Ozean.Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008741 | | | | 0.7 | 0.7 | Inmarsat A (Atl. Ozean West) | Satelliten-Mobilfunksystem (analog), Ausleuchtbereich Atlant. Ozean West. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087430 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean West) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean West. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087431 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean West) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean West. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087432 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean West) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean West. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087433 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean West) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean West. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087434 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean West) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean West. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087435 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean West) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean West. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087436 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean West) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean West. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087437 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean West) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean West. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087438 | | | | 0.8 | 0.8 | Inmarsat B (Atl. Ozean West) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean West. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087439 | | | | 0.3 | 0.3 | Inmarsat B HS (Atl. Ozean West) | Satelliten-Mobilfunksystem High Speed (digital, nur ISDN), Ausleuchtbereich Atlant. Ozean West. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008745 | | | | 0.7 | 0.7 | Inmarsat Aero (Atl. Ozean West) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean West. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008746 | | | | 0.8 | 0.8 | Inmarsat M (Atl. Ozean West) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean West. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
0087476 | | | | 1 | 1 | Inmarsat-Phone (Mini-M) (Atl. Ozean West) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean West. Einschaltung: 01.08.96. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
008748 | | | | 0.7 | 0.7 | Inmarsat A (Atl. Ozean West) | Satelliten-Mobilfunksystem (digital), Ausleuchtbereich Atlant. Ozean West. Weitere Auskuenfte zum Inmarsatdienst erhalten Sie unter (02 28) 9 36-65 11
010 |free| | | | | Verbindungsnetzbetreiberauswahl | Auswahl des Verbindungsnetzbetreibers. Nach Wahl der 01033 wird eine T-Net-Verbindung mit den T-Net-Tarifen hergestellt.
01113 |free| | | | | Telekom Direkt | Telekom Direkt. Eine T-Net-Verbindung zu dieser Rufnummer ist kostenfrei.
01114 |free| | | | | Telekom Privatkundenvertrieb | Telefonische Auftragsannahme Privatkundenvertrieb. Eine T-Net-Verbindung zu dieser Rufnummer ist kostenfrei.
01115 |free| | | | | Telekom Geschaftskundenvertrieb | Telefonische Auftragsannahme Geschaftskundenvertrieb. Eine T-Net-Verbindung zu dieser Rufnummer ist kostenfrei.
01131 |free| | | | | Telegrammaufnahme per Telefon | Telegrammaufnahme. Eine T-Net-Verbindung zu dieser Rufnummer ist kostenfrei. Zusatzlich werden die Kosten des Telegramms berechnet.
01136 |free| | | | | Telegrammaufnahme per Telefax | Telegrammaufnahme per Telefax. Eine T-Net-Verbindung zu dieser Rufnummer ist kostenfrei. Zusatzlich werden die Kosten des Telegramms berechnet.
01141 |City| | | | | Auftrags-und Ansagedienst | Auftrags- und Ansagedienst. Sie erreichen diesen Dienst zum Citytarif. Weitere Informationen erhalten Sie unter dieser RufNr. oder der RufNr. 0 11 14 (zum Nulltarif).
0115 |City| | | | | Ansagen (regional) | Regionale Ansagedienste. Sie erreichen diesen Dienst zum Citytarif.
0116 |City| | | | | Ansagen (bundesweit) | Bundesweite Ansagedienste. Sie erreichen diesen Dienst zum Citytarif.
01171 |free| | | | | St”rungsannahme PK | Privatkundenservice der Deutschen Telekom. Eine T-Net-Verbindung zu dieser Rufnummer ist kostenfrei.
01172 |free| | | | | St”rungsannahme GK | Geschaftskundenservice der Deutschen Telekom. Eine T-Net-Verbindung zu dieser Rufnummer ist kostenfrei.
01174 |free| | | | | St”rungsannahme Kabelfernsehen Deutsche Telekom. | St”rungsstelle fuer Kabelfernsehen. Eine T-Net-Verbindung zu dieser Rufnummer ist kostenfrei.
01189 | | | | 3.8 | 3.8 | Auskunft T-Komfort | Komfortauskunft Inland.
01191 |City| | | | | Zeitansage | Zeitansage.Sie erreichen diesen Dienst zum Citytarif.
0130 |free| | | | | freecall 0130 | freecall 0130. Eine T-Net-Verbindung zu dieser Rufnummer ist kostenfrei.
01370 | | 1 | 1 | 20 | 20 | Televotum | Televotumdienst. Eine T-Net-Verbindung kostet 12,1 Pfg. + 12,1 Pfg. je angefangene 20 sec.je 0,12 DM.
01371 | | 2 | 2 | | | T-VoteCall | T-VoteCall. Eine T-Net-Verbindung kostet 0,24 DM.
01372 | | 1 | 1 | 20 | 20 | T-VoteCall | T-VoteCall. Eine T-Net-Verbindung kostet 12,1 Pfg. + 12,1 Pfg. je angefangene 20 sec.
01373 | | 1 | 1 | 20 | 20 | Televotum | Televotumdienst. Eine T-Net-Verbindung kostet 12,1 Pfg. + 12,1 Pfg. je angefangene 20 sec.
01374 | | 1 | 1 | 20 | 20 | Televotum | Televotumdienst. Eine T-Net-Verbindung kostet 12,1 Pfg. + 12,1 Pfg. je angefangene 20 sec.je 0,12 DM.
01375 | | 1 | 1 | 20 | 20 | Televotum | Televotumdienst. Eine T-Net-Verbindung kostet 12,1 Pfg. + 12,1 Pfg. je angefangene 20 sec. je 0,12 DM.
01376 | | 1 | 1 | 20 | 20 | Televotum | Televotumdienst. Eine T-Net-Verbindung kostet 12,1 Pfg. + 12,1 Pfg. je angefangene 20 sec.DM.
01377 | | 1 | 1 | 20 | 20 | Televotum | Televotumdienst. Eine T-Net-Verbindung kostet 12,1 Pfg. + 12,1 Pfg. je angefangene 20 sec.
01378 | | 1 | 1 | 20 | 20 | Televotum | Televotumdienst. Eine T-Net-Verbindung kostet 12,1 Pfg. + 12,1 Pfg. je angefangene 20 sec.
01379 | | 1 | 1 | 20 | 20 | Televotum | Televotumdienst. Eine T-Net-Verbindung kostet 12,1 Pfg. + 12,1 Pfg. je angefangene 20 sec.
0138 | | 1 | 1 | 20 | 20 | Teledialog | Teledialog. Eine T-Net-Verbindung kostet 12,1 Pfg. + 12,1 Pfg. je angefangene 20 sec.
01610 | | | | 7.5 | 15 | Mobilfunk C | Verbindungen vom Festnetz zum Mobilfunknetz C.
01617 | | | | 7.5 | 15 | Mobilfunk C | Verbindungen vom Festnetz zum Mobilfunknetz C.
01618 | | | |11.4 | 16.7 | C-Mobilboxen | Verbindungen vom Festnetz zur C-Netz-Mobilbox.
01619 | | | | 7.5 | 15 | Mobilfunk C | Verbindungen vom Festnetz zum Mobilfunknetz C.
01640 | | | | 20 | 30 | Cityruf Voicebox | Verbindungen vom Festnetz zum Funkrufdienst Cityruf.
01641 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf (Ton).
01642 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf (Ton).
01643 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf (Ton).
01644 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf (Ton).
01645 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf (Ton).
01646 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf (Ton).
01647 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf (Ton).
01648 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf (Ton).
01649 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf (Ton).
016500 | | | | 12 | 24 | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix.
016501 | | | | 12 | 24 | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix.
016502 | | | | 12 | 24 | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix.
016503 | | | | 12 | 24 | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix.
016504 | | | | 12 | 24 | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix.
016505 | | | | 12 | 24 | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix.
016506 | | | | 12 | 24 | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix.
016507 | | | | 12 | 24 | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix.
016508 | | | | 12 | 24 | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix.
01651 | | 2 | 2 | | | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix. Ein Anruf kostet 24,1 Pfg.
01652 | | | | 10 | 20 | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix.
01653 | | 10 | 8 | | | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix. Blocktarif.
01654 | | 10 | 8 | | | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix. Blocktarif.
01655 | | | | 12 | 24 | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix.
01656 | | 20 | 20 | | | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix. Ein Anruf kostet 2,42 DM.
016591 | | 10 | 8 | | | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix. Blocktarif.
016592 | | 10 | 8 | | | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix. Blocktarif.
016593 | | 10 | 8 | | | Quix | Verbindungen vom Festnetz zum Funkrufdienst Quix. Blocktarif.
01660 | | | | 5.2 | 5.2 | TeLMI | Verbindungen vom Festnetz zum Funkrufdienst TeLMi.
01661 | | | | 1.3 | 1.3 | TeLMI | Verbindungen vom Festnetz zum Funkrufdienst TeLMi.
01665 | | | | 5.2 | 5.2 | TeLMI | Verbindungen vom Festnetz zum Funkrufdienst TeLMi.
01669 | | | | 5.2 | 5.2 | TeLMI | Verbindungen vom Festnetz zum Funkrufdienst TeLMi.
01680 | | 5 | 5 | | | Scall | Verbindungen vom Festnetz zum Funkrufdienst Scall. Ein Anruf kostet 0,60 DM.
01681 | | 12 | 8 | | | Scall | Verbindungen vom Festnetz zum Funkrufdienst Scall. Mo-Fr 9-18h 12 TE, ubrige Zeit 8 TE!
01682 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf. Numerik
01683 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf. Numerik
01684 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf. Numerik
01685 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf. Numerik
01686 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf. Numerik
01687 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf. Numerik
01688 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf. Numerik
01689 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf. Numerik
01690 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf. Modem
01691 | | | | 20 | 30 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf, Alphanumerik
01692 | | 8 | 8 | | | Skyper | Verbindung vom Festnetz zum Funkrufdienst Skyper (Modem). Eine T-Net-Verbindung kostet 0,97 DM.
01693 | | 8 | 8 | | | Skyper | Verbindung vom Festnetz zum Funkrufdienst Skyper (MFV). Eine T-Net-Verbindung kostet 0,97 DM.
016951 | | | | 5 | 5 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf, Auftragsdienst Plus.
016952 | | | | 5 | 5 | Cityruf | Verbindungen vom Festnetz zum Funkrufdienst Cityruf, Euromessage.
016953 | | 20 | 20 | | | Skyper | Verbindung vom Festnetz zum Funkrufdienst Skyper (Operator Service). Eine T-Net-Verbindung kostet 2,42 DM.
01696 | | 8 | 8 | | | Scall (Modemzugang) | Verbindungen vom Festnetz zum Funkrufdienst Scall. Eine T-Net-Verbindung kostet 0,97 DM.
01699 | | 20 | 20 | | | Scall (Operatorzugang) | Verbindungen vom Festnetz zum Funkrufdienst Scall. Eine T-Net-Verbindung kostet 2,42 DM.
0171 | | | | 7.5 | 15 | Mobilfunknetz D1 | Verbindungen vom Festnetz zum Mobilfunknetz D1.
0172 | | | | 5.4 | 13 | Mobilfunknetz D2 | Verbindungen vom Festnetz zum Mobilfunknetz D2, Teilnehmer.
0177 | | | | 5.3 |12.8 | Mobilfunknetz E-Plus | Verbindungen vom Festnetz zum Mobilfunknetz E Plus.
01802 | | 1 | 1 | | | Shared Cost Service 01802 | Shared Cost Service 0180-2. Eine T-Net-Verbindung zu diesem Dienst kostet unabhangig von der Tages-oder Wochenzeit nur 12,1 Pfg.
01803 | | | | 30 | 30 | Shared Cost Service 01803 | Shared Cost Service 0180-3.
01805 | | | | 15 | 15 | Shared Cost Service 01805 | Shared Cost Service 0180-5.
01901 | | | | 6 | 6 | Service 0190 | Service 0190 . Mit dem Entgelt werden auch die Aufwendungen des Informationsanbieters abgegolten.
01902 | | | | 6 | 6 | Service 0190 | Service 0190 . Mit dem Entgelt werden auch die Aufwendungen des Informationsanbieters abgegolten.
01903 | | | | 6 | 6 | Service 0190 | Service 0190 . Mit dem Entgelt werden auch die Aufwendungen des Informationsanbieters abgegolten.
01904 | | | | 9 | 9 | Service 0190 | Service 0190 . Mit dem Entgelt werden auch die Aufwendungen des Informationsanbieters abgegolten.
01905 | | | | 6 | 6 | Service 0190 | Service 0190 . Mit dem Entgelt werden auch die Aufwendungen des Informationsanbieters abgegolten.
01906 | | | | 9 | 9 | Service 0190 | Service 0190 . Mit dem Entgelt werden auch die Aufwendungen des Informationsanbieters abgegolten.
01907 | | | | 3 | 3 | Service 0190 | Service 0190 . Mit dem Entgelt werden auch die Aufwendungen des Informationsanbieters abgegolten.
01908 | | | | 2 | 2 | Service 0190 | Service 0190 . Mit dem Entgelt werden auch die Aufwendungen des Informationsanbieters abgegolten.
01909 | | | | 3 | 3 | Service 0190 | Service 0190 . Mit dem Entgelt werden auch die Aufwendungen des Informationsanbieters abgegolten.
01910 |City| | | | | Online-Dienste Zugang SLIP | Selbstwahlverbindungen zum Zugang Online-Dienste. Sie erreichen diesen Dienst zum Citytarif.
0191011 |City| | | | | Online-Dienste Zugang PPP | Selbstwahlverbindungen zum Zugang Online-Dienste. Sie erreichen diesen Dienst zum Citytarif.
01914 |City| | | | | Online-Dienste AOL Zugang | Selbstwahlverbindungen zum Zugang Online-Dienst von AOL Es gelten die Preise f<>r CityCall Verbindungen
0191023 |City| | | | | Online-Dienste 1&1 |
02000 |? | | | | | Expo 2000 Hotline | Expo 2000 Hotline. Eine T-Net-Verbindung kostet 5 TE inkl. 60 Sek. + nach 60 Sek. 1 TE je angefangene 12 Sek. 12 12
0800 |free| | | | | freecall 0800 | freecall 0800. Eine T-Net-Verbindung zu dieser Rufnummer ist kostenfrei.
110 |free| | | | | Polizei/Notruf | Polizeinotruf. Eine T-Net-Verbindung zu dieser Rufnummer ist kostenfrei.
11101 | | 1 | 1 | | | Telefonseelsorge | Telefonseelsorge und soziale Beratungsdienste der freien Wohlfahrtspflege. Eine T-Net-Verbindung zu diesem Dienst kostet unabhangig von der Tages-oder Wochenzeit nur 12,1 Pfg.
11102 | | 1 | 1 | | | Telefonseelsorge | Telefonseelsorge und soziale Beratungsdienste der freien Wohlfahrtspflege. Eine T-Net-Verbindung zu diesem Dienst kostet unabhangig von der Tages-oder Wochenzeit nur 12,1 Pfg.
11103 | | 1 | 1 | | | Telefonseelsorge | Telefonseelsorge und soziale Beratungsdienste der freien Wohlfahrtspflege. Eine T-Net-Verbindung zu diesem Dienst kostet unabhangig von der Tages-oder Wochenzeit nur 12,1 Pfg.
112 |free| | | | | Feuerwehr / Rettungsleitstelle | Feuerwehrnotruf. Eine T-Net-Verbindung zu dieser Rufnummer ist kostenfrei.
11811 |? | | | | | Frag Fred Telefonauskunft |
11818 |? | | | | | Debitel Telefonauskunft |
11833 | | 8 | 8 | 3.8 | 3.8 | Auskunft T-Inland | Telefonauskunft Inland. Die ersten 30 Sek. kosten 0,97 DM. Danach alle 3,8 Sek. 1 TE.
11834 | | 8 | 8 | 3.8 | 3.8 | Auskunft T-Ausland | Telefonauskunft Ausland. Einmalig 0,97 DM und alle 3,8 Sek. 1 TE.
11870 |? | | | | | Arcor Telefonauskunft Inland |
11871 |? | | | | | Arcor Telefonauskunft Ausland |
11880 |? | | | | | Telegate Telefonauskunft Inland |
11890 |? | | | | | Telegate Telefonauskunft Ausland |
#QUELLE: Programm "t-tarife.exe" Version: 1.16 Stand: 07.1998
# sowie eigene Recherchen, Stand: 15-Oct-98

Binary file not shown.

View File

@ -20,6 +20,9 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log$
* Revision 1.21 1998/10/18 20:13:44 luethje
* isdnlog: Added the switch -K
*
* Revision 1.20 1998/09/26 18:30:18 akool
* - 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 !!
@ -457,6 +460,7 @@
#define CONF_ENT_Q931 "Q931DUMP"
#define CONF_ENT_OUTFILE "OUTFILE"
#define CONF_ENT_KEYBOARD "KEYBOARD"
#define CONF_ENT_INTERNS0 "INTERNS0"
/****************************************************************************/

View File

@ -21,6 +21,29 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log$
* Revision 1.1 1998/09/26 18:30:24 akool
* - 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
*
*
*/
@ -36,7 +59,7 @@ char *Providername(int number)
case 15 : return("RSL COM");
case 18 : return("Debitel");
case 19 : return("MobilCom");
case 20 : return("Isis");
case 20 : return("ISIS");
case 22 : return("NetCologne");
case 23 : return("tesion ))");
case 24 : return("TelePassport");
@ -49,11 +72,11 @@ char *Providername(int number)
case 40 : return("Plusnet");
case 41 : return("HanseNet");
case 43 : return("KielNet");
case 44 : return("VEW TELNET");
case 44 : return("VEW Telnet");
case 46 : return("KomTel");
case 49 : return("ACC Telecom");
case 50 : return("Talkline");
case 55 : return("Esprit");
case 55 : return("Esprit Telecom");
case 57 : return("Mox");
case 63 : return("KDD-Conos");
case 66 : return("Interoute");
@ -61,6 +84,7 @@ char *Providername(int number)
case 72 : return("d2privat");
case 79 : return("Viatel");
case 85 : return("WESTCom");
case 87 : return("HamCom");
case 88 : return("WorldCom");
case 90 : return("VIAG Interkom");
case 98 : return("STAR Telecom");

View File

@ -7,11 +7,11 @@
EDEF=$(CFLAGS)
ifeq (../.config,$(wildcard ../.config))
include ../.config
MAN1DIROPT = MANDIR=$(DESTDIR)$(CONFIG_MANDIR)/man1
MAN3DIROPT = LIBMANDIR=$(DESTDIR)$(CONFIG_MANDIR)/man3
MAN5DIROPT = FILEMANDIR=$(DESTDIR)$(CONFIG_MANDIR)/man5
MAN1DIROPT = MANDIR=$(CONFIG_MANDIR)/man1
MAN3DIROPT = LIBMANDIR=$(CONFIG_MANDIR)/man3
MAN5DIROPT = FILEMANDIR=$(CONFIG_MANDIR)/man5
MANDIROPTS = $(MAN1DIROPT) $(MAN3DIROPT) $(MAN5DIROPT)
BINDIROPT = BINDIR=$(DESTDIR)$(CONFIG_BINDIR)
BINDIROPT = BINDIR=$(CONFIG_BINDIR)
endif
all: xisdnload

View File

@ -18,11 +18,11 @@ ifeq (../.config,$(wildcard ../.config))
ifneq ($(CONFIG_XMONISDN_DOWNCMD),"")
I4LU_DEFINES += -DNETDOWN_COMMAND=\\\"$(shell echo $(CONFIG_XMONISDN_DOWNCMD))\\\"
endif
MAN1DIROPT = MANDIR=$(DESTDIR)$(CONFIG_MANDIR)/man1
MAN3DIROPT = LIBMANDIR=$(DESTDIR)$(CONFIG_MANDIR)/man3
MAN5DIROPT = FILEMANDIR=$(DESTDIR)$(CONFIG_MANDIR)/man5
MAN1DIROPT = MANDIR=$(CONFIG_MANDIR)/man1
MAN3DIROPT = LIBMANDIR=$(CONFIG_MANDIR)/man3
MAN5DIROPT = FILEMANDIR=$(CONFIG_MANDIR)/man5
MANDIROPTS = $(MAN1DIROPT) $(MAN3DIROPT) $(MAN5DIROPT)
BINDIROPT = BINDIR=$(DESTDIR)$(CONFIG_BINDIR)
BINDIROPT = BINDIR=$(CONFIG_BINDIR)
endif
all: xmonisdn