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