sendCTIMessage() is working flawlessly in Classic and VF page.
From below below code snippet
sendCTIMessage('/CLICK_TO_DIAL?DN=XXXXXXXXXX'); is talking to my Twilio Flex configuration set in Call Center set up and making a call to XXXXXXXXXX as expected in classic.
But when I use this in Lighting it says sendCTIMessage is undefined in console inspect.
My requirement is: Will have a quick Action button on the lightning lead/contact page. When the user clicks the button it will make a server call to get other Lead/Contact details along with the Phone Number and make a call to that number then navigates to that Lead/Contact. We are using Twilio Flex as a vendor.
Anyone has any idea how to make
sendCTIMessage() works in Lightning experience or is there any other way I can make outbound calls in lightning.
Thank you! Charan