[sr-dev] [tracker] Task opened: enable milliseconds precision for accounting (Attachment added)

sip-router admin at sip-router.org
Wed Oct 5 13:25:16 CEST 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Andrew Pogrebennyk (marduk) 

Attached to Project - sip-router
Summary - enable milliseconds precision for accounting
Task Type - Bug Report
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Low
Priority - Normal
Reported Version - 3.1
Due in Version - Undecided
Due Date - Undecided
Details - Telecommunication platforms in Germany must collect CDR start/stop times with an accuracy of +/- 500 ms.
The attached patch is a WIP to achieve milliseconds precision with accounting. 
I have added new column acc.time_hires (decimal 13,3) because mysql doesn't support milliseconds precision with time and date datatypes. Human-readable representation can be achieved by:
select from_unixtime(time_hires) from acc;
My TODO: prepare sql files, readme, enable milliseconds precision with accounting to log and radius if necessary.
Not sure about the built-in cdr generation functionality as we are not using it (and we are still on 3.1.5).
But right now I would like to collect some feedback as the ultimate goal is to get this integrated into upstream.
So, I am willing to improve it. Any remarks and suggestions are welcome.

One or more files have been attached.

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=163

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list