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
Call Routing & DND
Tags: call forwarding, call routing
Aug 8, 2022 at 3:04am   •   1 replies  •  0 likes
Peter Bradshaw

I answered some of my own questions. Original information is below but now I just need to know:

Can I somehow set a call queue to route in the following way:

Person 1 -> Person 2 -> Group 1 (or Person 3, 4, 5, 6, 7, 8 simultaneously)

Basically, I want it to sequentially call two people - if neither is available, it'll just call the whole office simultaneously.

_______________________________________________________________

OLD INFORMATION

Hi there,

I'm not super familiar with the RC system, so I thought it best to ask if a plan I have is possible before trying to implement it.

I'd like to take a big database of contacts that we have and create forwarding rules for each of the contacts.
Each of the contacts is assigned to one 'account manager'. There is also a backup manager for when the account manager is on leave.
Ideally, when a known contact phoned us, the call would forward to the account manager. It would also 'know' when that manager wasn't available and instead forward the call to the backup manager. In the worst case where neither were available, no forwarding could occur (or whole manager group rings, as we have it currently).

I know it is possible to create rules within the API to redirect calls from specific numbers to particular extensions. The issue comes when detecting if someone is available. How would this behave when putting the phone on DND? Would I somehow be able to create a rule that says:

Go to Account Manager
if on DND :
Go to Backup Manager
if on DND:
Call manager group

Can the API 'see' when a phone is on DND? I'm concerned it doesn't and would just go to voicemail on the first phone.

Another solution that may work would be to not have any phones on DND but instead:

Go to account manager and ring 'n' times
if no pickup:
GO to backup manager and ring 'n' times
if no pickup:
Ring whole office

Any advice or alternative solutions with regards to this would be much appreciated. Particularly with how the API treats DND phones and how intelligent rules can be.

--------------EDIT--------------

Having done some more searching, I seem to have answered some of my question:
I think I'll have to create call queues to achieve this.
From my investigation, if I create a call queue with the Account manager and then the backup manager (sequentially), then I can set a custom rule to redirect calls from certain numbers to said queue.
If the account manager is set to DND, it will route directly to the backup.

However, if the backup is also not available, how can I set it to ring the whole office at that point? Can I somehow make it ring sequentially for the first two redirections, and then simultaneously if both are unavailable?
Can I somehow forward it on to another group at that point, which is set to ring simultaneously?

1 Answer
answered on Aug 8, 2022 at 3:07pm  

Call queue is kind a for sharing a phone number with a big group. So instead of calling each agent's direct number, a customer can just call the call queue's number and the system will route the incoming call to the queue members, either rotating or simultaneously until a member of the queue picks up the call, or the call will end up in a voicemail or is forwarded to another extension (agent) or even to another call queue.

What you asked from the original question "to take a big database of contacts that we have and create forwarding rules for each of the contacts." was a different use case. To me, this is a direct call to each of the contacts, and each contact has it own route, from an account manager to a backup manager as you explained. For this, I don't think that it is suitable for call queue solution.

I recommend you to check and learn if user call handling is good enough for your use case. Login to your account web service, select a user, then open the Call Handling section and setup how incoming call should be handled (see screenshot).

Alternatively, you can implement a more sophisticated program to handle incoming call with your own condition. You can browse the API reference and implement the following steps

1. Subscribe for notification.

+ Add the user presence event to receive events when a user presence changed such as available/busy or its DnD status changed.

+ Add the user telephone session event filters to receive events when there is incoming calls to an agent's phone number.

2. Use the call control API to forward the call accordingly.


 1
on Aug 9, 2022 at 3:37am   •  0 likes

I just set up the system with call queues and it works as intended.
We only have 5 account managers so it's very easy to set up the queues with the backup.

I set up a call queue like this: sct.png

(Peter is account manager and Jade is backup)

Then, on your advice, set up wait settings to 'Not wait' and to forward to another queue (which is just our whole office).

screenshot.png

This means that certain contacts are forwarded first to the account manager, then to the backup and finally to the whole office if neither are available.

I now just have to make a program to do API calls and create a bunch of custom rules for all of our contacts.

Thank you for your help.

on Aug 9, 2022 at 1:24am   •  0 likes

Thank you for getting back to me.

You said: "the call will end up in a voicemail or is forwarded to another extension (agent) or even to another call queue."

So is there a way to forward a call from one call queue to another?

on Aug 9, 2022 at 1:51am   •  0 likes

Actually, that is not such a precise situation. But you can set the "Wait settings" to forward the call to another call queue. See the screenshot

screen-shot-2022-08-09-at-34624-pm.png

on Aug 10, 2022 at 1:39am   •  0 likes

Actually @Phong Vu I thought this worked the way I wanted but it doesn't quite...

My fault for getting ahead of myself.

When I set the wait time to 'don't wait' the call just instantly redirects to the other call queue. I didn't realise the system counted ringing on an extension in the wait time.

I need it to instantly redirect but only if both phones are unavailable.
I guess this probably won't work the current way I have it set up, unless I'm missing something.

on Aug 10, 2022 at 2:39am   •  1 likes

Actually you are just doing the call queue configurations, nothing yet about application development. To get better support, please reach out to RingCentral customer support rather than asking such questions in the developer community. You can also post your question in the User community and come back here when you have question related to RingCentral API platform.

on Aug 9, 2022 at 2:08am   •  1 likes

I just set up the system with call queues and it works as intended.
We only have 5 account managers so it's very easy to set up the queues with the backup.

I set up a call queue like this: sct.png

(Peter is account manager and Jade is backup)

Then, on your advice, set up wait settings to 'Not wait' and to forward to another queue (which is just our whole office).

screenshot.png

This means that certain contacts are forwarded first to the account manager, then to the backup and finally to the whole office if neither are available.

I now just have to make a program to do API calls and create a bunch of custom rules for all of our contacts.

Thank you for your help.

answered on Aug 8, 2022 at 8:05am  

Having done some more searching, I seem to have answered some of my question:
I think I'll have to create call queues to achieve this.
From my investigation, if I create a call queue with the Account manager and then the backup manager (sequentially), then I can set a custom rule to redirect calls from certain numbers to said queue.
If the account manager is set to DND, it will route directly to the backup.

However, if the backup is also not available, how can I set it to ring the whole office at that point? Can I somehow make it ring sequentially for the first two redirections, and then simultaneously if both are unavailable?
Can I somehow forward it on to another group at that point, which is set to ring simultaneously?


 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