Sharath
The Cseq for UAC and UAS are separate counters. For each, the value must
increase monotonically from request to request.
In the example you have shown, you MAY send 2 BYE or 3 BYE, but you SHOULD
send 2 BYE. You should never skip a value if you want to track requests that
are lost.

 -----Original Message-----
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]  On Behalf Of Sharath
Rajasekar
Sent:   Friday, March 23, 2001 12:38 PM
To:     Jonathan Rosenberg
Cc:     [EMAIL PROTECTED]
Subject:        [Sip-implementors] Question about CSeq Numbers

Hi,

A question about CSeq numbers in SIP transactions is
- is it necessary for the CSeq for increase monotonically
from INVITE to BYE or can a BYE have a CSeq that is lesser
than that of the last (re)INVITE.

eg.

  A                       B
  |                       |
  |                       |
  |<---------INVITE-------|
  |---------100---------->|CSeq=101INVITE
  |---------200OK-------->|
  |<---------ACK----------|
  |                       |
  |                       |
  |---------INVITE------->|
  |<--------200OK---------|CSEQ=102INVITE
  |---------ACK---------->|
  |                       |
  |                       |
  |---------INVITE------->|
  |<--------200OK---------|CSEQ=103INVITE
  |---------ACK---------->|
  |                       |
  |                       |
  |<--------BYE-----------|CSEQ=102BYE
  |                       |
  |                       |


Is this legal or should the CSeq be 103BYE ?

Thanks and Regards
Sharath


-----------------
Sharath Rajasekar

_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to