https://retellai.com/?utm_source=discord&utm_medium=seo logo
SIP Transfers to Twilio Stopped Working (Dec 5-7)
# ❓・bug-report
n
All our SIP call transfers suddenly stopped working between Dec 5-7. No config changes on our end. Setup: - 4 agents all using same transfer destination - Error in Retell logs:
Copy code
Error transferring call, SIP status code: undefined
SIP error category: user_no_answer
Error: twirp error unknown: canceled
Key finding: Twilio shows ZERO inbound transfer calls since Dec 5 - transfers aren't reaching Twilio at all. Same config had successful 4+ min calls on Dec 4-5. Was there any platform change to SIP REFER routing around Dec 5-6?
Update-- All our SIP call transfers stopped working between Dec 5-7. No config changes on our end. Setup: - 4 agents using same transfer destination - Was working perfectly until Dec 5 Error in Retell logs:
Copy code
Error transferring call, SIP status code: undefined
SIP error category: user_no_answer
Error: twirp error unknown: canceled
🚨 Critical Finding: Test call
call_5f3e203eda4ff63c146eacb24dd
shows: -
twilio-callsid: CAbfc4f242ceba64bf6a0100c3f19fb03a
-
lk-real-ip: 54.171.127.192
(LiveKit) -
iden: B-/D-Leg (Relay)
BUT querying Twilio API returns 404 - that Call SID doesn't exist! Calls appear to be routed through LiveKit without creating actual Twilio call legs. Comparison: - ✅ Dec 4-5 (working): Transfers appeared in Twilio trunk
TKe69038c285c40a0839ef1693cf29aecb
, 4+ min completed calls - ❌ Dec 7 (broken): Metadata has
twilio-callsid
but ZERO records in Twilio API Was there a routing infrastructure change around Dec 5-6?
@Omar Ashraf | Community Lead
Thanks in advance
Additional Research: No incidents reported on Retell or LiveKit status pages for Dec 5-7 The LiveKit IPs suggest a region migration: Working (Dec 3): 35.156.191.129 (AWS Frankfurt) Failing (Dec 7): 54.171.127.192 (AWS Ireland) Similar issue reported on GitHub: livekit/sip#234 - SIP REFER fails, requests never reach Twilio
@AI Evy
a
Thanks for tagging me @nateai_52669. I'll look through relevant sources and get back to you shortly.
### Answer Based on your symptoms, there are a few important points about SIP transfer configuration and troubleshooting with Retell AI: Known SIP Transfer Limitation with Twilio For cold transfers with a transferee number, Retell uses SIP REFER to transfer the call [(1) ]() . However, different telephony providers may or may not honor custom SIP headers in the REFER request . Specifically, Twilio does not honor custom SIP headers in the REFER request, so SIP headers you set in the transfer call tool will not work for cold transfer with transferee number when using Twilio . Common SIP Connection Issues From December 2025, some non-US traffic might go from IPs not listed in the standard IP blocks, but will be migrated to the first IP block by 12/03/2025 [(2) ]() . The most common causes for SIP connection issues include [(3) ]() : - NAT/firewall blocking RTP (open the IP/ports in LiveKit's SDP) - SIP ALG interfering (disable it) - Codec mismatch (use PCMU/PCMA/Opus) - Wrong SIP URI or region endpoint Troubleshooting Steps When calls are registered successfully with Retell but LiveKit is not connecting the call, the issue is typically that LiveKit is not sending the call to Retell or joining that call, resulting in a 'No Answer' status [(4) ]() . For your specific situation with transfers not reaching Twilio, I recommend: 1. Verify your Elastic SIP Trunk configuration in Twilio, including termination settings for outbound and origination with Retell's SIP server address:
sip:sip.retellai.com
[(5) ](
nk/127) 2. Check the 200 OK SDP and PCAP to confirm RTP is being sent both ways [(3) ]() 3. Consider using warm transfer instead of cold transfer, which provides more control over the process [(6) ]() Since you're experiencing a sudden change in behavior without configuration changes on your end, and the issue appears to involve LiveKit not creating actual Twilio call legs, I'd recommend reaching out to Retell support directly with your specific call IDs and error logs for investigation of any platform changes around December 5-6. **
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Set & parse custom SIP headers](https://docs.retellai.com/build/telephony/sip-headers) [[2] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[3] SIP call using call_id reaches LiveKit but no audio / agent not triggered](https://discord.com/channels/1186424376300679209/1389990836992872471) [[4] SIP dial have "No Answer" TLS](https://discord.com/channels/1186424376300679209/1435029453326778539) [[5] I’m trying to use a toll-free number (connected from Twilio through a SIP trunk)](https://retell.discourse.group/t/i-m-trying-to-use-a-toll-free-number-connected-from-twilio-through-a-sip-trunk/127) [[6] Help on Twilio DID questions](https://retell.discourse.group/t/help-on-twilio-did-questions/24) ​
n
> Your docs state: "From December 2025, some non-US traffic might go from IPs not listed in the standard IP blocks, but will be migrated to the first IP block by 12/03/2025" > > Our last working transfer was Dec 3 from IP 35.156.191.129. Since Dec 5-7, calls come from 54.171.127.192 and all transfers fail with "No Answer" - exactly the symptom described when "LiveKit is not connecting the call." > > It appears the December IP migration broke our SIP transfers. > > Please investigate why our non-US traffic is still routing through IPs that can't complete SIP REFER to Twilio.
@AI Evy
a
Thanks for the follow-up, @nateai_52669. I'll get back to you soon.
### Answer --- Your analysis pointing to the December IP migration is well-founded [(1) ]() . The documentation states that some non-US traffic might go from IPs not listed in standard blocks, with migration to the first IP block scheduled by 12/03/2025 . IP Blocks for Retell SIP Traffic: -
18.98.16.120/30
(All regions) -
143.223.88.0/21
(United States only) -
161.115.160.0/19
(United States only) - Some non-US traffic might go from IPs not listed above, but will be migrated to the first IP block by 12/03/2025 Your Observed Pattern: - ✅ Dec 3-4: IP
35.156.191.129
(Frankfurt) - transfers working - ❌ Dec 5-7: IP
54.171.127.192
(Ireland) - transfers failing with "No Answer" The timing aligns precisely with the migration window mentioned in the documentation . Your IP
54.171.127.192
appears to be one of those non-US IPs not in the standard blocks . Action Items: 1. Whitelist the new CIDR block in your Twilio IP Access Control List [(2) ]() . Recent guidance indicates whitelisting the new CIDR block for uninterrupted SIP signaling . 2. Verify your Twilio Elastic SIP Trunk configuration: [(3) ]() - Check termination settings (for outbound) - Confirm origination with Retell's SIP server:
sip:sip.retellai.com
- Ensure IP whitelisting or credential authentication is properly configured 3. Check Twilio logs for your origination and termination settings, and consider opening a ticket with them if transfers still aren't appearing . Given the infrastructure-level nature of this issue occurring during a documented migration period, I recommend contacting Retell support directly at [Contact Sales]() with your sp
ecific call IDs (
call_5f3e203eda4ff63c146eacb24dd
) and the IP migration timeline you've documented. **
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Discord message from @reetamg on 2025-11-20](https://discord.com/channels/1186424376300679209/1186462578310910112/1440973688731078667) [[3] Twilio](https://docs.retellai.com/deploy/twilio) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
o
Hello @nateai_52669 , the transfers only that doesn't work , or also the calls , and these transfers happend with inbound call or with outbound call ? can you share a call id?
n
Hey 0mar. thanks for replying Calls work fine, its the transfers that have failed since the 5th of Dec. With no changes on my end. here is one of the call ID's call_900e6f82303ce1cda46461bde35
@Omar Ashraf | Community Lead (not sure if im supposed to retag you)
o
Can you send the pcap file for this call
and Can you try to make outbound call and let me know if it works or not ?
n
The transfer calls aren't reaching Twilio at all - there's no call record or PCAP for the transfer leg. I can provide the PCAP for the incoming call during the transfer attempt https://cdn.discordapp.com/attachments/1447235685701390480/1447249372113932469/call-log-CA50a8340f73d3f1c6560101db94bbeb8d.pcap?ex=69379842&is=693646c2&hm=47208a9e75a837c899ebad45c859fdd89384261b85d56f24a5adccd4bcab2090&
The outbound works
@Omar Ashraf | Community Lead
will changing the transfer_tool from a sip to the direct number work?
o
I was going to ask you to change it to a different number
n
it worked when i used the (+44)mobile number, and removed the sip. Thanks for your help
a
This might be related. Our inbound calls to Retell via Elastic SIP trunking stopped working on December 5 at approximately 20:42 UTC to 21:30 UTC. Failures started appearing gradually, with initially few calls getting rejected, and then all calls rejected. We were working with this setup for many months with hundreds of calls per day. This all looks like there was some changes done at this time at either Livekit or Retell side. https://cdn.discordapp.com/attachments/1447235685701390480/1447557273554522174/2025-12-08_13-52.png?ex=69380e44&is=6936bcc4&hm=b3a988f228d4733d2214b82fe7eb55ffded258761d691ef27b8fa3a62d23de48&