Kphone on Ubuntu
Kphone is, unfortunately, the only SIP phone software in Ubuntu Warty Linux.
Over the past week, I’ve been wrestling with it, trying to get it work with both Gossiptel and SipGate. Kphone lacks documentation, which would be fine if it “just worked”. However, my experience has show a couple of quirks, that have led to several frustrated evenings.
Once apt-get has installed Kphone, you’ll notice it doesn’t appear in any menus. It is on your system, you just need to type “Kphone” from the command line. Once loaded, you’ll be able to edit what Kphone calls your SIP identity. This is fairly straightforward, just bear in mind:
- Full name: can be anything; it’s just a display name to show to other SIP users
- User part of SIP URL: almost certainly your SIP number. If your SIP provider gives you a SIP address, which looks like an email address, then it’s everything before the @ symbol
- Host part of SIP URL: is everything after the @ symbol
- Outbound SIP proxy: this varies from provider to provider, but with Gossiptel it’s sip.gossiptel.com and SipGate UK uses sipgate.co.uk
- Authentication username: this may be optional, but I’ve just re-entered my SIP username here.
You can then click “Register” to check your details. Frustratingly, if you’re changing an existing Kphone identity, you’ll have to restart Kphone before it uses the new details.
Depending on whether your firewall has explicit SIP support, or not, you’ll also need to visit Preferences->SIP Preferences->Socket, to enter details of your SIP provider’s STUN server. In simple terms, STUN helps Kphone to get round the restrictions put in place by your firewall. For Gossiptel. ensure Use STUN server is selected, and define your STUN server as “stun.gossiptel.com”. In my experience, it doesn’t
OSS sound setup
You should now be able to make and receive SIP calls. However, like most of the rest of the Linux world, you’ve probably moved onto ALSA for your audio. Kphone has not. Kphone still uses OSS. So, even if you’ve had Skype running successfully, you’ll still need to go into your volume settings and have a fiddle.
For whatever reason, each time I restart Ubuntu, I have to reset the OSS settings, to make it work with Kphone.
Make sure your microphone is set to Mute and Rec, with the slider up high. Also set In-gain to full, as this boosts the signal coming from the mic. Of course, your setup may not need in-gain.
Even once you’ve got what appear to be the right settings, I’ve found it may not work until you’ve selected, unselected, then reselected those settings a few times.
Testing everything
On Gossiptel, you can call 160 for an echo test. You can also give me a bell on 9301661. If you’ve been a Skype user you’ll be surprised by just how reliable and clear a VOIP call can be.
Kphone, on my system, has been prone to crashing and is far from the most user friendly software out there. However, despite the more complicated initial setup, I’d say SIP is a far better system than Skype, which now feels rather like VOIP-lite.