Jeff, i am having other trouble,<br><br>i install the freeradius, opensips, cdrtool, radiusclient-ng,<br><br>but i cant open the cdrtool from web <a href="http://localhost/CDRTool">http://localhost/CDRTool</a><br>it is showing this message:<br>
<br><div style="margin-left: 40px;">"CDRTool_Session",
"auth" => "CDRTool_Auth",
"perm" => "CDRTool_Perm")
);
$loginname=$auth->auth["uname"];
$title="Legal notice";
$db = new DB_CDRTool();
$query=sprintf("select * from settings
where billing_party = '%s'
and var_module= 'login'
and var_name = 'I_agree_with_license'",$loginname);
if ($db->query($query)) {
        if ($db->num_rows()) {
        $refreshURL='callsearch.phtml';
        $refreshTime=0;
}
}
        if (is_readable("/etc/cdrtool/local/header.phtml")) {
                include_once("/etc/cdrtool/local/header.phtml");
        } else {
                include_once("header.phtml");
        }
$layout = new pageLayoutLocal();
$layout->showHeader();
$layout->showLegalNotice();
$layout->showFooter();
page_close();
} else {
$Setup = new SETUP ();
$Setup->showIntro();
}
class SETUP {
function showIntro() {
print "
</div><h2 style="margin-left: 40px;">CDRTool setup</h2><div style="margin-left: 40px;">
CDRTool has not been setup on this machine yet.
</div><p style="margin-left: 40px;">
        You must first setup php, apache and to create the cdrtool database.
        Detailed installation instructions are available in <a href="http://10.1.1.30/CDRTool/doc/INSTALL.txt">doc/INSTALL.txt</a>
</p><p style="margin-left: 40px;">
Once the database is available, create the cdrtool configuration
file by copying the sample configuration file:
</p><p style="margin-left: 40px;">
cp setup/global.inc.simple.sample /etc/cdrtool/global.inc
</p><p style="margin-left: 40px;">
Then edit the configuration file global.inc to reflect your platform setup.
This is the content of the current sample configuration file:
";
print "</p><pre style="margin-left: 40px;">";<br> $fp=fopen("setup/global.inc.simple.sample",r);<br> while ($buffer = fgets($fp,1024)) {<br> if (!preg_match("/(<\?)|(\?>)/",$buffer)) {<br>
print "$buffer";<br> }<br> }<br> print "</pre><div style="margin-left: 40px;">";
}
}
print "
";
?>
<br><br></div><br>i altered and put the global.inc in /etc/cdrtool/<br>The /etc/init.d/cdrtool file, inside are a command to debian distribution (start-stop-daemon)<br><br><div style="margin-left: 40px;">start-stop-daemon --start --background --quiet --pidfile /var/run/ratingEngine.pid \<br>
--exec $DAEMON -- $DAEMON_OPTS<br></div><br><br>and in slackware this don't exist, i am executing this to run this file<br>php -f $DAEMON --DAEMON_OPTS<br>but i think this aren't working.<br><br>Other thing, i apply the patch for the freeradius (account type 15)<br>
but the log are showing:<br><br><div style="margin-left: 40px;">Tue Dec 23 15:22:26 2008 : Error: rlm_radutmp: NAS openSIPS port 5060 unknown packet type 15)<br><br></div><br>i am configuring the server based in the book Building Telephony System with OpenSER.<br>
<br>How you are going?!<br><br>