Skip to content

fix: send DTMF to the active session room - #6360

Merged
longcw merged 1 commit into
mainfrom
longc/fix-dtmf-warm-transfer-room
Jul 9, 2026
Merged

fix: send DTMF to the active session room#6360
longcw merged 1 commit into
mainfrom
longc/fix-dtmf-warm-transfer-room

Conversation

@longcw

@longcw longcw commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

The send_dtmf_events tool resolved the room from the job context, which is always the original caller room. During a warm transfer the tool runs in a separate session bound to a different room, so DTMF was published to the caller instead of the transferee.

This resolves the room from the run context session (ctx.session.room_io.room), falling back to the job context when the session has no room I/O.

Fixes #6357

The send_dtmf_events tool resolved the room from the job context, which is always the original caller room. During a warm transfer the tool runs in a separate session bound to a different room, so DTMF was published to the caller instead of the transferee. Resolve the room from the run context session, falling back to the job context when the session has no room I/O.
@longcw
longcw requested a review from a team as a code owner July 9, 2026 07:13

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@davidzhao davidzhao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg

@longcw
longcw merged commit a890a9b into main Jul 9, 2026
25 of 26 checks passed
@longcw
longcw deleted the longc/fix-dtmf-warm-transfer-room branch July 9, 2026 12:13
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.

send_dtmf_events publishes DTMF to the job's room, not the executing session's room (wrong leg inside WarmTransferTask)

2 participants