<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CDR, no incoming record when answered from ring group]]></title><description><![CDATA[<p dir="auto">If I answer a ring group call, the incoming call does not appear in the CDR of FOP2. If I need to go back and get the number of someone who just called me, I can't.</p>
<p dir="auto">The FreePBX CDR has the same behaviour, it just shows the call stopping at the ring group. However, if you export the data into a CSV file, the data showing what extension picked up the call is there.<br />
Since 99% of the calls goto a ring group, the FOP2 CDR only shows outgoing calls for most of the extensions, so it's near useless.</p>
<p dir="auto">Can FOP2 be changed to pull the final extension and use that information?</p>
<p dir="auto">Thanks</p>
]]></description><link>http://localhost:4567/topic/1676/cdr-no-incoming-record-when-answered-from-ring-group</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 09:23:40 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1676.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 Jan 2014 21:41:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CDR, no incoming record when answered from ring group on Fri, 16 Jan 2015 21:35:26 GMT]]></title><description><![CDATA[<p dir="auto">FOP 2.28 includes part of the patch, you will only need to change the condition bits:</p>
<pre><code> } else if($mifilt=="inbound") {
    $condstring ="(dst='$extension' OR dstchannel LIKE 'SIP/$extension-________' ) ";
 } else {
    $condstring="(src='$extension' OR channel LIKE 'SIP/$extension-________' ) ";
 }
</code></pre>
]]></description><link>http://localhost:4567/post/7259</link><guid isPermaLink="true">http://localhost:4567/post/7259</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 16 Jan 2015 21:35:26 GMT</pubDate></item><item><title><![CDATA[Reply to CDR, no incoming record when answered from ring group on Fri, 16 Jan 2015 08:28:56 GMT]]></title><description><![CDATA[<p dir="auto">Anybody test this patch with current FOP2 (2.28)?</p>
]]></description><link>http://localhost:4567/post/7258</link><guid isPermaLink="true">http://localhost:4567/post/7258</guid><dc:creator><![CDATA[SolarW]]></dc:creator><pubDate>Fri, 16 Jan 2015 08:28:56 GMT</pubDate></item><item><title><![CDATA[Reply to CDR, no incoming record when answered from ring group on Fri, 31 Jan 2014 20:55:29 GMT]]></title><description><![CDATA[<p dir="auto">Hey,</p>
<p dir="auto">I too was looking for this functionality, and Nicolas recommended me to try out your modifications.</p>
<p dir="auto">After patching the code it now works perfectly. Thanks a lot!</p>
<p dir="auto">Carlos</p>
]]></description><link>http://localhost:4567/post/7257</link><guid isPermaLink="true">http://localhost:4567/post/7257</guid><dc:creator><![CDATA[Carlos]]></dc:creator><pubDate>Fri, 31 Jan 2014 20:55:29 GMT</pubDate></item><item><title><![CDATA[Reply to CDR, no incoming record when answered from ring group on Mon, 13 Jan 2014 21:10:35 GMT]]></title><description><![CDATA[<p dir="auto">For 2.27</p>
<pre><code>--- showcdr.php.backup2.27	2013-11-11 07:32:18.000000000 -0800
+++ showcdr.php	2014-01-12 22:06:09.312426112 -0800
@@ -164,7 +164,7 @@
 $grid-&gt;set_pk('uniqueid');
 $grid-&gt;add_structure('number', 'text',null,'');
 $grid-&gt;salt("dldli3ksa");
-$grid-&gt;set_fields("calldate,IF(dst='".$extension."','$transinbound','$transoutbound') as direction,IF(dst='".$extension."',src,dst) as number,duration,billsec,disposition,uniqueid");
+$grid-&gt;set_fields("calldate,IF(dst='".$extension."' OR dstchannel LIKE 'SIP/$extension-________' ,'inbound','outbound') as direction,IF(dst='".$extension."' OR dstchannel LIKE 'SIP/$extension-________' ,src,dst) as number,duration,billsec,disposition,uniqueid");
 $grid-&gt;hide_field('uniqueid');
 $grid-&gt;no_edit_field('uniqueid');
 $grid-&gt;no_edit_field('number');
