shweta shweta - 8 months ago 20
Ruby Question

hold time and talk time with twilio

I am using twilio in my rails 3.2 application.

I am forwarding inbound calls with Dial verb,
I need to determine:

1) The total hold time

2) The total talk time

of a particular call for billing purpose.

Is it possible with twilio?


Twilio evangelist here.

Then there is really no way for Twilio to know whats going on in the call once we've dialed the second number. We can tell you how long that call was connected via duration, but we don't have any way of knowing specifically whats happened while connected.

Hope that helps.