View previous topic :: View next topic |
Author |
Message |
kutte128 Apprentice
Joined: 18 May 2004 Posts: 173
|
Posted: Mon Aug 22, 2005 12:48 pm Post subject: hilfe zu isdnlog / isdnrep |
|
|
hi,
kann mir jemand einen tipp geben wie ich isdnlog und isdnrep zum laufen griege ?
isdn an sich läuft problemlos, die isdnlog.options.contr0
existiert und ist konfiguriert, und isdnlog.contr0 ist im runlevel.
gelogt wird zwar allerdings nur der start und stop von isdnlog.
wie bekomme ich wieder die verbindungen gelogt damit ich mit isdnrep meine onlinezeit überprüfen kann ?
mfg
kute128 |
|
Back to top |
|
|
kutte128 Apprentice
Joined: 18 May 2004 Posts: 173
|
Posted: Wed Aug 24, 2005 1:53 pm Post subject: |
|
|
hier mal der code aus der isdn.conf
Code: |
[ISDNLOG]
LOGFILE = /var/lib/isdn/calls
ILABEL = %b %e %T %ICall to tei %t from %N2 on %n2
OLABEL = %b %e %T %Itei %t calling %N2 with %n2
REPFMTWWW = "%X %D %17.17H %T %-17.17F %-20.20l SI: %S %9u %U %I %O"
REPFMTSHORT = "%X%D %8.8H %T %-14.14F%U%I %O"
REPFMT = " %X %D %15.15H %T %-15.15F %7u %U %I %O"
CHARGEMAX = 50.00
CURRENCY = 0.062,EUR
|
isdnlog sollte daher doch nach /var/lib/isdn/calls loggen.
da loggt er aber überhaupt nichts mehr seit der isdn4linux umstellung.
hier die isdnlog.options.contr0:
Code: |
[options]
log=1 # log d-channel messages. value may be 0-15 (bit coded flags)
daemon=yes # "yes"/"no": (dont) start isdnlog as daemon. Set yes for Debian
stdout=0x3f7 # log to stdout and file, and set log level
# if you remove "outfile" option, also remove "stdout" option!
outfile=+/var/log/isdn/isdnlog # logfile to log to ('+' is append mode)
console=/dev/null # where to send stdout text; e.g. /dev/tty12
monitor=yes # enable support for imon and imontty (monitor progs)
syslog=0x1bf7 # log to syslog with log level X
thruput=60 # if you log thruput : one message every X seconds
time=2 # 1=get time from isdn one, 2=everytime
#hangup=5:3 # enable chargehup with 5 / 3 seconds security gap
start=no # enable program start on events
ciInterval=59 # show the cost etc. every 60s
|
wo kann denn das problem liegen ? |
|
Back to top |
|
|
kutte128 Apprentice
Joined: 18 May 2004 Posts: 173
|
Posted: Mon Sep 05, 2005 1:20 pm Post subject: |
|
|
hi,
gibt es noch irgendjemand der isdn mit isdnrep nutzt ?
habe jetzt durch aufruf von
Code: |
isdnlog -f/etc/isdn/isdnlog /dev/isdnctrl0
|
isdnlog dazu gebracht das er dieses loggt:
Code: |
+ Sep 05 15:15:21 -----------------------------------------
| HiSax#0 : outgoing IP interface XXXXXX
| HiSax#1 : free
|
was muss für stdout angeben werden damit ich wieder daten bekomme die ich mit isdnrep auswerten kann ?
danke für jede hilfe |
|
Back to top |
|
|
|