Installing wordpressFebruary 24, 2009
Configure an IAX device with AsteriskFebruary 25, 2009
1. Download the Trixbox ISO. This will probably take ~1 hour.
2. Create a new virtual machine in ESXi with the following options
3. Follow this blog to mount the ISO as a virtual Cd-rom. https://itsupportconsulting.com/blog/?p=366
4. Power on the virtual machine
The Trixbox CD was not found in any of your CDROM drives. Please insert the Trixbox CD and press OK to retry.
This did not work
Well I could not get this problem resolved so I’m just going to download the Trixbox Vmware appliance. It is 2.6.1 as opposed to 2.6.2 but you can always upgrade after the install. Here is the link.
1. Ok the first step here I’m going to use vCenter converter to import this virtual appliance into my ESXi server.
2. Converting is very simple once the program is installed click on the “Convert Machine” button which will bring up this window.
3. What you want to do is browse to the file we downloaded in the previous step after it is unzipped. trixbox 2.6.1-vmware.vmx
4. Once you click next it will ask you to supply your login to your ESXi server.
5. The next step allows you to rename your VM to whatever you want and select your data store.
6. The next step allows you to change your hardware settings for the virtual machine. I’m going to change two settings here:
Change to a 10gb disk
7. Once you click next you are ready to start your conversion. Now keep one thing in mind. This converter has to upload the large file we downloaded to the server. So if you are on a time crunch and are on wireless make sure you hardwire and disable your wireless. This will ensure you save the most time.
1. Ok now that we have the virtual machine install make sure it is powered on. It uses DHCP so you need to figure out what IP address it got. This can be accomplished by logging in to the Trixbox console with username root and password trixbox. Once you get the # type in ifconfig. This will display the IP.
2. This is going to be a server so we will want to configure a static IP or else it will be getting using DHCP which could cause all types of problems down the road.
now press esc and :wq to save changes and quit
now press and :wq to save changes and quit
The next step I recommend is opening your Trixbox server from a web browser:
Click on the packages link at the top so we can update our software to the latest version. When I clicked on mine i received the following error:
Error: The xml response that was returned from the server is invalid. Received:
To fix it I was able to type the following from the command line:
From here find the section below and change
max_execution_time = 300
memory_limit = 256
This may not work for you but it did resolve my problem.
Once you changed this type the following to restart the http daemon:
service httpd restart
Now I am able to successfully open:
From here I’m going to go down and check every box in the “upgrade” column this way all of my software installed on the server is up to date.
While trying to install a couple of the updates I’m receiving the following error:
Error: Missing Dependency: libtds.so.5 is needed by package asterisk
To fix it:
yum install libtds.so.5
Ok now that everything is downloaded and installed I’m going to configure some SIP trunks. I personally use Broadvoice for terminating my voice lines. However, there are tons of service providers out there. Here are my steps.
Open internet browser to http:///admin
First thing I’m going to do is edit the trunks
For trunk name you can put whatever you want
For peer details I’m using the following:
For user context I’m using the following sip.broadvoice.com
For user details I’m using:
Click submit changes.