question

Andrew Prokop avatar image
Andrew Prokop asked Phong Vu commented

Not seeing telephony Notifications from call-out API

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?

phonesubscriptionnotifications
1 |3000

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

Anirban avatar image
Anirban answered

Tagging @Phong Vu who can help you here

1 |3000

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

Andrew Prokop avatar image
Andrew Prokop answered Phong Vu commented

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.

1 comment
1 |3000

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

Phong Vu avatar image Phong Vu ♦♦ commented ·

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.

0 Likes 0 ·

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys