question

sam-cohen12544 avatar image
sam-cohen12544 asked ·

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

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


General Topic
1 |1500 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
John Wang avatar image
John Wang answered ·
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:

1 |1500 characters needed characters left characters exceeded

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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