Ticket #1981 (closed defect: fixed)

Opened 12 months ago

Last modified 12 months ago

Assertion when session timer is disabled and PJSIP receives 422

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

Description

When session timer is disabled and we receive 422 (Session Interval Too Small) response, PJSIP will assert when trying to hangup the call:

15:59:23.242   pjsua_call.c  .Call 0 hanging up: code=0..
Assertion failed: (req_tdata->msg->type == PJSIP_REQUEST_MSG && req_tdata->msg->line.req.method.id == PJSIP_INVITE_METHOD), function pjsip_endpt_create_cancel, file ../src/pjsip/sip_util.c, line 713.

Thanks to Andrey Kovalenko for the report and the patch.

Change History

comment:1 Changed 12 months ago by ming

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

In 5488:

Fixed #1981: Assertion when session timer is disabled and PJSIP receives 422

Note: See TracTickets for help on using tickets.