early-country-93217
09/15/2025, 3:24 PMtall-airline-16756
09/15/2025, 3:24 PMtall-airline-16756
09/15/2025, 3:25 PMtwilio api trunking v1 trunks update \
--sid <twilio-trunk-sid> \
--transfer-mode enable-all \
--transfer-caller-id from-transferee
3. After that, you can verify your trunk settings by running:
twilio api trunking v1 trunks list
2. Configure Region Pinning for India:
• For inbound calls, please use a region-based SIP endpoint like this: {sip_subdomain}.india.sip.livekit.cloud, replacing {sip_subdomain} with your LiveKit project ID.
• For outbound calls, set up a trunk pinned to India by using the destination_country parameter with the value "in".
3. Additional Checks:
• Make sure the Indian number is formatted in E.164 style (for example, +91XXXXXXXXXX).
• Double-check that your Twilio trunk is allowed to make outbound calls to India.
• If needed, enable TLS/SRTP for secure trunking to keep things safe.
If you'd like, I’m more than happy to help you verify your current trunk configuration or assist with testing the warm transfer while capturing logs. Just let me know how you’d like to proceed!
Sources: Transferring calls | LiveKit Docs | SIP cloud and region pinning | LiveKit Docs | Preserving Caller ID During SIP Transfers in LiveKit Agents | Secure trunking | LiveKit Docs | Agents telephony integration | LiveKit Docsearly-country-93217
09/15/2025, 3:26 PMtall-airline-16756
09/15/2025, 3:27 PMdestination_country=IN so calls route correctly.
• Also, make sure to use a region-based SIP endpoint for LiveKit: {sip_subdomain}.india.sip.livekit.cloud, replacing {sip_subdomain} with your LiveKit project ID.
2. Verify Twilio Trunk Configuration:
• It’s important to enable SIP REFER and PSTN Transfer. You can do this easily using the Twilio CLI:
twilio api trunking v1 trunks update \
--sid <twilio-trunk-sid> \
--transfer-mode enable-all \
--transfer-caller-id from-transferee
• Also, double-check that the Indian number is formatted in E.164 style (like +91XXXXXXXXXX).
3. Test Direct Outbound Call:
• Try making a direct call to the Indian number. This helps us see if the issue is with the transfer or something else like trunk reachability or permissions.
4. Caller ID Passthrough:
• Make sure to set the original caller ID in your transfer request using sip_number=original_caller_number.
• Check that your Twilio trunk supports arbitrary caller ID passthrough, as this can affect the transfer.
If you'd like, I’m here to help you verify your trunk configuration or walk you through testing the cold transfer setup. Just let me know how I can assist!
Sources: Agents telephony integration | LiveKit Docs | Preserving Caller ID During SIP Transfers in LiveKit Agents | livekit-protocol/livekit/protocol/sip.pyi | SIP troubleshooting guide | LiveKit Docs | SIP cloud and region pinning | LiveKit Docsearly-country-93217
09/15/2025, 3:39 PMtall-airline-16756
09/15/2025, 3:39 PM+91XXXXXXXXXX)?
• Is SIP REFER and PSTN transfer enabled on your Twilio trunk?
With this information, I'll be better equipped to understand what's going on and help you find the right solution.