“Be inspired, enjoy your work, keep learning and never forget to play.” — gskinner

Doing VoIP Calls

Posted: August 29th, 2007 | Author: nuno | Filed under: Code, Tutorial | 2 Comments »

We needed our Flash application to be capable of executing VoIP calls. I remember Skype had a developer API and after some digging I ended up coding a C# application that receives messages from the Flash app via a socket and controls Skype accordingly via the Skype4COM wrapper.

There was already a C# example available at the Skype4COM page that unveiled much of the works involved. I just added a socket server and a configuration XML file for skype dialnumber I wanted and the port the application opens and the Flash app has to connect to.

The attached C# code shows how the application can attach itself to Skype, receive event notifications and control it via the commands provided by the API.

Requirements (and tested with): Skype 3.5.0.202, Skype4COM, release 1.0.27.1

Skype needs to be installed on the machine. For Skype4COM to work don't forget to register the DLL by issuing: regsrv32 skype4com.dll


2 Comments on “Doing VoIP Calls”

  1. 1 Sridharaya said at 3:57 pm on February 8th, 2009:

    amazing stuff thanx :)

  2. 2 Schedule said at 1:15 am on October 30th, 2010:

    You you should make changes to the blog title Dreaming in Flash » Blog Archive » Doing VoIP Calls to more suited for your content you make. I liked the the writing yet.


Leave a Reply