Opened 5 years ago

Closed 5 years ago

#2170 closed defect (fixed)

When using pjsua2 API, Re-INVITE with no SDP will be responded with 488 response

Reported by: riza Owned by: bennylp
Priority: normal Milestone: release-2.9
Component: pjsip Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

Changeset r5828 introduced a bug, which allow the library to send 488 response
to a Re-INVITE with no SDP when using pjsua2 API.

Currently on_rx_reinvite() will always be set to pjsua_call_on_rx_reinvite() when using pjsua2 API. The callback didn't provide the SDP answer which is expected. If the answer is not set. the library will detect this as an invalid operation and generate the 488 response.

This ticket will avoid the check when no SDP is provided and allow the library to generate the offer instead.

Thanks to Ryan Wallach for the report.

Change History (1)

comment:1 Changed 5 years ago by riza

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

In 5922:

Close #2170: When using pjsua2 API, Re-INVITE with no SDP will be responded with 488 response.

Note: See TracTickets for help on using tickets.