question

Peter Bradshaw avatar image
Peter Bradshaw asked Phong Vu commented

Call Routing & DND

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?

call forwardingcall routing
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered Phong Vu commented

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.

5 comments
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Peter Bradshaw avatar image Peter Bradshaw commented ·

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?

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ Peter Bradshaw commented ·

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

0 Likes 0 ·
Peter Bradshaw avatar image Peter Bradshaw Phong Vu ♦♦ commented ·

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.

1 Like 1 ·
sct.png (23.1 KiB)
screenshot.png (23.5 KiB)
Show more comments

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys