News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Handled voice InBound call using our own website via API - Webhooks
Tags: call handling
Nov 1, 2023 at 3:00am   •   1 replies  •  0 likes
Bharat Chauhan

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..!

1 Answer
answered on Nov 2, 2023 at 7:38am  

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.


 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us