[asterisk-bugs] [Asterisk 0011093]: CDR Created incorrectly on Transfer of outgoing call

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jan 26 10:31:18 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11093 
====================================================================== 
Reported By:                rossbeer
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   11093
Category:                   Applications/app_cdr
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-26-2007 10:02 CDT
Last Modified:              01-26-2008 10:31 CST
====================================================================== 
Summary:                    CDR Created incorrectly on Transfer of outgoing call
Description: 
When making an outgoing call and then transferring a call to another
extension the CDR details are incorrect.

I would expect to see two CDR's created, one for the outgoing call and
another for the transfer as Asterisk does, however it stops (ends) the
outgoing CDR at the point of transfer, instead of continuing to increment
the 'seconds'.

This problem occurs on both blind transfers and attended (using a Snom and
not using '#' or '*1' features). However attended transfers are more
accurate than blind transfers, they do continue to count however the time
is not 100% accurate.

I have tried to fix this myself in the dial plan by using '/n' and a local
channel however it still occurs. This problem did not occur in previous
versions of Asterisk.
====================================================================== 

---------------------------------------------------------------------- 
 greyvoip - 01-26-08 10:31  
---------------------------------------------------------------------- 
CDR's for transfers are definitely a big problem and always have been. In
the case of OP's first scenario I have never seen any version of Asterisk
generate the CDR's correctly for a blind transfer so the bug here is not
new to 1.4.

"First, the main scenario are this Steps:
1.- A Calls B and B answers, let's say instantly (for the sake of math
simplicity)
2.- X seconds later, B transfers the Call to C, C answers, and B gets out
of the way.
3.- Y seconds later A or C hang up.

After step 3, two CDRs should be created:
1.- one for A calling B, lasting X+Y seconds.
2.- one for B calling C, for Y seconds."

I have just re-tested with Asterisk 1.2 and there are two CDR's generated
but they are:

1.- one for A calling B, lasting X seconds (NOT X+Y seconds).
2.- one for B calling C, for Y seconds. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-26-08 10:31  greyvoip       Note Added: 0081210                          
======================================================================




More information about the asterisk-bugs mailing list