How to configure freeswitch to operate in proxy mode for accurate call billing?

How to configure freeswitch to operate in proxy mode for accurate call billing?

Our freeswitch cdrs billed seconds is always lower than terminating partners billed seconds 20% of the time and at the same time higher than customers cds 15% of the time. Our Investigation reveals that the issue is with freeswitch B2BUA mode of operation. Freeswitch ack 200 ok request from leg B before forwarding it to lea A. At the same time it also ack cancel request from leg A before forwarding it to leg B. These mode results in the discrepancies in the billed seconds. The issue becomes pronounced where we have 60/n billing, Is there any way we can configure Freeswitch to operate in proxy mode? Thanks for your assistance.