Everything turns out to be very simple. Only not all clients can support this (for example, Spark does not know how to work, and QIP Infium can).
Where to start and what to do:
1. Available there is an installed and configured jabber'a server - OpenFire (http://www.igniterealtime.org/)
2. There are IM clients based on QIP Infium, which are already connected to our jabber server
So proceed to the "process file"
The first thing you need to install plugin
IM Gateway , which is in the list of available. To do this, go to the "
Plugins " section in the administration panel of the OpenFire server (http: // servername: 9090) and go to the "
Available Plugins " in the left menu. We have a list with available plugins for installation. We will need to click the mouse on (+) in the "
IM Gateway " plugin line and wait some time during which the server will download and install this extension.
"Process the file"
Actually, the next step is setting up the ICQ gateway. In the
OpenFire server control
panel :
Server -> Gateways we find the following picture: we are provided with a list of possible gateways to IM servers - AOL, ICQ, IRC, MSN, Gadu-Gadu, Yahoo! Messenger and a little more experimental. It will not take much to configure the gateway we need, namely ICQ, so we tick the box and open the "
Options " tab. Of all that was installed by default, you only need to change the line "Encoding", to support the "Great and Mighty." In my case, I chose UTF-8, since QIP client works without problems with this type of encoding. Actually the image of what we will see:
')

In the tab "Permissions" you may need to specify which user or group is allowed to use this gateway, by default it is set that everyone can.
In the “Test” tab, the connection to the ICQ server is checked.
Actually, the server side setup will be completed on this.
"Welcome" or connect IM client
You can configure connections to the gateway in two ways:
1. The jabber server administrator adds users to the gateway
2. The user himself configures the client to connect
Admin hands
This will require the user's UIN and his password to the ICQ service. Next, through the admin panel, go to
Server -> Gateways -> Registrations and select the item "
Add a new registration " and fill in the fields:

where
user (JID) is the username on the jabber server,
gateway is the configured gateway,
username is the user UIN,
password is the password from the specified UIN on the ICQ server,
nickname is the actual nickname. And click “Add” to add the user to the list, if the user was connected, then he automatically connects to the gateway in a few moments.
The disadvantages of this method are: “knock out” the password and UIN of the user.
By the hands of the user
In the client, go to the settings "server transports":

On the line with the node name, call the drop-down menu and select the item "
Registration " or double-click:

In the window that appears, just enter the UIN and password, and if everything was correct, then the users that you have in your ICQ contacts will appear in the roadster.
The disadvantages of this method: the average user will have to explain / show / do this procedure for him.
What happened
When everything was done correctly, the user gets access to communication through ICQ. The administrator or the management in this case gets the opportunity to give / not give to communicate via ICQ and in the case of the installed plug-in
Archive to view the users' correspondence through ICQ. That's all.