<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:tahoma,new york,times,serif;font-size:10pt"><div><br></div><div style="font-family: tahoma,new york,times,serif; font-size: 10pt;">hello, I change the values inside the section db_class, but it follows me showing the error <br><br><br><pre>class DB_radius extends DB_Sql {<br> var $Host = "localhost";<br> var $Database = "radius";<br> var $User = "radius";<br> var $Password = "mypassword";<br> var $Halt_On_Error ="no";<br>}<br><br>class DB_radius2 extends DB_Sql {<br> var $Host = "localhost";<br> var $Database = "radius";<br> var $User = "radius";<br> var $Password = "mypassword";<br> var $Halt_On_Error ="no";<br>}<br><br>"ser_radius"=>array(<br> "name" => "OpenSER",<br> "class" => "CDRS_ser_radius",<br> "table" =>
"radacct",<br># "table" => "radacct".date("Ym"),<br># "db_class" => array("DB_radius2","DB_radius"), <br> "db_class" => "DB_radius", <br> "rating" => "1",<br> "normalizedField" => "Normalized",<br> "UserQuotaClass" => "OpenSERQuota",<br> "AccountsDBClass" => "DB_openser",<br> "UserQuotaNotify" => "1",<br> "purgeCDRsAfter" => 120, // how many days to keep the CDRs<br> "SIPProxies" => array("10.0.0.1" => "node01", // friendly names in sip trace table<br> "10.0.0.2" => "node02",<br> ),<br> "db_class_siponline" => "DB_openser",<br>
"mediaDispatcher" => "10.0.0.1" // where to get the active media sessions from MediaProxy 2.0<br></pre><br>I am using the version of freeradius 1.1.3 and cdrtool 6.6.10 <br><br>greetingss<br><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;"></span></b> </font><font size="2" face="Tahoma">Sunday, November 9, 2008 4:45:43 PM </font><font size="2" face="Tahoma">Tiago Rés Wrote:<br><b><span style="font-weight: bold;"></span></b></font>Hello,<br>I had the same error. The problem is in the section db_class in global.inc.. The default config file has in that section an array with radius1 and radius2. You have to configure it properly.<br><br>That problem didn't occur more, but now When I try to read the tables it always checks cdrtool.radacct instead of radius.radacct.<br>
I don't know why it happens but I think someone else had that problem.<br>Hope I helped.<br><br><br>
</div></div></div><br>
</body></html>