Skip to content

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

ParameterTypeDescription
listener(event) => voidCallback 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).

Released under the MIT License.