This post has NOT been accepted by the mailing list yet.
This post was updated on .
How can I get the answered call live duration ?
Let me give an example what i want to ask,
let's say user A dialed a call to B and B receives it after 10 seconds, they talked for 20 seconds so now i am getting 30 seconds in cdr, i want it exact 20 seconds
Now let me explain what I did so far that I am getting this o/p
I am doing current time - created_epoch but its giving total duration of ringing + answered duration (as per exp, 30 secs)
Let me provide you the 'show calls' info while call ringing,
Here, everywhere i am getting same time '2016-01-06 19:30:26' as created_epoch
so is there any variable like 'answered_epoch' or 'bridged_epoch' which provide the exact time of answered call duration (as per exp, 20 secs) ? and not provide the ringing + answered duration (as per exp, 30 secs)?