We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b03bf7 commit 0d2b10eCopy full SHA for 0d2b10e
livekit-api/src/services/sip.rs
@@ -417,13 +417,15 @@ impl SIPClient {
417
call_to: String,
418
room_name: String,
419
options: CreateSIPParticipantOptions,
420
+ outbound_trunk_config: Option<proto::SipOutboundConfig>,
421
) -> ServiceResult<proto::SipParticipantInfo> {
422
self.client
423
.request(
424
SVC,
425
"CreateSIPParticipant",
426
proto::CreateSipParticipantRequest {
427
sip_trunk_id: sip_trunk_id.to_owned(),
428
+ trunk: outbound_trunk_config,
429
sip_call_to: call_to.to_owned(),
430
sip_number: options.sip_number.to_owned().unwrap_or_default(),
431
room_name: room_name.to_owned(),
0 commit comments