tigase / siskin-im

(M) Public Project of Tigase Messenger for iOS devices based on Tigase Swift XMPP library.
GNU General Public License v3.0
175 stars 37 forks source link

Unable to make audio/video calls to Apple iPhone devices. #194

Open pestoapps opened 2 years ago

pestoapps commented 2 years ago

Describe the bug We are unable to make audio/video calls to Apple iPhone devices.

To Reproduce Steps to reproduce the behavior:

  1. Open Siskin app on Android device
  2. make call to iPhone device

Expected behavior To be able to receive calls on the iPhone.

Screenshots IMG_0838

Details (please complete the following information):

Additional context We are able to send messages (encrypted, images, videos...) to iPhone devices, but we are unable to make calls from any device to iPhone. We have tried Android to iPhone, iPhone to iPhone but no luck. What is weird is that we are able to make calls from iPhone to Android device, but not to second iPhone. The screen is stuck at "Ringing" on the caller site. The only error we had at the log is: 2022.08.24 09:11:22 INFO [socket_c2s-thread-20]: org.jivesoftware.openfire.spi.RoutingTableImpl - Will not route: Remote domain push.tigase.im is not accessible according to our configuration (typical causes: server federation is disabled, or domain is blacklisted).

licaon-kter commented 2 years ago

As the error says, do enable server to server connections.

Also, keep in mind that if the other device has not Siskin opened on screen, appearing online, it means that it was killed by iOS. That's the way Apple wants it.

It's not wierd you can call Android as Conversations usually is not killed, it runs and sees that you call it.

For iOS apps, you'd need either a Tigase or maybe a Prosody server that has the special magic (read as "not yet a standard") that might send a push message to Siskin to wake up and answer a call.