[asterisk-bugs] [Asterisk 0012946]: [patch] ResetCDR does not work on non-answered channel

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 21 15:57:31 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=12946 
====================================================================== 
Reported By:                meral
Assigned To:                dbrooks
====================================================================== 
Project:                    Asterisk
Issue ID:                   12946
Category:                   CDR/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.20 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-06-28 20:50 CDT
Last Modified:              2009-05-21 15:57 CDT
====================================================================== 
Summary:                    [patch] ResetCDR does not work on non-answered
channel
Description: 
i am using resetCDR(w) for re-setup cdr and post prevous one
when channel is answered, resetCDr(w) works as documented
so:
exten =>s,1,Answer
exten =>s,n,ResetCDR(w)
exten =>s,n,ResetCDR(w)
produce 3 records
but if channel unanswered,then
exten =>s,1,ResetCDR(w)
exten =>s,n,ResetCDR(w)
produce only 1 record.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013892 After upgrading from 1.4.21.2 to 1.4.22...
parent of           0015122 Abandoned queue calls won't show on CDR
related to          0014306 CDR not written when Busy() used
====================================================================== 

---------------------------------------------------------------------- 
 (0105265) dbrooks (manager) - 2009-05-21 15:57
 https://issues.asterisk.org/view.php?id=12946#c105265 
---------------------------------------------------------------------- 
Tested issue with 1.4 SVN. Answer -> ResetCDR -> ResetCDR and ResetCDR ->
ResetCDR both reported only 2 CDRs (unanswered=yes). After applying the
latest patch (null-cdr2.diff), both situations reported 3 CDRs.

It appears the patch correctly fixes the issue reported. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-21 15:57 dbrooks        Note Added: 0105265                          
======================================================================




More information about the asterisk-bugs mailing list