<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Adrian,</div><div><br></div><div>I did as you said but it is still normalizing the data. The top of cdr_generic.php now looks like this:</div><div><br></div><div><div>class CDRS {</div><div><br></div><div> var $CDR_class = 'CDR';</div><div> var $intAccessCode = '00';</div><div> var $natAccessCode = '0';</div><div> var $maxrowsperpage = 15;</div><div> var $status = array();</div><div>// var $normalizedField = 'Normalized';</div><div> var $DestinationIdField = 'DestinationId';</div><div> var $BillingIdField = 'UserName';</div></div><div><br></div><div>And there is no mention of normalizedField in /etc/cdrtool/global.inc.</div><div><br></div><div><br></div><div>- Jeff</div><div><br></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Adrian Georgescu <<a href="mailto:ag@ag-projects.com">ag@ag-projects.com</a>><br><span style="font-weight:bold">Reply-To: </span> OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br><span style="font-weight:bold">Date: </span> Wed, 2 Mar 2011 03:52:24 -0500<br><span style="font-weight:bold">To: </span> OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [OpenSIPS-Users] CDRTool - disable or minimize normalization<br></div><div><br></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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.<div><div><br></div><div>Adrian</div><div><br></div><div>On Mar 1, 2011, at 11:25 PM, Jeff Pyle wrote:</div><div><div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hello,</div><div><br></div><div>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.</div><div><br></div><div>Or perhaps, if it must run, to minimize the impact it has?</div><div><br></div><div>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.</div><div><br></div><div>I've played with the E164 field in global.inc for the data source but it doesn't seem to have any effect.</div><div><br></div><div><br></div><div>- Jeff</div></div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></blockquote></div><br></div></div></div></div></span></body></html>