[Emerald] 2.5 Timeleft calculations

New Message Reply Date view Thread view Subject view Author view
Glen Harvy (glen@aquarius.com.au)
Sat, 21 Jun 2003 20:15:30 +1000



Message-Id: <5.1.0.14.0.20030621200843.00af1c70@mail.aquarius.com.au>
Date: Sat, 21 Jun 2003 20:15:30 +1000
From: Glen Harvy <glen@aquarius.com.au>
Subject: [Emerald] 2.5 Timeleft calculations

Hi,

Further to my previous email it appears that the users Timeleft is being reduced TWICE!

The user had 949 minutes left before the following transaction:

<accounting log snip>

     Event-Time (Unknown Type 3)

  SQL Statement: INSERT INTO Calls
(CallDate,AcctStatusType,AcctDelayTime,NASIdentifier,NASPort,NASPortType,ConnectInfo,AcctSessionID,Username,FramedAddress,AcctSessionTime,AcctOutputOctets,AcctInputOctets,AcctTerminateCause) VALUES (GetDate(),2,0,'203.58.25.120',106,0,'CONNECT 32000','57564','btivey','203.58.25.42',1743,476796,165721,1)

  SQL Statement: UPDATE SubAccounts Set TimeLeft=TimeLeft-30 Where TimeLeft IS NOT Null And Login='btivey'

Resp Time: 130 Auth: 66/0 -> 66 Acct: 128/0/0 -> 128

After the above transaction he only had 889 minutes left?

The log doesn't reveal any reasoning - can anyone help with this. I'm sure it's only started happening recently (at least I hope so).

Glen.
-------------------------------------------------------------------- AQUARIUS Communications for all your Internet needs voice(02)9977-3788 fax(02)9977-3844 http://www.aquarius.com.au mailto:sales@aquarius.com.au



New Message Reply Date view Thread view Subject view Author view
This archive was generated on Sat Jun 21 2003 - 02:53:01 Pacific Daylight Time