Ticket #1981 (closed defect: fixed)
Assertion when session timer is disabled and PJSIP receives 422
|Reported by:||ming||Owned by:||bennylp|
|Backport to 1.x milestone:||Backported:||no|
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.