207 lines
4.9 KiB
Plaintext
207 lines
4.9 KiB
Plaintext
NEWS betreffend tools, (rate, isdnrate)
|
||
|
||
1999.10.21
|
||
Destination DB runs with isdnrate / isdnlog
|
||
Removed a lot of country-specific stuff in various files
|
||
|
||
all
|
||
new entries in isdn.conf section
|
||
[ISDNLOG]
|
||
DESTFILE=/usr/lib/isdn/dest.gdbm
|
||
VBN=Providerselection-Prefix (DE 010, AT 10, NL 16:17)
|
||
VBNLEN=Number of digits following VBN (DE 2:3, AT 2, NL 1 ??, FR 1)
|
||
PRESELECTED=provider# (DE 33, AT 1, NL 999)
|
||
s. isdnlog/samples or isdnlog/README
|
||
|
||
isdnrep.c
|
||
shows now zone names from rate-CC.dat
|
||
|
||
isdnrate.c
|
||
new option -N
|
||
show info about number parsing
|
||
e.g. isdnrate -N 1234 01234 001234 Dubai
|
||
|
||
1999.10.08
|
||
started with tools/dest
|
||
|
||
1999.09.15
|
||
isdnrate.c
|
||
neue Varianten
|
||
-X51 Inlandszonen
|
||
-X50 Auslandszonen
|
||
|
||
1999.09.07
|
||
rate-CC.dat: Syntaxerweiterung im C:Tag
|
||
|
||
C:TarifChanged:dd.mm.yyyy
|
||
(Datum der letzten Tarifwartung)
|
||
|
||
1999.09.05
|
||
|
||
telrate.cgi:
|
||
uses now gd 1.6.3, GD 1.21 with PNG instead of GIF
|
||
(smaller, no licence troubles)
|
||
|
||
requires
|
||
gd 1.6.3 which
|
||
requires
|
||
libz, libpng
|
||
(e.g. ln -s /usr/X11R6/lib/libz.so /usr/lib/libz.so
|
||
ln -s /usr/X11R6/lib/libpng.so /usr/lib/libpng.so
|
||
ln -s /usr/X11R6/include/png.h /usr/local/include/png.h
|
||
ln -s /usr/X11R6/include/pngconf.h /usr/local/include/pngconf.h
|
||
)
|
||
or from GD README
|
||
Make sure you have downloaded and installed the following packages:
|
||
|
||
a. Perl 5.004 or higher:
|
||
http://www.perl.com/
|
||
b. The gd graphics library, version 1.6.3 or higher:
|
||
http://www.boutell.com/gd/
|
||
c. The PNG graphics library:
|
||
http://www.cdrom.com/pub/png/
|
||
d. The zlib compression library:
|
||
http://www.cdrom.com/pub/infozip/zlib/
|
||
|
||
dann noch ein kleiner Patch in GD.c, weiss der Geier warum
|
||
|
||
--- GD.c Sat Sep 4 19:06:37 1999
|
||
+++ GD.c.leo Sat Sep 4 19:01:46 1999
|
||
@@ -1974,7 +1974,8 @@
|
||
#ifdef __cplusplus
|
||
extern "C"
|
||
#endif
|
||
-XS(boot__CAPI_entry)
|
||
+/* XS(boot__CAPI_entry) */
|
||
+XS(boot_GD)
|
||
{
|
||
dXSARGS;
|
||
char* file = __FILE__;
|
||
@@ -2039,7 +2040,7 @@
|
||
XSRETURN_YES;
|
||
}
|
||
|
||
-
|
||
+#if 0
|
||
#define XSCAPI(name) void name(CV* cv, void* pPerl)
|
||
|
||
#ifdef __cplusplus
|
||
@@ -2051,3 +2052,4 @@
|
||
boot__CAPI_entry(cv);
|
||
}
|
||
|
||
+#endif
|
||
|
||
|
||
1999.09.04
|
||
|
||
isdnrate.c:
|
||
-p, -x take now an additional argument 'B'
|
||
-pB ... show only business providers
|
||
-xB ... don't show
|
||
|
||
The provider is considered as a business-provider if the
|
||
C:GT:-Tag contains the string "Business" (uppercase)
|
||
|
||
|
||
1999.09.03
|
||
|
||
holiday.c: holiday-CC.dat
|
||
...
|
||
W:H Feiertag
|
||
W:* Immer # APPEND THIS
|
||
|
||
Hat ein Provider jeden Tag den gleichen Tarif (T:*/...) wird nun statt
|
||
dem Wochentag 'Immer' ausgegeben. Damit ist eine klarere Unterscheidung
|
||
zu Providern mit tagesabhaengigen Tarifen gegeben.
|
||
|
||
|
||
1999.09.01
|
||
|
||
Neues Feld in struct RATE
|
||
double Sales; (Mindestgespr<70>chsgeb<65>hr)
|
||
|
||
rate-CC.dat: Syntaxerweiterung im T:Tag
|
||
|
||
T:*.*=0.30|2.20(60)/1
|
||
Mindestens 0.30, sonst 2.20 per Minute
|
||
|
||
aber:
|
||
|
||
T:*.*=0.30/0,2.20(60/1
|
||
0.30 + 2.20/Min (0.30 = Herstellungsgeb<65>hr)
|
||
|
||
rate-CC.dat: Syntaxerweiterung im C:Tag
|
||
|
||
gleichlautende C:Tags werden per '\n' appended
|
||
|
||
telnum.c:
|
||
Dirty hack fuer +1, +7 (s. _getCountry...)
|
||
|
||
isdnrate.c:
|
||
Neue Option -S[v|n] (sort VBN oder Name statt Preis)
|
||
|
||
z.B.
|
||
isdnrate -C -Sv -XHomepage
|
||
(sortierte Proiderliste mit Homepage)
|
||
|
||
|
||
|
||
1999.08.24
|
||
|
||
rate-CC.dat: Syntaxerweiterung im C:Tag
|
||
|
||
folgende C:-Tags sind dzt. in Verwendung:
|
||
|
||
C:Name:Provider-Firmenbezeichnung
|
||
C:Address:Provider-Adresse
|
||
C:Homepage:http://www.provider.CC
|
||
C:TarifURL:http://www.provider.CC/tarife/
|
||
C:EMail:info@povider.CC
|
||
C:Telefon:0800 123 123
|
||
C:Telefax:0800 123 123
|
||
C:Hotline:0800 123 123
|
||
C:Maintainer:lt@toetsch.at
|
||
C:Special:Nur Businesskunden
|
||
C:Zone:Fernzone ab 100 Km
|
||
C:GT:Geb<65>hentext z.B. 200 Mindestumsatz
|
||
C:GF:Formeln f. Geb<65>hren
|
||
(Diese Formeln werden von telrate.cgi - Gespr<70>chsmix ausgewertet)
|
||
z.B.
|
||
C:GT:99 Mindestumsatz (per Monat)
|
||
C:GF:Cost = Ch > 99 ? 0 : 99
|
||
|
||
C:GT:Businesskunden ab 5000 Umsatz
|
||
C:GF:Ch >= 5000 ? 1 : -1
|
||
|
||
C:GT:Freischaltgeb<65>hr einmalig 480
|
||
C:GF:Cost = 480/12
|
||
|
||
Vom telrate.cgi sind dzt. die Variablen
|
||
'Ch' ... Kosten pro Mix
|
||
'MaxCh' ... Teuerste Spalte im Mix
|
||
'Cost' ... Angefallenen Kosten
|
||
definiert.
|
||
|
||
Ist der R<>ckgabewert (i.e. die letzte Expression) -1, wird der
|
||
Provider verworfen (z.B. Mindestumsatz nicht erreicht).
|
||
|
||
|
||
isdnrate:
|
||
|
||
isdnrate -D2
|
||
begibt sich nach dem Starten in den Hintergund
|
||
isdnrate -CX9 Argentinien
|
||
verbindet ich mit dem oben gestarteten Daemon und wirft die
|
||
Tarifliste aus.
|
||
isdnrate -CD3
|
||
killed den Daemon wieder
|
||
|
||
|
||
1999.08.24
|
||
|
||
Neues Feld in struct RATE
|
||
double Rhythm[2]; (Takt z.B. 60,1)
|
||
|
||
-lt-
|