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 <[email protected]>
> Reply-To: OpenSIPS users mailling list <[email protected]>
> Date: Wed, 2 Mar 2011 03:52:24 -0500
> To: OpenSIPS users mailling list <[email protected]>
> 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
>> [email protected]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users