Skype Developer Zone logo
  • Login
  • Home
  • Tools & SDKs
  • Docs & Samples
  • Support
  • Certification
  • Community
  • Shop
  • Blog
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?

Bookmark and Share

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.)

Please read our comment guidelines before posting your comment.

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.

Skype Blogs
  • Share Skype Blog
  • Heartbeat
  • Developer Zone
  • Business
  • Skype Gear
  • Security
  • Garage
  • Mac
  • Linux
  • Eesti keeles
  • 日本語
  • Česky
  • Deutsch
  • Français
  • Italiano
  • Brasil
  • United Kingdom
  • Polski
  • United States
  • 한국어

Recent posts

  • Developer Zone and Jira down for maintenance
  • The future of Skype Extras
  • Skype name recognition in Skype 4.1
  • Summer break in Extras update from 20th July to 9th August
  • Version 1.0.32 of Skype4COM is now available for download
  • Skype for Windows 4.1 Beta is Live
  • CTSS - Chat Translator and Speaker for Skype
  • Router Lab
  • A pause in Extras update until 23rd April
  • Jason Fischl joins Skype as Director of Developer Relations

Archives

  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • 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 · © 2009 Skype Limited