Skip to main content

I am building a react native application for calling .First of all i tried using the webphone RTC via web browser: https://github.com/ringcentral/ringcentral-web-phone. It works perfectly fine in web browsers.But the thing i need is to call via react-native application I am building.

I tried call via ring-central using 'ring out call' post api and 'call control- make callout' post api(beta version).But the problem i am facing is when i integrate these apis to react-native applications : To have a two way communication I need to be online in the web phone .Then when i call from react native it goes to the web phone first.And then when i dial 'answer' it redirects to the number i want to call to.Then only i can have a two way communication.

So, what do we do if i want to directly call via react-native application to the recipient directly?

P.s. If i am not online in the web phone from browser the call automatically goes to the voicemail.

Hi, Have you tried to use javascript sdk ?

https://github.com/ringcentral/ringcentral-js


So hard to understand your question from the title and the detailed description.

I guessed that you want to implement a functional phone using react native where you want to use the RingCentral WebRTC SDK to handle incoming and outgoing phone calls.

First of all, please mind the browser compatibility supported by the WebPhone SDK. Secondly, it is not trivial and I cannot support you on the react-native part. However, RingCentral provides an easy way to embed a RingCentral embeddable phone to any webpage and that app is an open source project. You can use the embeddable as such or clone the project and learn from the code or modify it to meet your requirements.

Click on the links above to find further information.


Reply