SIP to Skype gateway breaks Skype's Great Wall of VoIP

Dal over at Asterisk VoIP News forwarded me an interesting link last week on a project he's been working on that creates a gateway between Skype and Asterisk or any SIP-based client. As most techies know, Skype uses a proprietary protocol and does not support inbound SIP calls. If you ask Skype CEO, Niklas Zennstrom why Skype chose their own proprietary protocol, (which many reporters have asked him), he always gives the same canned reply - that they chose their own proprietary protocol because SIP doesn't do everything they need, SIP has issues traversing firewalls, our proprietary protocol is more flexible, blah blah blah. Even though there are now NAT traversal solutions for SIP that perhaps didn't exist a couple of years ago, Skype still hasn't moved to SIP and it doesn't look like they will. Certainly now Skype has little to no incentive to move to SIP since they are "top dog" in VoIP and would probably rather have their own "VoIP walled garden" to keep competitors out and also force their customer base to use their revenue-generating SkypeOut service. Well, according to Asterisk VoIP News, Skype's Great Wall of VoIP has been cracked!

Dal writes in his Asterisk VoIP News blog entry:

I've wanted to be able to gateway calls between Skype and Asterisk for a while, which of course would require some type of protocol converter (IAX or SIP to Skype, probably.) This of course is directly not in Skype's interest, since they would like to keep the network closed (boo!) so that users are forced to use their PSTN gateway and other revenue-generating systems. On the other hand, I'm trying to crack this open so that any VoIP channel can talk to any other VoIP channel. Asterisk provides the ideal platform for this type of conversion, if only Skype were accessible...

Asterisk VoIP News then goes on to explain that there is a softwarel program called "PSGW" (http://www.rsdevs.com/) which runs on Windows and does SIP to Skype conversion. (Dal also opines that there should be a Linux port of PSGW.) According to Asterisk VoIP News, "It uses the Skype API to create calls in both directions, and then uses somewhat of a kludge using software audio "cables" between a SIP/RTP driver system and the Skype API." Essentially, you can use an Asterisk box for your call routing and PBX functionality and use the Skype network for termination.

John Todd, a networking and VoIP consultant, specializing in Asterisk implementations, who claims to never sleep, told me that the system can work "standalone" without Asterisk of course, but Asterisk makes it much more useful since Asterisk has powerful dialplan capabilities that enable you to do Skype mappings inside your dialplan without having to remember complex dial strings. John also said, "Plus, limiting the SIP calls from a single IP address (your Asterisk server) is a heck of a lot more secure than leaving it 'wide open' which is the only other alternative right now."

Here's how it works:
1) User makes a SIP URI call (using SIP phone or softphone) to a domain where the PSGW software is located. For this example, suppose I have it running on my domain: tmcnet.com. Thus, you can simply SIP dial <username>@tmcnet.com

2) The call is routed to the tmcnet.com firewall or SIP proxy with port 5060 mapped to a PC running Skype and the PSGW software.

3) The PSGW takes the SIP call, strips off “<username>” from <username>@tmcnet.com and then initiates a Skype call to Skype user “<username>”. (Thus, you simple need to pre-pend the Skype username you wish to call to the domain.)

4) The PSGW then “bridges” the audio from the Skype leg of the call with the SIP leg of the call.

That's it! You've just made a SIP-to-Skype call. Skype's Great Wall of VoIP has just been breached! Granted, it is a bit of a "kludge" requiring a host PC running Skype & PSGW, but cool stuff nevertheless, eh?cool

There are many interesting possibilities and uses for this. Maybe I'll see if I can get a demo copy of PSGW and try it myself. If anyone else tries the $29 PSGW software, let me know what you think and what interesting applications you use it for.

| 13 Comments | 1 TrackBack

Listed below are links to sites that reference SIP to Skype gateway breaks Skype's Great Wall of VoIP:

SIP to Skype gateway breaks Skype's Great Wall of VoIP TrackBack URL : http://blog.tmcnet.com/mt/mt-tb.cgi/22807

