Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#506 closed defect (fixed)

Behavior when cancelling INVITE before provisional response is received — at Version 5

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)

Ticket #302 changed the behavior of INVITE UAC transaction, it stops INVITE request retransmission as soon as CANCEL is requested, if the INVITE request hasn't been responded with any provisional response.

This turns out to be incorrect. The correct behavior should be:

  1. continue retransmitting INVITE.
  2. when provisional response arrives, send CANCEL
  3. otherwise when INVITE finally times out, return 408

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

Change History (5)

comment:1 Changed 16 years ago by bennylp

  • Milestone changed from release-0.9.0 to Known-Issues

comment:2 Changed 16 years ago by bennylp

  • Milestone changed from Known-Issues to release-1.1

comment:3 Changed 16 years ago by bennylp

  • Milestone changed from release-1.1 to release-1.2

comment:4 Changed 16 years ago by bennylp

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

Fixed in r2647:

  • do not stop INVITE retransmission
  • updated pjsip_inv_end_session() documentation

comment:5 Changed 16 years ago by bennylp

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