= Skype plugin for BitlBee Miklos Vajna == Status One day I browsed the BitlBee bugtracker and found http://bugs.bitlbee.org/bitlbee/ticket/82[this] ticket. Then after a while I returned and saw that it was still open. So I wrote it. Not a big deal, I wrote it in two days or so (and not because I'm a genius or anything ;-) ). I think it's pretty stable, but it needs wider testing. Also see the 'Known bugs' section, I really hope those random hangups will be fixed soon by Skype. Oh, before I forget. I'm not a wizard, the Skype API documentation is https://developer.skype.com/Docs/ApiDoc[here] if you're interested. == How to set it up Before you start. The setup is the following: BitlBee can't connect directly to Skype servers (the company's ones). It needs a running Skype client to do so. In fact BitlBee will connect to `skyped` (a tcp server, provided in this package) and `skyped` will connecto to your Skype client. NOTE: The order is important. First you have to start Skype. Then `skyped` can connect to it, finally BitlBee can connect to `skyped`. - You need the BitlBee bzr branch: ---- bzr branch http://code.bitlbee.org/bitlbee/ ---- - You need some additional patches: ---- http://frugalware.org/~vmiklos/patches/bitlbee-configure-plugins.patch http://frugalware.org/~vmiklos/patches/bitlbee-global-conf-may-be-null.patch http://frugalware.org/~vmiklos/patches/bitlbee-makefile-headers.patch http://frugalware.org/~vmiklos/patches/bitlbee-more-verbose-on-plugin-errors.patch ---- (Yes, I submitted all of them to the http://bugs.bitlbee.org/bitlbee/[bugtracker] already.) - Now compile and install it: ---- ./configure make make install install-dev ---- - Get the plugin code: ---- git clone http://ftp.frugalware.org/pub/other/people/vmiklos/bitlbee-skype ---- - Compile and install it: ---- make prepare ./configure make make install ---- - Start Skype and `skyped` (the tcp server): ---- skype skyped ---- NOTE: It's important to start skyped on the same machine and using the same user as you run Skype as it uses the session DBus for communication! - Start your IRC client, connect to BitlBee and add your account: ---- account add skype account set 0/server localhost ---- IMPORTANT: should be your skype account name. This way you won't see yourself joining to `&bitlbee`. NOTE: the option is not used currently. == What works - Download nicks and away statuses from Skype - Noticing joins / parts while we're connected - Sending messages - Receiving messages - Receiving away status changes - `skyped` (the tcp daemon that is a gateway between Skype and tcp) - Error handling when `skyped` is not running and when it exits - Marking received messages as seen so that Skype won't say there are unread messages - Adding / removing contacts - Set away state when you do a `/away`. - When you `account off`, Skype will set status to `Offline` - When you `account on`, Skype will set status to `Online` - Detect when somebody wants to add you and ask for confirmation == What needs to be done (aka. TODO) - `--daemon` option for `skyped` == I would like to have support for ... If something does not work and it's not in the TODO section, then please contact me! == Known bugs - Sometimes when you get a lot of messages in a short time, some of the messages are dropped. This is a known bug in Skype itself as of version 1.4.0.99 (http://forum.skype.com/index.php?s=&showtopic=94545&view=findpost&p=431710[link]). == Screenshots You can reach some screenshots http://frugalware.org/~vmiklos/pics/shots/bitlbee-skype/[here]. == Changelog You can reach the Changelog link:Changelog[here]. // vim: ft=asciidoc