question

Vinicius Brito avatar image
Vinicius Brito asked Vinicius Brito answered

What's the current way to build inbound and outbound calls from browser? In doubt between WebRTC and REST API

Hello! I can't really find a definitive path to build inbound and outbound calls in the browser.
I see two paths, but either don't seem to have a clear entry point.

For example I see
1 - this API: https://developers.ringcentral.com/api-reference/voice
2 - this WebRTC telephony: https://github.com/ringcentral/ringcentral-web-phone
3 - and I'm insure if https://ringcentral-tutorials.github.io/getting-started-with-webrtc-js-demo/#0 is the same as number 2.
I did had success in using the embeddable widget and also the Ringout in Node.js, but neither are what I seek.
I seek transparent inbound and outbound calls.

So, what's the overall route to follow here?
What to setup and then try to use?

rest api
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered

1- The APIs under Voice category are mainly for call control and initiate a call such as make a ring out or call out call. Thus, you don't build a phone but just control a phone call.

2- WebRTC, this is the stuff for you to build your own Web phone. You will have to implement your own UI (a dial pad) for your user to make phone call or pickup incoming phone calls.

3- This is a tutorial that shows you how to implement a Web phone using the RingCentral WebRTC SDK.


The embeddable is a widget that make it easy for you to embedded a phone into your web page w/o the need of building one. It provides the UI and it also uses the WebRCT under need to handle inbound/outbound calls.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Vinicius Brito avatar image
Vinicius Brito answered

Alright, thanks for shedding a light in my path! Will look into creating a phone with WebRTC to make and receive calls in the browser.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys