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
What is the reliability of webhooks?
Tags: phone
Aug 31, 2021 at 12:44pm   •   1 replies  •  0 likes
Alan Christensen

I have a telephony/sessions subscription and it seems I missed a message or some messages.

For this particular session I never got the disconnect to show the call ended. It does seem that I did not receive all the messages based on the sequence numbers. I only see a 3,5,6.

What is the expected reliability on those subscriptions? Is it possible that some messages are missed? What could I do to recover from this missed message scenario? Is this my end not receiving the messages or the other end not sending them?

{"uuid":"7709450238821189519","event":"/restapi/v1.0/account/538209032/extension/538295032/telephony/sessions","timestamp":"2021-08-25T18:07:32.800Z","subscriptionId":"e86347a8-689c-4bb6-a72a-9f969b1c8dea","ownerId":"701308032","body":{"sequence":3,"sessionId":"536405079032","telephonySessionId":"s-02b4237d2b5c47ceb327198d7d72e190","serverId":"10.13.216.111.TAM","eventTime":"2021-08-25T18:07:32.716Z","parties":[{"accountId":"538209032","extensionId":"538295032","id":"p-02b4237d2b5c47ceb327198d7d72e190-2","direction":"Inbound","to":{"phoneNumber":"5343","name":"Mike Hutchinson","extensionId":"538295032"},"from":{"phoneNumber":"5299","name":"Switch Board Operator","extensionId":"538253032","deviceId":"801178602032"},"status":{"code":"Setup","rcc":false},"park":{},"missedCall":false,"standAlone":false,"muted":false}],"origin":{"type":"Call"}}}

{"uuid":"1350348032124045025","event":"/restapi/v1.0/account/538209032/extension/538295032/telephony/sessions","timestamp":"2021-08-25T18:07:36.068Z","subscriptionId":"e86347a8-689c-4bb6-a72a-9f969b1c8dea","ownerId":"701308032","body":{"sequence":5,"sessionId":"536405079032","telephonySessionId":"s-02b4237d2b5c47ceb327198d7d72e190","serverId":"10.13.216.111.TAM","eventTime":"2021-08-25T18:07:35.980Z","parties":[{"accountId":"538209032","extensionId":"538295032","id":"p-02b4237d2b5c47ceb327198d7d72e190-2","direction":"Inbound","to":{"phoneNumber":"5343","name":"Mike Hutchinson","extensionId":"538295032"},"from":{"phoneNumber":"5299","name":"Switch Board Operator","extensionId":"538253032","deviceId":"801178602032"},"status":{"code":"Proceeding","mobilePickupData":{"ccMailboxes":["538295032"],"to":"#477032@sip.ringcentral.com:5060","sid":"35720777167864","srvLvl":"-149699523","srvLvlExt":"406"},"rcc":false},"park":{},"missedCall":false,"standAlone":false,"muted":false}],"origin":{"type":"Call"}}}

{"uuid":"8579565434175763696","event":"/restapi/v1.0/account/538209032/extension/538295032/telephony/sessions","timestamp":"2021-08-25T18:07:42.983Z","subscriptionId":"e86347a8-689c-4bb6-a72a-9f969b1c8dea","ownerId":"701308032","body":{"sequence":6,"sessionId":"536405079032","telephonySessionId":"s-02b4237d2b5c47ceb327198d7d72e190","serverId":"10.13.216.111.TAM","eventTime":"2021-08-25T18:07:42.872Z","parties":[{"accountId":"538209032","extensionId":"538295032","id":"p-02b4237d2b5c47ceb327198d7d72e190-2","direction":"Inbound","to":{"phoneNumber":"5343","name":"Mike Hutchinson","extensionId":"538295032"},"from":{"phoneNumber":"5299","name":"Switch Board Operator","extensionId":"538253032","deviceId":"801178602032"},"status":{"code":"Answered","mobilePickupData":{"ccMailboxes":["538295032"],"to":"#477032@sip.ringcentral.com:5060","sid":"35720777167864","srvLvl":"-149699523","srvLvlExt":"406"},"rcc":false},"park":{},"missedCall":false,"standAlone":false,"muted":false}],"origin":{"type":"Call"}}}

1 Answer
answered on Sep 1, 2021 at 10:31am  

Not all the events (some internal) are fired so you should not expect continuous sequence number. It works quite reliably for all my apps.

How often do you miss the 'disconnect' event? If you do not get the 'disconnect' event, can you make a new call to see if you receive other events or not. That way you can tell if the event is missed or your webhooks just got interrupted etc.


 0
on Sep 1, 2021 at 10:34am   •  0 likes

When I have seen "missing" events it's usually temporary. I'll get more events later. On my app I don't see the message come in. It could be the server, it could be the network. But I see messages reliable most of the time but here and there I seem to miss some events. The disconnect is the most troubling because it makes my code think the phone is still on a call and it never disconnected.

on Sep 1, 2021 at 11:51am   •  0 likes

Whenever you miss a 'disconnected' event, can you pick the session id and read your call log to see how the call ended. Then we can trace it out.

You can check this session id "536405079032" from the call you provided above.



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