radius accounting setup problems

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

radius accounting setup problems

Jeff Pyle
radius accounting setup problems Hello,

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.

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.

My Freeradius raddb/sites-available/default file has been minimized to an accounting section with “sql” and “detail” options.

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.)

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.


Users mailing list
[hidden email]