mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 19:05:56 +03:00
Merge pull request #4625 from vector-im/feature/dla/outgoing_pstn_call_fails
select answer should be used for outgoing calls.
This commit is contained in:
commit
9f4f15aa92
2 changed files with 6 additions and 2 deletions
1
changelog.d/4621.bugfix
Normal file
1
changelog.d/4621.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix for outgoing voip call via sip bridge failing after 1 minute.
|
|
@ -203,8 +203,11 @@ internal class MxCallImpl(
|
||||||
|
|
||||||
override fun selectAnswer() {
|
override fun selectAnswer() {
|
||||||
Timber.tag(loggerTag.value).v("select answer $callId")
|
Timber.tag(loggerTag.value).v("select answer $callId")
|
||||||
if (isOutgoing) return
|
if (!isOutgoing) return
|
||||||
state = CallState.Answering
|
// 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(
|
CallSelectAnswerContent(
|
||||||
callId = callId,
|
callId = callId,
|
||||||
partyId = ourPartyId,
|
partyId = ourPartyId,
|
||||||
|
|
Loading…
Reference in a new issue