You can use a Aura Component or Lightning Web component for click to dial.
•Salesforce help (Aura Component)
•Salesforce help (Lightning Web Component)
Create an Aura Component and add following code in its component file where
Value = the phone number to call
recordID = data record like contact ID
You can can add this Lightning component to any of your record pages by clicking -> edit page -> drag the component onto the layout and save it.