How to get the duration of the outbound leg?

Version 1

    Subject: RE: How to get the duration of the outbound leg?
    Replied by: Yaw-Ming Chen on 22-02-2012 02:06:57 PM
    If you don't need to do it in real time maybe can use CDR file

    http://www.cisco.com/en/US/docs/ios/voice/cdr/developer/guide/cdrcsv.html
    This document was generated from CDN thread

    Created by: Adolfo Arizpe on 22-02-2012 01:57:50 PM
    Currently we are using a timer to calculate the duration of the outbound leg, but it is not very precise.
     
    We are not using radius, so using leg_settlement_time returns uninitialized.
     
    Is there another way to get the duration of the outbound leg?
     
    thank you.

    Subject: RE: How to get the duration of the outbound leg?
    Replied by: Adolfo Arizpe on 22-02-2012 02:38:05 PM
    I was actually trying to do it in realtime

    I hope it's possible somehow.