question

Bhavesh Kulchandani avatar image
Bhavesh Kulchandani asked Phong Vu commented

Webhook integration

Hello there,
Is it possible to bind call come in webhook(our own webhook) to specific number where customer can call and we can get user queries at provided endpoint and after processing we can revert to user query. This kind of functionality possible with Twilio so I'm confirming here & if it's possible then how we can do?

phone numbers
1 |3000

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 answered

Reading your question over and over again, I still don't understand what you want to do.

However, if you are just looking for Webhook notifications, then read this dev guide to get started.

You can also read this article to learn more about the telephony session event notifications.

1 |3000

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

Bhavesh Kulchandani avatar image
Bhavesh Kulchandani answered Phong Vu commented

Hi @Phong Vu ,
Basically we want to integrate RingCentral Call Streaming with our AI Assistant. So, call will be received by our AI Asiistant first and AI will listen user's problem and guide them first. To do so, we need to bind RingCentral Call Streaming bi-directional way so, AI can get Voice and also AI should be able to emit response in the stream in form of audio file. We have seen the documentation but unfortunately didn't find any way to such. It will be great if you can provide us any document for that or help us any way.
Reference Link for Bi-directional Stream we are looking for - https://www.twilio.com/docs/voice/twiml/stream#bi-directional-media-streams


Alternate approach is we can bind our AI assistant using SIP trunking, does RingCentral providing such functionality of SIP trucking?


Reference link for SIP Trunking - https://cloud.ibm.com/docs/assistant?topic=assistant-deploy-phone#deploy-phone-byost

1 comment
1 |3000

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 ·

Unfortunately, we don't have platform API to retrieve audio stream from a direct call.

For your use case, you can implement a SIP phone using PJSIP library and handle the audio stream the way you want to. Check out these articles to learn

https://medium.com/ringcentral-developers/pjsip-and-ringcentral-part-1-get-started-67df16b10956

https://medium.com/ringcentral-developers/pjsip-and-ringcentral-part-2-handle-audio-medias-c26b8ea61319

0 Likes 0 ·

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