Protocol update to get more precise protoproxy timing (#3107)

* Protocol update to get more precise protoproxy timing

* really update protocol
This commit is contained in:
Raja Subramanian
2024-10-16 18:43:09 +05:30
committed by GitHub
parent 792964ad1c
commit 8221471b67
3 changed files with 11 additions and 10 deletions
+2 -1
View File
@@ -17,6 +17,7 @@ package service
import (
"context"
"errors"
"net/netip"
"github.com/livekit/protocol/livekit"
"github.com/livekit/protocol/logger"
@@ -31,7 +32,7 @@ func (s *IOInfoService) matchSIPTrunk(ctx context.Context, trunkID, calling, cal
if err != nil {
return nil, err
}
return sip.MatchTrunk(trunks, "", calling, called)
return sip.MatchTrunk(trunks, netip.Addr{}, calling, called)
}
// matchSIPDispatchRule finds the best dispatch rule matching the request parameters. Returns an error if no rule matched.