Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 753 Bytes

File metadata and controls

28 lines (16 loc) · 753 Bytes

Home > sip.js > SessionManagerDelegate > onCallReceived

SessionManagerDelegate.onCallReceived() method

Called when a call is received.

Signature:

onCallReceived?(session: Session): void;

Parameters

Parameter Type Description
session Session

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.