Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1166 closed defect (fixed)

Detection of offer/answer glare condition

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

Description (last modified by bennylp)

The pjsip_inv_session() happily returns 200/OK to UPDATE/re-INVITE request even when it has sent an offer and hasn't received final answer yet.

Scenario:

  1. Send UPDATE
  2. Receive INVITE
  3. We send 200/OK

PJSIP should send 491 (Request Pending) for the incoming request in the last step above.

Note that had we received UPDATE in Step 2 above, we will correctly respond with 491.

See also #1169 (Automatically retry the re-INVITE or UPDATE request upon receiving 419/Request Pending response)

Change History (4)

comment:1 Changed 9 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 9 years ago by bennylp

  • Description modified (diff)

comment:3 Changed 9 years ago by bennylp

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

(In [3381]) Fixed #1166: Detection of offer/answer glare condition with re-INVITE

comment:4 Changed 9 years ago by bennylp

(In [3382]) Re #1166 (SDP offer/answer glare): added SIPp scenario file to reproduce this

Note: See TracTickets for help on using tickets.