Home > sip.js > SessionDelegate > onCancel
Called upon receiving an incoming CANCEL request.
Signature:
onCancel?(cancel: Cancel): void;
Parameter | Type | Description |
---|---|---|
cancel | Cancel | The cancel. |
Returns:
void
Relevant to an Invitation only. CANCEL reqeusts are being handled as a special case and there is currently no way to externally impact the response to the a CANCEL request. See core implementation for details.