juan_78989
09/09/2025, 9:05 PMAI Evy
09/09/2025, 9:05 PMAI Evy
09/09/2025, 9:05 PMsip:5t4n6j0wnrl.sip.livekit.cloud .
2. **Configure authentication**: Set up either IP whitelisting or credential-based authentication for your SIP trunk . If your provider requires static IP addresses and you're outside the US, you may need to consider alternative solutions .
3. **Import your numbers into Retell AI**: Once your SIP trunk is configured, you need to import your phone numbers into Retell AI . You can do this through the dashboard or programmatically via the Import Number API [(2) ]() .
When importing numbers, you'll need to provide :
- The phone number in E.164 format
- Your termination SIP URI
- SIP trunk authentication credentials (if using credential-based auth)
- Agent IDs for inbound and outbound calls
4. **Test the integration**: After importing, test both inbound and outbound calls to ensure proper connectivity [(1) ]() .
The process works with any telephony provider that supports elastic SIP trunking, not just the commonly mentioned providers like Twilio, Telnyx, or Vonage . All telephony functionalities supported by Retell numbers will also be supported with your custom SIP trunk, assuming your provider supports them .
If you encounter issues during setup and need static IP addresses for regions outside the US, you might want to consider partnering solutions that already integrate with Retell AI .AI Evy
09/09/2025, 9:05 PMAI Evy
09/09/2025, 9:05 PMjuan_78989
09/09/2025, 9:10 PMjuan_78989
09/09/2025, 9:11 PMAI Evy
09/09/2025, 9:11 PMAI Evy
09/09/2025, 9:11 PMsip:5t4n6j0wnrl.sip.livekit.cloud as the SIP server URI for origination (inbound calls) when using Retell AI's elastic SIP trunking [(1) ]() . This is Retell's SIP server address that handles the connection between your telephony provider and Retell AI's voice agents [(1) ]() [(2) ]() .
The SIP server URI is not an additional cost from Retell AI - it's part of their infrastructure that you need to configure in your telephony provider's origination settings to route inbound calls to Retell AI [(1) ]() . When you set up origination, you specify Retell's SIP server address as the destination where calls should be sent [(2) ]() .
For toll-free numbers specifically, you may need to specify the transport protocol by using: sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp [(3) ]() .
This configuration is required regardless of which telephony provider you use - whether it's Twilio, Vonage, or your personal elastic SIP trunk [(1) ]() . The SIP server URI is how Retell AI receives and processes the calls that come through your telephony provider.AI Evy
09/09/2025, 9:11 PMAI Evy
09/09/2025, 9:11 PMjuan_78989
09/09/2025, 9:22 PMAI Evy
09/09/2025, 9:22 PMAI Evy
09/09/2025, 9:22 PMjavascript
const agentResponse = await client.agent.create({
response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
voice_id: '11labs-Adrian',
language: "es-ES" // Set to Spanish
}) ;
For voice selection, use ElevenLabs for a flexible and customizable Spanish voice . You can select a suitable voice from the dropdown or add a custom one, and adjust settings like temperature, speed, and volume .
Additionally, you need to include a clear instruction in your prompt for the agent to always respond in Spanish . The language setting determines what language the agent understands (speech-to-text) but won't enforce the agent to generate responses in Spanish - you must specify this in the prompt itself .
If you're experiencing issues with voices stopping frequently, this could be related to Voice Activity Detection (VAD) or turn-taking mechanisms. VAD determines when someone is speaking and when it's time for the AI to respond [(3) ]() . Effective VAD helps avoid interrupting the user by recognizing pauses versus actual silence .AI Evy
09/09/2025, 9:22 PMAI Evy
09/09/2025, 9:22 PM