Hi,
I have an ASP.NET Web Forms site, where staff members can view all the details of a customer including phone number, and I want those staff members to be able to make RingOut calls to customers by clicking a button next to their phone number.
Can anybody help me out on the process of how this would work? There are plenty of non-real-life demos of the technical side, and I can reproduce all the steps of getting authenticated and making the call, I am just struggling to see how the process would work in real life?
From a customer details page, when the staff member clicked the button, the first thing Id have to do is get the auth URL, right? But that then sends an auth code back to a different page the callback page. So now Ive lost the details about who Im trying to call? Am I supposed to use the state parameter to remember those details or something? (I presume not from the description of it). Or add the number Im trying to call as a parameter on the end of the callback page?
How often am I supposed to have to get the auth URL and code just once and then store it in a database? Or I store the URL in a database and get the code each time I need to make a call? Or get both each time I need to place a call?
It may be a blind spot on my part but I just cannot see at all how to map the technical examples available to a real life example. It's not at all clear which bits are one off actions and which need to be repeated for each RingOut call.
I appreciate JavaScript may be a better option for me but my JS isnt too strong and I cant get the example (https://ringcentral.github.io/cti-demo) working for me. Nothing happens when I click Link Account.
Would appreciate any help from anyone who has done this stuff.
Thanks in advance.