Control softphone or desk phone via API or SDK

  • 1
  • Question
  • Updated 2 weeks ago
We have been able to handle incoming calls by making use of the RingCentral Webphone library (https://github.com/ringcentral/ringcentral-web-phone). However, this approach makes use of WebRTC via the browser and therefore when the page is reloaded the active connection/call you are in is lost. We would like a more sturdy and robust integration and are looking into alternative approaches. That is why I would like to know if it is possible to directly control the RingCentral softphone or (physical)desk-phone by using a specific SDK or API. This would give the user a better integration. Does such an SDK or API currently exist? Is this a possible solution or is there another alternative?
Photo of Jeroen Couwenberg

Jeroen Couwenberg

  • 110 Points 100 badge 2x thumb

Posted 2 weeks ago

  • 1
Photo of Embbnux Ji

Embbnux Ji, Employee

  • 250 Points 250 badge 2x thumb
Hi, Jeroen . You can try RingCentral Embeddable Voice https://github.com/ringcentral/ringcentral-embeddable-voice  It is a web application. But you can embed it into a webview or electron. And you can control it by API from webview.  This is a demo to use it in java with jxbrowser https://github.com/tylerlong/jxbrowser-webrtc
Photo of Jeroen Couwenberg

Jeroen Couwenberg

  • 110 Points 100 badge 2x thumb
Hi Embbnux Ji,
Thank you for your reply. We have to load our app inside an iframe of an existing web-based environment so we cannot import a webview or electron in the environment. We are looking for a way to control the voice from the iframe directly using JavaScript. Any other suggestions perhaps?
Photo of Tyler Long

Tyler Long, Official Rep

  • 5,584 Points 5k badge 2x thumb
We are looking for a way to control the voice from the iframe directly using JavaScript.

https://github.com/ringcentral/ringcentral-web-phone supports that. 


when the page is reloaded the active connection/call you are in is lost. 

No JS code will survive after page reload, I don't think there is a solution to this problem.



it is possible to directly control the RingCentral softphone or (physical)desk-phone by using a specific SDK or API.

As far as I can tell, there is no such SDK / API.


 https://github.com/ringcentral/ringcentral-embeddable-voice allow you to control the phone via JS. But it also has the page reload issue mentioned above.
Photo of Dibyendu Roy

Dibyendu Roy

  • 72 Points
@Jeroen Couwenberg there are a set of Active Call Control APIs that we will be publishing sometime in July, however, would love to get some early feedback from you on those beta APIs. I would reach out to you with further details. - Dibyendu