Merge pull request #4637 from vector-im/feature/dla/outgoing_pstn_call_fails

Feature/dla/outgoing pstn call fails
This commit is contained in:
Benoit Marty 2021-12-06 21:37:11 +01:00 committed by GitHub
commit f1d8b9e974
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

1
changelog.d/4636.bugfix Normal file
View file

@ -0,0 +1 @@
Update log warning for call selection during voip calls.

View file

@ -205,8 +205,8 @@ internal class MxCallImpl(
Timber.tag(loggerTag.value).v("select answer $callId")
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.")
if (state != CallState.Dialing && state !is CallState.Connected) {
Timber.tag(loggerTag.value).w("Expected state is CallState.Dialing or CallState.Connected got $state.")
}
CallSelectAnswerContent(
callId = callId,