Skip to content

Commit 301744f

Browse files
committed
self-review
1 parent e80dab7 commit 301744f

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,3 @@ require (
142142
google.golang.org/grpc v1.76.0 // indirect
143143
gopkg.in/yaml.v2 v2.4.0 // indirect
144144
)
145-
146-
replace github.com/livekit/psrpc => ../psrpc

pkg/sip/inbound.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,7 @@ func (s *Server) getInvite(sipCallID, toTag, fromTag string) *inProgressInvite {
167167
if ok {
168168
return is
169169
}
170-
is = &inProgressInvite{
171-
sipCallID: sipCallID,
172-
expireAt: time.Now().Add(inviteCredentialValidity),
173-
}
170+
is = &inProgressInvite{sipCallID: sipCallID}
174171
s.inProgressInvites[key] = is
175172
s.inviteTimeoutQueue.Reset(&utils.TimeoutQueueItem[*dialogKey]{Value: &key})
176173

pkg/sip/server.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ type inProgressInvite struct {
171171
sipCallID string
172172
challenge digest.Challenge
173173
lkCallID string // SCL_* LiveKit call ID assigned to this dialog
174-
expireAt time.Time
175174
}
176175

177176
type ServerOption func(s *Server)

0 commit comments

Comments
 (0)