wesleybldc
07/30/2025, 4:59 PMAI Evy
07/30/2025, 4:59 PMAI Evy
07/30/2025, 4:59 PMAI Evy
07/30/2025, 4:59 PMAI Evy
07/30/2025, 4:59 PMAI Evy
07/30/2025, 4:59 PMwesleybldc
07/30/2025, 5:25 PMAI Evy
07/30/2025, 5:25 PMAI Evy
07/30/2025, 5:25 PMAI Evy
07/30/2025, 5:25 PMAI Evy
07/30/2025, 5:25 PMwesleybldc
07/30/2025, 5:54 PMAI Evy
07/30/2025, 5:55 PMAI Evy
07/30/2025, 5:55 PMsip:username@domain [(5) ]() [(2) ]()
4. **Contact your telephony providerAI Evy
07/30/2025, 5:55 PMAI Evy
07/30/2025, 5:55 PMAI Evy
07/30/2025, 5:55 PMwesleybldc
07/30/2025, 5:58 PMAI Evy
07/30/2025, 5:58 PMAI Evy
07/30/2025, 5:58 PMAI Evy
07/30/2025, 5:58 PMAI Evy
07/30/2025, 5:58 PMwesleybldc
07/30/2025, 5:58 PMAI Evy
07/30/2025, 5:58 PMAI Evy
07/30/2025, 5:59 PMtransfer_ring_timeout in your agent [(1) ]() . This allows 30 seconds of ring time on the transfer leg .
2. Consider Warm Transfer Instead - Warm transfers wait for the human to answer before fully connecting and handing off . Some users have found warm transfers work when cold transfers fail .
## Verify Your SIP Trunk Setup
Even though your Twilio settings look correct, double-check that:
- Your termination URI is properly configured in Retell AI when you imported your number [(2) ]() [(3) ]()
- The number format you're transferring to is in E.164 format (e.g., +1234567890)
## Known Twilio Limitations
There's a documented limitation where Twilio may not honor custom SIP headers in the REFER request for cold transfers with transferee numbers [(4) ]() . This could affect the transfer functionality even when SIP REFER is enabled.
## Alternative Approaches
If cold transfers continue to fail, consider:
- Using SIP URI format instead of phone numbers: sip:username@domain [(3) ]()
- Testing with warm transfers to see if the issue is specific to cold transfers
- Contacting Twilio support to verify their SIP REFER implementation is working correctly with your specific trunAI Evy
07/30/2025, 5:59 PMAI Evy
07/30/2025, 5:59 PMwesleybldc
07/30/2025, 6:00 PMAI Evy
07/30/2025, 6:00 PMAI Evy
07/30/2025, 6:00 PMAI Evy
07/30/2025, 6:00 PMAI Evy
07/30/2025, 6:00 PMAI Evy
07/30/2025, 6:00 PMwesleybldc
08/01/2025, 1:40 PMAI Evy
08/01/2025, 1:40 PMAI Evy
08/01/2025, 1:41 PMX- [(2) ]() . You can use dynamic variables for your custom SIP header values, so you can pass information extracted from the call to the receiving party [(3) ]() .
## Integration Partners for Enhanced Tracking
Several certified partners specialize in CRM integrations that could help with transfer tracking [(4) ]() [(5) ]() . For example, one partner mentioned they do "CRM/marketing automation integrations" and have "worked with Hubspot specifically foAI Evy
08/01/2025, 1:41 PMAI Evy
08/01/2025, 1:41 PMAI Evy
08/01/2025, 1:41 PMwesleybldc
08/04/2025, 3:14 PMAI Evy
08/04/2025, 3:14 PMAI Evy
08/04/2025, 3:15 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const concurrency = await client.concurrency.retrieve() ;
console.log(concurrency.base_concurrency) ;AI Evy
08/04/2025, 3:15 PMAI Evy
08/04/2025, 3:15 PMAI Evy
08/04/2025, 3:15 PMwesleybldc
08/05/2025, 3:07 PMAI Evy
08/05/2025, 3:07 PMAI Evy
08/05/2025, 3:07 PMvoicemail_option in your agent configuration to hang up when voicemail is detected [(2) ]() [(3) ]() [(4) ]() [(5) ]() [(6) ]() [(7) ]() :
json
{
"voicemail_option": {
"action": {
"type": "hangup"
}
}
}
### Option 2: Disable Voicemail Detection Entirely
Set voicemail_option to null to disable voicemail detection completely :
json
{
"voicemail_option": null
}AI Evy
08/05/2025, 3:07 PMvoicemail_reached
- Voicemail detection adds generally under 100ms of latency impact
## Current Issues to Be Aware Of
Some users have reported that voicemail detection doesn't always work perfectly - agents may talk over answering machine messages and ignore the beep [(8) ]() . This suggests the detection isn't 100% reliable in all scenarios.AI Evy
08/05/2025, 3:07 PMAI Evy
08/05/2025, 3:07 PMwesleybldc
08/05/2025, 3:08 PMAI Evy
08/05/2025, 3:08 PMAI Evy
08/05/2025, 3:09 PMvoicemail_option parameter [(2) ]() [(3) ]() [(4) ]() [(5) ]() [(6) ]() [(7) ]() :
Option 1: Hang up when voicemail is detected
json
{
"voicemail_option": {
"action": {
"type": "hangup"
}
}
}
Option 2: Leave a message
json
{
"voicemail_option": {
"action": {
"type": "static_text",
"text": "Please give us a callback tomorrow at 10am."
}
}
}
Option 3: Disable voicemail detection
json
{
"voicemail_option": null
}AI Evy
08/05/2025, 3:09 PMvoicemail_reached
- Voicemail detection adds generally under 100ms of latency impact
## Customer Voicemails
For typical inbound calls where customers are calling to speak with your AI agent, they would engage in real-time conversation rather than leaving voicemails . The voicemail detection feature is primarily designed for outbound calling scenarios where your agent might encounter answering machines .
If you need to handle scenarios where customers might leave messages, you would need to implement that through your telephony provider's voicemail system rather than Retell AI's voicemail detection feature.AI Evy
08/05/2025, 3:09 PMAI Evy
08/05/2025, 3:09 PMwesleybldc
08/05/2025, 3:10 PMAI Evy
08/05/2025, 3:10 PMAI Evy
08/05/2025, 3:10 PMvoicemail_option parameter
json
{
"voicemail_option": {
"action": {
"type": "hangup"
}
}
}AI Evy
08/05/2025, 3:10 PMAI Evy
08/05/2025, 3:10 PMAI Evy
08/05/2025, 3:10 PMwesleybldc
08/05/2025, 3:19 PMAI Evy
08/05/2025, 3:19 PMAI Evy
08/05/2025, 3:20 PMAI Evy
08/05/2025, 3:20 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const concurrency = await client.concurrency.retrieve() ;
console.log(concurrency.base_concurrency) ;
## Contact for Enterprise
For enterprise pricing and custom concurrency needs, you can [Contact Sales]() [(2) ]() .AI Evy
08/05/2025, 3:20 PMAI Evy
08/05/2025, 3:20 PMwesleybldc
08/05/2025, 3:33 PMAI Evy
08/05/2025, 3:33 PMAI Evy
08/05/2025, 3:33 PMvoicemail_option in your agent configuration to hang up automatically when voicemail is detected [(2) ]() [(3) ]() [(4) ]() :
json
{
"voicemail_option": {
"action": {
"type": "hangup"
}
}
}
[(2) ]() , [(3) ]() , [(4) ]()
## Alternative: Disable Voicemail Detection
You can also set voicemail_option to null to disable voicemail detection completely [(2) ]() [(3) ]() [(4) ]() :
json
{
"voicemail_option": null
}AI Evy
08/05/2025, 3:33 PMvoicemail_reached
- Voicemail detection adds generally under 100ms of latency impact
## Important Note
Even with hangup configured, there may be a brief delay while detection is confirmed [(5) ]() . The system continuously checks for voicemail and ends the call as soon as voicemail is detected, but this confirmation process can result in a short delay .AI Evy
08/05/2025, 3:33 PMAI Evy
08/05/2025, 3:33 PMwesleybldc
08/07/2025, 3:19 PMAI Evy
08/07/2025, 3:19 PMAI Evy
08/07/2025, 3:19 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneCallResponse = await client.call.registerPhoneCall({
agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
}) ;
console.log(phoneCallResponse.agent_id) ;AI Evy
08/07/2025, 3:19 PMtranscript field as plain text [(1) ]()
- **Transcript Object**: Detailed transcript with word-level timestamps in transcript_object
- **Call Analysis**: Summary and analysis data in the call_analysis object [(3) ]() [(1) ]()
- **Call Summary**: Specific summary text in call_analysis.call_summary
- **User Sentiment**: Available in call_analysis.user_sentiment
- **Recording URL**: Link to audio recording in recording_url
- **Duration**: Call length in duration_ms [(1) ]()
- **Timestamps**: Start and end times in start_timestamp and end_timestamp
## Post-Call Analysis Integration
For automated data extraction to spreadsheets, you can use post-call analysis with webhooks [(4) ]() . One approach mentioned is to "use post call analysis and then add a webhook that stores that info in sheets" .
## Important Notes About Data Extraction
When using post-call analysis for data extraction, the LLM will try to fill the variables you specify, but there's no guarantee all fields will be populated [(5) ]() . Variables can be nullable or not required .
## Processing the Data
Once you retrieve the call data via the API, you'll need to:
1. Extract the relevant fields (transcript, summary, sentiment, etc.)AI Evy
08/07/2025, 3:19 PMAI Evy
08/07/2025, 3:19 PMAI Evy
08/07/2025, 3:19 PMwesleybldc
08/12/2025, 2:52 PMAI Evy
08/12/2025, 2:52 PMAI Evy
08/12/2025, 2:52 PMfilter_criteria parameters :
- filter_criteria.from_number - to filter calls with specific from number(s)
- filter_criteria.to_number - to filter calls with specific to number(s)
However, looking at the example response in the documentation, the phone numbers don't appear to be included in the standard response fields shown . The response includes fields like call_id, agent_id, call_status, etc., but the actual phone numbers aren't visible in the example response .
For retrieving individual call details including phone numbers, you can use the retrieve call method [(2) ]() [(3) ]() :
JavaScript/TypeScript:
javascript
client.call.retrieve(callId) -> CallResponse
[(2) ]()
Python:
python
client.call.retrieve(call_id) -> CallResponseAI Evy
08/12/2025, 2:52 PMAI Evy
08/12/2025, 2:52 PMAI Evy
08/12/2025, 2:52 PMwesleybldc
08/25/2025, 9:54 PMAI Evy
08/25/2025, 9:54 PMAI Evy
08/25/2025, 9:54 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const concurrency = await client.concurrency.retrieve() ;
console.log(concurrency.base_concurrency) ;AI Evy
08/25/2025, 9:54 PMcurrent_concurrency - Current number of ongoing calls
- concurrency_limit - Total concurrency limit
- base_concurrency - Free concurrency limit (20 by default)
- purchased_concurrency - Additional purchased concurrency
- remaining_purchase_limit - How much more you can purchase
## Managing High Call Volumes
When creating more than 20 calls, you need to implement concurrency checks because Retell AI does not automatically queue calls [(1) ]() . Extra calls are rejected immediately when the limit is reached.
Best practices:
1. Check concurrency before creating calls - Use the Get Concurrency API to monitor available slots
2. Implement your own throttling logic - Ensure you stay within your limits [(4) ]()
3. Use individual call creation - Instead of batch calls, use the Create Phone Call API with your own rate limiting
## Increasing Concurrency Limits
If you need more than 20 concurrent calls [(2) ]() :
- Go to the "Billing" page to upgrade your plan and purchase additional concurrency
- Contact support at support@retellai.com for custom requirements
- The default concurrency limit has been increased to 20 for all users [(5) ]()
## Key Points
- You must implement concurrency management on your side [(1) ]()
- Calls are rejected, not queued, when limits are exceeded
- Stay below your concurrency limit to avoid call failures [(6) ]()
- Monitor your dashboard to check current concurrent calls [(2) ](AI Evy
08/25/2025, 9:54 PMAI Evy
08/25/2025, 9:54 PMAI Evy
08/25/2025, 9:54 PMwesleybldc
08/26/2025, 9:57 PMAI Evy
08/26/2025, 9:57 PMAI Evy
08/26/2025, 9:58 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const concurrency = await client.concurrency.retrieve() ;
console.log(concurrency.base_concurrency) ;
### 2. Implement Concurrency Checks
You must implement logic to check available slots before creating calls . The system doesn't queue calls - they get rejected when limits are exceeded .
### 3. Basic Implementation Pattern
javascript
async function makeCallWithConcurrencyCheck(phoneNumber, agentId) {
// Check current concurrency
const concurrency = await client.concurrency.retrieve() ;
if (concurrency.current_concurrency < concurrency.concurrency_limit) {
// Safe to make call
const call = await client.call.createPhoneCall({
from_number: 'YOUR_NUMBER',
to_number: phoneNumber,
agent_id: agentId
}) ;
return call;
} else {
// Handle concurrency limit reached
console.log('Concurrency limit reached, cannot make call') ;
return null;
}
}AI Evy
08/26/2025, 9:58 PMAI Evy
08/26/2025, 9:58 PMAI Evy
08/26/2025, 9:58 PMwesleybldc
08/26/2025, 11:08 PMAI Evy
08/26/2025, 11:08 PMAI Evy
08/26/2025, 11:08 PMAI Evy
08/26/2025, 11:08 PMAI Evy
08/26/2025, 11:08 PMwesleybldc
08/26/2025, 11:29 PMAI Evy
08/26/2025, 11:29 PMAI Evy
08/26/2025, 11:30 PMretell_llm_dynamic_variables parameter when creating phone calls [(2) ]() [(1) ]() :
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneCallResponse = await client.call.createPhoneCall({
from_number: '+14157774444',
to_number: '+12137774445',
}) ;
console.log(phoneCallResponse.agent_id) ;
[(2) ]()
The webhook sent from Retell will include everything you pass into the parameter [(1) ]() .
## Accessing Call Transcripts
You can retrieve transcripts and call data through the API or webhooks [(3) ]() . For real-time updates, you can set up webhooks to receive updates when calls are initiated, end, and analyzed .
## Webhook Configuration
Configure webhooks in your agent to receive call data [(4) ]() [(5) ]() :AI Evy
08/26/2025, 11:30 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.create({
response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
voice_id: '11labs-Adrian',
}) ;
console.log(agentResponse.agent_id) ;
[(4) ]()
## Post-Call Analysis for Data Extraction
For automated callback scheduling data extraction, you can use post-call analysis [(6) ]() . One approach is to "use post call analysis and then add a webhook that stores that info in sheets" .
The webhook includes a temporary recording for users who opt out of storage, though this recording expires in 10 minutes [(7) ]() .
## Best Practice for External Integration
A recommended approach is creating a wrapper API/webhook in the middle that would handle the callback scheduling logic and then send the data to your external system [(1) ]() .AI Evy
08/26/2025, 11:30 PMAI Evy
08/26/2025, 11:30 PMwesleybldc
08/26/2025, 11:39 PMAI Evy
08/26/2025, 11:39 PMAI Evy
08/26/2025, 11:40 PMAI Evy
08/26/2025, 11:40 PMAI Evy
08/26/2025, 11:40 PMAI Evy
08/26/2025, 11:40 PMAI Evy
08/26/2025, 11:40 PMAI Evy
08/26/2025, 11:40 PMwesleybldc
08/26/2025, 11:45 PMAI Evy
08/26/2025, 11:45 PMAI Evy
08/26/2025, 11:45 PMLet me check that for you. to say while the function is being executed
- **Wait for Result**: when enabled, the agent will wait for the function to finish executing before attempting to transition to any other node
- **Global Node**: read more at Global Node
- **Block Interruptions**: when enabled, the agent will not be interrupted by user when speaking
- **LLM**: choose a different model for this particular node
## Creating HubSpot Task Custom Function
To trigger HubSpot task creation after a callback request, you'll need to create a custom function [(2) ]() . Here's how:
### 1. Configure Function Details
- Name: create_hubspot_task
- Description: Create a HubSpot task for callback scheduling
### 2. Set Up HTTP Request
- **HTTP Method**: POST
- **Endpoint URL**: Your HubSpot API endpoint for task creation
- **Headers**: Include your HubSpot API key and content-type
### 3. Define Parameters
Example parameter schema for callback information :
json
{
"type": "object",
"properties": {
"callback_time": {
"type": "string",
"description": "The requested callback time"
},
"customer_phone": {
"type": "string",
"description": "Customer's phone number"
},
"customer_name": {
"type": "string",
"description": "Customer's name"
}
},
"required": [
"callback_time",
"customer_phone"
]
}AI Evy
08/26/2025, 11:45 PMAI Evy
08/26/2025, 11:46 PMAI Evy
08/26/2025, 11:46 PMwesleybldc
08/29/2025, 1:20 AMAI Evy
08/29/2025, 1:20 AMAI Evy
08/29/2025, 1:20 AMAI Evy
08/29/2025, 1:20 AMAI Evy
08/29/2025, 1:21 AMAI Evy
08/29/2025, 1:21 AMwesleybldc
09/02/2025, 8:01 PMAI Evy
09/02/2025, 8:01 PMAI Evy
09/02/2025, 8:02 PMAI Evy
09/02/2025, 8:02 PMAI Evy
09/02/2025, 8:02 PMAI Evy
09/02/2025, 8:02 PMwesleybldc
09/02/2025, 8:03 PMAI Evy
09/02/2025, 8:03 PMAI Evy
09/02/2025, 8:04 PMsip:5t4n6j0wnrl.sip.livekit.cloud . For toll-free numbers, you may need to specify the transport protocol: sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp [(2) ]() .
## Verify Number Import Status
Make sure your phone number is properly imported into Retell AI [(1) ]() . The number needs to be imported so Retell knows how to route the call [(3) ]() . You can import numbers programmatically via the Import Number API .
## Common Configuration Issues
Based on community reports, similar issues can stem from [(4) ]() :
- SIP configuration problems with origination settings
- Authentication issues between your provider and Retell's SIP server
- Transport protocol mismatches (TCP vs UDP)
## Troubleshooting Steps
1. Check origination settings in your SIP trunking provider [(1) ]()
2. Review provider logs for specific error messages about call routing
3. Verify authentication - ensure credentials or IP whitelisting is properly configured
4. Confirm transport protocol - TCP is recommended, UDP may have connectivity issues [(3) ]()
## Provider-Specific Configuration
For Telnyx, ensure you have :
- Set +E.164 as the number format
- Selected TCPAI Evy
09/02/2025, 8:04 PMAI Evy
09/02/2025, 8:04 PMAI Evy
09/02/2025, 8:04 PMwesleybldc
09/02/2025, 8:17 PMAI Evy
09/02/2025, 8:17 PMAI Evy
09/02/2025, 8:17 PM+18883077981 is not imported into your Retell account . Even though the SIP call reaches Retell's server correctly, Retell rejects it because it doesn't recognize the destination number.
**Multiple Account Conflicts**: From community reports, 486 errors can occur when the same SIP trunk or number is added to multiple Retell accounts [(2) ]() . This creates routing conflicts where Retell doesn't know which account should handle the call.
**Configuration Issues**: The number may be imported but with incorrect configuration details that prevent proper call routing [(1) ]() .
## Troubleshooting Steps
1. **Verify Number Import**: Check your Retell dashboard to confirm that +18883077981 is properly imported and shows as active .
2. **Check Configuration**: If the number is imported, verify that your termination SIP URI and authentication credentials are correctly configured .
3. **Delete and Re-import**: If configuration changes are needed, delete the imported number and re-import it with correct settings . The documentation notes that "Right now you'd need to delete and re-import the number" to change configuration.
4. **Review Call Detailed Log**: Check the call detailed log in your Retell dashboard, which contains the SIP error code and error message that should provide enough information to identify the root cause [(3) ](AI Evy
09/02/2025, 8:17 PMAI Evy
09/02/2025, 8:17 PMAI Evy
09/02/2025, 8:17 PMwesleybldc
09/04/2025, 9:46 PMAI Evy
09/04/2025, 9:46 PMAI Evy
09/04/2025, 9:47 PMretell_llm_dynamic_variables field . All values must be strings :
json
{
"user_name": "John Smith",
"product_name": "Premium Plan",
"account_status": "active"
}
[(2) ]()
Here's a complete example using the API [(3) ]() :
javascript
const registerCallResponse = await retell.call.createPhoneCall({
from_number: '+14157774444', // replace with the number you purchased
to_number: '+12137774445', // replace with the number you want to call
retell_llm_dynamic_variables: { // replace with the dynamic variables you want to send (optional)
name: 'John Doe',
blood_group: 'B+'
},
custom_sip_headers: { // replace with custom sip headers you want to send (optional)
X-Custom-Header: 'Custom Value'
}
}) ;
console.log(registerCallResponse) ;
## For Inbound Calls
You can supply dynamic variables in the Inbound Call Webhook [(1) ]() . The webhook response should include the dynamic variables you want to use for that specific call.
## Using Dynamic Variables in Your Agent
Dynamic variables use the {{variable_name}} syntax and can be used in :
- **Prompts**: Agent instructions and personality
- **Begin message**: Opening greeting
- **Tool configurations**: Custom function URLs, tool descriptions, property descriptions
- **Call handling**: Voicemail prompts and messages, transfer call phone numbers, warm transfer instructions
### Example UsageAI Evy
09/04/2025, 9:47 PM"Hello {{user_name}}, I understand you're interested in {{product_name}}. How can I help you today?"
## Default System Variables
Retell automatically provides these system variables with no configuration required :
- `{{current_time}}`: Current time in America/Los_Angeles
- `{{current_calendar}}`: 14-day calendar in America/Los_Angeles
- `{{call_type}}`: Call type, web_call or phone_call
- `{{direction}}`: Call direction, inbound or outbound (phone calls only)
- `{{user_number}}`: User's phone number
- `{{agent_number}}`: Agent's phone number
## Best Practices
- Set default values for dynamic variables at the agent level as fallback
- All values in retell_llm_dynamic_variables must be strings
- Test thoroughly with both set and unset variables
- Use defensive prompting that works with or without variablesAI Evy
09/04/2025, 9:47 PMAI Evy
09/04/2025, 9:47 PMwesleybldc
09/04/2025, 9:47 PMAI Evy
09/04/2025, 9:47 PMAI Evy
09/04/2025, 9:47 PMAI Evy
09/04/2025, 9:47 PMAI Evy
09/04/2025, 9:47 PMwesleybldc
09/08/2025, 7:01 PMAI Evy
09/08/2025, 7:01 PMAI Evy
09/08/2025, 7:02 PMsip:5t4n6j0wnrl.sip.livekit.cloud .
2. Check Termination SIP URI
Make sure there are no spaces in your Termination SIP URI and that you're using a localized termination URI near your region . You can expand and view your localized URIs in the Twilio console .
3. Verify Authentication
If you set up authentication via credentials in your Elastic SIP Trunk, ensure you're supplying the correct username and password when importing the number to Retell . The username should be the actual username, not the friendly name that shows in the credential list .
4. Import Configuration Check
When importing your number, ensure you're providing the correct termination URI from Step 1 of your Twilio setup [(2) ]() . The termination URI should be in the format that ends with ".pstn.twilio.com" .
5. Number Assignment
Verify that your phone number is properly moved to the Elastic SIP Trunk in Twilio before importing it to Retell [(1) ]() .
## Required Import Parameters
When importing your Twilio number, you need [(2) ]() :
- `phone_number`: In E.164 format (e.g., "+14157774444")
- `termination_uri`: Your Twilio termination SIP URI
- sip_trunk_auth_username and `sip_trunk_auth_password`: If you configured authentication
- `inbound_agent_AI Evy
09/08/2025, 7:02 PMAI Evy
09/08/2025, 7:02 PMAI Evy
09/08/2025, 7:02 PMwesleybldc
09/09/2025, 7:43 PMAI Evy
09/09/2025, 7:43 PMAI Evy
09/09/2025, 7:43 PMsip:5t4n6j0wnrl.sip.livekit.cloud [(1) ]() .
*2. Termination SIP URI (Outbound Calls) *
Since outbound works, your termination URI is likely correct, but verify there are no spaces and you're using a localized termination URI near your region .
3. Authentication Verification
If you set up authentication via credentials, ensure you're using the actual username, not the friendly name that shows in the credential list . The username is different from the friendly name .
## Import Configuration Check
When importing your Twilio number to Retell, you need to supply the termination SIP URI you set up in Step 1 of your Twilio configuration . If you have set up authentication via credentials, you'll need to supply the username and password as well .
## Common Twilio Issues
Termination SIP URI Problems:
- Check your Termination SIP URI - if there's a space in it, please remove it
- Use a localized termination URI that's near your region
Credential Issues:
- Make sure you entered the right username and credentials
- The username is not the friendly name that shows in the credential list
## Step-by-Step Verification
1. In Twilio Console: Verify your Elastic SIP Trunk has origination set to sip:5t4n6j0wnrl.sip.livekit.cloud
2. Number Assignment: Confirm your number is moved to the Elastic SIP Trunk
3. Import to Retell: Use the exact termination SIP URI from your Twilio trunk setup
4. Test: Make an inbound call to verify the connAI Evy
09/09/2025, 7:43 PMAI Evy
09/09/2025, 7:43 PMAI Evy
09/09/2025, 7:43 PMwesleybldc
09/09/2025, 7:43 PMAI Evy
09/09/2025, 7:43 PMAI Evy
09/09/2025, 7:43 PMvoice_model parameter [(1) ]() [(2) ]() [(3) ]() .
## Currently Available ElevenLabs Voice Models
The supported ElevenLabs voice models include [(1) ]() :
- eleven_turbo_v2
- eleven_flash_v2
- eleven_turbo_v2_5
- eleven_flash_v2_5
- eleven_multilingual_v2
You can set the voice model when creating or updating an agent [(2) ]() [(3) ]() :
javascript
const agentResponse = await client.agent.create({
response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
voice_id: '11labs-Adrian',
voice_model: 'eleven_turbo_v2'
}) ;AI Evy
09/09/2025, 7:43 PMvoice_model parameter is optional and currently only applies to ElevenLabs voices [(1) ]() [(2) ]() . If you set it to null, default voice model settings will apply [(1) ]() . You can check the dashboard for details on each voice model [(1) ]() [(2) ]() .
## Community Discussion on Voice Models
From community discussions, there have been reports about voice model compatibility issues, particularly when switching between different models [(4) ]() . Some users have experienced problems when trying to revert to default models after using newer ones like eleven_turbo_v2_5 .
Regarding when newer ElevenLabs voice models will be added, I don't have information about future release timelines in the available sources.AI Evy
09/09/2025, 7:43 PMvoice_model parameter elevenlabs_turbo_v2_5](https://discord.com/channels/1186424376300679209/1367836412778512545)
AI Evy
09/09/2025, 7:43 PMjm08314
09/15/2025, 1:27 PMAI Evy
09/15/2025, 1:27 PMAI Evy
09/15/2025, 1:28 PMjson
"voicemail_option": {
"action": {
"type": "static_text",
"text": "Please give us a callback tomorrow at 10am."
}
}
Example for disabling voicemail:
json
"voicemail_option": null
You can include this field in your PATCH request to /update-agent or when creating an agent via the API [(1) ]() [(2) ]() [(3) ]() .AI Evy
09/15/2025, 1:28 PMAI Evy
09/15/2025, 1:28 PMjm08314
09/15/2025, 1:28 PMAI Evy
09/15/2025, 1:28 PMAI Evy
09/15/2025, 1:28 PMAI Evy
09/15/2025, 1:28 PMAI Evy
09/15/2025, 1:29 PMwesleybldc
09/29/2025, 7:26 PMAI Evy
09/29/2025, 7:26 PMAI Evy
09/29/2025, 7:26 PMAI Evy
09/29/2025, 7:26 PMAI Evy
09/29/2025, 7:26 PMwesleybldc
10/01/2025, 7:24 PMAI Evy
10/01/2025, 7:24 PMAI Evy
10/01/2025, 7:24 PMAI Evy
10/01/2025, 7:25 PMAI Evy
10/01/2025, 7:25 PMwesleybldc
10/01/2025, 10:14 PMAI Evy
10/01/2025, 10:14 PMAI Evy
10/01/2025, 10:15 PMprice_mentioned = "true" immediately after the bot provides information
2. **Add Logic Split conditions**: In subsequent nodes, wrap repeated content in a Logic Split or transition with the condition {{price_mentioned}} == "true" to skip that message if already mentioned
3. **Ensure variable persistence**: Make sure the variable is treated as a dynamic variable so it's accessible across branches
## Implementation Strategy
The community suggests using Equation Conditions in Transition Logic to control when information gets repeated . Instead of relying on Extract Variable (which doesn't persist properly) , the Set Variable approach ensures the tracking state is maintained throughout the conversation flow.
This prevents the agent from repeating pricing or other key information when users move between different conversation branches, such as from "Service Check" to "Appointment Booking" flows .
The technique works by creating conditional logic that checks if information has already been shared before presenting it again, ensuring a smoother conversation experience without redundant repetition.AI Evy
10/01/2025, 10:15 PMAI Evy
10/01/2025, 10:15 PM