Requirement:
We need to get the incoming call from our website users and website admin can receive a call using the browser.
Like, Some user call via mobile phone on specific number which is predefined in our website. On dedicated page of website they receive a popup and communicate with the users.
Question:
1.) Need to know about if it is possible using ringcentral API ?
2.) If possible then, Till now I have implement and get the "partyId" and "telephonySessionId" using the webhook subscription "/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true" on ring-out API
=> Now need to understand the further roadmap about how we can achieve above requirement using ringcentral API.
If anyone can provide some input on above that would be great to work further with this.
Thanks..!
Handled voice InBound call using our own website via API - Webhooks
Page 1 / 1
I don't fully understand your question and explanation. But if you just need to detect incoming calls and implement inbound popup, then use of of these event notification filters to catch incoming call notifications.
If you want to catch incoming calls for the entire account (every user under a RingCentral account), use:
/restapi/v1.0/account/{accountId}/telephony/sessions?direction=Inbound
If you want to catch incoming calls for a particular user, use:
/restapi/v1.0/account/{accountId}/extension/{extensionId}/telephony/sessions?direction=Inbound
Then you can check the "from.phoneNumber" to identify the caller and fetch that user info to display in your popup. It's up to you to decide at what call status you want to fetch and display the popup.
Read this article to learn more about the telephony session events.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.