question

sneha-rao8582 avatar image
sneha-rao8582 asked Phong Vu commented

voicemail webhook not sent when receiving a voicemail for some numbers?

Hi, We are facing an issue about Voicemails. There are total 10 numbers in our Ringcentral account. We are using Event filter "/restapi/v1.0/account/~/extension/~/voicemail" for notifications when new voicemail message is received.

The problem is webhook sent only when some numbers. i.e 2 out of 10 numbers.

am i missing any setting in Ringcentral admin section like

1)enable voice to text

2)enable voice recording

or do i have to add any other event filter?


webhooksvoicemail
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

Confirm that this is an issue (it happened before and was fixed and now it happens again). I will report the issue to the dev team. Meanwhile, you can workaround this by subscribe for the telephony/sessions event and detect voicemail via the event payload

...parties[{...status: { code:"Voicemail" ...}}]

10 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.

sneha-rao8582 avatar image sneha-rao8582 commented ·

@Phong Vu Thansk for reply.

I had raised ticket. and got to know following information

i was subscribing to voicemail events of just the extension i was logged in to. I have to subscribe to all the extension's voice mail events by using the extension IDs of all their extensions.


so i am using
"/restapi/v1.0/account/712273005/extension/714339005/voicemail"

but still i am not able to see any voicemails webhook for 714339005 extension.

I have tried "/restapi/v1.0/account/712273005/extension/714339005/message-store?type=Voicemail&direction=Inbound"

still no webhook is sent for extension 714339005 voicemails


0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ sneha-rao8582 commented ·

Another workaround solution that works for me is that you also add the message-store filter. Some how the voicemail event gets fired after the message-store event.

Try to add these events to your subscription.

[
'/restapi/v1.0/account/~/extension/~/voicemail',
'/restapi/v1.0/account/~/extension/~/message-store'
]
0 Likes 0 ·
sneha-rao8582 avatar image sneha-rao8582 Phong Vu ♦♦ commented ·

@Phong Vu Hi i have added following events to my subscription

screen-shot-2022-03-21-at-95055-am.png

I have subscribed to all the extension's voice mail events by using the extension IDs of all their extensions.

Still voicemail webhook doesn't sent sometime.


0 Likes 0 ·
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