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
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
hi, tried this configuration as well...still cannot see anything in the /usr/local/var/log/radius/radacct directory.......is there something else tht might be missing??
Alberto Cruz acruz@tekbrain.com wrote: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
--------------------------------- _______________________________________________Serusers mailing listserusers@lists.iptel.orghttp://lists.iptel.org/mailman/listinfo/serusers
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com