sip.js.sessiondelegate.oncancel.md
October 21, 2022 ยท View on GitHub
Home > sip.js > SessionDelegate > onCancel
SessionDelegate.onCancel() method
Called upon receiving an incoming CANCEL request.
Signature:
onCancel?(cancel: Cancel): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| cancel | Cancel | The cancel. |
Returns:
void
Remarks
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.