prehistoric-printer-73777
08/11/2025, 7:50 AMtall-airline-16756
08/11/2025, 7:50 AMtall-airline-16756
08/11/2025, 7:50 AMTransferSIPParticipant
API, LiveKit will send NOTIFY requests to let you know if the transfer is successful, still happening, or if something went wrong.
These notifications come with status codes—like a 200 status code to celebrate a successful transfer. Your client uses these updates to keep everything running smoothly and manage the call state without a hitch. Without the NOTIFY SIP, it’d be like flying blind, missing out on the feedback you need to confirm the transfer or troubleshoot if needed.prehistoric-printer-73777
08/11/2025, 8:12 AMtall-airline-16756
08/11/2025, 8:13 AMprehistoric-printer-73777
08/11/2025, 8:16 AMtall-airline-16756
08/11/2025, 8:16 AMTransferSIPParticipant
API is set up just right, especially the transfer_to
parameter and any headers you might need.
3. Peek at the Transfer Handling in Logs: Dive into the LiveKit server logs to spot any errors during the transfer, like hiccups with NOTIFY processing or call state issues.
4. Make sure all NOTIFY Status Codes are Handled: Your SIP client should be ready to handle all NOTIFY responses—whether they’re informational (100-199), success (200), or error codes (4xx/5xx/6xx).
5. Try Testing with Simple, Known Parameters: For testing, keep things straightforward by using a valid transfer_to
value and the bare minimum configuration.
6. Check Compatibility: Have a look at the LiveKit SIP Transfer documentation to ensure everything lines up with SIP protocol requirements.
Hopefully, these tips help you get to the bottom of it! If you want me to walk through any step or need a hand with something specific, just let me know—I’m here to help.prehistoric-printer-73777
08/11/2025, 8:17 AMtall-airline-16756
08/11/2025, 8:17 AMprehistoric-printer-73777
08/11/2025, 8:19 AMtall-airline-16756
08/11/2025, 8:20 AMtransfer_to
parameter in LiveKit — it works with valid telephone numbers or SIP URIs. Here are the formats we usually see:
• tel:+15105550100
(telephone number format)
• <sip:+15105550100@sip.telnyx>.com
(SIP URI format)
• <sip:+15105550100@my-livekit-demo.pstn>.twilio.com
(SIP URI format)
For your format phone_number@ip:port
, it’s best to add the sip:
prefix — so it looks like sip:phone_number@ip:port
. This little tweak helps keep everything running smoothly.
If you want, I’m here to help with any formatting questions or if you need tips on specific SIP provider setups. Just give me a shout!
Sources: Transferring calls | LiveKit Docs | livekit-agents/livekit/agents/job.py | livekit-protocol/livekit/protocol/sip.pycold-eve-87123
08/14/2025, 10:53 AMtall-airline-16756
08/14/2025, 10:53 AMtransfer_to
parameter, and any specific SIP provider settings you have. That way, I can better understand what's going on and help you sort it out.prehistoric-printer-73777
08/15/2025, 1:41 PMtall-airline-16756
08/15/2025, 1:41 PM