In this guide, I’m assuming the user is using CentOS linux. If you aren’t, I can’t offer any guaruntees if this guide will work, however the gist of it will be mostly the same. I have made all commands in this guide in bold to try and make it a bit easier to read.
PS: Sorry if it’s hard to understand – i copied and pasted most of this from an email i’d sent earlier today. If you have any comments or suggestions, please sent them to email@example.com
OK, first things first – you will need:
– either an SSH client, such as Putty, or a monitor and screen attatched to your asterisk server.
– a web browser on your asterisk server. If (like me) you simply installed the Trixbox package (which included the centOS linux distribution, you can install a command line browser by typing: yum install lynx .
– an internet connection to your asterisk server
OK, here we go:
1: log onto your asterisk server as root. Whether you do this from the server itself using a screen and keyboard, or remotely by using putty doesn’t matter.
2: enter the command: lynx http://homepages.ihug.co.nz/~mrsymor/nzvoice/
3: scroll down until you see a file called nzvoice-2.0-GSM.tar.gz
4: move the ‘cursor’ over this so it’s highlighted, and press enter. you will then be asked what you want to do; press D on the keyboard and it will download.
5: once it has downloaded, you will then be asked what you want to do with it. move the ‘cursor’ over to the ‘save to disk option’ and press enter. it will then ask you for the filename, just leave it as it is ( nzvoice-2.0-GSM.tar.gz) and press enter.
6: press ‘q’ to exit lynx, and type the command: ls . if all went well, you should see nzvoice-2.0-GSM.tar.gz sitting in your current directory.
7: enter the command: mkdir /var/lib/asterisk/sounds/kiwi; mv nzvoice-2.0-GSM.tar.gz /var/lib/asterisk/sounds/kiwi; cd /var/lib/asterisk/sounds/kiwi
8: you should now be able to enter the command: ls and see the nzvoice-2.0-GSM.tar.gz file sitting in your new kiwi sounds directory.
9: enter the command: tar zxvf nzvoice* (this will spew out a fair bit of stuff onto the screen.)
10: enter the command: echo “language = kiwi” >> /etc/asterisk/sip.conf; echo “language = kiwi” >> /etc/iax.conf
Now that this is all done, you can restart asterisk. My preferred method is by logging into the asterisk command line (by entering the commandasterisk -r, and then issuing the command restart now.) And that’s all there is to it! You should now be able to dial * 6 2 from an extension, and set a wake-up call. However this time you’ll hear a familiar kiwi accent.