Cdrtool problem after upgrading to 6.8.1

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Cdrtool problem after upgrading to 6.8.1

Joan-2-2
Hello, I had 6.7.3 until this morning in our testing machine, I just
upgraded cdrtool to the 6.8.1 version, and after cleaning all the
database and recreating the tables, there's on remaining thing left.
Every time i run the normalize script (normalize.php) i get this:

Warning: Missing argument 8 for CDRS::NormalizeNumber(), called in
/var/www/CDRTool/library/cdr_opensips.php on line 2440 and defined in
/var/www/CDRTool/library/cdr_generic.php on line 1067
 1 CDRs, 1 normalized in 0 s @ 0 cps
Normalize datasource opensips_radius, database DB_radius, table radacct200906

Tracing the function, I see that is the call is:
$this->aNumberPrint      = $NormalizedNumber['NumberPrint'];

And the 8th parameter is the resseller_id
function NormalizeNumber($Number,$type="destination",$subscriber="",$domain="",$gateway="",$CountryCode="",$ENUMtld="",$reseller_id)


I didn't change anything in my opensips.cfg neither in the global.inc,
did I miss something? I couldn't find neither a document with to
upgrading procedure.

Thanks for your help

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Cdrtool problem after upgrading to 6.8.1

Adrian Georgescu
Joan,

This is a harmless warning and not a real problem. To hide those  
warning message you must lower the verboseness of your PHP debug level.

Adrian

On Jul 2, 2009, at 5:48 PM, Joan wrote:

> Hello, I had 6.7.3 until this morning in our testing machine, I just
> upgraded cdrtool to the 6.8.1 version, and after cleaning all the
> database and recreating the tables, there's on remaining thing left.
> Every time i run the normalize script (normalize.php) i get this:
>
> Warning: Missing argument 8 for CDRS::NormalizeNumber(), called in
> /var/www/CDRTool/library/cdr_opensips.php on line 2440 and defined in
> /var/www/CDRTool/library/cdr_generic.php on line 1067
> 1 CDRs, 1 normalized in 0 s @ 0 cps
> Normalize datasource opensips_radius, database DB_radius, table  
> radacct200906
>
> Tracing the function, I see that is the call is:
> $this->aNumberPrint      = $NormalizedNumber['NumberPrint'];
>
> And the 8th parameter is the resseller_id
> function NormalizeNumber($Number,$type="destination",$subscriber="",
> $domain="",$gateway="",$CountryCode="",$ENUMtld="",$reseller_id)
>
>
> I didn't change anything in my opensips.cfg neither in the global.inc,
> did I miss something? I couldn't find neither a document with to
> upgrading procedure.
>
> Thanks for your help
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users