Hallo!
Am Sat, 27 Oct 2001 18:45:11 +0200 schrieb Karsten Keil
Schau Die mal die manpage isdnlog genauer an, das sind Gebuehren Infos (Charge Info = CI).
zum einen: LOG MODULE ... 0x20 Show charge int and telephone costs with every charge signal (in Germany, and perhaps other coun- tries, you have to pay to get these signals). ... d.h. wenn Du in /etc/isdn/isdnlog.isdnctrl0 bei syslog=XXX das Bit 5 gesetzt ist, werden chargeinfos angezeigt
Sitzt momentan auf "syslog=1015".
Der default ist 1013 = 0x3f5 = 0x200+0x100+0x80+0x40+0x20+0x10+0x4+0x1
Leider weis ich nicht, wie hexadezimal-Zahlen zustande kommen. Vielleicht kann mir das ja jemand auf die Schnelle beibringen.
zum zweiten kannst Du mit
-Ix:y ciinterval="value[:value]" Interval for printing of charge messages (0x20). The first value is the interval for the calculated CI, the second value for the EH (AOC-D) messages. If only one value is given, both intervals are set to this value.
das Intervall in dem die Infos ausgegeben werden einstellen.
Also gestartet wird isdnlog in /sbin/init.d/i4l_hardware mit # start isdnlog if test "$ISDNLOG_START" = "yes"; then for optionfile in /etc/isdn/isdnlog.*.options; do if test -f $optionfile; then device=${optionfile#*.} device=${device%.*} echo "Starting isdnlog with $optionfile for $device..." $SBIN/isdnlog -f $optionfile /dev/$device else .... Das heißt, der Parameter -f veranlaßt ja erstmal keine solch detalierte Ausgabe? Und da dann den Parameter -Ix:y ciinterval=0.025:60 in $SBIN/isdnlog -f $optionfile /dev/$device mitgeben, also: $SBIN/isdnlog -f -Ix:y ciinterval=0.025:60 $optionfile /dev/$device ? Sorry, aber mir ist die Syntax nicht so ganz klar. Ich probier´s mal so. Gruß -- Andreas Meyer http://home.wtal.de/MeineHomepage