Opened 16 years ago

Last modified 16 years ago

#641 closed defect

Assertion error when late 200/OK is received after call has been disconnected (thanks Dan Åberg for the report) — at Initial Version

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

Description

Scenario (pjsua as UAC):

 pjsua                  UAS
-----------------------------
  INVITE          -->
  200/OK (INVITE) <--
  BYE             -->
  ACK             -->
  200/OK (BYE)    <--
  200/OK (INVITE)
  ACK             -->

This scenario happens when the SDP in 200/OK is not acceptable hence pjsua sends BYE to disconnect the call.

Upon sending ACK for the 200/OK retransmission, pjsip incorrectly sets the invite session state back to CONFIRMED after it has been DISCONNECTED, causing assertion and possibly crash.

Thank you Dan Åberg for the report.

Change History (0)

Note: See TracTickets for help on using tickets.