SIP dialog CSeq sequence number -
i'm trying make sense of following 2 rfc sections respect sip dialogs , incrementing cseq sequence numbers:
https://tools.ietf.org/html/rfc3261#section-12.2.1.1
https://tools.ietf.org/html/rfc3261#section-12.2.2
the first rfc section says that, respect uac,
requests within dialog must contain strictly monotonically increasing , contiguous cseq sequence numbers (increasing-by-one) in each direction.
however latter sections states respect uas,
it possible cseq sequence number higher remote sequence number more one. not error condition, , uas should prepared receive , process requests cseq values more 1 higher previous received request.
in scenario, have device sending sip subscribe server. server can send 0 or more notify request's within same dialog subscriber. can server sending notify's increment cseq sequence number more 1 without subscriber rejecting request?
yes. in real world you're not going find sip user agent rejecting request due cseq that's skipped few numbers in sequence.
request rejected if cseq less or equal cseq in previous request classified re-transmits.
Comments
Post a Comment