Skip to content

TEL-1026: Transfer error details - #1782

Merged
genseric-ghiro merged 7 commits into
mainfrom
genseric/tel-912-transfer-error-details
Sep 9, 2026
Merged

TEL-1026: Transfer error details#1782
genseric-ghiro merged 7 commits into
mainfrom
genseric/tel-912-transfer-error-details

Conversation

@genseric-ghiro

Copy link
Copy Markdown
Contributor

Summary

  • Instead of adding the reason/status on transfer failures to a response (which gets stripped by psrcp and twirp when there's an error), add it directly to the error.

Every transfer outcome other than STR_COMPLETED is moving to an error. The
reason cannot ride on the response, so it travels as a proto detail on the
error instead, the same way SIPStatus already does. The detail nests the SIP
status so a failed transfer needs only one detail, and reports it under the
same twirp metadata keys a dialing failure uses.

TransferSIPParticipantResponse is deprecated: it only still reports
STR_CALL_ENDED, which is temporarily returned as a success.
@genseric-ghiro
genseric-ghiro requested a review from a team September 8, 2026 17:36
@genseric-ghiro genseric-ghiro self-assigned this Sep 8, 2026
@changeset-bot

changeset-bot Bot commented Sep 8, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: af7c58d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
github.com/livekit/protocol Patch
@livekit/protocol Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@genseric-ghiro genseric-ghiro changed the title Genseric/tel 912 transfer error details TEL-1026: Transfer error details Sep 8, 2026
Comment thread livekit/sip.go Outdated
Comment thread protobufs/livekit_sip.proto Outdated
Comment thread livekit/sip.go
Comment thread livekit/sip.go
Comment thread protobufs/rpc/sip.proto Outdated
@genseric-ghiro
genseric-ghiro merged commit 0553c0e into main Sep 9, 2026
8 checks passed
@genseric-ghiro
genseric-ghiro deleted the genseric/tel-912-transfer-error-details branch September 9, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants