Welcome ! This is the personal site / blog of Graham King. Most people come for the credit card generator, but I think the Categories (top right) are more interesting.

July 17, 2008

Using Ekiga softphone on Ubuntu Linux on a Thinkpad

Posted in Misc, Software at 00:19 by Graham King

For many months now I have been making and receiving telephone calls from my computer. There are two advantages:

  • It is very cheap. Calls within the United States are about $1/hour!
  • It makes your phone number virtual, and configurable, which means for example that my phone number will forward to my cell phone if my computer is offline. It also means you don’t have to be in the same country as your phone number.

I am running Ubuntu Linux on a Thinkpad, but most of this should apply to Ekiga on all platforms, and the principles apply to all Softphones.

First, you’ll need a headset with a microphone. The Thinkpad’s built in microphone isn’t loud enough, and will generate too much feedback from the speakers. I bought the Logitech Precision PC Gaming Headset which I’m happy with.

Next, you need to install Ekiga which on Ubuntu is as simple as sudo apt-get install ekiga.

Then you need to adjust your sound settings:

  • sudo alsamixer
  • Drop the ‘Mic’ to 0
  • Move the ‘Mic Boost’ to max
  • Exit alsamixer by pressing Esc
  • Go to System / Preferences / Sound and change everything to use ‘ALSA’. This makes all programs share your soundcard, so you can hear the phone ring when playing music with Rythmbox.

Start Ekiga. It will prompt you to sign up for a SIP address (which looks like an e-mail address) at Ekiga.net. That is the address people can ring you on, if they are on a SIP phone too. You’re all set to make PC to PC calls. Dial one of the Ekiga fun numbers and talk to yourself.

You probably want to be able to dial out to the regular phone network. Follow the instructions on Using Ekiga to do PC to Phone calls. I signed up with diamondcard.us, the default provider, and the service is good. Don’t be put off by their ugly website. Once you sign up they call you to check you are a real person. In my case this was about 24 hours after I signed up. You’re all set. Remember to dial the full international number (starting with 00 then the country code), and you’re talking!

If you want to receive calls, you need to rent a telephone number. This is fun, because you can rent a number from anywhere in the world, and have it terminate at your computer (or your mobile, landline, anywhere). I am paying $3/month for a US number. On diamondcard (or whoever you are renting the number from) setup that number to ring on your SIP phone first (called IP Phone on diamondcard), then forward to your mobile. Increase the length of time it rings on your SIP phone, so you have time to mute your speakers, plugin your headset, locate the Ekiga window, and click ‘Accept’. I set it to 30 seconds.

I tweaked the default Ekiga sounds to make the ringing more pronounced, and the disconnect sound shorter. Fire up Audacity and open /usr/share/sounds/ekiga/ring.wav. Trim each end and increase the volume. Save it. Open /usr/share/sounds/ekiga/busytone.wav and trim it to one beep. This sound is played at the end of each call.

There you have it, a great telephony setup!

Finally, here’s a couple of tips:

  • Dialing toll-free numbers. If you are in the United States, when you dial a toll free 1-800 number, that number will think you are abroad, so you will be charged normal rates ($0.017/min). Instead of dialing via diamondcard (or whoever), dial using a SIP gateway, by prefixing your number with *850, for example*85018001231234`. More SIP gateway details at Ekiga fun numbers.
  • Dealing with the delay: There is a slight delay on the line. Closing any programs you have that might be using bandwidth improves the delay. Warn your conversational partners about the delay, and ask them to ignore it. Relax, and let them finish their ideas before you speak. Leave slightly longer gaps between when they finish speaking and you start. If you do start speaking, keep speaking even if you hear them. They probably started before they heard you and will stop as soon as they realise.

    Happy chatting!

May 31, 2008

Passenger airlines will charge by volume and weight

Posted in Ideas at 00:38 by Graham King

When you send a parcel by air, the price depends on the volume and weight of that parcel. Volume, because you are buying a certain amount of space in the plane. Weight, because the heavier the plane’s cargo, the more fuel it takes to get it off the ground. You pay for the fuel to fly your parcel.

The pricing structure for air mail / air freight is closely linked to the costs faced by the airline.

When you travel with your parcels, a disconnect appears. You buy a certain amount of space - typically a seat for yourself, a small bag and one or two big bags. A bigger seat (’business’, ‘premium’, etc) is more money. Extra bags is more money.

Currently you get a fixed amount of weight for your bags, and an unlimited amount of weight for yourself. A 120lb (55kg) waif with no luggage pays the same as a 260lb (115kg) behemoth with their full complement of luggage (2x 50lbs in the hold plus 40lb in the cabin, on American Airlines). That’s the same price for 120lb as for 400lb! Try convincing an air freight company (UPS, Fedex, etc) to use that pricing structure!

The reason it works is that the 120lb person subsidizes the 400lb one, and the airlines hope it evens out. Now, whenever you see that type of setup, there is an opportunity. Attract only the most valuable customers (the light low-luggage ones, who are over-paying their share of the fuel), split the difference with them, and you have a business.

The reason I think this will happen is that it will only take one airline to switch. The first one to start charging by weight will get a lot of press coverage, and higher profits (from over-charging the light customers slightly less than the other airlines). Once the high-value customers start using an airline that offers them better rates, the balance stops working everywhere else. The other airlines end up with only the heavy high-luggage customers that are paying less than their share of the fuel. They have to change to survive.

Airline pricing should be a flat rate for your seat (depending on the ‘class’ of your seat), and a price per lb or kg you want the airline to carry. The weight price should fluctuate as often as the price at the petrol pump.

May 20, 2008

A quote from Seth Godin

Posted in Society, Software at 06:55 by Graham King

It’s hard for me to see why you’d bother having someone come all the way to an office just to sit in a cube and type.

The new rule seems to be that if you’re going to spend the time and the money to see someone face to face, be in their face. Interact or stay home!

My thoughts entirely.

Original post: Seth Godin – The new standard for meetings and conferences

« Previous entries