Opened 6 years ago

Closed 6 years ago

#1654 closed defect (fixed)

Possible broken SDP negotiator state after previous re-INVITE is rejected

Reported by: nanang Owned by: bennylp
Priority: normal Milestone: release-2.2
Component: pjsip Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

Scenario:

  1. tsx1: send re-INVITE with offer, rejected with 491, the SDP offer gets cancelled normally
  2. tsx2: immediately send again re-INVITE with offer
  3. tsx1: state changes from "completed" to "terminated" before final response for tsx2 is received, problem starts here: the latest SDP offer (in tsx2) wrongly gets cancelled
  4. tsx2: receive 200 response with SDP answer, but as local offer has been cancelled, this is treated as remote offer
  5. tsx2: send ACK with SDP "answer".

Change History (1)

comment:1 Changed 6 years ago by nanang

  • Resolution set to fixed
  • Status changed from new to closed

In 4462:

Fix #1654: do not cancel SDP offer when transaction state changes from 'completed' to 'terminated', as it have been cancelled before (when tsx state is 'completed').

Note: See TracTickets for help on using tickets.