sip.js.sessionmanagerdelegate.oncallreceived.md

October 20, 2022 ยท View on GitHub

Home > sip.js > SessionManagerDelegate > onCallReceived

SessionManagerDelegate.onCallReceived() method

Called when a call is received.

Signature:

onCallReceived?(session: Session): void;

Parameters

ParameterTypeDescription
sessionSession

Returns:

void

Remarks

Callback for handling incoming INVITE requests. The callback must either accept or reject the incoming call by calling answer() or decline() respectively.

Contents

  1. 1SessionManagerDelegate.onCallReceived() method
  2. 2Parameters
  3. 3Remarks