function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PaulATPimptastiPaulATPimptasti 

Phone Number Searching

Here's an interesting one.

 

Is there an API / Method / widget that we can use to search telephone numbers via Apex is a similar way to that of the CTI.

 

The issue we have is that numbers are stored in Salesforce using all sorts of formats including brackets, +, 00<country_code> and we don't really want to have to edit all of these numbers but that is certainly plan B.

 

The CTI softphone does a clever look up as it takes the inbound number in the format 02071234567 and then looks up the Contact with the corresponding number.  However in our instance that number is stored +44 20 7123 4567due to the Outlook Sync.  As Salesforce does not store the Country Code or Area Code in separate fields it means that the CTI must be doing some processing.

 

If anyone has come across this or has any ideas it would be great to hear from you!

 

Cheers

 

Paul