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
RingCentral API for smart Incoming Call Routing
Tags: sdk
Sep 25, 2017 at 10:06am   •   3 replies  •  0 likes
brandon-hein

Hi. I've looked everywhere for this, but have been unable to dig anything up for this. I would like to create a smart incoming call router using the RC APIs. If a client called in our standard App Call number line, this 'router' would bump up the incoming phone number against our own CRM, find their assigned user and directly route the call to their phone. Likewise, if no match was found, it would send an 'invite' to available users, the first to take the cake would have the call routed to them.


I see documentation on using the desktop softphone app to launch an website or application after the call. I'm talking about before it even connects to one of my team members.


Is there any documentation around call routing via the API/SDK use?


Thanks!

3 Answers
answered on Mar 9, 2020 at 6:05pm  

Following back up to this... after 2 years, it appears that RC has created some awesome endpoints to leverage for this. More specific to this situation, `CallControl` - Forward Call Party.

Build out process to be like this:
1. Web server app that listens to notification events to your main company line account/extension. Could be serverless with AWS, or using Heroku, or anything that can be hit via http.
2. Subscribe via WebHook presence telephony events.
3. When an incoming call comes in to the webhook... your app does magic to route to a specific person
4. Once found... using the `CallControl` - Forward Call Party. endpoint/request to route the call.
5. Celebrate... because that was easy.



 0
answered on Sep 25, 2017 at 4:29pm  
Thanks for the info John. I'd be interesting to have something like that in place. RC reach out to a company webservice, and the webservice would return an extension to route the call too. These answering rules might be able to work with what I'm trying to accomplish, just an added layer of difficulty needing to be a step ahead of clients potentially calling in. You said 'depending on how many'... what is the cap or max allowed for these answering rules?

 0
answered on Sep 25, 2017 at 1:15pm  
Hi Brandon,

Depending on how many contacts you have in your CRM, you can load them in to RingCentral's call handling rules using the Answering Rule API. This way users will be routed to the right user. If a user is not found, you can send the call to a queue or forwarding group.

https://developer.ringcentral.com/api-docs/latest/index.html#!#RefUpdateAnsweringRule

We don't have the ability of looking up a number dynamically yet but this is something we are looking into.

 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