Home > sip.js > IncomingRequestDelegate
Delegate providing custom handling of incoming requests.
Signature:
export interface IncomingRequestDelegate
Method | Description |
---|---|
onCancel(message) | 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"). |
onTransportError(error) | A transport error occurred attempted to send a response. |