<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hello,<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">There seems to be a problem with asterisk cdrs when calls are generated via AMI Originate using Local channels.<br>

</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Asterisk writes CDR as soon as A party off-hooks. Resulting in very inaccurate billsec and duration values.<br>

<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Expected CDR in case of local channel origination should be 2 records, one can be when A party answers, and the other should be written when B party hangs up the phone.</div>

<br><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;display:inline">Any hints?​</div><br></div>