Hello, Look for the following line in src/modules/rlm_sql/conf.h and comment it out, then recomplie freeradius.
#define CISCO_ACCOUNTING_HACK It sounds like you would prefer to keep data in STOP packets with zero session length. At 05:23 PM 2/7/2002 -0500, you wrote: >Can someone help? >This is what I got from the debug mode: > >modcall: entering group accounting >rlm_sql: Reserving sql socket id: 4 >radius_xlat: 'rlm_sql: Stop packet with zero session length. (user >'8111233409', nas '219.200.106.135')' >rlm_sql: Stop packet with zero session length. (user '8111233409', nas >'219.200.106.135') >rlm_sql: Released sql socket id: 4 > modcall[accounting]: module "sql" returns fail >modcall: group accounting returns fail > > > > > >-----Original Message----- >From: J.E. Wu [mailto:[EMAIL PROTECTED]] >Sent: Thursday, February 07, 2002 3:38 PM >To: '[EMAIL PROTECTED]' >Subject: accounting stop query > > >I have accounting_stop_query set up to capture the on-line duration for each >user, thus deduct dollar amount according to the corresponding rates, the >problem is, when the user uses up the time and was disconnected forcefully, >the accounting_stop_query is not doing anything, even it receives the >accounting stop packets. Any thought? > >Thanks, > >J.E. > > >- >List info/subscribe/unsubscribe? See >http://www.freeradius.org/list/users.html > >- >List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html Randy Moore Axion Information Technologies, Inc. email [EMAIL PROTECTED] phone 301-408-1200 fax 301-445-3947 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html