From 56ed3a4ce0afe44a29f8d602e2a028563786d5c5 Mon Sep 17 00:00:00 2001 From: Steve Murphy Date: Tue, 26 Aug 2008 15:59:45 +0000 Subject: [PATCH] Blocked revisions 140057 via svnmerge ........ r140057 | murf | 2008-08-26 09:57:49 -0600 (Tue, 26 Aug 2008) | 21 lines (closes issue #13366) Reported by: erousseau This was a reasonable enhancement request, which was easy to implement. Since it's an enhancement, it could only be applied to trunk. Basically, for accounting where "initiated" seconds are billed for, if the microseconds field on the end time is greater than the microseconds field for the answer time, add one second to the billsec field. The implementation was requested by erousseau, and I've implemented it as requested. I've updated the CHANGES, the cdr.conf.sample, and the .h files accordingly, to accept and set a flag for the corresponding new option. cdr.c adds in the extra second based on the usec fields if the option is set. Tested, seems to be working fine. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@140058 65c4cc65-6c06-0410-ace0-fbb531ad65f3