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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 29 14:13:46 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=12946 
====================================================================== 
Reported By:                meral
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   12946
Category:                   CDR/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.20 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-06-28 20:50 CDT
Last Modified:              2009-05-29 14:13 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
====================================================================== 

---------------------------------------------------------------------- 
 (0105746) svnbot (reporter) - 2009-05-29 14:13
 https://issues.asterisk.org/view.php?id=12946#c105746 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 198074

_U  branches/1.6.1/
U   branches/1.6.1/include/asterisk/cdr.h
U   branches/1.6.1/main/cdr.c
U   branches/1.6.1/main/channel.c

------------------------------------------------------------------------
r198074 | mnicholson | 2009-05-29 14:13:45 -0500 (Fri, 29 May 2009) | 28
lines

Merged revisions 198072 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r198072 | mnicholson | 2009-05-29 14:04:24 -0500 (Fri, 29 May 2009) | 21
lines
  
  Merged revisions 198068 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r198068 | mnicholson | 2009-05-29 13:53:01 -0500 (Fri, 29 May 2009) |
15 lines
    
    Use AST_CDR_NOANSWER instead of AST_CDR_NULL as the default CDR
disposition.
    
    This change also involves the addition of an AST_CDR_FLAG_ORIGINATED
flag that is used on originated channels to distinguish: them from dialed
channels.
    
    (closes issue https://issues.asterisk.org/view.php?id=12946)
    Reported by: meral
    Patches:
          null-cdr2.diff uploaded by mnicholson (license 96)
    Tested by: mnicholson, dbrooks
    
    (closes issue https://issues.asterisk.org/view.php?id=15122)
    Reported by: sum
    Tested by: sum
  ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=198074 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-29 14:13 svnbot         Checkin                                      
2009-05-29 14:13 svnbot         Note Added: 0105746                          
======================================================================




More information about the asterisk-bugs mailing list