<font face="verdana,sans-serif">Brian &amp; Ken - Thank you for the detail explanation. I understand the concept now. </font><div><font face="verdana, sans-serif"><br></font></div><div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">

<font face="verdana, sans-serif"><div><font color="#3366ff">1416471234  144  outbound   <b>7f055bf3-6622-4a47-8a86-e92c7683d74d</b> 898cc58c-8447-4a51-b559-3d1f2a063014  2012/07/30 15:37:41 00:00:12 </font></div><div><br>

</div><div><font color="#ff0000">1416471234  144  inbound    898cc58c-8447-4a51-b559-3d1f2a063014 <b>7f055bf3-6622-4a47-8a86-e92c7683d74d</b>  2012/07/301 5:37:23 00:00:30</font> </div></font></div><br class="Apple-interchange-newline">

<div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana,sans-serif">See above the two records. I want to show only the following record in the CDR report. Because that is time the user on the phone. Is there any recommended way to filter the record from cdr table</font></div>

<div><font face="verdana,sans-serif"><br clear="all"></font><span style="color:rgb(51,102,255);font-family:verdana,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">1416471234  144  outbound   </span><b style="color:rgb(51,102,255);font-family:verdana,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">7f055bf3-6622-4a47-8a86-e92c7683d74d</b><span style="color:rgb(51,102,255);font-family:verdana,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)"> 898cc58c-8447-4a51-b559-</span><span style="color:rgb(51,102,255);font-family:verdana,sans-serif;font-size:13.333333969116211px;background-color:rgb(255,255,255)">3d1f2a063014  2012/07/30 15:37:41 00:00:12 </span> <font face="verdana,sans-serif"><br>

</font><br>
Thank you</div><div>Lloyd<br><br><div class="gmail_quote">On Tue, Jul 31, 2012 at 10:29 AM, Ken Rice <span dir="ltr">&lt;<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<font face="Monaco, Courier New"><span style="font-size:11pt">The Inbound/Outbound is from the perspective of FreeSWITCH... Keep in mind that FreeSWITCH is a b2bua that means that 1 call that goes Endpoint -&gt; FreeSWITCH -&gt; EndPoint is really 2 calls bridged together by freeswitch A Leg = Endpoint -&gt; FreeSwitch (inbound on your CDR)  B Leg = FreeSWITCH -&gt; Endpoint  (Outbound tagged on your CDR)<br>


<br>
You’ll notice that the UUIDs are flipped, cause each leg has a unique UUID and the “Bridge UUID” field is the link back to the other leg(s) associated with that call<div><div class="h5"><br>
<br>
<br>
On 7/31/12 8:37 AM, &quot;Lloyd Aloysius&quot; &lt;<a href="http://lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>&gt; wrote:<br>
<br>
</div></div></span></font><blockquote><span style="font-size:11pt"><div><div class="h5"><font face="Verdana, Helvetica, Arial">Hi All:<br>
<br>
I implement the xml cdr. Now For a Incoming call -&gt; IVR - &gt; Dial Extension create two records see below. Basically both records should say inbound call . But one say as outbound. What is the reason the xml cdr module behave this way. Also for a one incoming call to a destination why showing the two records?<br>


<br>
<br>
Also I notice when we make a outbound call the direction field say inbound. But it should be outbound. Any help is appreciated.<br>
<br>
</font><font face="Comic Sans MS">callerid number , destination number , uuid ,bridge uuid , date ,time<br>
</font><font face="Verdana, Helvetica, Arial"><br>
1416471234  144  outbound   <b>7f055bf3-6622-4a47-8a86-e92c7683d74d</b> 898cc58c-8447-4a51-b559-3d1f2a063014  2012/07/30 15:37:41 00:00:12 <br>
<br>
1416471234  144  inbound    898cc58c-8447-4a51-b559-3d1f2a063014 <b>7f055bf3-6622-4a47-8a86-e92c7683d74d</b>  2012/07/301 5:37:23 00:00:30 <br>
<br>
</font><font face="Monaco, Courier New"><br>
</font><font face="Verdana, Helvetica, Arial">Thanks<br>
Lloyd<br>
</font></div></div><font face="Monaco, Courier New"><br>
<hr align="CENTER" size="3" width="95%"></font></span><div class="im"><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">_________________________________________________________________________<br>


Professional FreeSWITCH Consulting Services:<br>
<a href="http://consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="http://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>
</span></font></font></div></blockquote>
</div>


<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<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></div></div>