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
| NEW Cisco SPA508G 8 Line Asterisk Trixbox Phone SPA504G $115.00 Click to Buy |
Linksys SPA942 IP Phone - Password Locked $35.00 Click to Buy |
SPA400 SIP based POTS Gateway with 4 FXO ports $103.51 Click to Buy |
Cisco Linksys SPA-942 SPA942 4 Line SIP Phone $70.00 Click to Buy |
Digium Astrisk AA50 VOIP Phone System. Model S808i $300.00 Click to Buy |
| Digium TE121 Single Span T1 Card $100.00 Click to Buy |
OpenVox FXS100 FXS Module for A400P/A800P/A1200P $49.50 Click to Buy |
Digium TE220 w/Echo Cancellation - 1TE220BF $1,295.00 Click to Buy |
Digium TDM2404EF (0 FXS/16 FXO) Card w/Echo Cancellatio $1,280.00 Click to Buy |
Authentic X100P SE FXO PCI for Digium Asterisk VoIP PBX $29.95 Click to Buy |
| Linksys SPA922 $26.00 Click to Buy |
Linksys SPA922 $26.00 Click to Buy |
Digium Asterisk Elastix Trixbox TDM400P +4 FXO FXS card $90.00 Click to Buy |
Digium Asterisk Elastix TDM410P is TDM400P Upgrade ver. $99.99 Click to Buy |