feat(voice): add transferred_local end reason + transfer_target#33
Merged
Conversation
Blind transfer (RFC 3515) lands in WaveKat Voice: a call handed off to a third party ends as `TransferredLocal` and carries the destination it was sent to. Add the matching wire types so a synced transferred call reads back as "Transferred to <target>" on the platform instead of being flattened to `HangupLocal`. - `VoiceCallEndReason::TransferredLocal` — new variant, snake_case `transferred_local`, pinned by a wire-string test (the platform validates against an exact list). - `VoiceCallRecord::transfer_target` — the number / SIP address the far end was asked to call. Daemon-owned data, so unlike `share_visibility` it serializes on sync and echoes back on read. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GKGMQeftv6ztjoq1zXCL7g
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Blind transfer (RFC 3515) is landing in WaveKat Voice: a call handed off to a third party ends as
TransferredLocaland carries the destination it was sent to. This adds the matching wire types so a synced transferred call reads back as "Transferred to " on the platform instead of being flattened toHangupLocal.Changes
VoiceCallEndReason::TransferredLocal— new variant, snake_casetransferred_local, pinned by a wire-string test (the platform validates against an exact list).VoiceCallRecord::transfer_target— the number / SIP address the far end was asked to call. Daemon-owned data, so unlikeshare_visibilityit serializes on sync and echoes back on read.Tests
71 passing — added a wire-string pin for the new variant and a round-trip for
transfer_target(both directions).Release / consumer ordering
wavekat-voicecan drop its local[patch.crates-io]and pin it.wavekat-platform) must deploy its matchingtransferred_localenum +transfer_targetcolumn before a desktop client starts sending the reason, or those syncs 400 until it does. See the companion PRs.🤖 Generated with Claude Code