Goldzima
12/08/2025, 9:43 AMAI Evy
12/08/2025, 9:43 AMAI Evy
12/08/2025, 9:44 AMcall_status (e.g. registered, not_connected, etc.) . [(1) ]() [(2) ]() [(3) ]()
- disconnection_reason (this will tell you why the call dropped or never connected) . [(3) ]()
You can retrieve calls in a few ways:
- List recent calls:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponses = await client.call.list() ;
console.log(callResponses) ;
[(1) ]()
- Get a specific call by `call_id`:
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) ;AI Evy
12/08/2025, 9:44 AMdisconnection_reason – possible values include telephony and user/agent causes like dial_no_answer, dial_failed, invalid_destination, telephony_provider_unavailable, sip_routing_error, marked_as_spam, user_declined, agent_hangup, user_hangup, call_transfer, etc. [(3) ]()
- call_type (phone vs web) , from_number, to_number, and telephony_identifier for phone calls.
2. If calls show not_connected / outbound issues
When an outbound call is made and is not successfully connected, the reason is tracked in disconnection_reason and in the detailed SIP/error log. [(4) ]() [(3) ]()
For calls that never connect or drop immediately:
- Look for these disconnection_reason values on those calls:
- invalid_destination – destination number invalid.
- telephony_provider_permission_denied – SIP trunk authentication failed.
- telephony_provider_unavailable – provider not available / has errors.
- sip_routing_error – routing loops or SIP routing issues.
- marked_as_spam – carriers flagging calls as spam (often with high volume spikes / low pickup) .[^^3] [(3) ]()
- dial_failed, dial_busy, dial_no_answer, user_declined – user-side or generic dial failures. [(4) ]() [(3) ]()
- Then follow the documented steps:
1. Check the call history and detailed log (including SIP error code and message) – this is usually enoughAI Evy
12/08/2025, 9:44 AMAI Evy
12/08/2025, 9:44 AMjavascript
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) ;AI Evy
12/08/2025, 9:44 AMrecording_url / recording_multi_channel_url / scrubbed_recording_url / scrubbed_recording_multi_channel_url to hear what each side actually experienced. [(6) ]() [(1) ]() [(2) ]() [(3) ]()
- transcript, transcript_object, transcript_with_tool_calls, and scrubbed_transcript_with_tool_calls to see if the agent was responding but audio didn’t reach the caller (telephony path issue) vs the LLM not responding.
- latency object (e2e, asr, llm, tts, llm_websocket_network_rtt, s2s, knowledge_base) to see if there are spikes in end‑to‑end or component latency that match the “several seconds of silence” you’re seeing.
- If you’re creating outbound calls via API, verify the createPhoneCall usage and that from_number / to_number are valid and supported:AI Evy
12/08/2025, 9:44 AMclient.call.retrieve or from the dashboard.
- Note call_status, disconnection_reason, and whether recording_url and transcript are present. [(1) ]() [(2) ]() [(3) ]()
2. If most of them show a `not_connected`‑style disconnection reason from the outbound list above, follow the outbound debug steps (SIP logs, provider checks, number validity, spam/remediation) .[^^3] [(3) ]()
3. If they show call_transfer or failures around transfer, follow the call‑transfer debug steps and confirm you’re only transferring phone calls, not web calls, and that any human‑detection settings align with your flow. [(5) ]()
4. If they connect but are silent/delayed, compare latency metrics and recordings/transcripts to see if it’s a telephony path vs. processing latency issue. [(6) ]() [(1) ]() [(2) ]() [(3) ]()
Because I can’t see your specific org or logs, I can’t say whether this is a configuration issue on your side or something else in your environment, but the fields and flows above are exactly where Retell surfaces root causes for connection, silence, and transfer problems.
If you’d like, you can share (here) a few anonymized disconnection_reason values and call_status values from recent fAI Evy
12/08/2025, 9:44 AMAI Evy
12/08/2025, 9:44 AMAI Evy
12/08/2025, 9:44 AM