ABC will have a 1-hour special tonight at 10PM Eastern covering the hurricane and its effects. It seems to be shaping up to be one of, if not the, worst natural disasters in this country’s history.
Monthly Archives: August 2005
Digikam
Back when I first got my digital camera (a Canon Digial Rebel), I knew I had to find some sort of program to keep track of my photos. I looked at many different programs on Linux, but none of them really did what I wanted. I’ve used some iView software on the Mac some times. While it can do what I want, its database is proprietary, which annoys me. It means, among other things, I can’t write my own programs to pull data from that database.
Lately I’ve been checking out the Linux photo management scene again, and I’ve got to say that digiKam is quite the impressive piece of work.
It has a versatile database, nice interface, and loads of features. Its database uses sqlite, so writing my own programs to work with it will be a snap. I’ve been using version 0.7.x, and it looks like the 0.8.x beta will address all of my few remaining complaints.
I’m moving everything over to digiKam.
Kudos to the digiKam deveopers.
Google Talk And Skype Are Boring, And Here’s Why
It seems that everywhere I turn on the web these days, people are excited about Google Talk and/or Skype. “Real voice conversations over the Internet for free,” people say.
True.
But, at least in the case of Skype, you are hooked into a single vendor, and at the mercy of that vendor. (I don’t know about Google Talk’s network specifically.) Neither one has done anything really innovative, either. Neither has any features that SIP doesn’t.
Really, both Google Talk and Skype are “been there, done that” technologies. And what’s more, far superior technologies exist.
So in response to all this undeserved hype, I would like to take this opportunity to talk about SIP and why I find it much more exciting for voice conversations.
What SIP Is
Put very simply, SIP, in its most common incarnation, is a protocol for carrying voice conversations over IP networks. It is used for everything from calling the kids in college from a home PC, to massive telecommunications infrastructure by some of the largest multinational corporations in the world. Wikipedia has a technical description of SIP, and you may note that some other protocols (such as RTP) are involved. For most purposes, though, these types of calls are called just “SIP”.
SIP is an open industry standard. They are players of all sizes in the SIP marketplace — from giants like Cisco, to “home VOIP” companies like Vonage, to small non-profits offering free calling services.
First, let’s take a look at some use cases for SIP. Then, I’ll describe all the variety available in the SIP marketplace, and give some examples of why it beats out Skype so easily.
SIP for free IP-to-IP calling
If you are using Skype or Google Talk on your PC, to talk to someone else over the Internet also using a PC, you are using what I’ll call “IP-to-IP” calling. That is, your call never hits the traditional (PSTN — Public Switched Telephone Network) phone system. It is carried 100% on the Internet.
This is trivial with SIP. At its most rudimentary, you can connect to someone else by giving their IP address and a “phone number” to connect to at that IP. In practice, this is rather inconvenient and is rarely used.
Rather, most people use a service such as Free World Dialup (FWD) for IP-to-IP calls. It’s completely free and works with any SIP phone. You just sign up and get how ever many FWD “phone numbers” you want. You can be as simple as you like, and treat it like Skype, or you can set up voicemail, PBX systems, whatever. A little-known fact about FWD is that they have peering agreements with many commercial VOIP providers, letting you call into and out of the FWD network for free if you’re a customer of one of these providers (or know one).
SIP for IP-to-PSTN calling
Many people are using SkypeOut, which lets you place a call from your PC to a phone on the PSTN (traditional phone network). They charge approximately $0.023/min USD for this service. With Skype, this is pretty much your only choice.
If you’re using SIP, you have — and this is no exaggeration — hundreds or thousands of choices. Personally, I use and recommend Voxee, which charges $0.011/min USD for this service, and that’s without any sort of bulk buying arrangements. SkypeOut is more than twice as expensive.
There are plenty of other options — Vonage is one that targets residential customers, and there are others that target large corporations that sell minutes in blocks of 1 million.
In SIP lingo, a company that provides IP-to-PSTN calling is known as a “termination provider” — that is, they “terminate” your call onto the PSTN.
SIP for PSTN-to-IP calling
As far as I know, Skype does not support this. (Update: there are some sketchy details on SkypeIn; see comments below.)
Many of the SIP providers linked to above also provide the reverse: they will, for a small monthly rate (often under $5), sell you a local number. When someone calls that number, the call is routed over the Internet to your VOIP system as if someone had called from another VOIP node on the Internet. Rates are usually quite low on these as well, even for 800 numbers.
In SIP lingo, companies that provide this service are said to provide “DID” (Direct Inward Dial) service.
In addition to the above, there are some other general purpose PSTN-to-IP gateways. IPKall, for instance, links regular PSTN numbers into the FWD network.
SIP Phones
With Skype, any device that you are using must be used with a PC that is running the Skype software. That may not seem like a problem to you, but it can be a surprising limitation.
Of course, there are plenty of PC-based phones available for SIP. They are called “softphones”, and there are dozens available.
You can also find “hardphones”, which are implemented in hardware. These phones require no PC to operate. They typically have an RJ-45 Ethernet jack only, and all they need is a network connection and the name of a server (or two) to go. A person could have no PC in the house at all and have a working SIP hardphone, no problem.
There are dozens of these available as well. I personally have several Sipura SPA-841 phones, which sell for about $80. Very nice. Work right out of the box, but also highly configurable.
There are also a few of SIP hardphones that use 802.11b Wifi instead of Ethernet. This market is growing.
SIP Analog Telephone Adapters
Perhaps you’d rather keep the traditional analog phone that you already have, instead of buying a new phone. No problem, you can buy SIP Analog Telephone Adapters (ATAs). ATAs for personal use sell for under $100. They typically have two ports: an RJ-45 Ethernet port, and an RJ-11 phone port. Plug in the Ethernet and phone, point it at the appropriate server(s), and you’re set. They provide dialtone, caller ID, ring voltage, etc. as appropriate to the analog phones. Once again, no need for a PC.
In more advanced settings (see below), you can also use a different type of ATA to go the other way: to integrate a line from the PSTN into your VOIP setup. More on that below.
Be Your Own Provider
You can run professional, industrial-strength PBX systems in your own home with a program such as Asterisk. This gives you all the features you’d expect from a “business” phone system: multiple extensions, voice mail, automatic call routing using least expensive lines, etc.
I’ve written about my Asterisk setup and given some details on Asterisk before, so I won’t go into a whole lot of detail here.
Suffice it to say that you can really go places with SIP and Asterisk. You can use an ATA to let your outgoing VOIP calls get routed over a PSTN line, or the Internet, depending on costs and whether the appropriate lines are available. You can get bulk concentrators, connecting dozens or hundreds of analog phone lines to a VOIP server at once. There are a bunch of options.
Common Questions
Here are some questions you may have:
What is the sound quality of SIP?
There are many different protocols, some compressed, some not, that are frequently used with SIP. In general, over my DSL link, I find SIP calls to sound better than calls I place with a traditional phone.
Is it hard to set up?
A basic setup, similar to what you would use with Google Talk or Skype, is really very easy. FWD has a nice Quick Start Guide that you might want to check out.
Obviously, if you are setting up a PBX with Asterisk on Linux, you will need a bit more expertise.
Is SIP here to stay?
Unquestionably yes. There are very big names (Linksys, Cisco, Nortel, Earthlink, SBC, etc.) using SIP. There are also community organizations that use it. It will be here for a long time.
Where can I find more information?
If you have some basic questions, you can post comments here and I will try to help you out. (I will not reply to e-mailed questions.) I highly recommend the VOIP Wiki at Voip-Info.Org. It is a thorough and amazing resource that I have referred to on many occasions.
Is it available globally?
Yes, all over the world. VoIP User, for instance, is a community-run PSTN termination service in the UK. Public and private organizations exist all over, though.
Anonymous Comments Enabled Again
Thanks to a new spam module for Drupal, you no longer need to log in to post comments here.
The new spam module looks much nicer than the old one. I think it will do very well here.
Robertson Issues Fatwah
So runs the headline in this amusing article, which includes quotes about “the quixotic jihad against SpongeBob SquarePants”.
It’s funny because, sadly, it’s true.
From the “You know you’re in Kansas when” file…
Ever gone to a ticket counter at an airport, given your name, and an airport employee not only recites your hometown, but also which restaurant you like to dine at?
Well, that happened to us on Friday.
Seems that the former owner of The Breadbasket sold the restaurant, then decided to go to work at the airport.
Small Town Festivals
Just over a week ago, Threshing Days took place in my hometown (population: 550). Yes, the event that causes the town’s population to swell to many times its normal levels for a few days.
This year, I had no camera with me. So you will not see a photo of the line of 1930-era tractors at the bank drive-through window, unfortunately.
However, I did have my camera with me previous years, so I’ll be posting some photos here soon.
So what can you do at Threshing Days? Well, here are some of my favorites:
- Admire the 24-ton flywheel on a large Diesel engine. (Or the engine itself, weighing 25 tons). Yes, they actually fire up this thing every year.
- Walk through the house that originally stood on my parents’ farm, and was owned by my great-grandfather.
- Visit the one-room schoolhouse that my uncle attended. Maybe even sit in some of the original chairs.
- Admire some of the old tractors (some of them steam-powered). These are monstrous machines. Very impressive.
- Eat some traditional Russian Mennonite food (the best part!). Or settle for some funnel cakes.
- Watch the parade down Main Street (length of parade route: about 2/3 mile. length of Main St.: 1 mile).
- See the tractor tug-of-wars, tractor races, or (my favorite) the slow tractor races. Last one over the finish line without stalling wins.
- Watch a threshing crew in action, using a historic threshing machine and old tractors to power it.
- See how to bake in a brick oven, then sample the result.
- See the scale model house my grandfather built.
- Hear stories of small town life 100 years ago.
Journalists and Prejudice
Journalists have been a vital part of American society for quite some time. They have outed government corruption and exposed Americans to stories that would have otherwise gone unknown. Some of the journalists I admire most include Daniel Schorr, Edward R. Murrow, Bob Woodward, Carl Bernstein, and Walter Cronkite.
There are some interesting patterns in this list. Most of these people challenged prevailing “common knowledge” about the way things were in the world. Murrow, for instance, helped defeat McCarthyism. They all took risks, often risking their own lives to get vital, real stories out. Also, not one of them is under 60 years old, and in fact, most are either dead or in the 80+ range. They all had their moments of widest fame before I was born.
Today I am reflecting on the American media after watching the special on Peter Jennings last night. I am not usually very positive about the American media. I don’t think (in general) that the mainstream media is biased, but rather that it is stupid and useless. Seeing headlines about rescued cats, celebrity trials, and which celebrity is hawking which religion tends to make a person dismiss the media outlets that run these headlines.
Where do I get most of my news? NPR, Google, and BBC. Occasionally from the New York Times, Washington Post, Deutsche Welle, CSPAN, and various British newspapers. I find these sources actually provide, well, news. Sometimes even a useful investigation, and I don’t mean the “on your side” investigations about the mechanic that ripped someone off for $20.
Seeing clips of Peter Jennings’ reports showed me something. This was a person, working for a mainstream news organization (owned by Disney, no less) that actually did get real, relevant news out there. He covered the genocide in Bosnia to an impressive degree.
I guess sometimes I forget that the mainstream media occasionally does get it right. I must remember that there are good people out there, even working for TV news organizations, that are dedicated in the same way that Daniel Schorr was.
Though it will be really hard to keep this in mind when watching Fox News.
Peter Jennings and America
I’m a little confused.
I watched the first half of ABC’s 2-hour special about Peter Jennings tonight. It was an incredible program. Among other things, I saw how Jennings exposed the US State Department ordering its employees to lie by claiming there were not concentration camps in Bosnia, helped expose how the United States government was illegally arming the Khmer Rouge in Cambodia, and how he made sure to show the Arab/Palestinian viewpoint (contrary to US wishes) in his reporting from the middle east. He had other run-ins with official corruption or, at the very least, misleading actions.
Jennings lived and worked in the United States for years — decades, even — as a Canadian citizen. Just a few years ago (2003, I think), he became an American citizen.
What was it that he saw in the United States and its government that made him change his mind? And why did it take him so long?
I’m often cynical about our government. Just this week we learn how the federal government is squandering our tax money with pork-barrel spending in the highway bill. The number of times that government officials have lied and misled the American people and the world, and even violated American law, is staggering. And it has happened with people from both parties.
I believe that this country has never really lived up to the great dream embodied in the Declaration of Independence. We have, over the course of our history, systematically and intentionally deprived entire groups of the right to life, liberty, and the pursuit of happiness: Native Americans, blacks, poor people, Japanese, women, conscientious objectors to war, Germans, and the list goes on. When I hear our presidents talking about how the United States has always been a land of freedom, I cringe.
What is it that made Peter Jennings want to be a part of it? What is it that I’m missing? And why did it take him so long to arrive at the conclusion he eventually did?
We can, of course, look to a great many people across the globe that have less freedom than we do, and be grateful for the rights and privileges we enjoy. But Canadians don’t likely rank among those that are stifled by authoritarian regimes.
Quiet Midwesterner or Galactic Warrior?
Terah and I have become big fans of the SciFi channel series Stargate SG-1. It’s an excellent show.
But there’s something uncanny — one of the characters on the show, Jacob Carter, closely resembles a person I used to work for, Marty Morrow. I notice this every time Jacob Carter appears on Stargate SG-1. Is it a coincidence? Maybe. You decide!
Jacob Carter | Marty Morrow |
---|---|
Often home late from work due to life-threating situations with murderous aliens | Often home late from work due to meetings with venture capitalists |
Recurring character on popular Sci-Fi series | Recurring character in popular Indiana startups |
Uses interstellar communication devices | Has a blog |
Visits Earth periodically | Visits Nebraska periodically |
Fearlessly attacks the Goa’uld (evil aliens) | Fearlessly attacks foosball tables |
Pet peeve: stargate malfunctions delay trip to another planet | Pet peeve: waiting on the tarmac at airports |
11 letters in name | 11 letters in name |
Friends crack jokes about his lack of hair | Employees crack jokes about his lack of hair |