How to check for Presence Events on Extensions

  • 1
  • Article
  • Updated 3 years ago

Description: 

How do i get notified of an Incoming call on my RingCentral account. which API should i use to get Live Alert for Incoming Call.


Goal: 

When there is an incoming call i want to be notified of the presence like the caller id and the name of the person who is calling me.
Photo of AK

AK, Official Rep

  • 4,372 Points 4k badge 2x thumb
  • Answered

Posted 3 years ago

  • 1
Photo of AK

AK, Official Rep

  • 4,372 Points 4k badge 2x thumb

The presence of an incoming call could be checked using the Presence API listed under our API Explorer : 

GET     /v1.0/account/{accountId}/extension/{extensionId}/presence

To keep subscribing for this presence you could use the Subscription API listed under    our API Explorer :

Kindly refer to our developer guide under “Presence” section https://developer.ringcentral.com/api-docs/latest/index.html#!#RefPresence.html 

"Subscription" section https://developer.ringcentral.com/api-docs/latest/index.html#!#RefNotifications.html to know more.

(Edited)
Photo of VB

VB, Official Rep

  • 1,410 Points 1k badge 2x thumb
We provide PHP , JS and Python SDK's  which handles subscriptions easily. 
Photo of shan

shan

  • 90 Points 75 badge 2x thumb
Please can you provide an example as how I can achieve this via PHP/MySQL system.
Thanks
Photo of shan

shan

  • 90 Points 75 badge 2x thumb
Please can you provide an example as how I can achieve this via PHP/MySQL system.
Thanks