Installing FreeSWITCH and FusionPBX on WHS V1

The following are the steps used to install the above two packages on WHS V1. The goal is to provide VoIP phone service for a home or small office from a server that is likely to be up 7/24.

The initial steps are done via Remote Desktop

 

  1. Install FreeSWITCH
    1. open a cmd window and cd to Program Files\freeswitch. Type ‘freeswitchconsole –install’ to setup as a Service.
    2. Don’t start the service just yet though.
  2. Download and install FastCGI from iis.net, get the manual install X86 version (don’
  3. Install and configure PHP5.3 using these instructions, use the Non-Thread safe VC9 .msi fileTest PHP to ensure it is working (create a test page)
  4. Configure FastCGI to work with PHP, use either the script or manual method of configuration
  5. Install Tortoise SVN
  6. Create a FusionPBX directory under c:\inetpub
  7. Download the current version of FusionPBX using SVN (right click on directory then SVN Checkout)
  8. Right click on c:\inetpub\FusionPBX, For Users in Security/Add/Advanced, set Full Control and Apply
  9. Add a web site link for FusionPBX to Remote login page
    1. Edit c:\inetpub\Remote\WebSite.xml, create an Internal Web Site entry, URI is /fusionpbx (make very certain that ‘fusionpbx’ is lower case here!!!!)
  10. The rest of the steps can be done from outside of Remote Desktop
  11. Browse to https://<your WHS server>/remote, log in and click on FusionPBX. If FPBX says that the directory is not writeable, figure out what step above that you missed/messed up
  12. Configure FusionPBX, happy phone calls
  13. Back in Remote Desktop: Right click on c:\inetpub\FusionPBX, For User in Security/Add/Advanced, clear Full Control (leave all the others set) and Apply

That’s it, you are done except for the details:

  1. Disable direct access to FusionPBX via web! (How did they do this with Intranet site?
  2. Manage FS log files

Installing FS on Win 7 x86

Rather than spending my time installing a new Debian dev system, then building OpenWRT etc, I will see how FS and FusionPBX operate on Windows. I am not the first so it is only a matter of working through the details. End goal might be to run this combo on my Windows Home Server, it is up 7/24 anyway.

So:

  1. download FreeSWITCH-x86 from the weekly build
  2. Install using the .msi file, I chose Complete
  3. Open a CMD window, run as administrator
  4. C:\Program Files\FreeSWITCH\FreeSwitchConsole.exe to start up FS. Leave this CMD window open, closing it exits FS. Later on you can enable FS as a Service
  5. Allow Firewall access, there will be a pop up from Windows Firewall (or whatever else you have chosen to use for a firewall)
  6. Ensure that your router forwards Port 5080 to your machine
  7. If you are running on a Windows Server or using Windows 7 Prof/Ultimate, install IIS and related tools using Control Panel/Programs and Features. On the left is a link to Enable/Disable Windows Features.
    1. Enable CGI under Application Dev Features of IIS Services
  8. Install  PHP53 and PHP Manager for IIS on your machine using http://www.microsoft.com/web/downloads/platform.aspx
  9. If you are running FusionPBX on a port other than 80, configure the firewall appropriately
  10. Browse to localhost:< port > and install FusionPBX as per usual instructions.
  11. Enjoy!

Installing FusionPBX on OpenWRT

This posting details how to install FusionPBX on an OpenWRT system. In particular it is a Seagate Dockstar but there is nothing needed that is specific to the device. The goal is to implement a full function Home PBX with a minimal footprint on your OpenWRT device.

We assume that you have set up your OpenWRT system with a USB drive of some sort, else you likely will not have space for all the files that we need to install. See my previous post on that topic.

Continue reading

Starting over: OpenWRT on Dockstar

zv7qrnb

Ok, its been a while since working on this topic. I did play with debian on the Dockstar for a few weeks but in the end the convenience of OpenWRT won me over. It has just enough and is easy enough to add new packages to.

A lot of improvements have happened to OpenWRT in the past 7 months. Two major ones are a much simplified Boot from USB (aka bootext) and the upgrade of FreeSwitch to 1.0.7.

Continue reading

FreeSWITCH and the Seagate Dockstar

For the past 3 years we have been using PBX In A Flash on an Atom-based PC. This resulted in massive savings, the typical monthly phone bill is < $10. Calls to Europe are less than $0.018/min.

But Asterisk has a few issues and I am generally afraid to upgrade beyond 1.4. So, I went looking for an alternative. The chosen one is FreeSWITCH. Even better, it will run on a Seagate Dockstar, which has no moving parts. (The CPU fan on our PBX likes to seize up once in a while, not nice to cook your cpu that way).

I purchased a Dockstar on eBay and am now about to place OpenWRT on it.

Some useful links:

Making a serial cable, just in case
Installing OpenWRT without opening device
Another method of installing Linux
Using JTag in case the device turns into a brick

More to come as I move forward.

FreeSWITCH now has a book describing its configuration and customization. Well worth the price.

Useful links:

U-boot details