question

alexandra-gonzi13477 avatar image
alexandra-gonzi13477 asked Tyler Liu answered

Why am I not receiving incoming calls webhook events inside business hours?

Hello,

we have a free account application named "LeadsBridge Application". We use it for our business and we created an incoming call subscription through API for our customer.

When we retrieve subscriptions from API we obtain correctly the subscription


{
                 
        "uri": "https:\/\/platform.ringcentral.com\/restapi\/v1.0\/subscription\/781db18e-4595-4e1f-b1de-579336af0054",
        "id": "781db18e-4595-4e1f-b1de-579336af0054",          "creationTime": "2019-01-09T21:42:17.694Z",          "status": "Active",          "eventFilters": [              "\/restapi\/v1.0\/account\/2109957020\/extension\/2109957020\/missed-calls",              "\/restapi\/v1.0\/account\/2109957020\/extension\/2109957020\/incoming-call-pickup",              "\/restapi\/v1.0\/subscription\/~?threshold=86400&interval=3600"          ],          "expirationTime": "2034-11-13T22:35:37.694Z",          "expiresIn": 499575392,          "deliveryMode": {              "transportType": "WebHook",              "encryption": false,              "address": "https:\/\/leadsbridge.com\/app\/webhook\/02f0fe510a03a1865354d374da0beba8"          }  }



Our customer has some business hours configured in their account with id 2109957020.

When we try to do some calls to their phone number out of their business hours, we receive correclty webhook notification.

When we try to do some call inside their business hours we don't receive any webhook notification.


Do you have any idea what is causing this behaviour? Could be due to some account settings?

Of course we would like to receive webhook events always.


Thanks, Regards.


sdk
1 |3000

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

Tyler Liu avatar image
Tyler Liu answered
When the webhook subscription stops working, please check it status:

HTTP GET  /restapi/v1.0/subscription

Make sure it's not blacklisted.
1 |3000

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

alexandra-gonzi13477 avatar image
alexandra-gonzi13477 answered
Hi Tyler,
thanks for the answer.

I tried to get subscrition info during business hours (when webhook event doesn't arrive) and the subscrition status is ACTIVE as during not business hours (when webhook event arrives).

Any further idea?

Thanks, Regards.
1 |3000

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

Tyler Liu avatar image
Tyler Liu answered

Please submit a help ticket.


Please include as more details as possible: clientId, clientSecret, extensionId, timestamps, call logs records...etc.


Our engineers will figure out the root cause.


Tyler

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