Add DailyOutputDTMFFrame and DailyOutputDTMFUrgentFrame

Introduces Daily-specific DTMF output frames that carry explicit
`tones`, `session_id` and `digit_duration_ms` fields, forwarded to
Daily's `send_dtmf` as `tones`, `sessionId` and `digitDurationMs`.
The inherited `button` and `transport_destination` fields are
ignored for these frames in the Daily transport.
This commit is contained in:
Aleix Conchillo Flaqué
2026-04-15 14:20:08 -07:00
parent fe2ef9c712
commit 30f39d7395
2 changed files with 97 additions and 9 deletions

View File

@@ -1 +1,2 @@
- Added `DailyTransport.send_dtmf()` for sending DTMF tones during a call (e.g. IVR navigation).
- Added `DailyTransport.send_dtmf()` to expose the Daily call client's DTMF sending capability, enabling applications to send tones during a call (e.g. IVR navigation).
- Added `DailyOutputDTMFFrame` and `DailyOutputDTMFUrgentFrame` frames for sending DTMF through the Daily transport pipeline. Both carry explicit `tones`, `session_id` and `digit_duration_ms` fields that are forwarded to Daily's `send_dtmf` as `tones`, `sessionId` and `digitDurationMs`. When the Daily transport processes these frames, the inherited `button` and `transport_destination` fields are ignored.