Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1857 closed defect (fixed)

BYE is not sent when 200/OK is not ACK-ed — at Version 2

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

Description (last modified by riza)

Scenario:

  1. Make call from device A to device B
  2. Answer the call on device B and disconnect immediately.
  3. In case device B disconnected the call (hangup) and ACK is lost, BYE will not be send and call will not be disconnected.

In case device B didn't hangup, timeout will occur and BYE is sent
(200/OK is not ACK-ed).

However, on the above case, B hangup and got delayed until ACK is received.
When the timeout occur, the stack tried to hangup but still got delayed.
This is because, BYE can only be sent on a confirmed dialog (see #1712) also the hangup cause cannot be changed due to this check on inv_set_cause

(cause_code > inv->cause)

Thanks to Nir Lavi for the report.

Change History (2)

comment:1 Changed 9 years ago by riza

In 5104:

Re #1857: (Fix) BYE is not sent when 200/OK is not ACK-ed

comment:2 Changed 9 years ago by riza

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.