Open Hollymingyi opened 10 months ago
Do I understand correctly that your issues is that the LiveKit room is not removed after SIP call ends?
Currently it won't automatically delete the LiveKit room. This is by design, because it can be done by your application using LiveKit API.
On the other hand, the SIP participant in that room should disappear after call hangup. If it doesn't happen, then you probably hit a issue with BYE
that we are currently fixing.
"On the other hand, the SIP participant in that room should disappear after call hangup. If it doesn't happen, then you probably hit a issue with BYE that we are currently fixing." yes that is exactly what my issue is , thank you,i will focus on the release log on github
Call termination should now work properly for calls from SIP to LiveKit. Can you please check if it works on your end?
termination sh
which release get rid of it? the newest release have error like below:
ERROR livekit service/sip.go:199 cannot update sip participant {"error": "request timed out"} github.com/livekit/livekit-server/pkg/service.(SIPService).updateParticipant /workspace/pkg/service/sip.go:199 github.com/livekit/livekit-server/pkg/service.(SIPService).CreateSIPParticipant /workspace/pkg/service/sip.go:175 github.com/livekit/protocol/livekit.(sIPServer).serveCreateSIPParticipantProtobuf.func2 /go/pkg/mod/github.com/livekit/protocol@v1.9.4-0.20231221100346-e9e5fcd7d371/livekit/livekit_sip.twirp.go:2443 github.com/livekit/protocol/livekit.(sIPServer).serveCreateSIPParticipantProtobuf /go/pkg/mod/github.com/livekit/protocol@v1.9.4-0.20231221100346-e9e5fcd7d371/livekit/livekit_sip.twirp.go:2444 github.com/livekit/protocol/livekit.(sIPServer).serveCreateSIPParticipant /go/pkg/mod/github.com/livekit/protocol@v1.9.4-0.20231221100346-e9e5fcd7d371/livekit/livekit_sip.twirp.go:2305 github.com/livekit/protocol/livekit.(sIPServer).ServeHTTP /go/pkg/mod/github.com/livekit/protocol@v1.9.4-0.20231221100346-e9e5fcd7d371/livekit/livekit_sip.twirp.go:1197 net/http.(ServeMux).ServeHTTP /usr/local/go/src/net/http/server.go:2514 github.com/urfave/negroni/v3.(Negroni).UseHandler.Wrap.func1 /go/pkg/mod/github.com/urfave/negroni/v3@v3.0.0/negroni.go:59 github.com/urfave/negroni/v3.HandlerFunc.ServeHTTP /go/pkg/mod/github.com/urfave/negroni/v3@v3.0.0/negroni.go:33 github.com/urfave/negroni/v3.middleware.ServeHTTP /go/pkg/mod/github.com/urfave/negroni/v3@v3.0.0/negroni.go:51
Call termination should now work properly for calls from SIP to LiveKit. Can you please check if it works on your end?
did you mean terminate the call manually?
when i ended the sip call by hangup the sip phone, it still exist in the room. which commit should i checkout to resolve this bug
dear author, when i user outbound api to make call, it worked.but when i hangup the sip endpoint ,the livekit room still exist the sip endpoint ,the logs like below,
how should i resolve them?