Opened 15 years ago

Closed 15 years ago

#798 closed defect (fixed)

UAC disconnect call when receiving BYE in early state (thanks Gang Liu for the suggestion)

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

Description (last modified by bennylp)

Currently BYE on early state (before final response is received) is not handled by the invite session. Consider the following scenario:

  1. UAS receives INVITE
  2. UAS sends 18x
  3. UAS sends 200/OK, but this 200/OK is lost
  4. UAS hangs up immediately, BYE is sent

The corresponding ticket for the 1.0.x branch is ticket #799

Change History (2)

comment:1 Changed 15 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 15 years ago by bennylp

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

In r2650:

  • UAC now handles the BYE, and treat it as out-of-order disconnect request, meaning that it will disconnect the call
  • it will also activate timer to terminate the INVITE transaction, in case final response never arrives
  • added SIPp UAS scenario to test this
  • also added forked 200/OK response SIPp scenario,
  • and fixed the prack_fork.xml SIPp scenario
Note: See TracTickets for help on using tickets.