[asterisk-bugs] [Asterisk 0014167]: [patch] CDR does not get produced with .call files

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 7 12:40:39 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14167 
====================================================================== 
Reported By:                jpt
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14167
Category:                   CDR/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-01-02 16:41 CST
Last Modified:              2009-05-07 12:40 CDT
====================================================================== 
Summary:                    [patch] CDR does not get produced with .call files
Description: 
CDR is not being produced as csv or via cdr_mysql with .call files.  It
works fine with 1.4.21.2 (zaptel 1.4.12.1 and asterisk-addons 1.4.7) but
does not with 1.4.22 or 1.4.23-rc3 (with dahdi 2.1.0.2 and asterisk-addons
1.4.7)
====================================================================== 

---------------------------------------------------------------------- 
 (0104381) mnicholson (administrator) - 2009-05-07 12:40
 http://bugs.digium.com/view.php?id=14167#c104381 
---------------------------------------------------------------------- 
I just uploaded a patch that should fix this issue.  The issue is caused by
two things.  First, the disposition for the cdr record was never being set.
 Second, the AST_CDR_FLAG_DIALED flag is set.  Those two things will
prevent the CDR from being posted.

I don't like the method I used to fix this bug.  I am thinking of adding
an additional option to the cdr (attempted=yes or callattemts=yes or
dialed=yes or outgoing=yes).  That option would also basically cause
asterisk to generate one CDR record per channel (e.g. dial attempts,
bridged channels...).  There will have to be some discussion before a
change like this is made. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-07 12:40 mnicholson     Note Added: 0104381                          
======================================================================




More information about the asterisk-bugs mailing list