Building A Virtual Trixbox
From Asterisk Australia
Contents |
Overview
Trixbox usually requires its own hardware, an old PC or Server that becomes your phone system. This PC then needs to be left on 24 hours a day to hum away quietly. Chances are you already have a serious server running your office, you have invested in redundant power supplies, huge disks and a processor that only uses 0.0001% serving your office files. Now you can allocate some of that premium hardware to supporting your Trixbox PBX. This guide covers Trixbox, if you have available hardware check Building a Business PBX
Problems
Running Trixbox in a virtual environment has typically not been recommended in the past, telephony uses complex timing and real-time compression that other services can interfere with. Virtual systems have improved and Asterisk has improved to the point where Trixbox is workable in a virtual environment. You cannot use any of the Digium cards or PCI cards for your PSTN lines, and will need a Cisco SPA400,Cisco SPA8800 or separate box.
What You Need
- Make sure your server has the capacity to handle the extra load.
- Typically 15Gb of Disk Space spare and 500 Mb of RAM.
Getting Started
- Download Trixbox
- Download Trixbox 2.8.0.1 Approx 600Mb
- Download Sun VirtualBox
- Click to Download Virtual Box Approx 68Mb
Installing Sun Virtual Box ScreenShots
- Run the Setup Wizard.
- Select Next, Accept the license agreement.
- Use the default settings, click next again
- Decide if you want shortcuts, Click Next
- Yes, to the network warning. The install is just going to drop the network for a moment.
- Click Install to start the installation.
- Wait while the setup completes. Click "Continue Anyway" on the unsigned driver popups.
- Select Start xVM after installation.
Bridge the network interfaces Screenshots
- We will need to bridge the network interface, this is done through the Operating System.
- Start -> Settings -> Control Panel -> Network Connections.
- You should see a new "VirtualBox Host-Only Network". This is the virtual box.
- Select the 2 network connections (Hold CTRL). Right click and select "Bridge Connections"
- You should now have a Network Bridge.
Create a new VirtualBox with Screenshots
- You may need to register if this is the first time you have run VirtualBox.
- Select New (top left) to create a new virtual box.
- Click Next
- Enter A Name: Trixbox
- Select Operating System : Linux
- Select Version : Linux 2.6
- Click Next
- Base Memory Size, Select 512Mb, if you are tight on memory 256Mb. If you can spare it 1Gb.
- Click Next.
- Select "Create New Hard Disk" and tick Boot Hard Disk (Default)
- Click Next, Virtual Hard Disk Wizard, Click Next Again.
- Select Fixed Sized Storage. 15Gb should be plenty, more if you have it.
- Click Finish and your Virtual Hard Disk will be created.
- Click Finished and you will return to the main screen.
Change the network settings
- Click the settings button, Select Network and change from NAT to Bridged.
- Screenshot
Installing Trixbox on the Virtual Machine with Screenshots
- Click the green start button, this will run the first time wizard.
- Click Next to choose installation media.
- Click "Image File" and browse.
- Click Add and select the trixbox image file.
- Click Select and Finish
- This is now like booting from the CD on your virtual machine.
- Press enter to begin the installation.
- This is now like any other Trixbox installation.
Standard Trixbox Installation
- Select Keyboard Type [Enter]
- Select Timezone [Enter]
- Enter Root Password [Enter]
- Wait for the install to complete.
Remove the ISO as a boot preference
- After you trixbox install, the server will reboot to the ISO.
- To stop this from happening :
- Select Devices, Unmount CD/DVD ROM.
- Select Machine, Reset, then O.K.
- Your virtual system will now reboot into the trixbox PBX and complete the install.
Summary
All Done!. Your trixbox system will behave just like any other. You should set a static IP address with system-config-network.
Building_a_Business_PBX#Log_in_and_Configure_Trixbox_Via_the_Web_Interface_Screenshots
For Sale at Ebay
| Digium SwitchVox AA355 with PRI Card, 50 Users Licensed $9,579.00 Click to Buy |
Digium AEX 10 AEX10 4 Port FXS/FXO Card with Echo Can $400.00 Click to Buy |
ATCOM VoIP ATA AG188N SIP IAX2 for Asterisk Trixbox $21.51 Click to Buy |
OpenVOX A400P with 1 FXO module $1.29 Click to Buy |
Digium 1TC400BLF Transcoder G.729a Asterisk NEW $895.00 Click to Buy |
| 3 LINKSYS IP PHONE SPA942 $41.00 Click to Buy |
Genuine Digium TDM400P compat/w Asterisk takes FXO&FXS $0.99 Click to Buy |
Digium TDM400P 4 x XFO VOIP Card $51.00 Click to Buy |
Voxzone X100P FXO PCI Card for Digium Asterisk PBX $19.95 Click to Buy |
Linksys IP Phone SPA942 $25.00 Click to Buy |
| Digium TDM40B with (4) FXS for Asterisk Open Source PBX $99.00 Click to Buy |
NIB Linksys Cisco SPA 942 SPA942 IP Phone Hosted PBX $80.00 Click to Buy |
NIB Linksys Cisco SPA 942 SPA942 IP Phone Hosted PBX $80.00 Click to Buy |
NIB Linksys Cisco SPA 942 SPA942 IP Phone Hosted PBX $80.00 Click to Buy |