[OpenSIPS-Users] CDRTool - disable or minimize normalization

Adrian Georgescu ag at ag-projects.com
Tue Mar 8 09:40:57 CET 2011


Actually I found it, there is an undocumented variable skipNormalize:

Set skipNormalize to 1 or true in your data source to disable the normalization process.

Adrian

On Mar 8, 2011, at 3:32 AM, Jeff Pyle wrote:

> Adrian,
> 
> I did as you said but it is still normalizing the data.  The top of cdr_generic.php now looks like this:
> 
> class CDRS {
> 
>     var $CDR_class           = 'CDR';
>     var $intAccessCode       = '00';
>     var $natAccessCode       = '0';
>     var $maxrowsperpage      = 15;
>     var $status              = array();
> //    var $normalizedField     = 'Normalized';
>     var $DestinationIdField  = 'DestinationId';
>     var $BillingIdField      = 'UserName';
> 
> And there is no mention of normalizedField in /etc/cdrtool/global.inc.
> 
> 
> - Jeff
> 
> 
> From: Adrian Georgescu <ag at ag-projects.com>
> Reply-To: OpenSIPS users mailling list <users at lists.opensips.org>
> Date: Wed, 2 Mar 2011 03:52:24 -0500
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Subject: Re: [OpenSIPS-Users] CDRTool - disable or minimize normalization
> 
> You may comment out any definition of $normalizedField variable in cdr_generic.php and global.inc, without it the normalization process will not save anything in the database.
> 
> Adrian
> 
> On Mar 1, 2011, at 11:25 PM, Jeff Pyle wrote:
> 
>> Hello,
>> 
>> Is there a simple way to disable normalization in CDRTool?  We use it only to view the CDRs, not do any billing or rating.  And the Normalization process is doing some strange things to some of the fields.
>> 
>> Or perhaps, if it must run, to minimize the impact it has?
>> 
>> Specifically, it is mangling international numbers, then reporting "No destination for number xxxxxxxx".  It changes some other fields that don't necessarily need to be changed, but less harmful.
>> 
>> I've played with the E164 field in global.inc for the data source but it doesn't seem to have any effect.
>> 
>> 
>> - Jeff
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110308/5ac1f6d1/attachment.htm>


More information about the Users mailing list