Openfire Jitsi

Posted on  by admin
  1. Openfire Jitsi Setup
  2. Openfire Jitsi Download
  3. Openfire Jitsi App
  4. Openfire Vs Jitsi

If you looking for an alternative to public IM and VOIP services like Skype and want to create a private secure IM / VOIP network, this guide is for you.

  • And jitsi uses jitsi-videobridge(which can be found in the same link I attached previously) for audio and video conference capabilities. Here comes my question. Can an http client using XMPP protocol can talk to a jitsi videobridge server directly without needing any other requirements.
  • OpenFire Jitsi as Skype(desktop sharing) and Temviewer. Focusing on next-gen comms in the new digital world - KnowTechie - December 22nd, 2020; New 8x8 CEO expected to improve business operations - TechTarget - December 22nd, 2020.
  • Filters Dashboards Apps Create. Openfire Classic software project.
  • For the Spark lovers there is a recommendation to setup an Asterisk server, connect it to your Openfire via couple of plugins, configure phone mapping and it will work. But here is one trick about an alternative client named Jitsi – you don’t have to do anything of it, just install Jitsi and you’ll be able to to call between Jitsi clients.

Installing Jitsi Meet; 2. Jitsi Meet and Ports; 3. Jitsi Meet and Firewalls; 4. Settingup a Turn Server for Jitsi Meet; 5. Jitsi Meet with Openfire; 6. Jitsi Meet with Ejabberd; 7. Load Testing Jitsi Meet; 8. Customize Jitsi UI in 5 minutes; 9. Load Balancing Jitsi Meet; 10. Auto Scaling Jitsi Meet; 11. Deploying Jibri in a.

This guide is intended as a relatively easy step by step guide to:

  • Install and configure ignite realtime Openfire server.
  • Install ignite realtime Spark IM client on Ubuntu. Also available for Windows and Mac OSX


  • Ubuntu 12.04 or later installed machine to act as local IM server machine and one to act as IM client - the client computer can also be Windows or Mac OSX based as long as you install the relevant Spark client on these machines.

1.Install Java 6/7 JRE or JDK.

  • On each computer you want to be part of your IM network require at least Java 6 JRE to be installed.
  • Oracle / Sun Java 6 is no longer available in the Software Center as Oracle has changed the license to make it complicated to install and update on Ubuntu.
  • More information about Java on Ubuntu available here.
  • The easiest way I have found is to install Java on Ubuntu is via the Web Upd8 PPA .
  • First add the PPA. Open a Terminal Window and enter :
  • A good idea to minimise any Java conflicts is to remove OpenJDK. open a Terminal Window and enter :
  • Then to install Oracle Java 6 version open a Terminal Window and enter :
  • To install Oracle Java 7 version open a Terminal Window and enter :
  • Tip: Top check the Java version installed on your system open a terminal and enter :

2. Create new MySQL database for Openfire.

  • You have several options for user authentication including LDAP, MtSQL or embeded DB.
  • We will use the MySQL option and need to create a new database and user for Openfire to use.
  • Log in to MySQL as root. Open the Terminal window and enter :
  • Then enter the following to create the database and add useropenfire. Replace openfirepasswrd with a new password :

3. Install Openfire.

  • The latest Debian version of Openfire can be downloaded from ignite realtime download page.
  • Download Openfire 4.5.1 by opening a terminal window and enter :
  • Then install openfire. Open a Terminal window and enter :

4. Open firewall ports for Openfire.

  • You need to open some ports on your firewall for Openfire to work.
    • Port 9090 : for the web interface.
    • Port 9091 : for SSL web interface.
    • Port 5222 : the main port used for client/server communication by Openfire.
    • Port 7777 : used for file transfer.
    • Port 7443 : used for unsecured Http client connections.
    • Port 7070 : used for secure Http client connections.
    • Port 3478, 3479 : used by the STUN Servive for entities behind a NAT.
    • Complete port list used by Openfire available here.
  • If you are using ufw firewall open a terminal and enter:

