calm-optician-60209
07/14/2025, 3:18 PMtall-airline-16756
07/14/2025, 3:18 PMtall-airline-16756
07/14/2025, 3:19 PMCreateSIPOutboundTrunkRequest
is a protobuf message in LiveKit’s SIP API used to create a new outbound SIP trunk for making outgoing calls. It is sent to the SIP service via the CreateSIPOutboundTrunk
RPC method (endpoint /twirp/livekit.SIP/CreateSIPOutboundTrunk
). The request includes a single field trunk
, which is a SIPOutboundTrunkInfo
object with configuration details:
• Required: name
(trunk name), address
(SIP server), numbers
(caller IDs), destination_country
(2-letter ISO code)
• Optional: transport
(protocol), auth_username
and auth_password
(credentials), metadata
, headers
, media_encryption
On success, you receive a SIPOutboundTrunkInfo
object for the newly created trunk. SIP admin
permission is required. Example SDK usages are available in Node.js, Ruby, and Kotlin .
Sources: SIP APIs | LiveKit Docs | packages/livekit-server-sdk/src/SipClient.ts | lib/livekit/sip_service_client.rb | src/main/kotlin/io/livekit/server/SipServiceClient.kt | protobufs/livekit_sip.proto