Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 799 Bytes

sip.js.sessiondelegate.oncancel.md

File metadata and controls

28 lines (16 loc) · 799 Bytes

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.