Skip to content

Commit

Permalink
allow setting room_config when creating dispatch rules
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzhao committed Feb 2, 2025
1 parent ea06cf4 commit 9796ab7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/livekit/sip_service_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ def create_sip_dispatch_rule(
inbound_numbers: nil,
hide_phone_number: nil,
metadata: nil,
attributes: nil
attributes: nil,
room_config: nil
)
request = Proto::CreateSIPDispatchRuleRequest.new(
rule: rule,
Expand All @@ -138,6 +139,7 @@ def create_sip_dispatch_rule(
hide_phone_number: hide_phone_number,
metadata: metadata,
attributes: attributes,
room_config: room_config,
)
self.rpc(
:CreateSIPDispatchRule,
Expand Down
2 changes: 1 addition & 1 deletion lib/livekit/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module LiveKit
VERSION = "0.8.1"
VERSION = "0.8.2"
end

0 comments on commit 9796ab7

Please sign in to comment.