A. Concerning you first question.
Software Blitz TAPI SMDR records in log not answered calls and:
- outgoing outside calls;
- incoming outside calls;
- outgoing intercom calls.

It works on TAPI. That is or through USB port of PBX or through card CTI link. It records in DB for WinTariff, in text file in C format for KX-TDA and in file CSV format.
In the last two formats it records time of the beginning of call in hours and minutes: seconds (in standard C format time when the call was finished is records in hours and minutes PM/AM).
You can download the valuable demo version with 30 days of trial period on www.blitz-cti.com

I hope it will help you to solve problem in your first question.