even better you have the progress and progress_media timestamps too
so you can measure from the instance you got the first ringing indication
so then you can also measure how long it took to start ringing too (PDD)


On Wed, Mar 17, 2010 at 10:46 AM, Brian West <brian@freeswitch.org> wrote:
Call start answer time minus call start time = ring time in the CDR

/b

On Mar 16, 2010, at 5:21 PM, Fraser Redmond wrote:

> I'm converting a call-center app from Asterisk to FreeSwitch (using xml and javascript dialplans) and I think I've worked out how to do nearly everything, except for tracking one important metric: How long the phone rang before an agent picked it up.





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900