Home > sip.js > Dialog > sequenceGuard
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;
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.