Hi, and welcome here! I notice that you wrote this in the old ‘Kraken / IM Gateway’ subcategory of our forum. That’s the right place, as Kraken was a plugin that provided interoperability between Openfire and other chat solutions. However, Kraken was discontinued many, many years ago.
What you describe is a recognizable wish: users want one place for all their conversations (and admins want one system to manage). Much of this is already possible with Openfire, but maybe not quite in the way you suggest.
Openfire implements XMPP, an open standard developed through the XMPP Standards Foundation (XSF). That is a deliberate choice. Because Openfire follows the standards, it works with any other software that does the same, including third-party gateways (also called bridges or “transports”) that connect XMPP to other networks. XMPP has defined how such gateways work for a long time (see XEP-0100: Gateway Interaction). Openfire supports this out of the box, so a gateway can run as a separate service and plug into your Openfire server. This was what the aforementioned Kraken plugin was based on.
Although the Ignite Realtime community no longer maintains such gateway implementations, other, third party ones are available, such as
- Slidge - an actively developed set of XMPP gateways for many networks
- Spectrum 2 - an older gateway framework that covers several other networks.
Caveat: I’m not a user of these gateways mayself, and I have no first-hand experience in setting these up with Openfire. Also, I don’t know of any existing XMPP gateway for the networks that you called out specifically (Zalo, WeChat, Viber). However, Slidge is also a library designed to make writing new gateways easy. There are already community projects that bridge Zalo to other platforms using unofficial libraries, so a Slidge-based Zalo gateway seems quite achievable. If someone in the Vietnamese developer community is interested in building one, that would be a great contribution, and people would likely be happy to help with the XMPP side.
Since your goal is to keep users on a “company platform,” please be aware of the trade-offs before you deploy any gateway:
- Messages leave your control. When a message goes through a gateway to WhatsApp or Zalo, it is stored on that company’s servers under their rules. This can matter for compliance, data retention and confidentiality.
- End-to-end encryption ends at the gateway. The gateway must read messages in order to translate them, so it effectively becomes one of the “ends.”
- Terms of service. Many of these networks do not allow unofficial clients. Accounts that use unofficial gateways can be blocked.
- Official business APIs. If your main need is talking to customers (as opposed to employees chatting with colleagues and friends), official channels like the WhatsApp Business Platform or a Zalo Official Account may be a more stable and compliant choice.
The long-term answer is more networks adopting open standards, so that bridges are not needed at all. That is what the XSF works toward. That however, is an ambitious goal (and not necessarily in line with commercial or political drivers of all networks involved. In the meantime, the open XMPP ecosystem lets you combine Openfire with the gateways that fit your needs.
If you try Slidge with Openfire, please share how it goes here. Other community members will benefit from your experience.