Slashdot Log In
SIP vs. Skype, Making the "Open" Choice
Posted by
CmdrTaco
on Mon Oct 02, 2006 10:28 AM
from the answer-seemed-clear dept.
from the answer-seemed-clear dept.
techie34290 writes "If you were to make the choice between SIP and Skype for Linux, which one would you go for? Matt Hartley from MadPenguin.org says to opt for SIP. Why? "One tidbit of information that most people are not likely aware of is that when you install the Skype client, it will drain system resources by running as a supernode from time to time. Granted, this is not always the case; however, the very idea of my PC having its resources tied up for someone else's phone call is frankly maddening to me."
This discussion has been archived.
No new comments can be posted.
SIP vs. Skype, Making the "Open" Choice
|
Log In/Create an Account
| Top
| 215 comments
(Spill at 50!) | Index Only
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Isn't that the point? (Score:5, Insightful)
Re:Isn't that the point? (Score:5, Interesting)
(Last Journal: Thursday October 18, @07:35PM)
Actually, this is a rather timely article, as I am working on setting up a video conferencing room and need to find good free/cheap options.
Re:There's lots of bogus anti-Skype FUD (Score:4, Informative)
Re:Isn't that the point? (Score:5, Insightful)
(http://www.orlandi.com/)
No, it isn't. No wonder there is no "SIP" server, managed by a "SIP" company.
SIP is a technology while Skype is a service, provided by a single company with a proprietary technology.
The difference is absolute.
You could provide the same exact service Skype is providing with SIP. Did you ask to yourself why there is no such service? Because it would be much harder to lock your customers in with SIP. SIP is already peer-to-peer for what concerns audio streams.
Thanks for the differences; there are even more (Score:5, Informative)
1) Skype is closed and a single metamodel that's been implemented nicely and virally (not that it matters)
2) SIP (and ENUM) are perilously prone, not because they're protocols, but how the protocols are implemented, to shenanigans. SIP is natively text, and ENUM is a DNS method that's prone to spoofing and other problems. For now, Skype wins only because few people know how it works at its deepest levels.
3) Skype isn't as extensible as the SIP/ENUM combination, and it makes one dependent on a single (if diverse and highly peered) network.
4) SIP and ENUM don't care about the service and are largely service neutral (some coming problems, here, though, as it doesn't do nice things like embue codec choices, encryption/authentication means, and other security niceties).
5) Skype is one closed vendor, very few business partners, while SIP is a technological infrastructure that invites whomever to do whatever.
Re:Isn't that the point? (Score:4, Interesting)
(http://www.elflord.net/ | Last Journal: Monday March 19 2007, @10:35AM)
It would be very nice to find a way to make a TCP/IP connection without having a listening port. I believe it could be done, still using the third party for setting up the connection, but using a spoof of some nature.
A possible way is: Caller (C) requests a connection via the Skype Network (SN) to Reciever (R). R is connected to SN, but has no incoming connection capabilities, so SN requests a transitional connection from a third party (T). C and R both call T. R tells T which local port its connection is on. T spoofs C, telling C that its IP address and port are those of T. T also spoofs R, telling it that its IP address is that of C, connecting on R's port(R effectively becomes the server, the router's outgoing port becoming the incoming port). R and C, knowing this will happen, do all the syn/ack stuff manually.
I'm not well enough versed in TCP/IP to do this (or even say whether it can be done), but perhaps someone is.
Success of Skype (Score:4, Insightful)
(http://www.commafruit.co.uk/ | Last Journal: Friday June 25 2004, @06:40AM)
the very idea (Score:5, Insightful)
Re:the very idea (Score:5, Interesting)
(http://www.seizurerobots.com/)
Supernodes "maddening?" (Score:4, Insightful)
(Last Journal: Tuesday December 12 2006, @07:54PM)
Well, boo hoo. It's the way the system works. I seriously doubt any significant system resources would be used up for other people's calls. When you make your calls, it happens to other people. It's a give-pull situation where everyone has to share resources in order for the system to scale with the number of subscribers. Would you rather have nothing?
Doesn't play well with others (Score:4, Insightful)
(http://robvincent.net/ | Last Journal: Tuesday October 09, @01:55PM)
What a bunch of crap... (Score:5, Informative)
(http://www.rangat.org/rthille | Last Journal: Thursday November 23 2006, @12:20AM)
Sure, I prefer open solutions, but to say that Skype will drain your system's resources is just crap. A simple consumer firewall between your skype-running PC and the internet will prevent Skype from using your PC as a 'supernode'.
So, now the shoe is on the other foot? (Score:4, Insightful)
Somehow I don't see how that works.
Sure, Skype is proprietary - but I've never paid anything for it (except bandwith), and it works just fine for me, so - to me at least - it's free (monetary, not libre). SIP - well, never tried anything that worked just as well as Skype, so it's libre, but it's not free to me (costs me and others resources like their and my time to get it working).
I don't really see the difference (but I'm not a fanatic proponent of Libre software).
Re:So, now the shoe is on the other foot? (Score:4, Interesting)
I'm also sick and tired of installing all these proprietary apps, each with it's own protocol and from the looks of it every couple of years there is the next big thing you need to install. Not because it's actully better but because someone you need to write/talk to has it. No thanks, we need something open and documented. Then every company could make their own client, brand it, sell it and popup commercials all day long as they wish. And I could use something smaller OSS that suits my needs.
And I would gladly contribute both bandwidth and cpu usage. But never for skype as it stands now.
Re:IAX? (Score:4, Interesting)
(http://www.craig-wood.com/nick)
Sip plays merry hell with firewalls. Don't even think about it unless you've got a VPN back to your sip server! If you have then it works great. The new Nokia E70 phone connects to our office Asterisk server via SIP and works very well ( http://europe.nokia.com/phones/e70 [nokia.com] ).
IAX2 goes through NATed firewalled links just fine. It is much easier to configure if you are on the move (or your users are).
I wouldn't touch Skype with the proverbial barge pole given its closed nature.
gtalk (Score:3, Insightful)
(Last Journal: Thursday December 08 2005, @04:33PM)
It uses XMPP (Jabber) then kicks up to Jingle for voice.
Nice.
Control freak... (Score:4, Interesting)
the very idea of my PC having its resources tied up for someone else's phone call is frankly maddening to me
This strikes me as an attitude of someone who can't stand the idea that he's not in control of everything (which you never are). The real question is, does it use any significant resources that effect what you're trying to do at the time? Frankly I don't really care about 20-50 megabytes of memory, or 5% of my processor usage, or even 100% of my idle processor usage. Those numbers are all low enough that you'd more than likely never notice or miss those resources. I would be concerned if the app started taking up hundreds of megabytes of memory, or 30-40% of my processor time, or locked up system resources that interfere with other apps I'm running. So which is it? The author didn't provide us with any of that information, only the extremist position that ANY useage of his computers resources that wasn't for him was unacceptable. What a useless article.
jabbin (Score:3, Interesting)
http://www.jabbin.com/int/ [jabbin.com] it's free as in speech, and has voip support.
perhaps he should give it a try. there are windows, linux and mac releases.
What about the advantages of being a supernode? (Score:3, Insightful)
Cringely on Skype (Score:3)
I'm surprised to hear people still talk... (Score:3, Funny)
Why I initially chose Skype... (Score:3, Interesting)
(http://www.gurski.org/)
Longer reason:
I really didn't want to have to learn the intricacies of a protocol in order to get everything up and running. I'd been seeing various things that at least *implied* that I'd have to start mucking about with firewall rules in order to get SIP running. This was something I had zero interest in doing at the time. I also wanted something that would be cross-platform in an easy manner (I was looking at this so my manager & I could keep in touch while we both worked from home, without using cell minutes or LD charges....him Windows, me Linux).
Then I needed to be able to call out to POTS lines. Enter SkypeOut. No monthly charges, just a relatively low per-minute charge (which was OK, I still, after 16 months, haven't used the initial 10 Euros I put in). Then I needed people from work to be able to contact me, and I didn't want to give them my cell or house lines. Enter SkypeIn. $38 for a full year, with voicemail. Usable anywhere. That was a big draw. So long as I had a network connection, I could head off to a family member's place for a long weekend out-of-state, and still be reachable. No problemo spending 8 hours with sun and surf in the background and me being several hundred miles away...
And then things soured... I tried to renew my SkypeIn number. Failed. Again and again and again. Skype's purchase process is rather....opaque. They use a variety of 3rd party payment processors, and all Skype can tell you is "success" or "failure" until you start bitching about being unable to pay. Though don't expect an immediate response, as it will take up to 4 days. And then, if you're like me, you'll be told that your NATed laptop running Linux on a static IP with no proxies is "an anonymous proxy", and be told to check you IE settings to ensure you're not using a proxy (yes, IE settings in Linux...). You'll be told to, get this, try a different ISP. And even though you'll have already tried multiple credit cards, and multiple browsers with them, you'll be told to try another credit card, or another browser. Or worse (IMNSHO), another payment method that until just recently announced, had practically NO consumer protections (way to pay, pal!).
Ultimately, I ended up with access to work's terminal server, and after one too many complaints from the muckety-mucks who'd already been given my cell number (remember I didn't want to do that?) because I couldn't renew my SkypeIn, I decided that I could make a business case for using company resources for attempting to renew. And....it worked. NFC why, but it did.
So, now I have about another year to come up with another solution that'll work for me on random networks, doesn't require special hardware (other than a headset or speakers+microphone), and doesn't have recurring monthly fees, as I don't actually make calls every day, or even once a week. SIP still gives me a headache just trying to wrap my head around. Trying to figure out WHICH providers offer WHAT parts of what Skype offers as an all-in-one package is something I tend to just grow bored trying to research. Some of the more promising-looking clients seem to be geared towards specific providers, while others leave you trying to guess who to go with. Ick. I really don't want to stick with Skype having experienced the bad side of things, but I'm afraid momentum an just how unfocused SIP solutions are for what I want will force me to stay.
(Let's not even get into the whole Skype's Linux client lagging way behind their Windows client, with the Mac client having leapfrogged Linux at some point. There HAVE been a few betas that have finally brought support for ALSA, and some UI improvements. Still miles behind Windows & Mac, which is frustrating, but there's been at least some progress now almost a year after their last major Linux release)
Hmm... SIP of course (Score:4, Insightful)
(http://www.valerieandevi.be/)
SIP providers and Skype (Score:4, Insightful)
(http://www.cooldark.com/ | Last Journal: Monday April 26 2004, @05:31PM)
NAT routers temporarily accept inbound UDP packets on a port when there has been an outbound UDP packet on that port (aka UDP pinholes). So you get a working UDP "connection" (well, stateless
Skype gets around this by using computers that aren't behind NAT to route traffic between two phones that are behind NAT. So if everyone was to block this behaviour, Skype just wouldn't work for NAT users. It requires some community spirit (even if this is unintentional on the part of the user).
SIP systems often employ STUN servers that allow a phone/computer to query the server to find out what its WAN IP and NAT type are (and use the query itself to open up temporary UDP inbound ports on the router - something that works with all NAT types except symmetric).
There's a description and some pretty pictures of how STUN works here: http://www.newport-networks.com/whitepapers/nat-t
In addition, SIP is also an open protocol, so there is nice free open-source software available (Asterix) to allow you to set up your own home switchboard (calls from different outside lines can be routed to different phones - IE, whenever your daughter's boyfriend calls, it can be routed to ring her VoIP phone). Skype is proprietry so you won't get any customisable features like this.
So really, SIP is the way to go if you're a supporter of open standards, and Skype if you want to follow the headless masses.
Use Asterisk plus SIP endpoint of your choice! (Score:3, Informative)
(http://www.chembal.com/)
Now, a common argument you might get against this approach is that it's unneccesarily complicated and requires a dedicated machine. Well, it may be partially true, in that it's more complicated than installing a single SIP or Skype phone or softphone, and the best (IMHO) approach for an install takes a surplus box; however, the TrixBox [trixbox.org] distribution gets you up and running awfully fast, and can be installed onto a crap machine (I'm using a celeron 500). Follow the How-To here [sureteq.com]. The flexibility is worth it. And, if you have a decent net connection and VoIP provider, the call quality even for VoIP is outstanding.
Other advantages are flexibility in call routing. I currently have a digium TDM400P card hooked up in my install, with one module hooked up to the phone line, and the other module hooked up to all my analog phones in the house. (I'll eventually replace some of the analog phones with some nice IP phones when I have the cash.) I could just as easily add SIP softphones connected to Asterisk, if I wanted, but normal phones seem more natural to me, and it's cheap to do with the TDM400P card. I have three inbound and outbound trunks set up, one using the land line, one using VoipJet [voipjet.com] for long distance over VoIP, and one for calls in from and out to the Free World Dialup [freeworlddialup.com] SIP network. I have my dial plan set up as follows:
Any calls coming in from either my old PSTN landline or my Free World Dialup account are routed to my dialplan, which during the day (6AM to 11PM) rings the analog phones. If the caller is blocking caller id, it forces them to enter their phone number first before ringing the phones. At night, (currently defined as 11PM to 6AM) callers are sent to a VRU, which asks them to hang up if they're a phone solicitation, press 1 to actually call us, or 2 to send the call straight to voicemail without waking us up. In either case when it rings the phones, it will go to voicemail if we don't answer. That voicemail can be retrieved either by the phone, by secure web interface, or currently I also have it email me the wav file of the message.
For outgoing calls, I have it set like this: If you dial a seven digit number, a toll free number, 911, or use a 9 prefix before a long distance call (in case my network connection is down), it dials out through the land line. If you dial a long distance number normally (using just 1 + area code + number, or 011 + country code + international number), it routes it through the IAX2 trunk to VoipJet and saves us tons of money. If you dial a 8 or 393 prefix before the number, it assumes you want to call a FWD number, and routes it out the IAX2 trunk to FWD, which would be a direct SIP to SIP call for free.
In summary, it works awesome, and I had the whole thing working in a basic way (PSTN + analog phone + VoipJet trunk) in one Saturday morning. I had rerouted the whole house's phone system and revam
Re:FUCK YOU FREELOADER (Score:5, Funny)
(http://www.dolemite.com/)
Yeah, totally! That'd be like participating in an online forum as an anonymous coward!