Caller ID number changing unexpectedly in Retell + Twilio setup

The behavior you’re experiencing—where the caller ID changes to different Brazilian numbers instead of your registered +1 number—is not standard Retell AI behavior and indicates a configuration issue.

Phone Number Masking Configuration

Retell AI supports phone number masking through Twilio’s verified caller ID feature(1). If you want your personal phone number or trusted business number to display to the callee, you need to configure verified phone numbers in Twilio to serve as the caller ID(1).

To set this up properly:

  1. Go to the Verified Caller IDs page in Twilio(1)
  2. Click “Add a new Caller ID”(1)
  3. Enter the desired phone number to verify and select the verification method(1)
  4. The number will receive an OTP Authentication code for verification(1)
  5. Once verified, configure SIP Header Rules to display the caller ID(1)

SIP Header Manipulation for Caller ID

In the Twilio Console, navigate to Elastic SIP Trunking → Trunks → [your trunk] → Termination(1). Under Header Manipulation, create a policy with the following settings(1):

  • SIP header field: From number(1)
  • Action: Replace with(1)
  • Value: Your caller ID in E.164 format (e.g. +18881230987)(1)

After creating the policy, select it from the dropdown in the Termination tab(1). Any number imported from this Twilio trunk into your Retell account will then use your verified caller ID(1).

Regional Considerations for Brazil

Based on community reports, there may be carrier-specific restrictions when calling Brazilian numbers from international caller IDs(2). Some Brazilian carriers block or restrict calls to certain number ranges when originating from outside specific metropolitan areas(2). The rotating Brazilian numbers (+55) you’re seeing suggest that Twilio may be attempting to route calls through local gateways, which could explain the changing caller IDs.

Recommended Actions

  1. Verify your SIP Header Manipulation policy is correctly configured in Twilio(1)
  2. Ensure you have at least one number purchased from Twilio in your SIP trunk for the caller ID to be applied(1)
  3. Check your Twilio logs for any error codes that might indicate routing issues(3)
  4. Contact Twilio support to understand any restrictions on your specific phone number configuration(2)

The fact that it worked initially but changed after updating your agent script suggests the issue may be related to your Twilio trunk configuration rather than the Retell agent itself.