Yeah, that's what I had expected, and was why I was confused.<br><br>I've done some more tests, and tracked
the results a little closer in a spreadsheet, and it seems that when I call the extension
directly from another sipphone the Caller-Channel-Answered-Time minus
Caller-Channel-Created-Time matches the ring time, so that scenario is fine.<br>
<br>
When I call into an IVR with the javascript dialplan and then create the
new session and bridge them that way, the Answered-Time and Created-Time, that are reported after the call ends are reported on the A-leg's Created & Answered. <br><br>The good news is that the Progress-Time is reported on when the B-leg started ringing, so I can know when the call started ringing.<br>
The bad news is that the Progress-Media-Time is always blank<br>
<br>I can take the Progress-Time and compare it to the system-clock, and that should generally be accurate to a second or so, which is better than nothing, but it'd be nice to do it properly.<br><br>Any other ideas? Is there any channel-variables I can set that would be worth playing with? I'm currently only setting:<br>
ignore_early_media=true,hangup_after_bridge=false,continue_on_fail=true<br><br clear="all">Cheers,<br>Fraser<br><br><br>
<br><br><div class="gmail_quote">On Wed, Mar 17, 2010 at 4:57 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
even better you have the progress and progress_media timestamps too<br>so you can measure from the instance you got the first ringing indication<br>so then you can also measure how long it took to start ringing too (PDD)<br>
<br><br><div class="gmail_quote">On Wed, Mar 17, 2010 at 10:46 AM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Call start answer time minus call start time = ring time in the CDR<br>
<font color="#888888"><br>
/b<br>
</font><div class="im"><div><br>
On Mar 16, 2010, at 5:21 PM, Fraser Redmond wrote:<br>
<br>
> 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.<br>
<br>
<br>
</div></div><div><div></div><div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:+19193869900<br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>