Opened 9 years ago

Closed 9 years ago

#1854 closed defect (fixed)

Hangup outgoing call when no active media

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

Description

Scenarios (from Sipit31):

  • we send SDP offer with SRTP mandatory mode so RTP/SAVP transport is signaled, remote answers with RTP/SAVP too, but no SDP crypto attribute
  • the same scenario, just remote sends SDP answer with wrong SRTP crypto tag

The problematic media answer from remote is correctly rejected and so there is no active media in the call. In such case, we think it should be better to disconnect the call immediately to tell both sides that there is some problem with the call. Moreover, now the call is less useful too. Note that, IIRC in 1.x the call will be disconnected immediately if there is no active media (due to problem in the offer), also on incoming call scenario, such case will cause the call to be rejected.

Change History (1)

comment:1 Changed 9 years ago by nanang

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

In 5099:

Fixed #1854:

  • Hangup the call immediately when there is no active media, this is only for initial INVITE.
  • Stop media and destroy media transport properly upon any error.
Note: See TracTickets for help on using tickets.