Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1088 closed defect (fixed)

Assertion when SDP negotiation processing SDP offer containing disabled media without rtpmap attribute

Reported by: nanang Owned by: nanang
Priority: normal Milestone: release-1.7
Component: pjmedia Version: trunk
Keywords: sipit26 Cc:
Backport to 1.x milestone: Backported:

Description (last modified by nanang)

Here is the scenario to reproduce:

  1. Receiving offer with one media line disabled and no rtpmap for dynamic PT (valid):
    m=audio 5000 RTP/AVP 0
    m=video 0 RTP/AVP 100
    
  2. PJSUA answers similarly (no rtpmap for dynamic PT), e.g:
    m=audio 4000 RTP/AVP 0
    a=rtcp:4001 IN IP4 192.168.1.30
    a=rtpmap:0 PCMU/8000
    a=sendrecv
    m=video 0 RTP/AVP 100
    
  3. PJSUA sends re-INVITE (using latest active local SDP as above), after receiving the answer, assertion raised in SDP negotiation.

The SIPp scenario can be found in tests/pjsua/scripts-sipp/uac-inv-two-media-but-one-disabled-no-rtpmap.xml.

Change History (2)

comment:1 Changed 9 years ago by nanang

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

(In [3192]) Fix #1088:

  • Fixed SDP negotiation to ignore disabled media (with port 0) in the answer.
  • Added a SIPp scenario for reproducing the issue.

comment:2 Changed 9 years ago by nanang

  • Description modified (diff)
  • Summary changed from Assertion when receiving SDP answer containing disabled media without rtpmap attribute to Assertion when SDP negotiation processing SDP offer containing disabled media without rtpmap attribute
Note: See TracTickets for help on using tickets.