Skip to content

Commit e075eba

Browse files
committed
TEL-372: log feature flag
1 parent a7d527a commit e075eba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/sip/inbound.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,12 @@ func (c *inboundCall) handleInvite(ctx context.Context, tid traceid.ID, req *sip
698698
if disp.DispatchRuleID != "" {
699699
c.appendLogValues("sipRule", disp.DispatchRuleID)
700700
}
701+
for key, value := range disp.FeatureFlags {
702+
c.appendLogValues("featureFlag_"+key, value)
703+
}
704+
for _, feature := range disp.EnabledFeatures {
705+
c.appendLogValues(feature.String(), "true")
706+
}
701707

702708
c.state.Update(ctx, func(info *livekit.SIPCallInfo) {
703709
info.TrunkId = disp.TrunkID

0 commit comments

Comments
 (0)