send_msg:

iconv -f iso-8859-1 -t utf-8//TRANSLIT` echo "$data" | /usr/bin/sendxmpp -u $user -j $server -p $password -t $receiver

http://sleekxmpp.com/ https://conversejs.org/

https://github.com/lhost/sendxmpp/issues/8

https://github.com/ajgb/protocol-otr/blob/master/examples/xmpp-otr.pl

https://github.com/moparisthebest/xmpputils/blob/master/sendxmpp.py

https://pypi.python.org/pypi/OTRXMPPChannel/1.0.4

https://pypi.python.org/pypi/OTRXMPPLogger/1.0.3

https://github.com/mikegogulski

http://mcabber.com/

http://profanity.im/

https://weechat.org/ + libotr

Bot: http://thp.io/2007/python-jabberbot/

http://www.tizenexperts.com/2011/07/jabberbot-creating-jabberxmpp-bots-services-python/

http://www.morethanseven.net/2009/01/18/simple-python-jabber-bot/

https://wiki.natenom.de/linux/scripte/moc/jabberbot

http://www.wooptoot.com/create-your-own-im-bot