https://retellai.com/?utm_source=discord&utm_medium=seo logo
I am trying to use the call transfer node but I am...
# ❓・ai-evy-support
j
@AI Evy I am trying to use the call transfer node but I am getting this message in the call log, and the call transfer fails each time: tool_call_id: transfer_call_2237cb {"status":"The number to transfer from is not valid. Please inform the customer that the transfer did not go through and offer to try again or assist them directly."} How do I fix this?
a
Thanks for tagging me @jamie_42064. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) [[2] Debug call transfer failure](https://docs.retellai.com/reliability/call-performance) [[3] Here is how that can be fixed](https://retell.discourse.group/t/here-is-how-that-can-be-fixed/23) [[4] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[5] URGENT!! My clients call transfers were working but just stopped working all of a sudden](https://discord.com/channels/1186424376300679209/1369916767161421874) [[6] tool_call_id: transfer_call_f246b8{"status":"Transfer call cannot be completed, telephony provider](https://discord.com/channels/1186424376300679209/1393151424631668780) [[7] Discord message from @sikntwisted_ on 2025-03-07](https://discord.com/channels/1186424376300679209/1294891368505937952/1347470163297046561) ​
### Answer The error "The number to transfer from is not valid" indicates an issue with your phone number configuration for call transfers [(1) ]() [(2) ]() . Key troubleshooting steps: 1. Verify your phone number is properly configured - The
from_number
must be a phone number you've purchased and configured through Retell AI [(3) ]() . You cannot use arbitrary numbers for transfers . 2. Check caller ID override settings - For call transfers to work properly, caller ID override must be supported by your telephony provider [(1) ]() : - For warm transfers, Retell uses SIP DIAL and sets
from
and
P-Asserted-Identity
headers to the user's number - For cold transfers, Retell uses SIP REFER, and it's up to the telephony provider to support caller id override - Retell Twilio numbers support showing the user's number on both warm and cold transfers - Retell Telnyx numbers only support this when using SIP REFER via cold transfer - If caller id override is not supported, the transfer will fail 3. Ensure proper number format - Transfer destination numbers must be in valid e.164 format (e.g.,
+12137771234
) [(4) ]() [(5) ]() . 4. Review your SIP trunk configuration - If using custom telephony, verify your SIP trunk is configured correctly with your provider [(6) ]() [(7) ]() . **To configure your
phone number for transfers:** Check that your phone number has an
outbound_agent_id
configured, or use the
override_agent_id
parameter in your request [(3) ]() . If the issue persists after checking these settings, review your detailed call logs for specific SIP error codes that can help identify the exact issue [(6) ]() . **
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
This is the 'From': sip:+13022325695@engage.ringcentral.com
Is this the issue?
a
Thanks for the follow-up, @jamie_42064. I'll get back to you soon.
### Answer Yes, that's likely the issue. The
from
number you're showing (
sip:+13022325695@engage.ringcentral.com
) is a RingCentral SIP URI, not a Retell-managed number [(1) ]() [(2) ]() . The problem: Call transfers in Retell AI require the
from_number
to be either: - A number purchased directly from Retell [(3) ]() [(4) ]() , or - A number imported into Retell from your telephony provider [(5) ]() Why RingCentral SIP URIs don't work: The call transfer feature expects phone numbers in E.164 format (like
+14157774444
) [(1) ]() [(6) ]() . When you use a custom SIP URI from RingCentral that hasn't been imported into Retell, the system cannot validate it as a valid transfer source [(1) ]() . How to fix this: 1. Import your RingCentral number into Retell using the Import Phone Number API [(5) ]() . You'll need to provide: - `phone_number`: The E.164 format number (e.g.,
+13022325695
) - `termination_uri`: Your RingCentral SIP endpoint 2. Configure your transfer node to use the imported number's E.164 format instead of the full SIP URI [(1) ]() . 3. Verify caller ID override support - For transfers with custom telephony like RingCentral, caller ID override behavior depends on your provider's SIP configuration [(1) ](
[(2) ]() . Retell uses SIP DIAL for warm transfers and SIP REFER for cold transfers [(1) ]() . Once you import the number properly, Retell will be able to validate it for transfers [(5) ]() [(3) ]() .
j
@AI Evy
a
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy why can it not be forwarded as an outbound call?
a
Thanks for the follow-up, @jamie_42064. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[3] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer The call transfer cannot be forwarded as an outbound call because Retell AI requires the
from_number
to be a number you own in E.164 format that's either purchased from Retell or imported into Retell [(1) ]() [(2) ]() . Why this restriction exists: When Retell performs a call transfer, it needs to establish caller ID and SIP headers properly [(3) ]() . For warm transfers, Retell uses SIP DIAL and sets
from
and
P-Asserted-Identity
headers to the user's number . For cold transfers, it uses SIP REFER . This requires the
from_number
to be a validated number in Retell's system. The technical limitation: Your RingCentral SIP URI (
sip:+13022325695@engage.ringcentral.com
) is not in the required E.164 format (like
+14157774444
) [(1) ]() [(2) ]() . Retell's outbound calling system expects phone numbers in E.164 format for the
from_number
field [(1) ]() . The system cannot validate or use arbitrary SIP URIs that haven't been imported into Retell. The solution: You need to import your RingCentral number into Retell using the Import Phone Number API [(2) ]() . This registers the number with Retell so it can be used as a valid
from_number
for transfers and outbound calls. When importing, you provide the E.164 format number (
+13022325695
) and your RingCentral termination URI . After importing, Retell can properly route the transfer as an outbound call using your imported number. **
j
@AI Evy are there alternatives? Can we forward to another sip address?
a
Thanks for the follow-up, @jamie_42064. I'll get back to you soon.
### Answer ### Answer Yes, you can transfer to another SIP address. The transfer destination can be set as a SIP URI in the format
sip:username@domain
(e.g.,
sip:user@retellai.com
) [(1) ]() [(2) ]() . Transfer destination options: The transfer number can be configured as : - A number in E.164 format - A SIP URI in the format
sip:username@domain
- A dynamic variable that gets substituted at runtime - Raw format (if using custom telephony and not Retell Telephony) for non-E.164 formats like internal pseudo numbers Important note about the
from
number:
While you can transfer to a SIP URI, the
from
number still needs to be properly configured in Retell. This is the core issue you're experiencing. The transfer destination being a SIP address is fine, but the originating number must be imported into Retell . Your options: 1. Import your RingCentral number into Retell so it can be used as a valid
from
number, then transfer to your desired SIP URI destination 2. Use raw format (if applicable with custom telephony) to keep the input as-is, though this only applies when using custom telephony and not Retell Telephony The transfer destination flexibility exists, but the source number validation requirement remains. **
​ To learn more, see the sources I considered: [[1] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) [[2] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
how do i import my ringcentral number into retell so I can forward it to another address @AI Evy
a
Thanks for the follow-up, @jamie_42064. I'll get back to you soon.
### Answer --- Unfortunately, the provided sources don't contain specific documentation about importing RingCentral numbers into Retell AI. However, I can provide general guidance based on the custom telephony integration approach. General approach for importing numbers via SIP trunking: Retell AI supports importing numbers from telephony providers through Elastic SIP Trunking [(1) ]() . This is the recommended integration method for connecting custom telephony providers . Key steps typically involved: 1. Set up SIP trunking with your provider - Configure your RingCentral SIP trunk to point to Retell's SIP server:
sip:sip.retellai.com
2. Configure authentication - Set up credentials-based authentication with a username and password [(2) ]() [(1) ]() 3. Import the number - You'll need to provide: - The phone number in E.164 format (e.g.,
+13022325695
) - The termination SIP URI (your RingCentral FQDN) - Authentication credentials [(2) ]() Transport methods supported: [(1) ]() - UDP:
sip:sip.retellai.com;transport=udp
- TCP:
sip:sip.retellai.com;transport=tcp
- TLS:
sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tls
For specific RingCentral integration instructions, I recommend checking these resources: - [Custom Telephony Overview]() - [Telnyx]() (as a reference example) Would you like me to provide a general answer based on my knowledge of similar SIP trunk integrations? **
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Telnyx](https://docs.retellai.com/deploy/telnyx) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy why can't retell just make an outbound call from the number that is assigned to the retell agent, ignoring who the call is originally from
a
[(1) ]() The
from_number
must be your Retell-managed or imported number . The transfer scenario is different: During a transfer, the system needs to maintain the original caller's identity so the transfer recipient knows who they're speaking with. If Retell simply used the agent's number and ignored the original caller, the person receiving the transfer would see the agent's number instead of the actual customer's number—which defeats the purpose of a proper transfer. Your options: 1. Import your RingCentral number so Retell can use it as a valid
from
number for transfers 2. Configure your agent's assigned Retell number as the
outbound_agent_id
for that number [(2) ]() , then use that for transfers The restriction exists to ensure proper caller ID handling during transfers, not for regular outbound calling.
### Answer ### Answer Retell AI can make outbound calls using the number assigned to the agent, but for call transfers specifically, there's a technical reason why caller ID preservation matters [(1) ]() . Why caller ID matters for transfers: When Retell performs a call transfer, it uses SIP protocols that require proper caller identification . For warm transfers, Retell uses SIP DIAL and sets
from
and
P-Asserted-Identity
headers to the user's number . For cold transfers, it uses SIP REFER . This caller ID information is critical for: - The transfer recipient knowing who's calling - Compliance with telephony regulations - Proper call routing through your telephony provider What you're describing would work for regular outbound calls: For standard outbound calls (not transfers) , you can absolutely use the agent's assigned number as the
from_number
[(1) ]() [(2) ]() . When making outbound calls, you specify:
Copy code
json
{
  "from_number": "+14157774444",
  "to_number": "+12137774445",
  "override_agent_id": "agent_abc123"
}
Thanks for the follow-up, @jamie_42064. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) [[2] Update Phone Number](https://docs.retellai.com/api-references/update-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.