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">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</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 &lt;<a href="mailto:lfurrea@gmail.com">lfurrea@gmail.com</a>&gt; wrote:<br>
&gt; On our test calls we haven&#39;t been able to correlate times from the A leg<br>
&gt; with times from the B leg.<br>
&gt;<br>
&gt; I would expect something as A-leg(duration)=<br>
&gt; B-leg1(duration)+B-leg2(duration)<br>
&gt;<br>
&gt; Also the &lt;times&gt; tag within &lt;callflow&gt; tag does not seem to be in epoch<br>
&gt; microseconds. so it does not seem that&#39;s where i should be looking for that<br>
&gt; info.<br>
&gt;<br>
&gt; Here&#39;s an example of the &lt;times&gt; tag for a test call on the A-Leg:<br>
&gt;<br>
&gt; &lt;times&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;created_time&gt;1233942283835696&lt;/created_time&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;profile_created_time&gt;1233942283835696&lt;/profile_created_time&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;progress_time&gt;1233942283999716&lt;/progress_time&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;progress_media_time&gt;1233942283999716&lt;/progress_media_time&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;answered_time&gt;1233942287291931&lt;/answered_time&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;hangup_time&gt;0&lt;/hangup_time&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;transfer_time&gt;1233942303240916&lt;/transfer_time&gt;<br>
&gt; &nbsp; &nbsp; &lt;/times&gt;<br>
&gt;<br>
&gt; any hint is appreciated<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Feb 12, 2009 at 3:46 PM, Luis F Urrea &lt;<a href="mailto:lfurrea@gmail.com">lfurrea@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi all,<br>
&gt;&gt;<br>
&gt;&gt; We are writing a xml_cdr parser to load CDRs in SQLite. We are interested<br>
&gt;&gt; in logging times for both A leg and B leg so that transfers are reported as<br>
&gt;&gt; individual calls with accurate timing. eg Inboud call to AA lasted 14<br>
&gt;&gt; seconds then call to operator 20s and then call to actual extension 5min<br>
&gt;&gt;<br>
&gt;&gt; As of now we are using the &lt;callflow&gt; tag with the &quot;number&quot; attribute to<br>
&gt;&gt; find out who did the A leg talk to, then we open the B leg files and get the<br>
&gt;&gt; times from each jump from the &lt;times&gt; tag within the &lt;callflow&gt; tag on the B<br>
&gt;&gt; leg file.<br>
&gt;&gt;<br>
&gt;&gt; Is this right or maybe someone could suggest a better way to do it.<br>
&gt;&gt;<br>
&gt;&gt; TIA<br>
&gt;&gt;<br>
&gt;&gt; Luis<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<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>