From 7ad6d97b1b82672c9ecd62ff72fe94d5f0eb10eb Mon Sep 17 00:00:00 2001 From: Denys Smirnov Date: Mon, 19 Aug 2024 18:09:37 +0300 Subject: [PATCH] Propagate SIP attributes from a Dispatch Rule. (#2943) --- pkg/service/sip.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/service/sip.go b/pkg/service/sip.go index c32dbc7e1..92380120f 100644 --- a/pkg/service/sip.go +++ b/pkg/service/sip.go @@ -239,9 +239,11 @@ func (s *SIPService) CreateSIPDispatchRule(ctx context.Context, req *livekit.Cre info := &livekit.SIPDispatchRuleInfo{ Rule: req.Rule, TrunkIds: req.TrunkIds, + InboundNumbers: req.InboundNumbers, HidePhoneNumber: req.HidePhoneNumber, Name: req.Name, Metadata: req.Metadata, + Attributes: req.Attributes, } // Validate all rules including the new one first.