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
Øyvind Borgersen 10Øyvind Borgersen 10 

CTI get phone number

Hi,

We have a CTI intregration and need to get the phone number once we have answered the call. We have a couple of records created, but that's once the call is ended and we need it at the start of the call.

We will use this phone to lookup to an account and create a case.
AnudeepAnudeep (Salesforce Developers) 
As far as I know, it is not possible to retrieve this at the start of the call

You can try using getDirectoryNumbers() for Salesforce Classic that returns the list of phone numbers from the call center’s directory