[asterisk-bugs] [Asterisk 0013794]: [patch] CDR for picked up parked call gives answer time < start time and no record for parking

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jan 23 10:33:03 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13794 
====================================================================== 
Reported By:                davidw
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   13794
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Target Version:             1.6.0.5
Asterisk Version:           1.6.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-10-28 13:34 CDT
Last Modified:              2009-01-23 10:33 CST
====================================================================== 
Summary:                    [patch] CDR for picked up parked call gives answer
time < start time and no record for parking
Description: 
Dial 700 on one phone and 701 on another.  No call record is generated for
the first phone and the call record for the second phone gives the time of
parking as the answer time.  The "billable" time is longer than the call
duration!
====================================================================== 

---------------------------------------------------------------------- 
 (0098575) murf (administrator) - 2009-01-23 10:33
 http://bugs.digium.com/view.php?id=13794#c98575 
---------------------------------------------------------------------- 
there-- uploaded 13794.patch.alternate, which instead of just preventing
the bridge cdr from having its answer time updated with the peer answer
time when the answer time is before the start time, will update both the
answer and start times from the peers CDR.

That will force the CDR to attribute the time spent in park to the
conversation; but really, deep down, I think this is wrong. The park time
should either be in a CDR that spells that out, or the CDR should record
all the time it spent with everything, but that goes against the current
CDR philosophy, which is a bad breeding of both "leg" and "simple" CDRs
(see my spec for a rewrite of the CDR system by "svn co
http://svn.digium.com/svn/asterisk/team/murf/RFCs" and look at the CDRfix2
text file in that dir.)

As to getting the park time to write a CDR, .... I'm not certain that this
is something we should do in 1.4... hmmm.... no-one is expecting this, they
might look on the change in CDR behavior as an unwelcome enhancement in an
already-released product, and it might throw back end CDR processing
programs into a tizzy... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-23 10:33 murf           Note Added: 0098575                          
======================================================================




More information about the asterisk-bugs mailing list