Our ASTPP/freeswitch cdrs billed seconds is always lower than terminating partners billed seconds 20% of the time and at the same time higher than customers cdrs 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 leg A. At the same time it also ack cancel request from leg A before forwarding it to leg B. Same issue with Bye request from leg B. This 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 ASTPP/Freeswitch to operate in proxy mode? Thanks for your assistance.
You may want to look at this post
Thanks for this. While this solution resolves the discrepancy in billed seconds with leg B. Our billed seconds still continue to be higher than leg A billed seconds for some calls. This issue is due to freeswitch dialog flow as a B2BUA and where there is network lag between freeswitch and leg A (a customer connection). Is ASTPP not suitable for wholesales VoIP operations?
Should be billing like you tell it to