Ticket #1574 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Failure to initialize media channel when answering call using pjsua_call_answer()/answer2() with opt set to NULL (thanks to Regis for the report)

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

Description (last modified by ming) (diff)

Related to the fix of ticket #1526, when answering call using pjsua_call_answer()/answer2() with opt set to NULL, the media channel is never initialized because the condition:

(call->opt_inited || (code==183 && code/100==2))

can never be TRUE.

Change History

comment:1 Changed 6 years ago by ming

  • Description modified (diff)

comment:2 Changed 6 years ago by nanang

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

In 4244:

Fix #1574: Fixed silly mistake in the media channel init condition in pjsua_call_answer2().

Note: See TracTickets for help on using tickets.