https://retellai.com/?utm_source=discord&utm_medium=seo logo
, How can i make call transfer
# ❓・ai-evy-support
d
@AI Evy, How can i make call transfer? when i added a number with +91 and agent was failing to transfer the call
a
Thanks for tagging me @dnk83ff. I'll look through relevant sources and get back to you shortly.
### Answer To set up call transfer in Retell AI, you can use the Transfer Call Tool [(1) ]() . Here's how to configure it: Setting up Transfer Call: 1. Click "+ Add" in the tools section and select "Transfer Call" from the dropdown menu 2. Configure the transfer destination - you can choose between a static number (e.164 format) or the value of a dynamic variable 3. Update your prompt to include specific instructions like: "If the user is angry or frustrated, use the transfer_call tool to transfer the conversation to a human agent" For your +91 number issue: The number must be in E.164 format [(1) ]() [(2) ]() . For Indian numbers (+91) , ensure your format is correct:
+91XXXXXXXXXX
Common causes for transfer failures: Based on similar issues reported, transfer failures with "telephony provider" errors are often due to: - Your telephony provider not supporting call transfers [(3) ]() - Missing configuration in your SIP trunk settings - For cold transfers using transferee's number, your provider must support SIP REFER and have the ability to set caller ID for SIP REFER [(1) ]() Transfer Types Available: - **Cold transfer**: The call is transferred to a destination number directly - **Warm transfer**: The AI agent first detects if a human is present, then speaks private and public messages before connecting Troubleshooting steps: 1. Verify your number format is exactly E.164 (+91XXXXXXXXXX) [(3) ](
440) 2. Check if your telephony provider supports call transfers to PSTN 3. Review your call logs for specific SIP error codes 4. Test with a different destination number to isolate the issue [(4) ]() If you continue experiencing issues, the problem is likely with your telephony provider's configuration rather than your Retell AI setup [(3) ]() .
​ To learn more, see the sources I considered: [[1] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[2] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) [[3] Discord message from @scrappysam on 2025-08-07](https://discord.com/channels/1186424376300679209/1186462578310910112/1403025903570784440) [[4] tool_call_id: transfer_call_f246b8{"status":"Transfer call cannot be completed, telephony provider](https://discord.com/channels/1186424376300679209/1393151424631668780) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
review call logs
@AI Evy review my calllogs
a
Thanks for the follow-up, @dnk83ff. I'll get back to you soon.
### Answer I can help you understand how to access and review call logs in Retell AI. Here are the main ways to retrieve call log information: ## Get Call API You can retrieve detailed call information using the Get Call API [(1) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponse = await client.call.retrieve('119c3f8e47135a29e65947eeb34cf12d') ;
console.log(callResponse) ;
## Call Log Information Available The call logs provide comprehensive information including : - **Transcript**: Full conversation transcript - **Recording URL**: Audio recording of the call - **Public Log URL**: Detailed logs with request/response data and latency tracking - **Call Analysis**: Summary, sentiment, and success metrics - **Latency Metrics**: End-to-end, LLM, TTS performance data - **Disconnection Reason**: Why the call ended - **Duration and Timestamps**: Call timing information ## For Transfer Call Issues Since you mentioned transfer call failures, the call logs will show the
disconnection_reason
field which can help identify the specific issue [(2) ]() . For transfer failures, the SIP connection log is available in the call logs and helps understand why the transfer failed . ## Accessing Logs with Sensitive Data Opt-Out If you have "Opt out sensitive data storage" enabled, you can still access call logs by enabling webhook subscriptions for
call_ended
or
call_analyzed
events to extract and store the
from_number
and other data on your own infrastructure [(3) ]() . ## List Calls API For retrieving multiple calls, you can use pagination to handle large volumes of call logs efficiently using the pagination key [(4) ]() . To troubleshoot your specific transfer issue with the +91 number, check the
disconnection_reason
and any SIP error codes in your call logs to identify the root cause [(2) ]() .
​ To learn more, see the sources I considered: [[1] Get Call](https://docs.retellai.com/api-references/get-call) [[2] Debug call transfer failure](https://docs.retellai.com/reliability/call-performance) [[3] accessing call logs and from_number](https://discord.com/channels/1186424376300679209/1361465621056983222) [[4] Discord message from @theexecutor5677 on 2025-05-04](https://discord.com/channels/1186424376300679209/1186462578310910112/1368489575269535805) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy this is my call logs
a
Thanks for the follow-up, @dnk83ff. I'll get back to you soon.
### Answer I'd be happy to help you review your call logs, but I don't see the actual call log data in your message. To properly analyze your call logs and help troubleshoot your transfer call issue with the +91 number, I would need to see the specific call details. ## How to Access Your Call Logs You can retrieve your call logs using the Get Call API [(1) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponse = await client.call.retrieve('119c3f8e47135a29e65947eeb34cf12d') ;
console.log(callResponse) ;
## Key Information to Look For When reviewing your call logs for transfer issues, pay attention to these fields : - **`disconnection_reason`**: Shows why the call ended (look for transfer-related reasons) - **`public_log_url`**: Contains detailed debugging information about requests and responses - **`call_analysis`**: Provides call summary and success metrics - **`latency`**: Shows performance metrics that might indicate issues ## For Transfer Call Debugging Since you're experiencing transfer failures with +91 numbers, the call logs will contain SIP connection information that's useful for understanding the failure reason [(2) ]() . Call transfer failures are similar to outbound call failures, so the SIP logs will help identify the specific issue . ## Dashboard Access You can also access detailed logs through the dashboard [(3) ]() . In the call history, click on a call and choose "Detail Logs" in the sidebar that appears . Could you share the specific call log details or the
disconnection_reason
from your failed transfer attempts? This will help me provide more targeted troubleshooting guidance for your +91 number transfer issue.
​ To learn more, see the sources I considered: [[1] Get Call](https://docs.retellai.com/api-references/get-call) [[2] Debug call transfer failure](https://docs.retellai.com/reliability/call-performance) [[3] Discord message from @b34r43b on 2025-02-20](https://discord.com/channels/1186424376300679209/1186462578310910112/1342176021620985920) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy these are a few log lines
a
Thanks for the follow-up, @dnk83ff. I'll get back to you soon.
### Answer I'd be happy to help you analyze your call logs, but I don't see the actual log lines in your message. To properly review your call logs for the transfer call issue with your +91 number, I would need to see the specific log content. ## What to Look For in Your Call Logs Based on the call response structure, here are the key fields to examine for transfer issues [(1) ]() : Critical Fields for Transfer Debugging: - `disconnection_reason`: Shows why the call ended - `public_log_url`: Contains detailed debugging information - `call_analysis`: Provides call summary and success metrics - `transcript`: Full conversation transcript ## Common Disconnection Reasons for Transfer Issues For outbound connection issues (which transfer calls are similar to) , look for these disconnection reasons [(2) ]() : - `dial_failed`: SIP error codes not available or error unknown - `dial_busy`: The number dialed is busy - `dial_no_answer`: The number dialed did not answer - `user_declined`: User explicitly declined the call ## Troubleshooting Steps 1. Check the SIP error code in your call detailed log 2. Verify your +91 number format is correct (E.164 format) 3. Check with your telephony provider if the configuration allows transfers to international numbers ## How to Access Detailed Logs You can retrieve specific call details using the Get Call API [(1) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponse = await client.call.retrieve('119c3f8e47135a29e65947eeb34cf12d') ;
console.log(callResponse) ;
Could you please share the actual log lines or the
disconnection_reason
from your failed transfer attempts? This will help me provide more specific guidance for your +91 number transfer issue.
​ To learn more, see the sources I considered: [[1] Get Call](https://docs.retellai.com/api-references/get-call) [[2] Debug outbound connection issues](https://docs.retellai.com/reliability/debug-outbound-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy
a
Thanks for the follow-up, @dnk83ff. I'll get back to you soon.
### Answer I see you've been working on call transfer issues with +91 numbers and want to review your call logs. I'd be happy to help you analyze them, but I notice you haven't shared the actual log content yet. ## How to Retrieve Your Call Logs You can use the Get Call API to retrieve detailed call information [(1) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponse = await client.call.retrieve('119c3f8e47135a29e65947eeb34cf12d') ;
console.log(callResponse) ;
## Key Information in Call Logs When you retrieve your call logs, look for these important fields : - **`disconnection_reason`**: Shows why the call ended (critical for transfer issues) - **`public_log_url`**: Contains detailed debugging information with request/response data - **`call_analysis`**: Provides call summary, sentiment, and success metrics - **`transcript`**: Full conversation transcript - **`latency`**: Performance metrics that might indicate issues ## For Your Transfer Call Issue Based on the Discord discussion about LLM call errors, when you see "Error encountered in LLM call" messages, you should check the detailed call log using the Get Call API with your call ID to retrieve the
public_log_url
field, which contains more detailed logging information [(2) ]() . The error could be related to : -
error_llm_websocket_open
- LLM websocket didn't open -
error_llm_websocket_lost_connection
- Connection broke during the call -
error_llm_websocket_runtime
- Websocket received closing signal -
error_llm_websocket_corrupt_payload
- Received unspecified payload ## Next Steps Could you please share: 1. The actual log lines you mentioned 2. The
disconnection_reason
from your failed calls 3. Any specific error messages from your call logs This will help me provide more targeted guidance for your +91 number transfer issues.
​ To learn more, see the sources I considered: [[1] Get Call](https://docs.retellai.com/api-references/get-call) [[2] Urgent: Error encountered in LLM call](https://discord.com/channels/1186424376300679209/1351242885734989906) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy Hi, I'm facing an abnormal issue in booking appointments on cal.com via Retell. I tried reaching out to them< but I didn't get proper support from their end. If you help me, I'd be very happy. I'm currently working on a project. So there was already an appointment booked on Friday 2pm-3pm. So when I asked my agent about the availability of booking, it said 9am to 2pm and 3:30pm to 9:30 pm. I've set the booking duration to 60minutes and there was no buffer time set before or after event. The timeslot interval was set to 60minutes to make sure agent should only select timing like 9-10, 10-11, 11-12 and so on. There is no chance that availability is returning 3:30pm to 9:30 pm. You may refer to the screenshot from LLM in retell and cal.com. The expected behaviour must be like returning 9am01pm(coz 2om is already booked) and 3pm to 9 pm. Additionally, One more observation is when I tried to troubleshoot in cal.com, I set 30minute buffertime for before event, Then I observed a 30min buffer time added on UI which is fine, but when I add 30min buffer for after event, then also the buffer time was added on top of event that means before event instead of after event which is disturbing complete calendar. Let me know if you need anything further.
a
Thanks for the follow-up, @dnk83ff. I'll get back to you soon.
### Answer I understand your frustration with the Cal.com integration in Retell AI. Based on the available sources, this appears to be a known issue with the built-in Cal.com integration. ## Known Issues with Cal.com Integration Several community members have reported similar problems with Cal.com booking through Retell AI. The built-in Cal.com integration has been described as "more for demo purposes" and "doesn't work well in production when the conversation involves 'relative dates' like 'tomorrow, next week, this friday, etc.'" [(1) ]() Users have specifically reported issues where "agents are generally very bad with dates" and the Cal.com API integration can be inconsistent . One user mentioned: "Sometimes it doesn't even call the function. Literally the same prompt, same question. different response." ## Cal.com Integration Configuration For the Cal.com integration, you can configure it through the book_appointment_cal tool in your Retell LLM states [(2) ]() :
Copy code
json
{
  "type": "book_appointment_cal",
  "name": "book_appointment",
  "description": "Book an annual check up.",
  "cal_api_key": "cal_live_xxxxxxxxxxxx",
  "event_type_id": 60444,
  "timezone": "America/Los_Angeles"
}
## Troubleshooting Steps Based on community discussions, here are some troubleshooting approaches: 1. **Timezone Configuration**: Ensure your Cal.com timezone matches your function timezone exactly [(3) ]() 2. **Current Time Variable**: Make sure you're using the
{{current_time}}
dynamic variable in your prompt , [(4) ]() 3. **Testing User Setup**: Verify that the testing user is added to the event ID in Cal.com [(3) ]() ## Alternative Approaches Some community members have moved away from the built-in Cal.com integration and instead use custom functions with external workflow tools like n8n to handle calendar availability calculations [(5) ]() . This approach involves: - Using Google Calendar API to get booked slots - Calculating available slots manually considering business hours, buffer times, and appointment durations - Sending the processed availability back to the Retell agent ## Current Time Issues For the "today" booking issue you mentioned, users have reported success using timezone-specific current time variables like
{{current_time_Pacific/Auckland}}
[(4) ]() , though some still experience issues specifically with "TODAY" relative timing. The inconsistent behavior you're experiencing with availability slots (showing 3:30pm instead of proper 60-minute intervals) suggests the Cal.com integration may not be properly handling your interval and buffer time configurations. Unfortunately, the available sources don't provide a definitive solution for the specific buffer time and availability calc
ulation issues you're experiencing with Cal.com.
​ To learn more, see the sources I considered: [[1] Discord message from @qcumbers1_cc on 2025-03-06](https://discord.com/channels/1186424376300679209/1186462578310910112/1347214150778224692) [[2] Update Retell LLM](https://docs.retellai.com/api-references/update-retell-llm) [[3] API to Cal.com keeps failing spastically.](https://discord.com/channels/1186424376300679209/1400179427480174592) [[4] Can't book time for today](https://discord.com/channels/1186424376300679209/1386796321406582885) [[5] Discord message from @heavenly.rain on 2025-08-02](https://discord.com/channels/1186424376300679209/1186462578310910112/1401350903885205564) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy , but when I tried to just check in cal.com dashboard, the issue is persisting there
a
Thanks for the follow-up, @dnk83ff. I'll get back to you soon.
### Answer Based on your observation that the issue persists in the Cal.com dashboard itself, this confirms that the problem is originating from Cal.com's availability calculation, not from Retell AI's integration. ## Cal.com Dashboard Issue Analysis If the buffer time configuration is showing incorrectly in Cal.com's own dashboard (with "after event" buffer appearing as "before event" buffer) , this indicates a Cal.com platform issue rather than a Retell AI integration problem [(1) ]() [(2) ]() . ## Retell AI Cal.com Integration Configuration The Retell AI Cal.com integration uses your Cal.com API key and Event Type ID to interact with Cal.com's availability system . The integration includes: - **Check Calendar Availability function**: Uses your Cal.com API to retrieve available slots [(2) ]() - **Book Appointment function**: Books appointments using Cal.com's booking API [(1) ]() - **Custom Fields support**: Can collect additional information like addresses when booking [(3) ]() ## Next Steps for Resolution Since the issue exists in Cal.com's dashboard: 1. **Contact Cal.com Support**: This appears to be a Cal.com platform bug with buffer time calculations and availability slot generation 2. **Test with Different Event Types**: Create a new event type in Cal.com to see if the issue persists 3. **Verify Cal.com Configuration**: Double-check your event type settings, duration, and buffer configurations in Cal.com ## Retell AI Integration Status Your Retell AI integration is likely working correctly - it's simply retrieving the incorrect availability data that Cal.com is
providing through their API [(1) ]() [(2) ]() . The integration will return whatever availability slots Cal.com's API provides, so if Cal.com's dashboard shows incorrect buffer times and availability windows, Retell AI will reflect the same data. The fact that you're seeing 3:30pm availability instead of proper 60-minute intervals suggests Cal.com's availability calculation engine has a configuration or logic issue that needs to be resolved on their platform.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Book Calendar](https://docs.retellai.com/build/book-calendar) [[2] Check Calendar Availability](https://docs.retellai.com/build/check-availability) [[3] New Dashboard, Warm Transfer, Cal.com Fields, and Partner Programs!](https://www.retellai.com/changelog/new-dashboard-warm-transfer-cal-com-fields-and-partner-programs) ​