Question

Send request to our webpage when we start and end a call

  • 5 November 2018
  • 1 reply
  • 124 views

Hi, is there a way to send call notification on our webpage like:


When the call is started, it sends web request like

https://ourwebsite.com/listen.php?started=1&from=111111111&to=22222222


And when the call ends it sends the web request like

https://ourwebsite.com/listen.php?ended=1&from=111111111&to=22222222




1 reply

You can do this by subscribing for presence events which indicate when a call starts and ends. You can do this in a client-side browser app using PubNub and on a server side app using Webhooks.

You can find more information on this here:

https://developer.ringcentral.com/api-reference#Subscriptions

You can find some tutorials here:

Reply