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
- Install FreeSWITCH
- open a cmd window and cd to Program Files\freeswitch. Type ‘freeswitchconsole –install’ to setup as a Service.
- Don’t start the service just yet though.
- Download and install FastCGI from iis.net, get the manual install X86 version (don’
- 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)
- Configure FastCGI to work with PHP, use either the script or manual method of configuration
- Install Tortoise SVN
- Create a FusionPBX directory under c:\inetpub
- Download the current version of FusionPBX using SVN (right click on directory then SVN Checkout)
- Right click on c:\inetpub\FusionPBX, For Users in Security/Add/Advanced, set Full Control and Apply
- Add a web site link for FusionPBX to Remote login page
- Edit c:\inetpub\Remote\WebSite.xml, create an Internal Web Site entry, URI is /fusionpbx (make very certain that ‘fusionpbx’ is lower case here!!!!)
- The rest of the steps can be done from outside of Remote Desktop
- 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
- Configure FusionPBX, happy phone calls
- 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:
- Disable direct access to FusionPBX via web! (How did they do this with Intranet site?
- Manage FS log files
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.
- download FreeSWITCH-x86 from the weekly build
- Install using the .msi file, I chose Complete
- Open a CMD window, run as administrator
- 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
- Allow Firewall access, there will be a pop up from Windows Firewall (or whatever else you have chosen to use for a firewall)
- Ensure that your router forwards Port 5080 to your machine
- 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.
- Enable CGI under Application Dev Features of IIS Services
- Install PHP53 and PHP Manager for IIS on your machine using http://www.microsoft.com/web/downloads/platform.aspx
- If you are running FusionPBX on a port other than 80, configure the firewall appropriately
- Browse to localhost:< port > and install FusionPBX as per usual instructions.
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.
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.
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.