Jitsi failed to establish connection

Hello,

I’ve download the Jitsi application for android devices, and I am trying it inside the office with my friends.

An xmpp server (on a LINUX OS) was created in order to link the clients in order to chat and call.

Chatting is working fine, but the problem occurs when 1 phone is calling another phone on a different network from the first. What I means by that is the following:

  • if user A is calling user B, and user A and B are the same network(same wifi router or same 3g operator…) the call is established and we can talk to each other.
  • if user A (on wifi) is calling user B(on 3g), the call failed with the following error ( Could not establish connection : ICE failed )
  • if user A (on wifi router1) is calling user B(on wifi router2), the call failed with the following error ( Could not establish connection : ICE failed )

Any idea why it’s giving me this error when we are on different network ? Is there any plugin I need to install on the xmpp server in order to solve this issue ? Is there any settings that should be changed from the client side ? I am stuck here, and I need to solve this problem, so any help would be appreciated.

Thanks in advance,

If you are using Openfire as your xmpp server, try the JingleNodes Relay plugin for Openfire

Hello,

I’ve install JingleNodes plugin, but a problem occurs in Jingle Nodes settings. You can find the issue in the following picture : https://www.dropbox.com/s/mzejmipapnpoq50/Screenshot.png

Any idea how to solve it ?

Note that my server already have a public IP.

Thanks in advance.

Hi again,

I’ve surfed the web, and I found a solution that didn’t work; which is based on modifying the code of JingleNodes as given in this thread: https://community.igniterealtime.org/thread/46479.

Anyone have another solution ?

Thanks in advance.