Home > sip.js > IncomingRequestDelegate > onCancel
Receive CANCEL request. https://tools.ietf.org/html/rfc3261\#section-9.2 Note: Currently CANCEL is being handled as a special case. No UAS is created to handle the CANCEL and the response to it CANCEL is being handled statelessly by the user agent core. As such, there is currently no way to externally impact the response to the a CANCEL request and thus the method here is receiving a "message" (as apposed to a "uas").
Signature:
onCancel?(message: IncomingRequestMessage): void;
Parameter | Type | Description |
---|---|---|
message | IncomingRequestMessage | Incoming CANCEL request message. |
Returns:
void