Opened 11 years ago

Closed 11 years ago

#480 closed defect (fixed)

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)

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 (1)

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

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by nanang

comment:1 Changed 11 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 11 years ago by bennylp

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed
  • 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.