Re: debug level in gnugk, StopQuery on exit

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

 



Do not use "-tttt"... instead use "debug trc 4" on the console CLI...

See http://www.gnugk.org/gnugk-manual-13.html#ss13.2 for more info...

Edson.

> -----Original Message-----
> From: openh323gk-users-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:openh323gk-
> users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Vladyslav Bakayev
> Sent: quinta-feira, 3 de agosto de 2006 06:48
> To: GNU Gatekeeper Users
> Subject:  debug level in gnugk, StopQuery on exit
> 
> Hello all,
> 
> I've faced the situation where I would like to have an increased
> logging. But for that, I have to restart the process with increased
> "-tttt", which sometimes is not really nice to do - calls getting
> disconnected, SQL accounting have to be confirmed not to have any open
> leftover calls.
> 
> Isn't there any way to change the debug level without restarting the
> process?
> 
> And another small question - when you restart your gnugk, and calls
> getting disconnected, wouldn't it be logical to issue [SQLAcct]
> StopQuery for every of those?
> 
> For a reference, accounting part of my gnugk.ini:
> 
> [Gatekeeper::Acct]
> SQLAcct=required;start,connect,stop
> default=fail;
> 
> [SQLAcct]
> Driver=MySQL
> Host=localhost:3306
> Database=voip
> Username=voip
> Password=****
> TimestampFormat=MySQL
> MinPoolSize=2
> StartQuery=INSERT INTO t
> (status,start,sessid,duration,called,caller_ip,callee_ip,disc_cause)
> VALUES (1,UNIX_TIMESTAMP(),'%s',0,%{Called-Station-
> Id},INET_ATON('%{caller-ip}'),INET_ATON('%{callee-ip}'),0)
> UpdateQuery=UPDATE t SET start=UNIX_TIMESTAMP() WHERE sessid='%s'
> StopQuery=UPDATE t SET
> status=2,duration=%d,disc_cause=%c,disc_party=%r WHERE sessid='%s'
> 
> --
>  SY, Vlad.
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________________
> 
> 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/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________________

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