Skip to content

feat(voice): add transferred_local end reason + transfer_target#33

Merged
wavekat-eason merged 1 commit into
mainfrom
feat/transfer-reason
Jun 28, 2026
Merged

feat(voice): add transferred_local end reason + transfer_target#33
wavekat-eason merged 1 commit into
mainfrom
feat/transfer-reason

Conversation

@wavekat-eason

Copy link
Copy Markdown
Contributor

Blind transfer (RFC 3515) is landing in WaveKat Voice: a call handed off to a third party ends as TransferredLocal and 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 to HangupLocal.

Changes

  • 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.

Tests

71 passing — added a wire-string pin for the new variant and a round-trip for transfer_target (both directions).

Release / consumer ordering

  • This needs to publish (→ 0.0.17) before wavekat-voice can drop its local [patch.crates-io] and pin it.
  • The platform (wavekat-platform) must deploy its matching transferred_local enum + transfer_target column before a desktop client starts sending the reason, or those syncs 400 until it does. See the companion PRs.

🤖 Generated with Claude Code

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
@wavekat-eason wavekat-eason merged commit ed45dee into main Jun 28, 2026
1 check passed
@wavekat-eason wavekat-eason deleted the feat/transfer-reason branch June 28, 2026 08:46
@github-actions github-actions Bot mentioned this pull request Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant