<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt"><p>Asterisk Version 1.6.1.14</p>
<p>I have been doing some more testing on CDR's and have a more refined handle on the issues that I am having</p>
<p>I am having three issues that I have been able to isolate. <br />
<br />
<br />
Issue 1: ForkCDR/ custom values</p>
<p>When using ForkCDR(v) the cdr forks fine. Then I update the values on the new CDR such as userfiled and accountcode. That works fine. Then I try to update some custom values cdr_calltype and srcout. The issue here is when I I update the custom field it updates the original cdr not the forked cdr. This is basically corrupts my  call data in the custom cdr values breaking my billing systems.</p>
<p >Issue 2: Dial(<a href="mailto:LOCAL/xxx@context">LOCAL/xxx@context</a>) billsec not correct</p>
<p>I wanted to try and not use ForkCDR due primarily to issue 1 above as well as the extra garbage cdr's it adds.  So I thought I could do it using Dial(<a href="mailto:LOCAL/xxxx@Context">LOCAL/xxxx@Context</a>).  I got things working on the dial but then an issue came in again with the CDR. The problem is that the Duration and Bill Seconds is the same on both CDR's This is not right based on what I can tell from the doc's.  If a user enters into an IVR and they are in there 15 seconds before the call is dialed through to the LOCAL channel the local channel should have a start time at least 15 seconds later and a duration 15 seconds shorter then the original call.</p>
<p >Issue 3: billsec resets incorrectly</p>
<p>If a user calls into one of our IVR's and goes through some options and then dials an extension the CDR billsec resets it's self upon answer of the extension. Based on what I am seeing the billingsec is reset every time another Dial attempt has it's disposition set to ANSWERED. This should not be occurring I have lost thousands of billing seconds to this issue and can not find a way to fix it from the dial plan. I am picking around in code and have had no luck. <br />
Please help with any advise on how to fix these issues ASAP.</p>
<p>Thanks<br />
Bryant</p></span>