You should add something like this at your ser.cfg:
modparam("acc","radius_config","/etc/radiusclient-ng/radiusclient.conf")
modparam("acc", "service_type", 15)
modparam("acc", "radius_flag", 1)
modparam("acc", "radius_missed_flag", 3)
modparam("acc", "report_ack", 0)
And after sanity checks block:
#---------------------------------------------
#Checking for the Radius accounting messages
#---------------------------------------------
if (method=="INVITE") {
log(1, "INVITE MESSAGE RECEIVED - START ACCOUNTING\n");
setflag(1);
};
if (method=="BYE" || method=="CANCEL") {
log (1, "%method - STOP ACCOUNTING\n");
setflag(1);
};
setflag(3);
Regards
Alberto Cruz
Naresh Parmar wrote:
folks,
i m using free radius server with SER. just trying to figure out how
can i make the accounting work...have done everything in the
Radius-Howto but still am not seeing anything in the
/usr/local/var/log/radius/radacct directory...any clue...??
------------------------------------------------------------------------
Start your day with Yahoo! - make it your home page
<http://us.rd.yahoo.com/evt=34442/*http://www.yahoo.com/r/hs>
------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers