<HTML>
<HEAD>
<TITLE>radius accounting setup problems</TITLE>
</HEAD>
<BODY>
<FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'>Hello,<BR>
<BR>
I’m attempting to convert from mysql DB accounting to radius accounting to give CDRtool a try. I installed Freeradius and radiusclient-ng from source onto CentOS 5.2.<BR>
<BR>
The INSTALL.txt file says to uncomment the radiusclient-ng/dictionary include from OpenSIPS’ dictionary.ser. By doing that I caused many, many attribute conflicts within Freeradius. I resolved this by commenting out some includes from Freeradius’ main /usr/local/share/freeradius/dictionary file, and many individual attributes in Freeradius’ vendor/rfc/internal files and some from radiusclient-ng’s dictionary file. I probably broke more than I fixed.<BR>
<BR>
My Freeradius raddb/sites-available/default file has been minimized to an accounting section with “sql” and “detail” options.<BR>
<BR>
None of the documentation I was able to find for acc + radius configuration mentioned anything about radius attribute conflicts when integrating radiusclient-ng. Clearly I’ve made a major error early on. Versions are Freeradius 2.1.3, radiusclient-ng 0.5.6, current OpenSIPS 1.4 SVN. Does anyone have any suggestions on how to do this right? (I have to use Freeradius from source because I’m not using the CentOS MySQL RPMs, and the library file versions don’t match up.)<BR>
<BR>
As calls happen I am getting new rows in the radacct DB table (configured according to CDRTool’s INSTALL.txt). Much of the data is missing, but I don’t have some of the radius_extra AVPs configured yet. But, some of the AVPs that I do have configured aren’t showing any values either. Before I go diagnosing those, I think a complete reinstall with a new approach may be in order.<BR>
<BR>
Thanks,<BR>
Jeff</SPAN></FONT>
</BODY>
</HTML>