each b leg call on the a leg shows up in a &lt;callflow&gt; tag<br><br>At the bottom of <br><a href="http://pastebin.freeswitch.org/7206">http://pastebin.freeswitch.org/7206</a><br><br>&nbsp;&nbsp; &lt;times&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;created_time&gt;1233942283835696&lt;/created_time&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;profile_created_time&gt;1233942283835696&lt;/profile_created_time&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;progress_time&gt;1233942283999716&lt;/progress_time&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;progress_media_time&gt;1233942283999716&lt;/progress_media_time&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;answered_time&gt;1233942287291931&lt;/answered_time&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;hangup_time&gt;0&lt;/hangup_time&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;transfer_time&gt;1233942303240916&lt;/transfer_time&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/times&gt;<br><br>note transfer time, this is the time that the call was transferred to another extension.<br>
<br>&lt;transfer_time&gt;1233942303240916&lt;/transfer_time&gt;<br><br>divide this number by one million to get epoch time <br><br>1233942303240916 / 1000000 == 1233942303<br><br><br>now look at <a href="http://pastebin.freeswitch.org/7204">http://pastebin.freeswitch.org/7204</a> at the bottom<br>
&nbsp;&nbsp;&nbsp; &lt;times&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;created_time&gt;1233942303325062&lt;/created_time&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;profile_created_time&gt;1233942303325062&lt;/profile_created_time&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;progress_time&gt;1233942303368916&lt;/progress_time&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;progress_media_time&gt;0&lt;/progress_media_time&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;answered_time&gt;0&lt;/answered_time&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;hangup_time&gt;1233942333010768&lt;/hangup_time&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;transfer_time&gt;0&lt;/transfer_time&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/times&gt;<br><br><br>This is the b leg, see the created_time:<br><br>&lt;created_time&gt;1233942303325062&lt;/created_time&gt;<br><br>1233942303325062 / 1000000 == 1233942303<br><br><br>so as you can see the epoch time of your b leg cdr has a created_time that is the same one second window that corresponds to the transfer_time in the callflow tag in your a leg cdr<br>
<br><br><div class="gmail_quote">On Fri, Feb 13, 2009 at 8:42 AM, Luis F Urrea <span dir="ltr">&lt;<a href="mailto:lfurrea@gmail.com">lfurrea@gmail.com</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;">
My mistake, they do seem to be microsecs.<br><br><br>But still I cannot correlate times from the A-leg with the B-legs.<br><br>I have included below the xml_cdr files generated for the test call.&nbsp; <br><br>The test call was made using three registered extensions. Basically, Ext 201 calls ext 203 and they talk, then 203 blindly transfers to 202, 202 does not answer and call rolls to voicemail.<br>

<br>A-leg:<br><a href="http://pastebin.freeswitch.org/7206" target="_blank">http://pastebin.freeswitch.org/7206</a><br><br>B-leg:<br><a href="http://pastebin.freeswitch.org/7204" target="_blank">http://pastebin.freeswitch.org/7204</a><br>
<br>B-leg:<br><a href="http://pastebin.freeswitch.org/7205" target="_blank">http://pastebin.freeswitch.org/7205</a><br>
<br><br>Thanks for your help<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Thu, Feb 12, 2009 at 6:08 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">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;">
<div>On Thu, Feb 12, 2009 at 3:31 PM, Luis F Urrea &lt;<a href="mailto:lfurrea@gmail.com" target="_blank">lfurrea@gmail.com</a>&gt; wrote:<br>
&gt; Heres pastebin of the A-leg<br>
&gt;<br>
&gt; <a href="http://pastebin.com/m6731913d" target="_blank">http://pastebin.com/m6731913d</a><br>
&gt;<br>
&gt;<br>
&gt; On Thu, Feb 12, 2009 at 5:00 PM, Michael Collins &lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Pastebin the whole file so that we can see it in context...<br>
&gt;&gt; -MC<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Feb 12, 2009 at 2:50 PM, Luis F Urrea &lt;<a href="mailto:lfurrea@gmail.com" target="_blank">lfurrea@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; On our test calls we haven&#39;t been able to correlate times from the A leg<br>
&gt;&gt; &gt; with times from the B leg.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I would expect something as A-leg(duration)=<br>
&gt;&gt; &gt; B-leg1(duration)+B-leg2(duration)<br>
</div>I don&#39;t know that this is necessarily true. Can you pastebin your<br>
dialplan entry (or whatever generated this call) so we can take a<br>
look? Also, please use our pastebin so that it&#39;s easier for us to find<br>
stuff:<br>
<a href="http://pastebin.freeswitch.org" target="_blank">http://pastebin.freeswitch.org</a><br>
<div><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Also the &lt;times&gt; tag within &lt;callflow&gt; tag does not seem to be in epoch<br>
&gt;&gt; &gt; microseconds. so it does not seem that&#39;s where i should be looking for<br>
&gt;&gt; &gt; that<br>
&gt;&gt; &gt; info.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Here&#39;s an example of the &lt;times&gt; tag for a test call on the A-Leg:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; &lt;times&gt;<br>
&gt;&gt; &gt; &nbsp; &nbsp; &nbsp; &lt;created_time&gt;1233942283835696&lt;/created_time&gt;<br>
&gt;&gt; &gt; &nbsp; &nbsp; &nbsp; &lt;profile_created_time&gt;1233942283835696&lt;/profile_created_time&gt;<br>
&gt;&gt; &gt; &nbsp; &nbsp; &nbsp; &lt;progress_time&gt;1233942283999716&lt;/progress_time&gt;<br>
&gt;&gt; &gt; &nbsp; &nbsp; &nbsp; &lt;progress_media_time&gt;1233942283999716&lt;/progress_media_time&gt;<br>
&gt;&gt; &gt; &nbsp; &nbsp; &nbsp; &lt;answered_time&gt;1233942287291931&lt;/answered_time&gt;<br>
&gt;&gt; &gt; &nbsp; &nbsp; &nbsp; &lt;hangup_time&gt;0&lt;/hangup_time&gt;<br>
&gt;&gt; &gt; &nbsp; &nbsp; &nbsp; &lt;transfer_time&gt;1233942303240916&lt;/transfer_time&gt;<br>
&gt;&gt; &gt; &nbsp; &nbsp; &lt;/times&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; any hint is appreciated<br>
&gt;&gt; &gt;<br>
</div>Perhaps I&#39;m missing something but they sure look like epoch microseconds to me.<br>
<font color="#888888">-MC<br>
</font><div><div></div><div><br>
_______________________________________________<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>
</div></div><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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>