<[EMAIL PROTECTED]> asked:

> Hi,
> According to section 12.2.2 of RFC 3261,
> "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. If the remote sequence number was
> not empty, and the sequence
> number of the request is greater than the remote sequence number, the
> request is in order."
>
> The RFC however does not specify the UAS behaviour in case a request is
> recieved which has a CSeq number
> that is EQUAL to the remote CSeq number (which could be possible due to
> network delays).
>
> What should be the ideal behaviour of the UAS in this case? Which failure
> response should be sent?

I would imagine that the request was a retransmission.

Perhaps you could do this:
1. Try find the dialog/whatever to which it belongs.
2. Compare the request to the last request received on that dialog.
2.1. If it _is_ a retransmission, treat it like one (presumably by dropping
it) or,
2.2. if it's not a retransmission, reject it with a 500.

frank

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to