And what a strange numbers of lines in messages from gkacct.cxx? There are only 989 lines in current version of gkacct.cxx. What version of gnugk did you compile? Igor. On 12 Апрель 2005 07:45, kompnet wrote: > Do you really need all of 3 account modules "required"? > > > [Gatekeeper::Acct] > > SQLAcct=required;start;update;stop > > RadAcct=required;start;update;stop > > FileAcct=required;stop > > There are different possibilities: required, optional, sufficient, > alternative. > Look at the manual: > # required - if the module fails to log an event, the final status is set > to failure and the event is passed down to any remaining modules.... > > And what do you think what the final status for account will it be, if > there is empty StartQuery in the section? > > > [SQLAcct] > > Driver=MySql > > Host=localhost > > Database=billing > > Username=root > > Password=root > > MiniPoolSize=5 > > StartQuery > > StopQuery=INSERT INTO CDRS VALUES (null, NOW(),'%g', '%n', '%d', '%r', > > '%c', '%s', '%u', '%{CallId}', '%{ConfId}', '%{setup-time}', > > '%{connect-time}', '%{disconnect-time}', '%{caller-ip}', '%{callee-ip}', > > '%{Dialed-Number}', '%{Called-Station-Id}') TimeStampFormat=MySQL > > And you've recieved this: > > 19:48:58.859 2 sqlacct.cxx(238) GKACCT SQLAcct failed to store > > accounting data (event: 1, call: 1): SQL query is empty 2005/04/11 > > 19:48:58.859 3 gkacct.cxx(1010) GKACCT SQLAcct failed to log event > > 1 > > and this: > > 2005/04/11 19:48:58.859 3 gkacct.cxx(994) GKACCT RadAcct logged > > event 1 for call no. 1 > > 2005/04/11 19:48:58.859 2 gkacct.cxx(1034) GKACCT > > Failed to log event 1 for call no. 1 > > 2005/04/11 19:48:58.859 3 ProxyChannel.cxx(1052) GKACCT AcctStart event > > log failed for call no. 1 > > 2005/04/11 19:48:58.875 1 RasTbl.cxx(2441) CDR|1|6d 90 6c 53 af f2 > > 18 10 9b d4 00 a1 b0 08 33 68|0|unconnected|Mon, 11 Apr 2005 19:48:58 > > +0530|61.95.252.67:1720|8547_aqa1|209.250.147.120:1720|8546_aqa1|00151283 > >40 675:dialedDigits|jigar:h323_ID|JIGARS; > > Michal was quite right. > > Igor Prokhorov. > > > > ------------------------------------------------------- > 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________________ > > 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/ ------------------------------------------------------- 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://ads.osdn.com/?ad_ide95&alloc_id396&opМk _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id…49 Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/