[OpenSIPS-Users] Opensips + FreeRadius + CDRTool + Slackware

Gustavo B. Schenkel gustavo.schenkel at gmail.com
Tue Dec 23 20:31:57 CET 2008


Jeff, i am having other trouble,

i install the freeradius, opensips, cdrtool, radiusclient-ng,

but i cant open the cdrtool from web http://localhost/CDRTool
it is showing this message:

"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 "
CDRTool setup CDRTool has not been setup on this machine yet.

You must first setup php, apache and to create the cdrtool database.
Detailed installation instructions are available in
doc/INSTALL.txt<http://10.1.1.30/CDRTool/doc/INSTALL.txt>

Once the database is available, create the cdrtool configuration file by
copying the sample configuration file:

cp setup/global.inc.simple.sample /etc/cdrtool/global.inc

Then edit the configuration file global.inc to reflect your platform setup.
This is the content of the current sample configuration file: "; print "

";
        $fp=fopen("setup/global.inc.simple.sample",r);
        while ($buffer = fgets($fp,1024)) {
            if (!preg_match("/(<\?)|(\?>)/",$buffer)) {
                print "$buffer";
            }
        }
        print "

"; } } print " "; ?>


i altered and put the global.inc in /etc/cdrtool/
The /etc/init.d/cdrtool file, inside are a command to debian distribution
(start-stop-daemon)

start-stop-daemon --start --background --quiet --pidfile
/var/run/ratingEngine.pid \
                --exec $DAEMON -- $DAEMON_OPTS


and in slackware this don't exist, i am executing this to run this file
php -f $DAEMON --DAEMON_OPTS
but i think this aren't working.

Other thing, i apply the patch for the freeradius (account type 15)
but the log are showing:

Tue Dec 23 15:22:26 2008 : Error: rlm_radutmp: NAS openSIPS port 5060
unknown packet type 15)


i am configuring the server based in the book Building Telephony System with
OpenSER.

How you are going?!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081223/f7f65f90/attachment.htm 


More information about the Users mailing list