summaryrefslogtreecommitdiff
path: root/funcs/func_callcompletion.c
diff options
context:
space:
mode:
authorMatt Jordan <mjordan@digium.com>2016-01-18 17:16:24 -0600
committerMatt Jordan <mjordan@digium.com>2016-01-20 08:08:20 -0600
commit46b2de55f95927b67f9309426353f2f5f5d7c830 (patch)
tree7cadb069e08003b36cdb66ddbbae14ee00c3aed6 /funcs/func_callcompletion.c
parent80e901396e256e90b7c92abdd17edbf1b02e4104 (diff)
funcs/func_cdr: Correctly report high precision values for duration and billsec
When CDRs were refactored, func_cdr's ability to report high precision values for duration and billsec (the 'f' option) was broken. This was due to func_cdr incorrectly interpreting the duration/billsec values provided by the CDR engine in milliseconds, as opposed to seconds. Since the CDR engine only provides duration and billsec in seconds, and does not expose either attribute with sufficient precision to merely pass back the underlying value, this patch fixes the bug by re-calculating duration and billsec with microsecond precision based on the start/answer/end times on the CDR. ASTERISK-25179 #close Change-Id: I8bc63822b496537a5bf80baf6102c06206bee841
Diffstat (limited to 'funcs/func_callcompletion.c')
0 files changed, 0 insertions, 0 deletions