diff --git a/scripts/generateMrtgConfig.php b/scripts/generateMrtgConfig.php index 475e1cf..dec5fb6 100644 --- a/scripts/generateMrtgConfig.php +++ b/scripts/generateMrtgConfig.php @@ -1,9 +1,9 @@ #!/usr/bin/php -generateMrtgConfigFile(); ?> diff --git a/scripts/generateMrtgData.php b/scripts/generateMrtgData.php index e50d4ee..5eb8621 100644 --- a/scripts/generateMrtgData.php +++ b/scripts/generateMrtgData.php @@ -1,14 +1,14 @@ #!/usr/bin/php -generateMrtgData($argv[1],$argv[2]); +$SIPstatistics = new SIPstatistics(); +$SIPstatistics->generateMrtgData($argv[1], $argv[2]); ?> diff --git a/scripts/importRatingTables.php b/scripts/importRatingTables.php index 089044c..55f0c27 100644 --- a/scripts/importRatingTables.php +++ b/scripts/importRatingTables.php @@ -1,35 +1,34 @@ #!/usr/bin/php -ImportCSVFiles(); if ($RatingTables->mustReload) { - if (!reloadRatingEngineTables()) { - print "Error: cannot connect to network rating engine\n"; + print "Error: cannot connect to network rating engine\n"; } } ?> diff --git a/scripts/keepaliveRatingEngine.php b/scripts/keepaliveRatingEngine.php index da973dd..b4ff3fd 100644 --- a/scripts/keepaliveRatingEngine.php +++ b/scripts/keepaliveRatingEngine.php @@ -1,7 +1,7 @@ #!/usr/bin/php - diff --git a/scripts/testRatingTables.php b/scripts/testRatingTables.php index 91e2275..3336992 100644 --- a/scripts/testRatingTables.php +++ b/scripts/testRatingTables.php @@ -1,7 +1,7 @@ #!/usr/bin/php -