https://retellai.com/?utm_source=discord&utm_medium=seo logo
Call transfer isn't working
# ❓・bug-report
a
We've noticed a few occasions yesterday where the agent says they're transfering the call but instead they end it. A few call ids to check:
call_9e0b036e2647c69f86968bed5f0
call_6a1e36865c185e9b0a9796de440
call_61868bda179375bfa08f6d825a1
The agent has both
end_call
and
transfer_call
tools available in the llm engine.
o
Hello @andreas.marblism , can you share the detail logs for these calls ?
a
this is an example for `call_9e0b036e2647c69f86968bed5f0`:
Copy code
2025-10-16 17:46:25.924 call_9e0b036e2647c69f86968bed5f0 info: Starting call: call_9e0b036e2647c69f86968bed5f0
2025-10-16 17:46:27.052 call_9e0b036e2647c69f86968bed5f0 info: Webhook triggered for call_started
2025-10-16 17:46:27.380 call_9e0b036e2647c69f86968bed5f0 info: Webhook response received for call_started
2025-10-16 17:46:35.031 call_9e0b036e2647c69f86968bed5f0 info: E2E latency for this turn: 1516
2025-10-16 17:46:38.069 call_9e0b036e2647c69f86968bed5f0 info: Calling tool: end_call 
Arguments: {"execution_message":"I'll transfer your call to Trina right away. Please hold."}
2025-10-16 17:46:38.069 call_9e0b036e2647c69f86968bed5f0 info: Ending call: call_9e0b036e2647c69f86968bed5f0
2025-10-16 17:46:38.527 call_9e0b036e2647c69f86968bed5f0 info: Webhook triggered for call_ended
2025-10-16 17:46:38.852 call_9e0b036e2647c69f86968bed5f0 info: Webhook response received for call_ended
2025-10-16 17:46:40.047 call_9e0b036e2647c69f86968bed5f0 info: Webhook triggered for call_analyzed
2025-10-16 17:46:40.242 call_9e0b036e2647c69f86968bed5f0 info: Webhook response received for call_analyzed
agent ID:
agent_6cd4913055369ee5e4038f1c34
o
what is the hung up reason on this call ?
a
where can i see that?
o
on the call history
a
it's an agent hangup
o
Can you show me where are using the end call function on your prompt
a
The prompt is:
Copy code
Transfer the call immediately after the caller speaks. If you can't, end the call.
the
end_call
function is the built-in function of Retell and is provided in the functions of the LLM engine attached to the agent.
o
remove the end the call from this part
a
@Omar Ashraf | Community Lead We're also seeing this error:
Copy code
Error transferring call, SIP status code: 603 SIP error category: user_declined Error: twirp error unknown: unexpected status from INVITE response: sip status: 603: Network Blocked
would that mean that it's a problem on the transferee's phone number carrier?
o
Is your phone number from retell or a custom telephony
a
phone number is from retell
as in the phone number attached to the agent, the caller number no.
n
@andreas.marblism A
SIP 603
meeans "Access Denied" - generally saying, the destination you are transferring to is either blocked or non-routed. Are you routing to a phone number in the US ?
a
Yes, the number this agent is attempting to transfer to is a US number under T-Mobile.
n
@andreas.marblism Send me a DM, I'd like to do an experiment with you
o
Hello @andreas.marblism , do you do outbound with this phone number ?
a
@Omar Ashraf | Community Lead do you mean the agent's number or the number that is denying access?
o
Agent number?
a
only inbound
and call transfer
o
Okay, can you share a call id that have this problem
a
you can see a number of call_ids in the initial message of this thread
o
Hello @andreas.marblism , It's was a different problem for the agent was calling the end call tool
a
apologies - here's a call id with this issue:
call_c18900a27b8b660816f9c488a25
You can also check all the inbound calls of this agent:
agent_573c43cf1728717f9ec8c0fa96
whenever the agent attempts to transfer the call it fails with the same error within 10 seconds.
o
Sure, no problem
this happen even if you changed the number or only with this number ?
a
the customer tried 2 different numbers for transfering
same result
o
Thank you , i did send it to the team , I will update you .
Hello @andreas.marblism , the call id is old , can you get us a new one
a
call_8f923babee6ccf6583025955fc9