Propagate SIP attributes from a Dispatch Rule. (#2943)
This commit is contained in:
@@ -239,9 +239,11 @@ func (s *SIPService) CreateSIPDispatchRule(ctx context.Context, req *livekit.Cre
|
|||||||
info := &livekit.SIPDispatchRuleInfo{
|
info := &livekit.SIPDispatchRuleInfo{
|
||||||
Rule: req.Rule,
|
Rule: req.Rule,
|
||||||
TrunkIds: req.TrunkIds,
|
TrunkIds: req.TrunkIds,
|
||||||
|
InboundNumbers: req.InboundNumbers,
|
||||||
HidePhoneNumber: req.HidePhoneNumber,
|
HidePhoneNumber: req.HidePhoneNumber,
|
||||||
Name: req.Name,
|
Name: req.Name,
|
||||||
Metadata: req.Metadata,
|
Metadata: req.Metadata,
|
||||||
|
Attributes: req.Attributes,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Validate all rules including the new one first.
|
// Validate all rules including the new one first.
|
||||||
|
|||||||
Reference in New Issue
Block a user