Jabber - Jabber gateways

in

ICQ Gateway

The best solution is PyICQ-t, other solutions are discussed on opennet.ru and kaktyc . I created binary RPMs of latest PyICQ-t for CentOS 5, so on this OS you just [[soho/prerequisites#Packaging|attach to my and dependent repositories] and install as follows:

yum install pyicq-t

You may need to rebuild source RPMs for other RedHat-based distributions.

Configure eJabberd. Edit /etc/ejabberd/ejabberd.cfg, add the following service record for ICQ transport 

{listen, [
  ...
   {5247, ejabberd_service, [
       {access, all},
       {hosts, ["icq.ourdom.com"], [{password, "somepassword"}]}
       ]}

Configure PyICQ-t. Copy default configuration file

Edit /etc/pyicq-t/config.xml and set a few parameters 

<jid>icq.ourdom.com</jid>
<mainServerJID>ourdom.com</mainServerJID>
<website>http://jabber.ourdom.com/</website>
<port>5247</port>
<secret>secretword</secret>
<encoding>windows-1251</encoding>

Restart both daemons

service ejabberd restart
service pyicq-t restart
chkconfig pyicq-t on

Open your Jabber client and register on ourdom.com. Perform service discovery and find ICQ transport. Add it to your roster, register with your ICQ UIN and password and open a connection. Your ICQ buddies will be automatically added to the roster.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
To prevent automated spam submissions leave this field empty.