-
The issue happened due to the XMPP server sending encrypted push notifications without marking them as
voip
. That was caused by missing part of the specification for encrypted push notifications available at https://xeps.tigase.net//docs/push-notifications/encrypt/Now there is an updated version that clarifies what should be marked and how for notifications on incoming VoIP calls.
Describe the bug If a call is received while the app is open and connected to the server, it receives the call notification over XMPP, and second via a push notification.
After the push notification is received, the app ends the call (in AppDelegate.swift around line 519).
To Reproduce Steps to reproduce the behavior:
Expected behavior
Details (please complete the following information):
Additional context Commenting out the endCall resulted in a working call.