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.
577 B
577 B
- 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
DailyOutputDTMFFrameandDailyOutputDTMFUrgentFrameframes for sending DTMF through the Daily transport pipeline. Both carry explicittones,session_idanddigit_duration_msfields that are forwarded to Daily'ssend_dtmfastones,sessionIdanddigitDurationMs. When the Daily transport processes these frames, the inheritedbuttonandtransport_destinationfields are ignored.