Simple clear advice in plain English

Dial A for advanced VoIP

Asterisk and Nokia’s N95 open up a whole new VoIP world

Asterisk will run in the background on any modest Windows system.

The software comes with a simple installer, and will detect Capi and Tapi telephony devices connected to your PC.

The latter are analogue, and if you have a full-duplex voice modem, there’s a good chance you’ll be able to use it to work with an analogue phone line, without needing to do any configuration. Capi is a similar interface, used for ISDN connections.

In our test configuration, we plugged the system into two phone lines – a standard BT line via a voice modem, and piggybacking on our small-office phone system via ISDN. We also have an account with Voiptalk, which provides Sip telephony and supports IAX, the Asterisk protocol for linking between exchanges.

Before you install Asterisk, install the Cygwin environment on your PC. Install it into C:\cygwin, then download the Asterisk for Windows installer. Make sure you tell it to use the same directory.

You can start using it out of the box, as the default configuration will let you connect a Sip phone to extension 3000. Start the PBX Manager application, click the Admin menu and supply a blank password. Then you can alter details such as passwords or voicemail settings via a basic graphical interface.

Configuring Asterisk
Now let’s look at tailored configuration using the N95 as a single phone to work with mobile, landline and VoIP calls when we’re at home. Configuration is done via text files, which will be in the asterisk/etc folder beneath the location where you installed Cygwin. The most important is called extensio ns.conf, and it’s here that the ‘dialplan’ is laid out, specifying what happens when different devices send specific sequences of numbers to Asterisk.

It’s divided into ‘contexts’, so an internal phone, such as our N95, might appear by default in the ‘internal’ context, from where you might choose a particular prefix to select the landline, just as you would in an office. An incoming line may be in another context and direct calls to a particular extension. You can also arrange for calls to be transferred, or data passed to programs on the PC, but that’s beyond the scope of this article and you’ll find plenty of details in the PDF book mentioned earlier.

For our setup, there are some extra configuration files: iax.conf controls calls via Asterisk’s own protocol, routed via Voiptalk, so we can benefit from cheap international calls; sip.conf is where we define the details that allow our N95 to connect to the system; capi.conf is for the ISDN line; and tapi.conf is for the analogue voice modems.

Let’s start with a look at sip.conf. It’s pretty simple to define settings that match those in our N95 walkthrough:

[nigel]

type=friend

secret=LetMeIn

qualify=yes

nat=no

host=dynamic

canreinvite=no

context=internal

The ‘secret’ line is the password, and the username we need on the phone is in the square brackets. The context tells Asterisk which part of the dial plan in extensions.conf to use when this phone tries to dial. In our capi.conf file, we tell the system about our ISDN line and that it’s running in MSN mode, where we have several numbers available. In the tapi.conf file – which is what most users will be using – you can modify the settings from the default supplied with Asterisk for Windows and choose how many rings before Asterisk answers.

Reader Comments

Firmware upgraded but no 'Internet Tel'

I have a Vodaphone N95 (product code 0547869) and I have worked through the changes on p47 with NSS and done the upgrade so I now have version 12.0.013. However when I go to Tools there is still no 'Internet Tel' application. Has anyone else seen this?

Posted by Stuart, 09 Aug 2007

Try formatting

I've seen some mentions of this elsewhere on the web, since writing the article, and I think in some cases you'll find the missing app will appear if you do a format of the phone's memory. A hard format is done by holding down Answer (Green), * and 3 while powering up Back up the phone first, obviously.

Posted by Nigel Whitfield, 09 Aug 2007

US version of Nokia N95

Hi, Saw your article and would like to try it with a US version (unlocked) N95 . Do you know of if it will work for the US models?

Posted by Jeffrey, 15 Aug 2007

Just a quick question . . .

Hi, I too have a Vodafone N95 and I'm very angry at the companies stance on voip It clearly has nothing to do with 'call quality', and everything to do with the fact that they can't charge you a fortune for calls! Anyway, my question is.. if I work through the steps you've kindly offered and install Asterisk etc, how much will UK National calls cost to make? Sorry if this is a daft question, but I can't see it mentioned anywhere. Do I also have to sign up for a contract with a company like Truphone or Skype? Thanks very much indeed Dave H

Posted by Dave H, 14 Aug 2007

Paying for VoIP calls

In this article, we largely concentrated on using an N95 with Asterisk, so that you can integrate it into a home system, and so any UK calls will be routed according to your Asterisk setup - our example used the BT ISDN line, so calls would be charged accordingly. But there is a wide range of VoIP operators available in the UK, with varying prices. In the feature, we used VoIPTalk (www.voiptalk.org), since they allow us to link Asterisk to their service, and a few changes to the config file would route UK calls that way too. There are many other options - and if you simply want to use the N95 for VoIP calls, then remember that you don't need Asterisk at all; you simply enter the details of a VoIP provider into the phone, instead of the SIP settings for Asterisk. There are too many providers to mention here; a search on the net, or a look at the uk.telecom.voip group will turn up plenty, with a wide range of pricing options.

Posted by Nigel Whitfield, 14 Aug 2007

US versions

As far as I know, this should work for phones that have network specific firmware; the product code that we gave in the article is for generic European firmware; a web search for 'N95 product codes' will give you many alternatives, for different languages or regions. Note that the process we outline here is simply a way of getting the generic Nokia firmware with all the features, including VoIP; it won't do anything to unlock a phone so that you can use a SIM from another network.

Posted by Nigel Whitfield, 15 Aug 2007

Thank you

Nigel, Thank you very much for your reply, and for writing such a great article I've now managed to unlock the full potential of my N95, and remove the restrictions that Vodafone were so keen to put in place I don't know if I'm allowed to mention this here, but the Truphone set up seems superb . . . incredibly cheap calls to UK landlines or international numbers For me, your article has turned a very good phone into the best communication device I could ever hope for Once again, thanks!

Posted by Dave H, 16 Aug 2007

Cannot fing the extensions.conf file on the DVD

Great article thanks,but where is the extensions.conf file you refer to in the article. Clues please.

Posted by peter, 11 Sep 2007

   

Add your comment

All fields must be completed. Your email address will not be displayed or used to send marketing messages.

All messages will be checked by moderators before appearing on the site.

See our Privacy Policy for more information.

Related articles

Two tin cans phone illustration

Make phone calls over the internet

Your broadband internet connection could save you a lot of money on phone bills. We explain the difference between Skype and SIP and how each one works

xlite-softphone-4

Make free calls over the internet with the X-Lite softphone

This program can make both voice and video calls using a standard SIP account

Using Voice over IP to control your phones

Nigel Whitfield explores how you can use Voice over IP to take control of your home phones, without having to break the bank

Question & Answer

Q.Why are some of the keys on my keyboard doing strange...

> Read the answer

Q.Is my phone’s Bluetooth any use?

> Read the answer

Q.Can I switch boot drives so that I can work on older...

> Read the answer

Best deals on the web

img

Samsung RV520-A07

£359.98- Buy it now

img

Acer Aspire 5750G (LX.RXP02.019)

£399.99- Buy it now

img

Apple MacBook Pro (MD313B/A)

£904.37- Buy it now

Latest issue & subscription deals

Poll

Are you concerned about viruses that target mobile phones?

Jargon Buster

Computing terms explained in plain English

Virtual drive

A set of files seen by Windows as a separate hard disk.

Great shopping deals from Computeractive