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 Are Outbound Calls Failing with Anonymous Caller ID in Twilio

Objective

This article explains, how you can handle anonymous incoming calls to your Twilio number and successfully forward such calls to the destination without being blocked by carriers.

As per Twilio's policy, any Programmable Voice calls where the caller ID has been withheld will now display anonymous in the From field. Refer to this changelog from May 17th, 2023: https://www.twilio.com/en-us/changelog/changes-to-withheld-caller-id-behavior

If your use case involves forwarding the anonymous call to another phone number (i.e., placing an outbound call), then the call may fail because such calls are filtered and blocked by terminating carriers.

 

Product

Programmable Voice

 

Procedure 

The solution is to use your Twilio phone number as caller Id in your TwiML. A sample given below:

<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <Dial callerId="your_twilio_phone_number">
        <Number>destination_phone_number</Number>
    </Dial>
</Response>

 

Additional Information 

 

 

 

Have more questions? Submit a request
Powered by Zendesk