Propagate SIP attributes from a Dispatch Rule. (#2943)

This commit is contained in:
Denys Smirnov
2024-08-19 18:09:37 +03:00
committed by GitHub
parent 15bf920f2c
commit 7ad6d97b1b
+2
View File
@@ -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.