Incoming call is displayed to user after it has immediately failed (for a few times) / or you hear the call ringing without viewing any notification
Update: You can get the call without any noticiation but you'll hear the ringing forever: #999 (comment 45879)
Update: #999 (comment 44908)
Always reproduced!
using newest version of Jami Android 20221107-01 and Jami 202211101600 Windows 10
I was able to reproduce again (sameuseraccount (Android) -> sameuseraccount (Windows 10)).
Reproduced if two devices use different networks AND if two devices use the same WLAN
I think if you make a call useraccount 1 -> useraccount 2 even if the green dot of your own contact in the contact list on Windows 10 is not visible the Android version will still "remember" the call and as soon as the green dot is visible (on Windows 10) the call will succeed.
EDIT: Maybe you have to make a call successfully before (Android -> Windows 10) and then JUST exit Windows 10 to reproduce.
EDIT: I think I now know why and how it fails?
- Make a call before you can view the green dot of your contact (?)
- Make a call shortly before you can view the green dot of your contact (?) / or as soon as you would see the green dot
- The other peer should receive the call after ten seconds (but you'll never know)?
Sometimes you have to exit Jami (just) on the smartphone a couple of times (over 20 times?) to reproduce?
Just reproduced a couple of times again:
DISABLE "run in background"
Steps to reproduce (You actually just have to exit ONE device; NOT BOTH, but I think you have to enable TURN, even if you use the same network) (See: #999 (comment 38603))
EDIT: I was also able to reproduce Android -> Windows 10 (sameuseraccount -> sameuseraccount); different network
(The Windows 10 user and the Android user have themselves already in the contact list)
Steps to reproduce:
- Android: Open Jami and keep Jami running (more than 30 seconds)
- Now the Windows 10 user opens Jami
- As soon as the Windows 10 user opens Jami, (BEFORE the green dot of the Android user is visible on Windows 10) the Android user makes one call (Android -> Windows 10), quickly a second call and maybe you also need a third call - they will all immediately fail
- Now wait for a few seconds or even longer (nobody does anything; meanwhile the Windows 10 views the green dot of the Android user)
- The Windows 10 user will receive a call (but the Android user will never notice)
I think you can't reproduce if the green dot is not gone- for example if just the Windows 10 user exits Jami but as soon as he opens Jami again the green dot is already there? In that case I wasn't able to reproduce I think ...
Android <-> Android
- Open Jami and quickly make a first call (maybe even before I can see the green dot ?? (Can't tell because of issue #994 (closed)) - it will immediately fail
- Now after a few seconds (or even just one second) make the second call - it will immediately fail
- Now wait
- Now the Android tablet will receive a call after 10 seconds or more (but the smartphone user will never be able to view the call)
I had a few possibilities:
- Sometimes you don't reproduce?
- Sometimes the other device just gets one call (2 calls failed)
- Sometimes the other device gets both two calls (2 calls failed)
- Sometimes you need to make a third call (after a few seconds) and the other device will receive the third call AND the second call
Option B:
Another option how to reproduce this issue:
EDIT: I think I was even able to reproduce even if you make a call after you can view the green dot of the Android contact but BEFORE the green dot of your own account refreshes again.
- Just open Jami on Android (never exit; keep Jami running at least 30 seconds; Maybe you've already closed Jami on Windows 10)
- Now the Windows 10 user opens Jami
- Make a call Android -> Windows 10 (before the Windows 10 user can view the green dot of the Android contact): It will immediately fail
- Make a second call Android -> Windows 10 (before the Windows 10 user can view the green dot of the Android contact): It will try to connect; However (just) the Android user now stops the call ("connecting" [although this time it might would work])
- Now the Android user makes another call - it will immediately fail (again)
- Maybe the Android user makes again another call - immediately fail (Sometimes it it will show "connecting" again and the call might successfully work)
- Maybe all peers need to wait a few seconds
- Now just the Windows 10 user will receive a call - the Android user will never notice