Function: addDTMFListener()
ts
function addDTMFListener(listener): EventSubscription;Defined in: Calls.ts:826
Subscribes to DTMF events.
Fired when DTMF tones should be played. Send the tones through your media connection when you receive this event.
Parameters
| Parameter | Type | Description |
|---|---|---|
listener | (event) => void | Callback invoked when DTMF tones should be played. |
Returns
EventSubscription
A subscription that can be removed by calling .remove().
See
playDTMF — for the app-initiated direction (programmatically play tones).