(RADIATOR) Conditional AcctSQLStatement

Robert G. Fisher rfisher at mail.neocom.net
Sun Jun 30 13:44:38 CDT 2002


    I'm using AcctSQLStatement to update the TIMELEFT
field in my customer's record.  However, I'm running
into a problem with it deleting more time than I'd 
like due to the fact that this is occuring on all 
Accounting packets -- where Acct-Status-Type = 1 was
never a concern for me since Acct-Session-Time will
be 0 in these cases; however, I also seem to be 
getting a lot of packets that have Acct-Status-Type
of 3.
    I know how to do conditionals in the SQL statement;
however, I do not know how I would utilize the value 
from %{Acct-Status-Type} inside a condition, or even
what Acct-Status-Type = 3 is.

-- 
Robert G. Fisher                  Sitestar.net, Inc. 
System Engineer                   (276) 666-9533 x 116
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list