Consider this sample SIP dialog
A
A
A
A
A
A
...
When working with SIP processing code, we put the validation for the CSeq SIP INFO message so that the dialogue is larger than the one sent for INVITE. However, as shown in the SIP stream above, one of the remote SIP gateways sends it below, i.e. 2 instead of the expected 102 or higher.
RFC https://www.ietf.org/rfc/rfc3261.txt states that
The queries in the dialog box MUST contain strictly monotonically increasing and adjacent consecutive CSeq numbers (increasing by one) in each direction
So, is the observed behavior a violation of the RFC?
source
share