<HTML>
<HEAD>
<TITLE>Re: [OpenSIPS-Users] radius SQL accounting of failed calls</TITLE>
</HEAD>
<BODY>
<FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'>Adrian,<BR>
<BR>
I modified /usr/local/etc/raddb/dictionary to include “dictionary.modified” instead of the standard “dictionary” file from /usr/local/share/freeradius. It also includes /usr/local/etc/opensips/dictionary.ser, from CDRTool.<BR>
<BR>
In dictionary.modified (based on /usr/local/share/freeradius/dictionary), I commented out many of the includes: rfc2869 and all the vendor-specific ones except dictionary.freeradius. I had to leave dictionary.freeradius.internal as well. I left all the individual values and attributes at the bottom intact (not commented out).<BR>
<BR>
In radiusclient-ng’s dictionary file, I had to comment out the following:<BR>
<BR>
</SPAN></FONT><SPAN STYLE='font-size:10pt'><FONT FACE="Lucida Console">#ATTRIBUTE Huntgroup-Name 221 string<BR>
#ATTRIBUTE Fall-Through 1036 integer<BR>
#ATTRIBUTE Exec-Program 1038 string<BR>
#ATTRIBUTE Exec-Program-Wait 1039 string<BR>
</FONT><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><BR>
At the top of /usr/local/etc/opensips/dictionary.ser, I followed the CDRTool instuctions and included /usr/local/etc/radiusclient-ng/dictionary.<BR>
<BR>
I think that’s everything.<BR>
<BR>
<BR>
- Jeff<BR>
<BR>
<BR>
<BR>
On 12/15/08 9:30 AM, "Adrian Georgescu" <<a href="ag@ag-projects.com">ag@ag-projects.com</a>> wrote:<BR>
<BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:10pt'><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><BR>
On Dec 15, 2008, at 3:25 PM, Jeff Pyle wrote:<BR>
<BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:10pt'><FONT FACE="Tahoma, Verdana, Helvetica, Arial"> Ram,<BR>
<BR>
Be sure to include the list in your reply, not only to me directly.<BR>
<BR>
I’m working towards the same goal you are, on CentOS 5.2 i386. I installed MySQL from RPMs, then unpacked cdrtool_6.6.10.tar.gz into /var/www per the instructions. I unpacked freeradius-server-2.1.3.tar.gz into a working area (such as /usr/local/src). I applied the /var/www/CDRTool/contrib/freeradius-brandinger/freeradius_20080103.patch to the freeradius source directory to allow the mysterious type-15 “failed” messages to me SQL-accounted. I complied freeradius and installed it.<BR>
<BR>
I downloaded unpacked radiusclient-ng-0.5.6.tar.gz, compiled and installed it.<BR>
<BR>
At this point for me the trick was to get the conflicting radius dictionary attributes settled. There were some conflicts from the freeradius-server includes, the radiusclient-ng dictionary and the dictionary.ser included with CDRTool. I<BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:10pt'><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><BR>
What are the conflicts, can you specify more details?<BR>
<BR>
Adrian<BR>
<BR>
<BR>
</FONT></SPAN></BLOCKQUOTE>
</BODY>
</HTML>