News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
WebHook notification no longer works
Tags: webhooks
Oct 21, 2016 at 11:17pm   •   5 replies  •  0 likes
alec-dfour

After successfully working for few days in the sandbox, my app stopped working.


My app uses PHP and cURL to call RC APIs and has both read presence and read account permissions. App uses OAuth 2.0 Authorization Code Flow.


It registers a webhook passing the following filter


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

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

/restapi/v1.0/account/~/extension/xxxxxx/message-store



and the following parameters


$post = array (

"eventFilters" => $filter,

"deliveryMode" => array(

"transportType" => "WebHook",

"address" => "https://myserver.com/rc/subscription.php?guid=6e39c7b7-8241-49d9-9164-07c0c9367ab9"

)


to


https://platform.devtest.ringcentral.com/restapi/v1.0/subscription


I see my hook - subscription.php - being called first time during registration passing VALIDATION-TOKEN that is then returned back. The subscription returns success with a valid subscription id.




Here is a typical successful return from the registration API:


{ "uri" : "https://platform.devtest.ringcentral.com/restapi/v1.0/subscription/2ef8978e-82c1-4077-b335-03399984b...;,

"id" : "2ef8978e-82c1-4077-b335-03399984b47e",

"creationTime" : "2016-10-22T07:19:59.295Z",

"status" : "Active",

"eventFilters" : [ "/restapi/v1.0/account/144905004/extension/144905004/presence?detailedTelephonyState=true", "/restapi/v1.0/account/144905004/extension/144905004/presence/line/presence?detailedTelephonyState=true", "/restapi/v1.0/account/144905004/extension/146030004/presence?detailedTelephonyState=true", "/restapi/v1.0/account/144905004/extension/146030004/message-store", "/restapi/v1.0/account/144905004/extension/146031004/message-store", "/restapi/v1.0/account/144905004/extension/146032004/message-store", "/restapi/v1.0/account/144905004/extension/144905004/message-store", "/restapi/v1.0/account/144905004/extension/146032004/presence?detailedTelephonyState=true", "/restapi/v1.0/account/144905004/extension/146031004/presence?detailedTelephonyState=true" ],

"expirationTime" : "2016-10-29T07:19:59.295Z",

"expiresIn" : 604799,

"deliveryMode" : {


"transportType" : "WebHook",

"encryption" : false,

"address" : "https://myserver.com/rc/subscription.php?guid=6e39c7b7-8241-49d9-9164-07c0c9367ab9";

}

}



When I test the subscription by calling the phone (RingCentral softphone is running) , the softphone pops up but the webhook is not called.

All direct calls to RC API work. I am able to get account info, extensions, etc.


It was working for few days. I am pulling my hair out!

How to debug this?


Any help would be greatly appreciated.

5 Answers
answered on Mar 3, 2017 at 4:12pm  
We run into the same problem today. We are in production for months. Today at 1.53PM presence hook no longer called. Our customers are affected. Need help.

 0
answered on Oct 26, 2016 at 10:59am  
Thank you. it works now

 1
answered on Oct 25, 2016 at 4:37pm  
This issue has been resolved now. Please let us know if you encounter are any additional issues.

 0
answered on Oct 24, 2016 at 8:59am  
I am experiencing exactly the same issue. I have a registered, active presence web-hook which stopped working on Friday. Push notifications still do not work in my sandbox as of Monday morning.

 0
answered on Oct 23, 2016 at 10:51am  
Hi Alec,

I have been able to verify webhooks for inbound SMS webhooks but not voice presence. We are investigating this now.

Please stay tuned.

Thanks,
John

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us