Hello, dear friends!
I have problem with gnugk accounting. My gnugk configured in routed mode.
When I tried to make a test call througth my gatekeeper. And I got in my cdr info, that session time was 31 seconds.
But it's impossible, because this call was without answer.
I start gnugk in debug mode and I so, that gnugk start call accounting after connect to gateway (but not after call answer).
How can I change it? Maybe something wrong in my configuration? Can someone help me? Thank You very much!
--
[Gatekeeper::Main] Fourtytwo=42 Name=telenetgk StatusPort=7000 StatusTraceLevel=2 UseBroadcastListener=0 UnicastRasPort=1719 MulticastPort=1718 EndpointSignalPort=1720 ListenQueueLength=1024
[LogFile] Rotate=monthly RotateDay=1 RotateTime=9:00
[FileAcct] DetailFile=/var/log/gk/cdr.log ;Temp StandardCDRFormat=0 CDRString=%g|%n|%d|%c|%s|%u|%{CallId}|%{ConfId}|%{setup-time}|%{connect-time}|%{disconnect-time}|%{caller-ip}|%{caller-port}|%{callee-ip}|%{callee-port}|%{src-info}|%{dest-info}|%{Calling-Station-Id}|%{Called-Station-Id}
[RoutedMode] GKRouted=1 H245Routed=1 CallSignalPort=1720 CallSignalHandlerNumber=2 RtpHandlerNumber=2 RemoveH245AddressOnTunneling=1 AcceptNeighborsCalls=0 AcceptUnregisteredCalls=1 SupportNATedEndpoints=1 DropCallsByReleaseComplete=1 RemoveCallOnDRQ=1 SendReleaseCompleteOnDRQ=1 ForwardOnFacility=1 ShowForwarderNumber=0 Q931PortRange=20000-20999 ConnectTimeout=60000 SetupTimeout=8000
[Proxy] Enable=0
[Endpoint]
[RasSrv::GWPrefixes] bg=090 gw1=81038,8044
[RasSrv::RRQFeatures] OverwriteEPOnSameAddress=1 AcceptEndpointIdentifier=1 AcceptGatewayPrefixes=0
[RasSrv::ARQFeatures] ArjReasonRouteCallToSCN=1 ArjReasonRouteCallToGatekeeper=1 CallUnregisteredEndpoints=1
[RoutingPolicy] default=internal,explicit,parent,neighbor
[RoutingPolicy::OnARQ] h323_ID=internal default=explicit,internal
[RoutingPolicy::OnFacility] default=internal
[RasSrv::RRQAuth] default=confirm
[GkStatus::Auth] rule=allow
[RasSrv::GWRewriteE164] gw1=out=99981038044=81038044 bg=out=000090=090
[RasSrv::RewriteE164] 000090=090
[RasSrv::LRQFeatures]
[RasSrv::PermanentEndpoints] XXX.XXX.XXX.XXX=bg;090 YYY.YYY.YYY.YYY=gw1;81038
[Gatekeeper::Auth] default=allow
[SQLAcct]
Driver=PostgreSQL
Username=pgsql
Password=none
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'
StopQueryAlt=INSERT INTO call (gkname, sessid, username, calling, called, duration) VALUES ('%g', '%s', '%u', '%{Calling-Station-Id}', '%{Called-Station-Id
}', %d)
[CallTable] GenerateNBCDR=1 GenerateUCCDR=1
[Gatekeeper::Acct] SQLAcct=optional;start,stop FileAcct=alternative;start,stop,on,off
[NATedEndpoints]
-------------------------------------------------------
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/