Ticket #480 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

PJSIP rejects incoming call with m=image in the offer (thanks Thiago)

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

Description (last modified by bennylp) (diff)

PJSIP will reject incoming call with unknown media in the media line (for example, m=image line), even when the offer contains audio media line.

The correct behavior would be to accept the session and only reject the unsupported media line with zero port.

Attachments

ticket480.patch (703 bytes) - added by nanang 9 years ago.

Change History

Changed 9 years ago by nanang

comment:1 Changed 9 years ago by nanang

Attachment ticket480.patch: replaced the returned error code PJMEDIA_EINVALIMEDIATYPE with PJ_SUCCESS when any unsupported media occurred, so the call will not get rejected and the unsupported media will be disabled later.

comment:2 Changed 9 years ago by bennylp

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)
  • Summary changed from PJSIP rejects incoming call containing media image (thanks Thiago) to PJSIP rejects incoming call with m=image in the offer (thanks Thiago)

Committed in r1801, thanks.

Note: See TracTickets for help on using tickets.