CreateSIPOutboundTrunkRequest explain.
# ask-ai
c
CreateSIPOutboundTrunkRequest explain.
t
Thanks for reaching out, faiq. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
CreateSIPOutboundTrunkRequest
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