[asterisk-bugs] [Asterisk 0011721]: When using ForkCDR Asterisk does not set the duration and billsec correcty

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Feb 27 14:43:39 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11721 
====================================================================== 
Reported By:                voipgate
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   11721
Category:                   Applications/app_forkcdr
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 92122 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-09-2008 19:46 CST
Last Modified:              02-27-2008 14:43 CST
====================================================================== 
Summary:                    When using ForkCDR Asterisk does not set the
duration and billsec correcty
Description: 
When using ForkCDR and the call has not been answered, Asterisk creates 2
cdr's but one of them lacks the data for billsec and duration. The purpose
of a fork is to create 2 cdrs but with different variables (accountcode,
userfield) but the duration and bill seconds as well as the disposition
must be set.
====================================================================== 

---------------------------------------------------------------------- 
 jthomas - 02-27-08 14:43  
---------------------------------------------------------------------- 
I experience definitely the same problem.
Tested on version 1.4.14, 1.4.17.

CDR duration and billsec fields are set to zero value (in my tries even if
the disposition is ANSWERED).

ForkCDR is working as it should on a 1.2.24.

But 1.2.24 has also the line:

ast_set_flag(cdr, AST_CDR_FLAG_CHILD | AST_CDR_FLAG_LOCKED);

So I think there is something else to look at. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-27-08 14:43  jthomas        Note Added: 0083072                          
======================================================================




More information about the asterisk-bugs mailing list