2008-2-28
Install Components and Transports for Other Protocols
(you can search these software from GOOGLE)
download Python-2.5.1.tgz
download zope.interface-3.3.0.tar.gz
download Twisted-2.5.0.tar.bz2ICQ
download pyicq-t-0.8a.tar.gzAIM
download pyaim-t-0.8a.tar.gzMSN
download pycrypto-2.0.1.tar.gz
download pyOpenSSL-0.6.tar.gz
download pymsnt 0.11.2.orig.tar.gzYAHOO
download pydns-2.3.0.tar (option)
download xmpppy.tarInstallation
http://ejabberd.jabber.ru/tutorials-transports
it's very importment to modify the file main.py.
----------------------------------------------------
import signal
signal.signal(signal.SIGHUP, reloadConfig)
# Load scripts for PID and daemonizing
- from twisted.scripts import twistd
+ try:
+ from twisted.scripts import _twistd_unix as twistd
+ except:
+ from twisted.scripts import twistd
----------------------------------------------------
1. you need to modify every config.xml file. for example:
change
icq.example.org
to
icq.your_domain_name(such as icq.wei-jun.com)
2. edit ejabberd.cfg
{5347, ejabberd_service, [{host, "icq.wei-jun.com",[{password, "secret"}]}]},
{5348, ejabberd_service, [{host, "aim.wei-jun.com",[{password, "secret"}]}]},
{5349, ejabberd_service, [{host, "msn.wei-jun.com",[{password, "secret"}]}]},
{5350, ejabberd_service, [{host, "yahoo.wei-jun.com",[{password, "secret"}]}]}
3. first start ejabberd then start gateway.