<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
You should add something like this at your ser.cfg:<br>
<br>
modparam("acc","radius_config","/etc/radiusclient-ng/radiusclient.conf")<br>
modparam("acc", "service_type", 15)<br>
modparam("acc", "radius_flag", 1)<br>
modparam("acc", "radius_missed_flag", 3)<br>
modparam("acc", "report_ack", 0)<br>
<br>
And after sanity checks block:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #---------------------------------------------<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #Checking for the Radius accounting messages<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #---------------------------------------------<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (method=="INVITE") {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log(1, "INVITE MESSAGE RECEIVED - START ACCOUNTING\n");<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; setflag(1);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (method=="BYE" || method=="CANCEL") {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log (1, "%method&nbsp; - STOP ACCOUNTING\n");<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; setflag(1);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; setflag(3);<br>
<br>
Regards<br>
<br>
Alberto Cruz<br>
<br>
Naresh Parmar wrote:<br>
<blockquote type="cite"
 cite="mid20050721152227.36875.qmail@web30802.mail.mud.yahoo.com">
  <div>folks,</div>
  <div>&nbsp;</div>
  <div>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 <font
 face="Courier New">/usr/local/var/log/radius/radacct</font>
directory...any clue...??</div>
  <p> </p>
  <hr size="1"> <a
 href="http://us.rd.yahoo.com/evt=34442/*http://www.yahoo.com/r/hs">Start
your day with Yahoo! - make it your home page </a>
  <pre wrap="">
<hr width="90%" size="4">
_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
  </pre>
</blockquote>
</body>
</html>