Affects Version/s: 18.104.22.168
Fix Version/s: None
Component/s: Contact Manager
Distro:Self Install Debian
When performing cidlookups with Contact Manager as a source, some numbers are wrongly matched. Setting the locale of all phone numbers for all contacts to unknown will "fix" the problem.
My example :
In asterisk logs, we see the CID 0000000000 matched with a contact from Contact Manager with a completely different number (0546556660)
In contactmanager.agi :
$data = $cm->getNamebyNumber($argv, explode('_',$argv));
returns the wrong value.
In contactmanager/Contactmanager.class.php we get a match for the wrong number line 2817 :
the function performing the match (isNumberMatch) is a libphonenumber-for-php function.
debugging show that the arguments passed to isNumberMatch are "0000000000" and "+33546556660".
Is there any way to fix that ?
Would an update of the library resolve that particular problem ?