Opened 14 years ago

Closed 14 years ago

#1170 closed defect (fixed)

Assertion when receiving updated SDP offer with all media lines removed

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

Description

Receiving an updated offer with all media lines removed will raise an assertion:

m=audio 0 RTP/AVP 0
m=video 0 RTP/AVP 0

Change History (1)

comment:1 Changed 14 years ago by bennylp

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

(In [3383]) Fixed #1170 (Assertion when receiving updated SDP offer with all media lines removed):

  • pjsua_media.c checks if audio media is present in the offer; if not, do not set any answer
  • sip_inv.c checks if app has supplied an answer after on_rx_offer() callback is called, and returnd 488 (Not Acceptable) if not (previously, it will return 200/OK without SDP!)
  • added a SIPp scenario file to reproduce this
Note: See TracTickets for help on using tickets.