Free NZ National Calling in Asterisk / Trixbox - A Step by Step Tutorial

By tonyhughes Hughes, in , posted: 29-Jan-2007 19:31

Got Asterisk / Trixbox? Want free calling to NZ landlines, plus these international destinations? Argentina, Australia, Austria, Belgium, Canada, Czech Republic, Denmark, France, Germany, Hong Kong (+mobile), Hungary, Ireland, Italy, Luxembourg, Malaysia, Monaco, Netherlands, New Zealand, Norway, Panama, Poland, Portugal, Puerto Rico (+mobile), Russian Federation, Singapore, Slovenia, South Korea, Spain, Sweden, Switzerland, Taiwan, United Kingdom, United States (+mobile).

Here's how. Do this step by step...

Today (in the last 5 minutes actually) I have done the following:

  • Go to
  • Download their free software (only to gain an account)
  • Install, sign up, uninstall
  • Create a new trunk in Asterisk called
  • In PEER DETAILS enter:

More information

Other related posts:
Maori Language Predictive Text Implementation on (some) XT Network Handsets
Ubuntu 9.04 Synaptic Package Manager with ISA proxy
Vodafone successfully delays launch of Telecoms XT Network until interference resolved

Comment by adamj, on 29-Jan-2007 20:19

Hmmm, will try this later in the week

Comment by sbiddle, on 30-Jan-2007 07:49

THanks ony - I tried this last year and found it pretty average but set it up again last night and the quality seems a lot better.

One other thing you might want to do is also specify a codec  depending on your bandwidth and call quality you want.

If you have a good connection then ulaw works great, they also support gsm if you've got a slower connection.

in your peer section add

allow=ulaw   or

Comment by adamj, on 30-Jan-2007 11:04

Tony, can you post instructions so that I can dial numbers as follows:

If I dial 0X XXX XXXX add 00 64 and take off my leading 0
If I dial  XXX XXX add 00 64 4
otherwise dial as entered

Comment by ben, on 24-Feb-2007 19:59

Where's my credit for the info huh? lol This might be a limited time thing, I config'd it a few days before Tony wrote this and now it's ceased to work...

Comment by Ben, on 24-Feb-2007 20:28

adamj - if you're still wondering what you asked... Put: 00646+Z. 0064+0|Z. in your trunk And: 0ZX. ZXX. in your outbound route (if you have multiple set up) Of course you'd replace the '6' before the + in the first line of the trunk with your local area code... It's 00646 because I'm in Hawkes Bay. Cheers, Ben.

Comment by Ant, on 14-Apr-2007 22:38

Umm, minor issue with this, you need credit with them to make calls of more than a few minutes duration (reports on the web suggest 5 - 6mins). From their FAQ: ----------- Why is my connection constantly broken after a few minutes? If you want to enjoy FREE and UNLIMITED calls to our free destinations, please upgrade your account by buying credit. Your credit will remain untouched as long as you call our free destinations. Credit in your account remains active for 90 days after your last purchase (unless stated otherwise). ----------- Incidentally this works with the WM5 version of SJPhone - just tested it. Pretty horrible latency... Requires some monkeying around to get it configured though!

Comment by Andre, on 16-Sep-2010 14:17

Hi, The link ( seems to be broken. Do you have an updated link?

Subscribe To My RSS Feed