Opened 12 years ago

Last modified 12 years ago

#1598 closed defect

Fixed assertion when sip error code is not set (thanks Peter Koletzki for the report) — at Version 1

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

Description (last modified by ming)

PJSIP is throwing an assertion at sip_util.c when during executing pjsua_start(), an incoming call is received.

This is caused by:

  1. pjsua_call.c / pjsua_call_on_incoming():

sip_err_code is uninitialized

  1. pjsua_media.c / pjsua_media_channel_init()

when pjsua_get_status() != RUNNING, the function will return without setting the sip_err_code.

This creates a response with random sip error code and an assertion is thrown.

Change History (1)

comment:1 Changed 12 years ago by ming

  • Description modified (diff)
Note: See TracTickets for help on using tickets.