Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/4621.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix for outgoing voip call via sip bridge failing after 1 minute.
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,11 @@ internal class MxCallImpl(

override fun selectAnswer() {
Timber.tag(loggerTag.value).v("select answer $callId")
if (isOutgoing) return
state = CallState.Answering
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we still set this state somewhere else or does CallState.Answering no longer need to exist?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It still exists and is set for incoming calls here as described in it's definition here.

This selectAnswer function is actually used for outgoing calls the current state at this point is Dialing and stays as that until the Connected state.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for explaining

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (!isOutgoing) return
// This is an outgoing call, select the remote client that answered.
if (state != CallState.Dialing) {
Timber.tag(loggerTag.value).w("Expected state is CallState.Dialing got $state.")
}
CallSelectAnswerContent(
callId = callId,
partyId = ourPartyId,
Expand Down