Idea

kaluzynski9774 avatar image
kaluzynski9774 suggested Byrne Reese edited

Is there an event/webhook that is triggered when a call is answered by someone?

I can only seem to find features that trigger an action when a call is received by the app, and not when a call is answered. This means if you have RingCentral set up to do round-robin, if a call gets passed between a few agents, you get lots of duplicate triggers/actions.

With RingCentral's existing webhook features, I suspect it's possible to build a RingCentral app that triggers a webhook on a call being answered, and I've been poking around in the developer portal trying to do it myself but I've only gotten as far as making a few successful API calls (I'm a novice, so I could probably do it but it'll take me a long time).

Has anyone else built this? I wouldn't be surprised if it's out there, or if there's something very similar that I could modify to fit my needs. Searched around, but I haven't found anything yet.

topic-defaultnotificationswebhooksvoiceevents
1 |1000

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

3 Comments

·
brandon-hein avatar image
brandon-hein commented
I think they have something already with the presence event. But you need for listener to do some logic to figure out the call answered. If you subscribe to the presence events per RC extension... you should be able to leverage the presence and telephony statuses to identify a call answered. I believe its Presence = Busy and Telephony = CallConnected. Those two should be your indication of an RC extension starting a call. Also part of that subscription has active call details... so that can be passed through on the webhook to give more details on a call answered.
1 |1000

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

adam-antoszewski avatar image
adam-antoszewski commented

I have built an application that receives notifications on events in RingCentral. I am using ringcentral-csharp-client (in GitHub).
When it first connects to RingCentral, it subscribes to events for all users.

Then when the call notifications come, they have TelephonyStatus attribute. 

telephonyStatus: 'NoCall' | 'CallConnected'| 'Ringing' | 'OnHold' |'ParkedCall'

If is is TelephonyStatus.CallConnected, you know.



1 |1000

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

Phong Vu avatar image
Phong Vu commented
If you are working on Node JS programming language. Check out this blog and tutorial to see how you can use the presence notification to detect if a call is answered.

https://medium.com/ringcentral-developers/how-to-get-a-new-call-recording-notification-ee9f2a6e41a0

1 comment
1 |1000

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

station 1 lurie avatar image station 1 lurie commented ·

Is there an example code in C#

0 Likes 0 ·

Write a Comment

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

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.