Windows Install

Download and install mSysGit here Don’t download or install TortoiseGIT. I had a lot of issues with TortoiseGIT locking files thereby causing many errors and failures during the compilation process. Various methods on how to fix this issue did not work so I highly suggest you do not install it.

1. When installing GIT, use default settings except that you should select "Checkout as-is, commit as-is" during the install process as shown here

2. Right Click anywhere in Windows Explorer and select Git Bash and this window will appear enter the string "git clone -v git://git.freeswitch.org/freeswitch.git D:/FS_GIT/" as shown in the pic. Note that I downloaded the files to my D drive, if you do not have a D drive, then change this to C. Once you press Enter, the FreeSWITCH files should begin downloading to your computer. When the download is finished, continue to the next step.

Download and install Visual C++ 2010 Express here If you have a different copy of Visual Studio such as Visual Studio 2008 or 2010 then you can use that. You will need to install Visual Studio even if you have a pre-compiled copy of FressSWITCH as Visual Studio installs necessary dll files in your system necessary for running FreeSWITCH saving you time spent hunting these files down on the Internet and placing them in their proper locations.

1. Goto the FS_GIT directory you just created and open the file freeswitch.2010.express (if you installed a different version of Visual Studio, then open the respective file). You will get this error but you can just ignore that.

2. Wait till VS finishes parsing files and shows "Ready" on the bottom left corner of the window as shown here

3. Scroll to bottom of Solution Explorer window on the left hand side, right click on the last project “Setup (unavailable) and remove it as shown here

4. Scroll back to top of Solution Explorer window on the left hand side, right click on the top most entry (name will vary depending on which solution you are building Freeswitch.2008, Freeswitch.2008.express, Freeswitch.2010 or Freeswitch.2010.express which depends on which version on Visual Studio you actually installed). In my example, I had used Freeswitch.2010 so the name of the build is Solution 'Freeswitch.2010'

5. After successful build, as shown here ignore warnings and skipped projects, but not errors; click on Debug located in the top area of the window as shown here  and select Release. Again after Visula Studio finishes parsing the files, scroll to top of Solution Explorer on the left hand side, right click on top most entry and select Build Solution (same as in step 4).


 * If you get errors during the build either in Debug mode or Release mode, try to run the build again by repeating step 4

FS_GIT

1. Go to FS_GIT\Win32 folder and copy the Release folder to the root of your C drive and rename the Folder to FreeSWITCH

Download and install WampServer here to C:\FreeSWITCH\wamp

1. Start Wampserver then left click on its system tray icon and go to Apache, Apache Modules and enable rewrite_module as shown here

2. If the wampserver system tray icon is red or orange then left click on its system tray icon and go to Apache, Service and select Install Service as shown here and hit Enter at this prompt shown here. Then left click on Wampserver's system tray icon again and go to MySQL, Service and select Install Service. Then left click on Wampserver's system tray icon again and go to Apache, Service and select Start/Resume Service. Then left click on Wampserver's system tray icon again and go to MySQL, Service and select Start/Resume Service and it should turn Green.

Download and install TortoiseSVN here using default settings.

1. After install, it will then ask you to reboot, do so.

2. After reboot, go to C:\FreeSWITCH\wamp\www then right click and select SVN Checkout and enter "http://fusionpbx.googlecode.com/svn/trunk/fusionpbx" in the URL of repository box and "C:\FreeSWITCH\wamp\www\fusionpbx" in the Checkout directory box as shown here and select OK

3. When finished, it should look like as shown here Click OK, make sure Wampserver is running then access fusionpbx from your favorite browser using 127.0.0.1/fusionpbx and go through the initial setup process (maintaining default values highly recommended) as shown here