Skip to main content
Question

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.


PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • November 6, 2023

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.


  • Known Participant
  • November 8, 2023

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings