Question

Inbound Caller ID lookup notification

  • 1 October 2019
  • 1 reply
  • 434 views

Hello Everyone,

We're looking to develop realtime caller ID look up notification plugin which will display a pop up notification within RepairDesk whenever a store receive a call on their phone number.

I've looked at web hook & notifications documentation however I'm unable to find this info. It would be great if someone can guide us on what API documents to look at.

I appreciate the help.

Best,
Usman


1 reply

Userlevel 1

I don't know what programming language you are using so just assumed that you are using Node JS. If not, check out other languages under the same category.

First of all, get familiar with Webhook by following the quick start guideline from the link below

https://developers.ringcentral.com/guide/notifications/quick-start/webhook/node

Then, replace the event filter

eventFilters: ['/restapi/v1.0/account/~/extension/~/message-store/instant?type=SMS']

with

eventFilters: ['/restapi/v1.0/account/~/presence/?detailedTelephonyState=true'],

With this event filter, you can get notification for all extensions (users) under the account. If you have a list of users whom you want to monitor, specify a list of event filters instead. E.g.

eventFilters: [
'/restapi/v1.0/account/~/extension/[EXTENSION_ID]/presence/?detailedTelephonyState=true',
'/restapi/v1.0/account/~/extension/[EXTENSION_ID]/presence/?detailedTelephonyState=true',
'/restapi/v1.0/account/~/extension/[EXTENSION_ID]/presence/?detailedTelephonyState=true'],

Remember that you need to login the app with an admin user role.

Reply