Opened 13 years ago

Last modified 13 years ago

#1391 closed defect

Missing CSeq check for incoming ACK in an INVITE session (thanks Ilya Kalinin for the report) — at Version 2

Reported by: nanang Owned by: bennylp
Priority: normal Milestone: release-1.12
Component: pjsip Version: 1.x-branch
Keywords: Cc: Ilya Kalinin
Backport to 1.x milestone: Backported:

Description (last modified by bennylp)

CSeq is not checked for incoming ACK request. This may cause ACK retransmission for previous INVITE transaction to wrongly be processed.

Sample scenario:

  1. Receiving normal INVITE with SDP, processed normally until reaching confirmed state, let's call this TSX 1.
  2. Receiving re-INVITE without SDP, responded 200 OK with SDP, and waiting for an ACK with SDP, let's call this TSX 2.
  3. Receiving ACK retransmission of TSX 1, problem start here: it is processed as if it is for TSX 2, as there is no SDP, the local SDP offer of TSX 2 gets cancelled, so there is no media session update.
  4. Receiving ACK with SDP for TSX 2, the SDP is ignored as SDP negotiator is in state DONE.

Change History (2)

comment:1 Changed 13 years ago by bennylp

  • Summary changed from Missing transaction/cseq check for incoming ACK in an INVITE session (thanks Ilya Kalinin for the report) to Missing CSeq check for incoming ACK in an INVITE session (thanks Ilya Kalinin for the report)

comment:2 Changed 13 years ago by bennylp

  • Description modified (diff)
Note: See TracTickets for help on using tickets.