SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

Why Do My Programmable Voice Call Statuses Look Out of Order?

Question

Why does Request Inspector list requests with call statuses out of order?

 

Product

Programmable Voice

 

Answer

In rare situations where a call ends almost immediately after it begins, you may notice that the Completed status callback appears in the Request Inspector before the webhook request to the Voice URL with the In-Progress status. This can give the impression that the call was completed before it ever reached the in-progress state.

This happens because status callbacks are handled asynchronously, and Twilio orders entries in the Request Inspector based on the timestamps of when requests are sent and responses are received. For example, if the webhook request is sent at 12:30:01 and the status callback request is sent at 12:30:02, but Twilio receives the response for the status callback at 12:30:03 and the response for the webhook at 12:30:04, the Request Inspector will display the status callback first, followed by the webhook request.

 

Additional Information 

Tracking the Status of an Outbound Twilio Voice Call

 

 

Have more questions? Submit a request
Powered by Zendesk