Skip to content

Fixed bug in pjsua_call_answer()#3818

Merged
sauwming merged 1 commit intomasterfrom
call-answer-bug
Jan 3, 2024
Merged

Fixed bug in pjsua_call_answer()#3818
sauwming merged 1 commit intomasterfrom
call-answer-bug

Conversation

@sauwming
Copy link
Copy Markdown
Member

@sauwming sauwming commented Jan 2, 2024

There's a fatal bug in the patch of #3770 which caused call answer to not work at all.

The error check: call->inv->invite_tsx->role != PJSIP_ROLE_UAC is incorrect, since we should only be able to answer call if the role is UAS.

@sauwming sauwming merged commit c6fd432 into master Jan 3, 2024
@sauwming sauwming deleted the call-answer-bug branch January 3, 2024 05:26
trengginas pushed a commit that referenced this pull request Mar 11, 2024
BarryYin pushed a commit to BarryYin/pjproject that referenced this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants