Install stage:\n1. Download the Trixbox ISO. This will probably take ~1 hour.\n2. Create a new virtual machine in ESXi with the following options\n\t
  • Typical
  • \n\t
  • Linux other 32-bit
  • \n\t
  • 1024 for memory
  • \n\t
  • 10gb disk
  • \n3. Follow this blog to mount the ISO as a virtual Cd-rom. https://itsupportconsulting.com/blog/?p=366\n4. Power on the virtual machine\n\t
  • Push at the main screen
  • \n\t
  • I'm getting an error saying
  • \nThe Trixbox CD was not found in any of your CDROM drives. Please insert the Trixbox CD and press OK to retry.\n\t
  • I'm going to try re-uploading the ISO to my ESXi server.
  • \nThis did not work\n\t
  • Going to try and re-download the ISO then re-upload it to ESXi
  • \nWell 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.\n1. Ok the first step here I'm going to use vCenter converter to import this virtual appliance into my ESXi server.\n2. Converting is very simple once the program is installed click on the "Convert Machine" button which will bring up this window.\n1\n3. 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\n4. Once you click next it will ask you to supply your login to your ESXi server.\n5. The Next phase allows you to rename your VM to whatever you want and select your data store.\n6. The Next phase allows you to change your hardware settings for the virtual machine. I'm going to change two settings here:\nChange to a 10gb disk\n\t
  • Change the memory from 512 to 1024
  • \n7. 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.\nConfiguration phase:\n1. 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.\n2. 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.\n\t
  • vi /etc/sysconfig/network-scripts/ifcfg-eth0
  • \nDEVICE=eth0\nONBOOT=yes\nBOOTPROTO=none\nBROADCAST=192.168.2.255\nIPADDR=192.168.2.3\nNETMASK=255.255.255.0\nNETWORK=192.168.2.0\nnow press esc and :wq to save changes and quit\n\t
  • vi /etc/resolv.conf
  • \nnameserver 68.2.16.30\nnameserver 68.2.16.25\nnow press and :wq to save changes and quit\nThe Next phase I recommend is opening your Trixbox server from a web browser:\nhttp://192.168.2.5/maint\nClick 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:\nError: The xml response that was returned from the server is invalid. Received:\nalert\nTo fix it I was able to type the following from the command line:\nvi /etc/service.php\nFrom here find the section below and change\nmax_execution_time = 300\nmemory_limit = 256\nThis may not work for you but it did resolve my problem.\ncommands\nOnce you changed this type the following to restart the http daemon:\nservice httpd restart\nNow I am able to successfully open:\nhttp://192.168.2.5/maint/index.php?packages\nFrom 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.\nWhile trying to install a couple of the updates I'm receiving the following error:\nError: Missing Dependency: libtds.so.5 is needed by package asterisk\nTo fix it:\nyum install libtds.so.5\nOk 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.\nOpen internet browser to http:///admin\nFirst thing I'm going to do is edit the trunks\n480+NXXXXXX\n9|1480NXXXXXX\n9|1602NXXXXXX\n9|1623NXXXXXX\n602NXXXXXX\n480NXXXXXX\n623NXXXXXX\n1480NXXXXXX\n1602NXXXXXX\n1623NXXXXXX\n1NXXNXXXXXX\nNXXNXXXXXX\n01130.\n01131.\n01132.\n01133.\n01134.\n011351.\n011352.\n011354.\n011358.\n01139.\n01141.\n011423.\n01143.\n01144.\n01145.\n01146.\n01147.\n01149.\n01152.\n01.\nFor trunk name you can put whatever you want\nFor peer details I'm using the following:\nusername=<em>\n</em>\nuser=phone\ntype=peer\nsecret=<em>\n</em>\nnat=yes\ninsecure=very\nhost=sip.broadvoice.com\nfromuser=<em>\n</em>\nfromdomain=sip.broadvoice.com\ndtmfmode=inband\ndtmf=inband\ncontext=from-pstn\ncanreinvite=no\nauthname=<em>\n</em>\nFor user context I'm using the following sip.broadvoice.com\nFor user details I'm using:\nusername=<em>\n</em>\nuser=<em>\n</em>\ntype=user\nsecret=<em>\n</em>\nnat=never\ninsecure=very\nhost=sip.broadvoice.com\nfromdomain=sip.broadvoice.com\ndtmfmode=rfc2833\ndtmf=rfc2833\ncontext=from-pstn\nRegister string:\n<em>\n</em>@sip.broadvoice.com:<em>\n</em>:<em>\n</em>@sip.broadvoice.com/<em>\n</em>\nClick submit changes.