Opened 8 years ago

Closed 8 years ago

#1981 closed defect (fixed)

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

comment:1 Changed 8 years ago by ming

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

In 5488:

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

Note: See TracTickets for help on using tickets.