Both failing calls hit Twilio’s SIP 403 “Caller ID is unauthorized” on the outbound transfer leg. This 403 happens because the inbound caller was anonymous / caller-ID-blocked.
The internal call log error: Error transferring call, SIP status code: 403 ... dial failed: SIP 403 Caller ID is unauthorized. A Valid Caller ID is either a DID you have purchased from Twilio or a verified Caller ID.
To fix this, if the inbound from_number is Anonymous / Unknown / empty, call transfer_call with Displayed Caller ID as Retell Agent’s Number. Alternatively, you can switch to SIP REFER so that Twilio handles the outbound caller ID.
Thanks for the response. You proposed alternate solution to use SIP REFER but we are already using SIP REFER with cold transfer. Did you mean SIP INVITE ?
On dashboard when i click the transfer node it says sip refer. I have attached image for reference. The node name is “Voicemail: transfer to provider line”
Got it, the carrier was not configured in our code thats why the agent is using default SIP INVITE. Could you please confirm if changing to SIP REFER does not break anything else in the transfer flow?
On your agent’s current version v63 (draft, not published), we see the transfer node Voicemail: transfer to provider line has SIP REFER set. However, on the previous versions v62 and v61, which are the versions the calls ran on, the transfer tool did not have it.
Please publish this latest version v63 and make sure your phone number is pointing at it. You can check this from the Phone Numbers page, where you can pin outbound/inbound agent to a specific version or to Latest Published / Latest Changes. Making this change should not break the flow itself. Try a test call on the agent v63.