I need to know how can I make a call in desktop from browser based application using the WebPhone WebRTC.

  • 3 August 2018
  • 5 replies

I have integrated RingCentral API for making Authentication,Inbound and Outbound SMS,SMS Store.But for making Voice call I have integrated the WebPhone from .WebPhone is a browser based application and I want to integrate it in my Desktop application.How to retrieve the Address book and make a call from the list of contacts from Address book and make Voice call from WebPhone.

I can share more details if required.


5 replies

If you want to use WebRTC in your desktop app, your desktop app must have a web browser embedded.

For example, electron has Chrome browser embedded so it is able to take advantages of WebRTC. Other languages also have solutions to embed a browser. This is a Java Desktop demo:
Hi Tyler,

I am able to make WebPhone application execute in my desktop application with a browser control in Windows but every time when I invoke the browser control it ask authentication.
I want to make the login procedure only once at the start.
Also please let me know what is the API for making logout in C# and JavaScript.


Amit Ohal

After authorization, you retrieve the auth data and persist it somewhere.  Next time you invoke the browser control, set the auth data back.  Then there is no need to do authorization every time. 
Here is the JS code to do logout:
The code really helped out and this was made possible, the calling in desktop from the web phone does seems like a great help. I wandered around in the  Windows 10 Recovery Media for the recovery of the code possible.