Accounting problem

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

 



Hello there.
Have a problem with accounting in gnugk. Cant get any accounting in CDR file, PostgreSQL and Radius.
Config listed below. Can anybody help me with this ?

[Gatekeeper::Acct]
FileAcct=required
SQLAcct=optional;start,stop

[SQLAcct]
Driver=PostgreSQL
Host=127.0.0.1:5432
Database=raduis
Username=radius
StartQuery=INSERT INTO call (gkname, sessid, username, calling, called) VALUES ('%g', '%s', '%u', '%{
Calling-Station-Id}', '%{Called-Station-Id}')
UpdateQuery=UPDATE call SET duration = %d WHERE gkname = '%g' AND sessid = '%s'
StopQuery=UPDATE call SET duration = %d, dtime = '%{disconnect-time}' WHERE gkname = '%g' AND sessid
= '%s'


[FileAcct]
DetailFile=/var/log/cdr.log
Rotate=hourly
RotateTime=00:00
StandardCDRFormat=1

[RadAcct]
Servers=127.0.0.1:1812:1813:FCS_secret_radius

--
Mark S. Nesterovich		[NMS99-RIPE]
mark@xxxxxxxxxxx



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

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

  Powered by Linux