Skip to main content
Question

Realtime Voice bot with RingCentral

  • April 17, 2019
  • 4 replies
  • 2156 views

I can't seem to find any API that allows me to listen to calls in realtime and reply programatically to the call in realtime. Can anyone please guide me to the right direction for this.Thanks

4 replies

Hi Khalil, If you don't need voice, you can use TelephonySession api to listen and control call:
https://developers.ringcentral.com/api-reference#Extension-Telephony-Sessions-Event-Beta
https://developers.ringcentral.com/api-reference#Call-Control-rejectParty

If you want to play with real time voice, you can use our webRTC phone library https://github.com/ringcentral/ringcentral-web-phone

  • Author
  • New Participant
  • April 20, 2019
I want to reply to customer queries programmatically. Answer to what he/she asks on phone.

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • April 21, 2019
You wrote "API that allows me to listen to calls in realtime ...". Did you mean to listen to incoming call (ringing) or to listen to the call after the call is picked up?

If you want to listen to incoming call while it is ringing, use the presence push notification or the telephony session API.

If you want to listen to the voice of the call, then the WebRTC would help.

Also, you wrote ".. reply programmatically to the call in realtime", did you mean to pick a ringing call programmatically? If so, I am afraid that you cannot do that unless you make a call handling rule to direct the call to a voicemail.

  • Author
  • New Participant
  • April 21, 2019
Ok. I am actually looking for voicebots. Reply to the call while it is going on. Answer to the incoming calls.