Question

Not seeing telephony Notifications from call-out API

  • 20 October 2021
  • 3 replies
  • 306 views

I have an application that subscribes to telephony events (/restapi/v1.0/account/~/telephony/sessions). I receive notifications if I make calls to my RingCentral soft client or call from the phone. However, if I use the call out API (/restapi/v1.0/account/~/telephony/call-out), my notification webhook is never invoked. Do I have to make a different kind of subscription for these notifications?


3 replies

Tagging @Phong Vu who can help you here

I was wrong. I do get the notifications, but the "from" phone number is the "Main company" number and not the "Primary number." I thought it would be the number I set as Display number, but it's not.

Userlevel 1

That's right, the from number is the main company number and I already reported this to the dev team. Meanwhile, you can read the device info and grab the phone number associated with that device. Then when you receive the notification, use the device id in the "from" object to get the direct phone number.

Reply