Skip to main content

Hello,

I am trying to set up a webhook notification for missed inbound calls. I'm using the following event filter for that purpose:

/restapi/v1.0/account/~/extension/{extensionId}/telephony/sessions?direction=Inbound&missedCall=true

However, whenever there's a missed inbound call, I get no notifications whatsoever.

If I remove the missedCall=true parameter, I get 3 notifications for every missed call:

  1. The call "Setup" notification (where missedCall = false)
  2. The "Voicemail" notification (where missedCall = false)
  3. The "Disconnected" notification (where missedCall = true)

If I set the missedCall=false parameter, I get the first 2 notifications, which leads me to think that there's something wrong with the RingCentral notifications when it comes to missed calls in particular.

Any ideas?

You are using the extension level "/restapi/v1.0/account/~/extension/{extensionId}/", are you sure that you made a call to one of the phone numbers of that extension?

Can you try the account level and run your test?

/restapi/v1.0/account/~/telephony/sessions?direction=Inbound&missedCall=true



The extension ID is correct I assume, since I'm getting all the other extension-specific notifications.

When I subscribe to the account-level notification instead, I do get the notification, but I'm not able to specify which extension to monitor.

So to summarize, this is my experience:

  • The extension ID is the correct one (I'm getting all the notifications for that extension when specifying the extension ID)
  • The missedCall=true filter works only at the account-level notifications

To add more information, here's the event I received when the subscription was set at the account level:

1612315649607.png


I then changed the subscription to receive events at the extension level, using the same extension ID as above:

1612315534270.png


And after that, I stopped receiving the notifications.


I asked you are you sure the incoming call was dialed to a phone number belong to that extension (id: 287893004)?

I tested on my account and I got it works for both account level and extension level. Pls double check the phone number.


Reply