Skip to main content
Telnyx enforces strict caller ID validation to prevent spoofing and ensure compliance with telecommunications regulations. Invalid caller ID numbers are rejected with a 403 Caller Origination Number is Invalid D35 SIP response.

Number format requirements

The accepted caller ID format depends on the connection’s localization setting and call destination.

USA localization

Accepted formats:

International localization

For non-USA localization (e.g., Ireland):

Cross-border calls

When calling outside the localization country, only E.164 format is accepted:
Example: A connection with Ireland localization calling the USA must use +13129457420.

Caller ID override

Connections with Caller ID Override enabled can send any format for outbound calls, bypassing standard validation rules.

SIP header priority

Telnyx checks the following SIP headers in order to determine the caller ID:
  1. P-Preferred-Identity (User part)
  2. P-Asserted-Identity (User part)
  3. Remote-Party-Id (User part)
  4. FROM (User part)
When multiple headers are present, only the highest priority header is used.

Caller ID anonymization

To anonymize the caller ID, include the Privacy: id header in the SIP request:
Requirements:
  • A valid origination number must still be provided
  • Invalid numbers with this header trigger the D35 error
  • Toll-free and emergency number calls cannot be anonymized
Recipients always see the actual caller ID for:
  • Emergency services (911, etc.)
  • Toll-free numbers

International spoofing restrictions

Outbound calls to international destinations with spoofed caller IDs are rejected with a 503 error response. This allows implementing fallback routing logic on the client side.

Validation behavior

If no localization is configured and a number appears invalid, Telnyx defaults to USA validation rules. Failed validation returns a 404 Invalid Destination response.

Configuration

Set the connection localization in the Mission Control Portal under Connection Outbound Settings, or via the API:

Troubleshooting