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.

Understanding Twilio Warning 32021: SHAKEN/STIR Call Verification Failed

Overview

When using Twilio’s Programmable Voice products, you may encounter Warning 32021 in your call logs, which states: SHAKEN/STIR call verification failed. This article explains what this warning means, why it occurs, and what actions (if any) are needed.

 

What You Need To Know

What is SHAKEN/STIR?

SHAKEN/STIR is an industry standard designed to combat caller ID spoofing by verifying the identity of callers in VoIP calls. When a call is placed, the originating carrier attaches a digital signature (attestation) to the call, which is then validated by downstream carriers, including Twilio.

 

What Does Warning 32021 Mean?

Warning 32021 indicates that Twilio received attestation information from the caller’s carrier, but there was a mismatch between the call details and the attestation data. This typically happens when:

  • The SIP INVITE parameters (such as the destination phone number) are altered as the call passes through different carriers.
  • The format of the phone number in the SIP INVITE (e.g., E.164 format: +12223334444) does not match the format in the SHAKEN/STIR passport (e.g., 2223334444 without the country code).

As a result, Twilio cannot fully trust the attestation and issues Warning 32021 for transparency.

 

Impact on Call Delivery

Warning 32021 is informational only.

  • It does not affect call delivery, call quality, or the ability to make/receive calls.
  • The warning is included in your logs to provide visibility into SHAKEN/STIR verification status.

 

Example Scenario

  • The SIP INVITE arrives at Twilio with the destination number in E.164 format: +12223334444.
  • The SHAKEN/STIR passport, however, lists the destination as 2223334444 (missing the country code).
  • Because these values do not match, Twilio cannot verify the attestation and logs Warning 32021.

 

What Should I Do?

  • No action is required. This warning is for informational purposes and does not indicate a problem with your Twilio service.
  • If you prefer not to see these warnings in your logs, you can request to have them suppressed for your account.

Below you will find references to useful documents:

If you have questions about SHAKEN/STIR or are seeing unexpected call behavior, please reach out to Twilio Support with example Call SIDs for further investigation.

Have more questions? Submit a request
Powered by Zendesk