<div dir="ltr">Hello all<div><br></div><div>we are using the phonenum_match_cn function to detect valid phone numbers, but seems there are some numbers like 576015145834 which are no detected as valid ones, </div>$phn(ani=>valid) --> 0<br>$phn(ani=>ccname) --> <null><br>$phn(ani=>cctel) --> 0<br>$phn(ani=>error) --> Invalid number<br><div><br></div><div>but using </div><div><a href="https://libphonenumber.appspot.com/phonenumberparser?number=576015145834&country=CO">https://libphonenumber.appspot.com/phonenumberparser?number=576015145834&country=CO</a> seems it gives a valid result</div><div><br></div><div>Validation Results<br>Result from isPossibleNumber()        true<br>Result from isValidNumber()       true<br>Result from isValidNumberForRegion()      true<br>Phone Number region       CO<br>Result from getNumberType() FIXED_LINE<br><div><br></div><div>we are using kamailio 5.4 and libphonenumber tag v8.12.30 (also tested v8.9)</div><div>the command is used with 'ZZ' cnc and passing the number with +</div><div><br></div><div>maybe we are missing something in the configuration/setup?</div><div>thanks and regards<br>david</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" style="direction:ltr"><table cellpadding="0" cellspacing="0" border="0" style="width:100%"><tbody><tr style="font-size:0"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0"><tbody><tr style="font-size:0"><td align="left" style="padding:15px 0 0;vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;line-height:normal"><tbody><tr style="font-size:0"><td align="left" style="padding:0 10px 0 0;border-top:none;border-right:dotted 3px #009bdf;border-bottom:none;border-left:none;vertical-align:middle"><a href="http://www.sonoc.io/" style="text-decoration:none" target="_blank"><img src="https://www.sonoc.io/wp-content/uploads/2020/07/Logo_SONOC_emails.png" height="90" border="0" alt="" style="height:90px;min-height:90px;max-height:90px;font-size:0"></a></td><td align="left" style="padding:0 0 0 10px;vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0"><tbody><tr style="font-size:0"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0"><tbody><tr style="font-size:0"><td align="left" style="padding:0 0 0 5px;vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0"><tbody><tr style="font-size:0"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="white-space:nowrap;color:#102f4a;font-size:22.67px;font-family:Calibri;font-weight:400;font-style:normal;text-align:left;width:200px"><tbody><tr style="font-size:16px"><td style="font-family:Calibri">David Escartín<span style="font-size:1px;color:#ffffff;line-height:1px"><span style="font-family:remialcxesans"></span><span style="font-family:'template-4gSXZZkrEeu1ZigYeGGm7w'"></span></span></td></tr></tbody></table></td></tr><tr style="font-size:0"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="white-space:nowrap;color:#102f4a;font-size:22.67px;font-family:Calibri;font-weight:400;font-style:normal;text-align:left;width:200px"><tbody><tr style="font-size:15px"><td style="font-family:Calibri">NOC engineer</td></tr></tbody></table></td></tr><tr style="font-size:0"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="white-space:nowrap;color:#009bdf;font-size:22.67px;font-family:Calibri;font-weight:400;font-style:normal;text-align:left;width:200px"><tbody><tr style="font-size:15px"><td style="font-family:Calibri"><a href="http://www.sonoc.io/" style="text-decoration:none;color:#009bdf" target="_blank"><strong style="font-weight:400">www.sonoc.io</strong></a></td></tr></tbody></table></td></tr><tr style="font-size:0"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0"><tbody><tr style="font-size:0"><td align="left" style="padding:20px 0 0;vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="width:200px;font-size:0"><tbody><tr style="font-size:0"><td align="left"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0"><tbody><tr style="font-size:0"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;line-height:normal"><tbody><tr style="font-size:0"><td align="left" style="padding:0 3px 3px 0;vertical-align:top"><a href="https://www.linkedin.com/company/sonoc" style="text-decoration:none" target="_blank"><img width="20" height="20" border="0" title="LinkedIn" alt="LinkedIn" style="width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;max-height:20px;font-size:12px" src="https://ci3.googleusercontent.com/mail-sig/AIorK4xLBR5Q81qJDdF-wA6Vxl36FBT7fmJuw_gr0t0SU5l7h6qIzk1HPcQBjct-yc5E2W-Rfx0w19g"></a></td></tr></tbody></table></td><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;line-height:normal"><tbody><tr style="font-size:0"><td align="left" style="padding:0 3px 3px 0;vertical-align:top"><a href="https://twitter.com/sonoc_" style="text-decoration:none" target="_blank"><img width="20" height="20" border="0" title="Twitter" alt="Twitter" style="width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;max-height:20px;font-size:12px" src="https://ci3.googleusercontent.com/mail-sig/AIorK4z31tQAlOpDQOc0kjURZ7ojxKhGln-V770XS6xTsOGXzJDUavb9Frw44B_mIQNL8rIz1YbO8OM"></a></td></tr></tbody></table></td><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;line-height:normal"><tbody><tr style="font-size:0"><td align="left" style="padding:0 3px 3px 0;vertical-align:top"><a href="https://www.facebook.com/SONOCio/" style="text-decoration:none" target="_blank"><img width="20" height="20" border="0" title="Facebook" alt="Facebook" style="width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;max-height:20px;font-size:12px" src="https://ci3.googleusercontent.com/mail-sig/AIorK4waToTIrAwHv7uts8d9mEV1mTtoUvqLw07le8AIQiZtPqWyBRCFLEm1EVURJDw1TzXZ0v1kkUw"></a></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr style="font-size:0"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0"><tbody><tr style="font-size:0"><td align="left" style="padding:10px 0 0;vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="white-space:normal;color:#636363;font-size:14.67px;font-family:Calibri,Arial,sans-serif;font-weight:400;font-style:normal;text-align:justify;width:550px"><tbody><tr style="font-size:11px"><td style="font-family:Calibri">This e-mail is for the exclusive use of its recipients and may contain business secrets or other confidential or privileged information. Any unauthorised use, copying, publication or distribution of this e-mail is strictly prohibited. If you are not the intended recipient, please inform us immediately by replying to this e-mail and delete it, including any attachments or copies on your system.<br><br>In accordance with the GDPR (EU) 2016/679 and the LOPDGDD 3/2018, we inform you that this e-mail address and/or any other personal data you have provided us with will be treated by SONOC with absolute confidentiality and with the only purpose of providing you with the requested services, due to your condition as a client, supplier or because you have requested information from us at any time. These data will only be kept for as long as required to comply with legal obligations. You can exercise your rights at any time by sending an e-mail to: <span style="color:#009bdf"><a href="mailto:dataprotection@sonoc.io" style="text-decoration:none;color:#009bdf" target="_blank"><strong style="font-weight:400">dataprotection@sonoc.io</strong></a></span><a href="mailto:dataprotection@sonoc.io" style="text-decoration:none;color:#000001" target="_blank"><strong style="font-weight:400">.</strong></a><br></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div></div></div></div>