@@ -177,11 +177,11 @@
 $mifilt = $_REQUEST['filterdir'];
 
 if($mifilt=="") {
-    $condstring ="(src='$extension' OR dst='$extension') ";
+    $condstring ="(src='$extension' OR dst='$extension' OR dstchannel LIKE 'SIP/$extension-________' OR channel LIKE 'SIP/$extension-________') ";
 } else if($mifilt=="inbound") {
-    $condstring ="(dst='$extension') ";
+    $condstring ="(dst='$extension' OR dstchannel LIKE 'SIP/$extension-________' ) ";
 } else {
-    $condstring="(src='$extension') ";
+    $condstring="(src='$extension' OR channel LIKE 'SIP/$extension-________' ) ";
 }
 
 $customboton="&lt;div class='fbutton'&gt;

</code></pre>
]]></description><link>http://localhost:4567/post/7256</link><guid isPermaLink="true">http://localhost:4567/post/7256</guid><dc:creator><![CDATA[Porch]]></dc:creator><pubDate>Mon, 13 Jan 2014 21:10:35 GMT</pubDate></item><item><title><![CDATA[Reply to CDR, no incoming record when answered from ring group on Fri, 03 Jan 2014 00:28:20 GMT]]></title><description><![CDATA[<p dir="auto">I patched the code so the CDR works as expected.</p>
<pre><code>--- showcdr.php.backup	2014-01-02 14:18:11.000000000 -0800
+++ showcdr.php	2014-01-02 16:23:48.135836816 -0800
@@ -161,7 +161,8 @@
 $grid-&gt;set_pk('uniqueid');
 $grid-&gt;add_structure('number', 'text',null,'');
 $grid-&gt;salt("dldli3ksa");
-$grid-&gt;set_fields("calldate,IF(dst='".$extension."','inbound','outbound') as direction,IF(dst='".$extension."',src,dst) as number,duration,billsec,disposition,uniqueid");
+$grid-&gt;set_fields("calldate,IF(dst='".$extension."' OR dstchannel LIKE 'SIP/$extension-________' ,'inbound','outbound') as direction,IF(dst='".$extension."' OR dstchannel LIKE 'SIP/$extension-________' ,src,dst) as number,duration,billsec,disposition,uniqueid");
+
 $grid-&gt;hide_field('uniqueid');
 $grid-&gt;no_edit_field('uniqueid');
 $grid-&gt;no_edit_field('number');
@@ -174,11 +175,11 @@
 $mifilt = $_REQUEST['filterdir'];
 
 if($mifilt=="") {
-    $condstring ="(src='$extension' OR dst='$extension') ";
+    $condstring ="(src='$extension' OR dst='$extension' OR dstchannel LIKE 'SIP/$extension-________' OR channel LIKE 'SIP/$extension-________') ";
 } else if($mifilt=="inbound") {
-    $condstring ="(dst='$extension') ";
+    $condstring ="(dst='$extension' OR dstchannel LIKE 'SIP/$extension-________' ) ";
 } else {
-    $condstring="(src='$extension') ";
+    $condstring="(src='$extension' OR channel LIKE 'SIP/$extension-________' ) ";
 }
 
 $customboton="&lt;div class='fbutton'&gt;
@@ -211,6 +212,7 @@
 
 
 $grid-&gt;set_condition($condstring);
+
 /*
 $fieldname = Array();
 $fieldname[]=trans('Unique ID');


</code></pre>
]]></description><link>http://localhost:4567/post/7255</link><guid isPermaLink="true">http://localhost:4567/post/7255</guid><dc:creator><![CDATA[Porch]]></dc:creator><pubDate>Fri, 03 Jan 2014 00:28:20 GMT</pubDate></item></channel></rss>