Heres pastebin of the A-leg<br><br><a href="http://pastebin.com/m6731913d">http://pastebin.com/m6731913d</a><br><br><br><div class="gmail_quote">On Thu, Feb 12, 2009 at 5:00 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Pastebin the whole file so that we can see it in context...<br>
-MC<br>
<div><div></div><div class="Wj3C7c"><br>
On Thu, Feb 12, 2009 at 2:50 PM, Luis F Urrea <<a href="mailto:lfurrea@gmail.com">lfurrea@gmail.com</a>> wrote:<br>
> On our test calls we haven't been able to correlate times from the A leg<br>
> with times from the B leg.<br>
><br>
> I would expect something as A-leg(duration)=<br>
> B-leg1(duration)+B-leg2(duration)<br>
><br>
> Also the <times> tag within <callflow> tag does not seem to be in epoch<br>
> microseconds. so it does not seem that's where i should be looking for that<br>
> info.<br>
><br>
> Here's an example of the <times> tag for a test call on the A-Leg:<br>
><br>
> <times><br>
> <created_time>1233942283835696</created_time><br>
> <profile_created_time>1233942283835696</profile_created_time><br>
> <progress_time>1233942283999716</progress_time><br>
> <progress_media_time>1233942283999716</progress_media_time><br>
> <answered_time>1233942287291931</answered_time><br>
> <hangup_time>0</hangup_time><br>
> <transfer_time>1233942303240916</transfer_time><br>
> </times><br>
><br>
> any hint is appreciated<br>
><br>
><br>
> On Thu, Feb 12, 2009 at 3:46 PM, Luis F Urrea <<a href="mailto:lfurrea@gmail.com">lfurrea@gmail.com</a>> wrote:<br>
>><br>
>> Hi all,<br>
>><br>
>> We are writing a xml_cdr parser to load CDRs in SQLite. We are interested<br>
>> in logging times for both A leg and B leg so that transfers are reported as<br>
>> individual calls with accurate timing. eg Inboud call to AA lasted 14<br>
>> seconds then call to operator 20s and then call to actual extension 5min<br>
>><br>
>> As of now we are using the <callflow> tag with the "number" attribute to<br>
>> find out who did the A leg talk to, then we open the B leg files and get the<br>
>> times from each jump from the <times> tag within the <callflow> tag on the B<br>
>> leg file.<br>
>><br>
>> Is this right or maybe someone could suggest a better way to do it.<br>
>><br>
>> TIA<br>
>><br>
>> Luis<br>
><br>
><br>
</div></div>> _______________________________________________<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>
><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>
</blockquote></div><br>