<?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[Wrong CallerID number to name conversion]]></title><description><![CDATA[<p dir="auto">I have FOP2 2.26 installed, and I have entered some data in the phonebook. Fop2 correctly shows (in the notification box that pops up when my phone rings) names for external callers when number is matched in the phonebook, but when an extension (number 34)  calls me, the phonebook matches the number (34) to the last two digits of a phone book contact that has a number that ends in 34 (05164455334), and shows me the external contact name, which is clearly wrong.</p>
<p dir="auto">I think that the number matching should be done using at least 5 or 6 numbers, so that estension numbers do not match phonebook records that end in the same 2 numbers as the extension.</p>
<p dir="auto">Ideally the minimum lenght of a number to be matched should be configurable, with a sane default of 5 or 6 numbers.</p>
]]></description><link>http://localhost:4567/topic/1515/wrong-callerid-number-to-name-conversion</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 05:09:49 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1515.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Jul 2013 14:56:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wrong CallerID number to name conversion on Tue, 02 Jul 2013 09:50:48 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, I will modify the code.</p>
<p dir="auto">I suggest that you include this fix in the next version.</p>
]]></description><link>http://localhost:4567/post/6644</link><guid isPermaLink="true">http://localhost:4567/post/6644</guid><dc:creator><![CDATA[Kurgan]]></dc:creator><pubDate>Tue, 02 Jul 2013 09:50:48 GMT</pubDate></item><item><title><![CDATA[Reply to Wrong CallerID number to name conversion on Mon, 01 Jul 2013 16:32:01 GMT]]></title><description><![CDATA[<p dir="auto">You will have to modify the file /var/www/html/fop2/checkdir.php, look for an if block after a mysql query:</p>
<pre><code>if($res) {
    if($db-&gt;num_rows()&gt;0) {
        $row = $db-&gt;fetch_assoc();
        ...
        ...
    }    
}
</code></pre>
<p dir="auto">Add another if block before to exclude short clids, something like:</p>
<pre><code>if($largo&lt;5) {
    if($res) { 
        if($db-&gt;num_rows()&gt;0) {
            $row = $db-&gt;fetch_assoc();
            ...
            ...
        }
    }
}
</code></pre>
]]></description><link>http://localhost:4567/post/6643</link><guid isPermaLink="true">http://localhost:4567/post/6643</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 01 Jul 2013 16:32:01 GMT</pubDate></item><item><title><![CDATA[Reply to Wrong CallerID number to name conversion on Mon, 01 Jul 2013 15:36:06 GMT]]></title><description><![CDATA[<p dir="auto">2.26, the latest non-beta.</p>
]]></description><link>http://localhost:4567/post/6642</link><guid isPermaLink="true">http://localhost:4567/post/6642</guid><dc:creator><![CDATA[Kurgan]]></dc:creator><pubDate>Mon, 01 Jul 2013 15:36:06 GMT</pubDate></item><item><title><![CDATA[Reply to Wrong CallerID number to name conversion on Mon, 01 Jul 2013 15:16:34 GMT]]></title><description><![CDATA[<p dir="auto">What fop2 version are you using?</p>
]]></description><link>http://localhost:4567/post/6641</link><guid isPermaLink="true">http://localhost:4567/post/6641</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 01 Jul 2013 15:16:34 GMT</pubDate></item></channel></rss>