question

George Schally avatar image
George Schally asked George Schally answered

Webhook Event Filter For Calls Events

I've successfully created a webhook, but I'm still not seeing events for the phone I'm testing with. I suspect the filter is not correct. I would like events for all phones in the account. Is this the correct filter?

"eventFilters": [

"/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true",

"/restapi/v1.0/account/~/telephony/sessions"

],


Thanks.


webhooks
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 answered

This event would tell the system to send telephony events of any phone or phone number under your account.

"/restapi/v1.0/account/~/telephony/sessions"

This event would tell the system to send presence and simple telephony status event of the extension that subscribed for the event.

"/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true"

You test phone or number must be under the account. Double check if you accidentally test your app in sandbox but using your production number or the other way around.

1 |3000

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

George Schally avatar image
George Schally answered

Thanks Phong, the issue was the test phone was not created in the sandbox environment. I appreciate your help!

1 |3000

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

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