Skip to main content
Question

Not seeing telephony Notifications from call-out API

  • October 20, 2021
  • 3 replies
  • 353 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


  • Author
  • Known Participant
  • October 20, 2021

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.


PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • October 21, 2021

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.