https://retellai.com/?utm_source=discord&utm_medium=seo logo
Tool Invocation: transfer_calltool_call_id: b0963c...
# ❓・ai-evy-support
c
@AI Evy Tool Invocation: transfer_call tool_call_id: b0963c7c4754364b { "execution_message": "Transferring you now, please hold." } Tool Result tool_call_id: b0963c7c4754364b {"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."} I’m getting this error when I ask my on-call agent to transfer the call to a human. I also have my number on Twilio and have set up Elastic Trunking for it.
a
Thanks for tagging me @cypher5518. I'll look through relevant sources and get back to you shortly.
### Answer The error "The number to transfer from is not valid" suggests your Twilio number hasn't been properly imported into Retell after setting up Elastic SIP Trunking [(1) ]() . After creating your Elastic SIP Trunk in Twilio and moving your number to it, you must import the number to Retell so the platform knows how to route calls . You can import it through the dashboard or programmatically via the Import Number API [(2) ]() [(1) ]() . When importing, you'll need to supply the termination SIP URI you configured in your Twilio trunk [(1) ]() . If you set up authentication via credentials, provide the username and password as well . Common issues to verify: For outbound calls not working : - Check your Termination SIP URI for spaces and remove them - Use a localized termination URI near your region - Verify your username and credentials are correct (the username differs from the friendly name) For inbound calls not connecting : - Check your origination setting in your SIP trunk - Verify you've set Retell's SIP server address as the origination SIP URI:
sip:sip.retellai.com
Transfer configuration: For the transfer feature to work with SIP trunking, if you're using cold transfer with the transferee's number showing as caller ID, you'll need to configure your SIP trunk to allow SIP REFER and PSTN transfer [(3) ]() . Once properly imported, your number should work for transfers just like a Retell-purchased number [(1) ]() .
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[3] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.