Hello,

it seems that is some parts of the world it is required to have call duration with two decimals precision. By default acc module does the timestamp in seconds.

Thinking of adding an option to save the milliseconds, I see two option:
- a new column to store the milliseconds part as integer
- a new column to store the seconds.milliseconds as double

For those using various billing engines, what would be easier to digest when rating the CDRs?

There is already the option of doing db extra column to store $TV(Sn), but this value is stored in a string (varchar) format, giving a little more troubles to convert to numeric format before being able to compute duration, so it might just worth doing the C coding to store in right data type.

Cheers,
Daniel

--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to