Home > sip.js > SessionDelegate > onAck
Receive ACK request.
Signature:
onAck?(request: IncomingAckRequest): Promise<void> | void;
Parameter | Type | Description |
---|---|---|
request | IncomingAckRequest | Incoming ACK request. |
Returns:
Promise<void> | void
The callback MUST return a promise if it asynchronously handles answers. For example, an ACK with an answer (offer in the 200 Ok) may require asynchronous processing in which case the callback MUST return a Promise which resolves when the answer handling is complete.