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 Initial Version
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
PJSIP is throwing an assertion at sip_util.c:497 when during executing pjsua_start(), an incoming call is received.
This is caused by:
- pjsua_call.c / pjsua_call_on_incoming():
sip_err_code is uninitialized
- 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.
Note: See
TracTickets for help on using
tickets.