Home > sip.js > SimpleUserDelegate > onCallReceived
Called when a call is received.
Signature:
onCallReceived?(): void;
Returns:
void
Callback for handling incoming INVITE requests. The callback must either accept or reject the incoming call by calling answer()
or decline()
respectively.