[Serusers] how to use accounting with ser_radius

Kamran Ahmad p_kami at yahoo.com
Mon Mar 28 09:09:19 CEST 2005


hello Bruno Lopes F. Cabral

where are those logs. 
i have followed this doc
http://www.iptel.org/ser/doc/ser_radius/ser_radius.html
how to setflag
are you talking about

"4.2. Accounting Configuration
 To enable RADIUS accounting simply use
radius_log_flag and radius_log_missed_flag parameters
instead of log_flag  and log_missed_flag. Mark
transactions that should be logged with flags
configured in the parameters."

from this document
i cant find radius_log_flag in SER
ser-0.8.14/modules/acc/Makefile

i have changed ser-0.8.14/modules/acc/Makefile and
recompile this SER but still not getting any response
at RADIUS side

----------------------------------------------
#ser-0.8.14/modules/acc/Makefile
include ../../Makefile.defs
auto_gen=
NAME=acc.so
LIBS=

# uncomment the next line if you wish to enable SQL
accounting
#DEFS+=-DSQL_ACC

# uncomment the next two lines if you wish to enable
RADIUS accounting
DEFS+=-DRAD_ACC -I$(LOCALBASE)/include
LIBS=-L$(LOCALBASE)/lib -lradiusclient

include ../../Makefile.modules
----------------------------------------------------




>These logs you'll have to look onto RADIUS server,
>not SER config. you'll need to check if you
setflag'ed
>correctly SER so it would actually generate the
RADIUS
>start and stop records
>
>Kamran Ahmad wrote:
>> i have done this
>>
>http://www.iptel.org/ser/doc/ser_radius/ser_radius.html.
>> one thing i cant find any log under
>> /usr/local/var/log/radius/radacct
>> or
>> /var/log/radius/radacct
>> i dont know how to invoke accounting


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 




More information about the sr-users mailing list