I've been tracking a piece of software PSGw 2.0 for a few weeks that connects Skype to SIP and SIP to Skype. Basically your own SIP gateway for Skype. Add it to your PC and you could route inbound... Read More

13 Comments

Too bad Asterisk doesn't use Gips codecs to get a good sound.

There have been a few people using Virtual Audio Cables to do this for a while now, it is only really useful if you can terminate more than one call at a time on a server. ie, if I can have 8 concurrent Skype calls in various stages of IVR and routing.

Business Skype Solution for Asterisk/IPPBX

Nowadays, Skype is very popular and you may found many customers are Skype users. Let your customers who are used to Skype to contact with you quickly and conveniently is becoming the main job of your Asterisk/IPPBX system. SiSkyEE is the best solution for you to connect SIP and Skype world.

www.yeastar.com

How about testing out this skype sip gateway product?

Too bad Asterisk doesn't use Gips codecs to get a good sound.

I`ve tried very hard to get psgw to work without any success, it seems impossible to get it to connect to SIP provider, i have several accounts and have tried them all.

George

You can try SipTheeSkype Skype Gateway. You can get it at siptheeskype.mhspot.com

Just use SipTheeSkype - it is open source, works well with Asterisk and SIP.

Try it at: siptheeskype.mhspot.com

I brought the standard verson year ago. It crash my windows. But the latest demo version seems to work. Anyway, I don't know which version will work, and which one will not work. I can't get it works with the version that I had paid for.

Thank you for your interest in Skype-PBX integration. I'd like to let you know that IndustryDynamics has developed a powerful line of Skype gateways for business which provide Plug and Play solution for adding Skype calling to your existing PBX system.

Those who are looking for Skype gateway for SMB, can check out VoiceGear SkyBridge. This is an integrated appliance that can support up to 4 concurrent Skype calls and can integrate with any PBX system using SIP or Analog line or extension ports.

If you are looking for an Enterprise grade solution, please see VoiceGear Connect. This integrated gateway appliance can scale up to 60 concurrent calls, and can be connected to any PBX system via Analog, SIP or PRI connectivity.

VoiceGear gateway for Skype, was announced a winner of "Best of Show - Large Enterprise Solution" award at the popular ITExpo East 2009 conference.

I'm a more simple user with not much computer knowledge, and i wanted to keep it simple.

I tried Asterisk but i couldnt even configure it, so i tried 3CX PhoneSystem PBX.
They Also Provide you with a free Sip to Skype Gateway, and they are releasing a new Gateway very soon from what i see on their forums.


If you are a Simple User who wants a simple PBX i'd suggest you give 3cx a shot.

Hi,

This is a new phone patch to skype that divert landline and cell phone for

free to skype free. the name is "rylwy"

http://rylwy.com/

your incoming calls from your landline and cell phone will follow you for

free anywhere you travel, to another skype connection.

Leave a comment

Recent Activity

Friday

Thursday

More...

Recent Comments

  • Bill: Isn't this the same chief lanier that wanted to keep read more
  • gadgets: I just read your post and I found it really read more
  • Craig: http://www.youtube.com/watch?v=_SwZDboRv6U Use the above link. This is the most simple read more
  • peetee: I would like to applaud google for creating this new read more
  • Anonymous: yahoo should get out of the whole issue. there is read more
  • Goran: I have the same issue at my work. I have read more
  • Chipmunk: It's a great app! Though it is not integrated with read more
  • christmas stocking fillers: I hope it ends as soon as possible. I do read more
  • Nikki Brown: Interesting. Is there a side-by-side comparison with Google voice anywhere? read more
  • External Hard Drive: Hi, The Skype's legal battle is in progress and now read more

Subscribe to Blog

Recent Entry Images

  • blabbelon-logo.jpg
  • ribbit-mobile-callerid-20.jpg
  • blabbelon-voip-room.jpg
  • ring2skype-logo.jpg
  • fonality-co-founders.jpg
  • captain-kirk-kick.png
  • admob-logo.jpg
  • simplesignal-call-control-toolbar .jpg

Category Archives

Around TMCnet Blogs

Latest Whitepapers

TMCnet Videos