Skip to content

Commit e281f89

Browse files
authored
allow setting room_config when creating dispatch rules (#73)
1 parent ea06cf4 commit e281f89

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/livekit/sip_service_client.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ def create_sip_dispatch_rule(
128128
inbound_numbers: nil,
129129
hide_phone_number: nil,
130130
metadata: nil,
131-
attributes: nil
131+
attributes: nil,
132+
room_config: nil
132133
)
133134
request = Proto::CreateSIPDispatchRuleRequest.new(
134135
rule: rule,
@@ -138,6 +139,7 @@ def create_sip_dispatch_rule(
138139
hide_phone_number: hide_phone_number,
139140
metadata: metadata,
140141
attributes: attributes,
142+
room_config: room_config,
141143
)
142144
self.rpc(
143145
:CreateSIPDispatchRule,

lib/livekit/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module LiveKit
4-
VERSION = "0.8.1"
4+
VERSION = "0.8.2"
55
end

0 commit comments

Comments
 (0)