Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 889 Bytes

sip.js.sessiondelegate.onack.md

File metadata and controls

26 lines (15 loc) · 889 Bytes

Home > sip.js > SessionDelegate > onAck

SessionDelegate.onAck() method

Receive ACK request.

Signature:

onAck?(request: IncomingAckRequest): Promise<void> | void;

Parameters

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.