Skype Logo Take a deep breath™.
Buy Skype Credit · Help ·
  • Download
  • Use Skype
  • Business
  • Shop
  • Account
Peeter P. Mõtsküla

Skype API is catching up on Linux

By My status Peeter P. Mõtsküla on May 24, 2007 in .

Yesterday’s release of Skype for Linux 1.4.0.64 (Alpha) marks an important milestone for the Skype developer community: it’s the first ever release of Skype for Linux where the API allows you to do things that you can’t do in the UI.

The API functions can be divided into two groups — those related to features provided by the core library (e.g. managing calls and chats) and those dealing with the client user interface (e.g. browsing the contact list or opening a chat window). The UI-related functions are not yet available in this latest build, but as far as the library functions go, the UI simply provides a transport channel (or actually two — X11 messaging and D-BUS). This means that everything available in the core library is also available in the API.

Why is this important? Because Skype for Linux 1.4 is built on the same core library that powers Skype for Windows 3.2 and Skype for Mac OS X 2.6. And this, in turn, means that you can actually do things like sending SMS messages and transferring calls — on Linux.

Here’s what I’ve just done using the Skype X11 test client available from DevZone’s sample code download area (this version requires QT3 while Skype 1.4 requires QT4 so you’ll need both).

> NAME mySMStest
> PROTOCOL 7
> CREATE SMS OUTGOING phonenumber
< SMS id STATUS COMPOSING
< SMS id PRICE_PRECISION 3
< SMS id PRICE_CURRENCY EUR
< SMS id TARGET_NUMBERS phonenumber
< SMS id TARGET_STATUSES phonenumber=TARGET_ANALYZING
< SMS id TARGET_STATUSES phonenumber=TARGET_ACCEPTABLE
< SMS id PRICE 78
> SET SMS id BODY sms message text
< SMS id BODY sms message text
> ALTER SMS id SEND
< SMS id STATUS SENDING_TO_SERVER
< SMS id TARGET_STATUSES phonenumber=TARGET_DELIVERY_PENDING
< SMS id STATUS SENT_TO_SERVER
< SMS id TARGET_STATUSES phonenumber=TARGET_DELIVERY_SUCCESSFUL
< SMS id STATUS DELIVERED

Note that we will eventually incorporate SMS and other cool features into our own UI, but until then you, the developers, can make a lot of users a lot happier. And once you’ve got yourself up and running with developing cool Skype add-ons for Linux, the sky’s the limit.

Now how long exactly will I have to wait to see the first SMS-sending add-on to Skype for Linux?

View blog reactions

Comments

This is great. I'm surprised it wasn't mentioned more prominently elsewhere... I definitely need to give this a shot. Is this available through dbus as well? Thanks!

heshamwhwaf | Saturday, May 26

Of course this is available over D-BUS, too.

berkus | Wednesday, Jun 6

Here is a little command-line app that does that: http://www.oberle.org/blog/2007/06/11/sending-sms-with-skype-on-linux/

vincent_oberle | Saturday, Sep 1

Why did Skype for Linux lost everything that make it Skype: Groups, Menus, Hidding people, etc, etc.

I have more options on how to see Pidgin than on Skype.
I have more options on previous version of Skype than on current one.

I have more than 40 contacts spread over 5 distinct groups and now they appear all in the same row and the connected, unconnected, blocked... everybody.

What a bad usability work you did here :|

humaneasy | Friday, Nov 2

humaneasy, please share your thoughts via forum.skype.com -- this blog here is addressed to external developers.

but as far as groups are concerned, here's a little hack: rename your contacts so that their display names include a reference to their group association; then, use the quickfilter (did you know that on linux skype, quickfilter also supports regular expressions?)

ppmotskula | Friday, Nov 2

Comment on this post

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Back to index

Subscribe to this blog
What? Tell me more…

using RSS Subscribe
via Bloglines Subscribe in Bloglines
using Newsgator Subscribe in NewsGator Online
with MyYahoo
with Google Add to Google
with My AOL Add to My AOL
with Anothr.com Subscribe by Anothr
with netvibes Add to Netvibes
with email Get email updates
Skype Developer Newsletter

Sign up now for all the latest news, tips and tricks on using Skype Public API.

Developer Zone

  • Home
  • Docs
  • Tutorials
  • Download
  • Support
  • Certification
  • Blog
  • Community
  • Help
  • Find...
Skype Blogs
  • Share Skype Blog
  • About Skype
  • Heartbeat
  • Developer Zone
  • Business
  • Jobs
  • Skype Prime
  • Skype Gear
  • Security
  • Garage
  • Mac
  • Linux
  • Eesti keeles
  • Töökuulutuste leht
  • 日本語
  • Deutsch
  • Français
  • Italiano
  • Brasil
  • United Kingdom
  • Svenska
  • Polski

Recent posts

  • New Skype Certified product in February -- OnState ACD
  • SDP Proudly Presents Our New and Improved E-mail Address for Invoices
  • Less Mess With Unified Messaging: OnState Announces Mash-Up with Zimbra and Skype
  • It's Jira time again - recently fixed bugs and known issues
  • New Skype Certified products in January
  • Skype now on multi-protocol instant messengers
  • Skype for AppleTV - Beta released
  • Hot off the press - January newsletter
  • Skype on AppleTV - under development
  • This years first Extras Manager update done

Archives

  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006
  • December 2005
  • November 2005
  • October 2005
  • September 2005
  • August 2005
  • July 2005
About us · Partners · Jobs · Prices · Security
Privacy policy · Legal · © 2008 Skype Limited