Building A Virtual Trixbox

From Asterisk Australia

Building A Virtual Trixbox
Jump to: navigation, search

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

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

Adtran TSU LT MTL ASTERISK DIGIUM TELEPHONE ASTERISKS PBX  FRESHIPING &
Adtran TSU LT MTL ASTERISK DIGIUM TELEPHONE ASTERISKS PBX FRESHIPING &
$18.00 Click to Buy

Sigtronics SPA-400 TSOed 4 Place Intercom
Sigtronics SPA-400 TSOed 4 Place Intercom
$71.00 Click to Buy

Digium TDM400P 4FXO Card
Digium TDM400P 4FXO Card
$69.50 Click to Buy

Linksys/Cisco SPA942-NA 2-4 line IP Telephones
Linksys/Cisco SPA942-NA 2-4 line IP Telephones
$75.00 Click to Buy

D110P for Digium Asterisk, Trixbox
D110P for Digium Asterisk, Trixbox
$39.00 Click to Buy

Digium TE122P  DIGIUM Asterisk Trixbox
Digium TE122P DIGIUM Asterisk Trixbox
$61.00 Click to Buy

Digium TE121B T1, E1, J1 w/Echo Cancellation PCI-E Asterisk Trixbox
Digium TE121B T1, E1, J1 w/Echo Cancellation PCI-E Asterisk Trixbox
$192.23 Click to Buy

Digium TDM402E - 2 FXO + Echo Cancellation
Digium TDM402E - 2 FXO + Echo Cancellation
$249.99 Click to Buy

SPA 942 Locked phone
SPA 942 Locked phone
$40.00 Click to Buy

Hayward H400FDN Pool Spa 400 K btu H400 Low NOx heater
Hayward H400FDN Pool Spa 400 K btu H400 Low NOx heater
$1,898.99 Click to Buy

Brand New Cisco SPA922 Single Line Corded Phone w/2port Ethernet Switch *NIB*
Brand New Cisco SPA922 Single Line Corded Phone w/2port Ethernet Switch *NIB*
$89.95 Click to Buy

Digium TCE400B PCI Express Transcoder Voice Compression Card
Digium TCE400B PCI Express Transcoder Voice Compression Card
$299.00 Click to Buy

LOT OF 10  **NEW** Linksys/Cisco SPA942-NA 2-4 line IP Telephones
LOT OF 10 **NEW** Linksys/Cisco SPA942-NA 2-4 line IP Telephones
$910.00 Click to Buy

Digium 1TE122PF Card
Digium 1TE122PF Card
$250.00 Click to Buy


Personal tools