Opened 12 years ago

Closed 12 years ago

#1574 closed defect (fixed)

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)

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

comment:1 Changed 12 years ago by ming

  • Description modified (diff)

comment:2 Changed 12 years ago by nanang

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

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.