Re: file accounting woes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Both alternative and sufficient rules stop accounting
processing (on success), so I would suggest rather
something like this:

[Gatekeeper:Acct]
FileAcct=required;stop
RadAcct=sufficient;start,stop
default=accept

Otherwise, logging is stopped just after successful RadAcct
update. Check also directory/file permissions. Your log contains
very little details, so it's hard to say what's going on exactly.

----- Original Message ----- From: "Teodor Georgiev" <t.georgiev@xxxxxxxxx>
Sent: Tuesday, December 14, 2004 4:07 PM



I am not able to write any CDR data via file accounting both with
GnuGK 2.2.1 and 2.0.9.
I see in the trace:
"2004/12/14 08:13:26.638 2 RasTbl.cxx(2260)
CallTable::Insert(CALL) Call No. 6, total sessions : 1
2004/12/14 08:13:26.638 2 gkacct.cxx(1034) GKACCT Successfully
logged event 1 for call no. 6



2004/12/14 08:57:39.976 1 RasTbl.cxx(2441) CDR|10|00 ae 43 be
da 6b a1 1d 01 00 00 00 0a 18 09 a2|180|Tue, 14
Dec 2004 08:54:39 +0200|Tue, 14 Dec 2004 08:57:39 +0200|x10.24x.8x.2x:1720| |
x10.1x.x8x.x5:1720|5624_endp|009639345512:dialedDigits|test:h323_ID|GK;


2004/12/14 08:57:39.976 2 gkacct.cxx(1034) GKACCT Successfully
logged event 2 for call no. 10
"


[Gatekeeper:Acct]
RadAcct=alternative;start,stop
FileAcct=sufficient;stop
default=accept

[FileAcct]
DetailFile=/var/log/gk/cdr.log
StandardCDRFormat=1
Rotate=daily
RotateTime=23:50

Tried with different configs, but the same result.
Any light on the subject? :)



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/


_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux