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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 6 12:13:01 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12946 
====================================================================== 
Reported By:                meral
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   12946
Category:                   CDR/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.20 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-06-28 20:50 CDT
Last Modified:              2008-08-06 12:13 CDT
====================================================================== 
Summary:                    ResetCDR not work now 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.

====================================================================== 

---------------------------------------------------------------------- 
 (0091155) murf (administrator) - 2008-08-06 12:13
 http://bugs.digium.com/view.php?id=12946#c91155 
---------------------------------------------------------------------- 
Just one question: on the surface, whatever unexpected deeply hidden
requirement that ResetCDR() might have for Answer(), are you harmed in any
way by calling it from your dialplan? This is an easy workaround.
Somewhere, way down deep, the CDR system may require a channel to be up for
some operations... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-06 12:13 murf           Note Added: 0091155                          
======================================================================




More information about the asterisk-bugs mailing list