sip.js.sessionmanagerdelegate.oncalldtmfreceived.md

October 20, 2022 ยท View on GitHub

Home > sip.js > SessionManagerDelegate > onCallDTMFReceived

SessionManagerDelegate.onCallDTMFReceived() method

Called when a call receives an incoming DTMF tone.

Signature:

onCallDTMFReceived?(session: Session, tone: string, duration: number): void;

Parameters

ParameterTypeDescription
sessionSession
tonestring
durationnumber

Returns:

void

Remarks

Callback for handling an incoming INFO request with content type application/dtmf-relay.