<?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[Incoming call notification CallerID issues]]></title><description><![CDATA[<p dir="auto">Hello. I'm running FOP2 2.20 licensed on a customer of mine and they're having an issue with the incoming calls notification feature.</p>
<p dir="auto">Their extensions are in the 3100-3199 range. For instance, when extension 3123 calls 3100 (receptionist), the incoming call popup reports a call from 99173123. We tried to manually add 3123 to Visual Phonebook, but the CallerID keeps on getting matched against 99173123 instead of 3123.</p>
<p dir="auto">Is there a way to first attempt to match against the whole CallerID and if that fails match against a number ending on the CallerID?</p>
]]></description><link>http://localhost:4567/topic/825/incoming-call-notification-callerid-issues</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 07:02:32 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/825.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Jul 2011 12:52:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Incoming call notification CallerID issues on Wed, 06 Jul 2011 13:02:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">The problem is fixed on fop 2.21. You can patch your current checkdir.php and replace this line:</p>
<pre><code>$res = $db-&gt;consulta("SELECT concat(firstname,' ',lastname) as name,company,picture FROM visual_phonebook WHERE phone1 LIKE '%%%s'OR phone2 LIKE '%%%s' LIMIT 1",$clid_significant,$clid_significant);
</code></pre>
<p dir="auto">with:</p>
<pre><code>$res = $db-&gt;consulta("SELECT concat(firstname,' ',lastname) AS name,company,picture FROM visual_phonebook WHERE phone1 LIKE '%%%s'OR phone2 LIKE '%%%s' ORDER BY LENGTH(CONCAT(phone1,phone2)) LIMIT 1",$clid_significant,$clid_significant);
</code></pre>
]]></description><link>http://localhost:4567/post/3670</link><guid isPermaLink="true">http://localhost:4567/post/3670</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 06 Jul 2011 13:02:02 GMT</pubDate></item></channel></rss>