Skip to main content

How do I create a Direct Ring Out using RingCentral Phone API?

We have a .Net application that interacts with RC Phone via API. I am able to make a call (Ring Out), but then both caller and callee get a call. How do I make a direct call using an API where only the receiver gets a call and the caller gets a new open call on the softphone?

Not sure if it's possible using the .net sdk or via the api. I've built a "softphone" like application with windows forms using c#. It's more of a access gateway to ring central. Where actions taken on this application hits specific endpoints for the user to see. Giving the impression of a softphone. With that said... any dial out on my application uses the Ring Out api. Initiating the call from my app will "ring out" to the user's phone first. This requires my user to answer first. When Ring Central registers they picked the phone up, the ring cental backend will complete the call to what ever number was punched in. The direct ring out I believe you're trying to get at (IE: skipping the user picking up the phone first), is done with javascript using WebRTC. The call is placed and takes place via the web. The unfortunate thing here is the absence of the physical desk phone. Cool technology, just not ready for the .net applications yet. Hope my experience sheads some insight and value.
Your app is unable to make "direct" call if it's neither a hard phone nor a soft phone.  In order for your app to become a soft phone, you can use webRTC: https://github.com/ringcentral/ringcentral-web-phone

Your app can also automate an external soft phone by opening rcmobile://call?number=1650xxxxxx
So that external soft phone make the direct call for you.
Does this number need to be in user contacts? rcmobile://call?number=1650xxxxxx
Also, is this the number or account id?
What is the expected result? RC softphone activating and starting the call?

Thanks Tyler, I have automated an external soft phone by opening rcmobile://call?number=1650xxxxxx and it appears to be working well. It is also the simplest solution.

Since we are doing this from a webpage,  the form needs: 'method=post'

here is the code:

$("#rcCallButtonForm").attr("action", "rcmobile://call?number=%22" + extension + "%22");

            

If I'm using the windows ring central softphone is it possible to ring the agent first before the customer with a api?


If I'm using the windows ring central softphone is it possible to ring the agent first before the customer with a api?

Please submit a new question with details. Don’t ride on a very old (6 years) question like this. You can copy the link of previously asked question and refer to it in your new question.


Reply