Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 998 Bytes

sip.js.dialog.sequenceguard.md

File metadata and controls

26 lines (15 loc) · 998 Bytes

Home > sip.js > Dialog > sequenceGuard

Dialog.sequenceGuard() method

If the remote sequence number was not empty, but the sequence number of the request is lower than the remote sequence number, the request is out of order and MUST be rejected with a 500 (Server Internal Error) response. https://tools.ietf.org/html/rfc3261\#section-12.2.2

Signature:

protected sequenceGuard(message: IncomingRequestMessage): boolean;

Parameters

Parameter Type Description
message IncomingRequestMessage

Returns:

boolean

True if the program execution is to continue in the branch in question. Otherwise a 500 Server Internal Error was stateless sent and request processing must stop.