5. Configure Openfire server with web admin console.

  • The rest of the Openfire configuration will be done in the admin console.
  • Replace mydomain below with your FQDN or IP address of your server.
  • Open a browser and go to :
  • You will be presented with the Openfire setup wizard. Follow the instructions.
  • When asked select Database Settings > Standard Connection
  • Make sure you enter the MySQL database hostname and database name in the Database URL line below - this is easily missed .
  • When done you can login to the admin console with your openfire admin username and password on :
  • You can also login securely with SSL encryption enabled on :
  • Some very important settings to consider are found under Server > Server Settings > Registration Settings
  • Then go to the User/Groups menu and add IM users.

6. Download and Install Spark IM client.

  • IM / VOIP client software needs to be installed on all machines that you would like to connect with the Openfire server.
  • You can install any IM client that uses the XMPP/Jabber protocol for example the excellent Pidgin available for Ubuntu, Windows, and OSX. This is a good choice for Ubuntu users as it is available from the Ubuntu Software Center and easy to install. One tip with installing Pidgin on Windows and OSX - Make sure that you select xmpp under the URI Handlers options in the installer. This option is disabled by default for some reason.
  • Jitsi as Video, Voice and Chat client for use with an Openfire server is another choice and available for Ubuntu, Windows and Mac OSX.
  • If you are looking for a iPhone / iPad app to use as client with an Openfire server - Monal or ChatSecure or are just perfect. they are free, have no ads and work well.
  • The native cross plaform client for Openfire is Spark, with client software for Linux, Windows and Mac machines.
  • To install Spark on Ubuntu download the latest Linux version from the website, or open a terminal and enter:
  • You can run spark from the command line with :
  • Or if you want to create a Ubuntu Unity Desktop Launcher, create a desktop launcher file with :
  • Then add the following information and save :
  • To add a logo to your Desktop launcher, open a terminal and enter:
Openfire jitsi setup
  • You will then be able to search for Spark in you unity dash and launch Spark.
  • Finally log in with a valid Spark user and enter the server details.

This document presents the configuration steps to install Jitsi meetings over the Openfire XMPP server. But it doesn't cover the Openfire installation.


  • ClearOS 7
  • Apache 2.4
  • Java 1.8

Despite being ClearOS 7, it is very close to CentOS and also helpful for distros other than Debian/Ubuntu

Setting up Jitsi

  1. Setup facts
  1. Get the source
  1. Decompress on ${MEET_HTDOCS}
  1. Create proper config folder
  1. Move config files to that folder
  1. Link back config files
  1. Create htaccess
  1. Edit ${MEET_CONFIG}/config.js and provide values for
  • config.hosts.domain
  • config.hosts.muc
  • config.hosts.bosh (OR config.hosts.websocket)
  1. Save links state to restore after eventual upgrade
  1. Restore symlinks after eventual upgrade

Setting up Jicofo

Why Jicofo? From the docs you read Conference focus is mandatory component of Jitsi Meet conferencing system next to the videobridge.

There is no ClearOS packages for Jicofo. It is needed to build the package, so it is also needed to have JDK 1.8 and maven >3.

In this setup, Jicofo runs in the same machine where Openfire runs, so I set XMPP_SERVER= and org.jitsi.jicofo.ALWAYS_TRUST_MODE_ENABLED=true.

  1. Set facts
  1. Get the sources
  1. Build using maven
  1. Set the XMPP_COMPONENT_SECRET on Openfire

  2. Go to Openfire admin panel

  3. Navigate to Server > Server Setting > External Components

  4. Focus on field Default Shared Secret, in the box Allowed to Connect

  5. Paste there the value of XMPP_COMPONENT_SECRET;

  6. Still on Openfire panel, in the same section above, copy value of port, in the Plain-text (with STARTTLS) connections and create a new fact, like below

  1. Create a config file
  1. Properties
  1. Create systemd using to manage this servidce (note the single quote around EOF)
Openfire Jitsi
  1. Enable and start Jicofo
Openfire Jitsi

Setting up jitsi-videobridge

  1. Set facts
  1. Getting the binary

Openfire Jitsi Setup

  1. Unzip it to /opt

Openfire Jitsi Download

  1. Rename the folder
  1. Properties

Openfire Jitsi App

  1. Systemd service

Openfire Vs Jitsi

  1. Enable and start Jicofo