average-architect-28889
08/21/2025, 4:43 AMtall-airline-16756
08/21/2025, 4:43 AMtall-airline-16756
08/21/2025, 4:44 AMtransport parameter with the value for TCP in your CreateSIPOutboundTrunk request.
The transport field uses the SIPTransport enum, where:
• SIP_TRANSPORT_TCP = 2
Here's a quick example of what the request body might look like:
{
"trunk": {
"name": "My Outbound Trunk",
"address": "sip.example.com",
"numbers": [
"+1234567890"
],
"transport": 2
}
}
This setup makes sure that your SIP INVITE messages for outbound calls go out using the TCP protocol. If you have any questions or want to tweak this further, just let me know!
Sources: livekit/sip_test.go | SIP APIs | LiveKit Docs | SIP APIs | LiveKit Docs