This page describes automated installation using the macOS FreeSWITCH™ Installer (macFI). It is part of the FreeSWITCH™ macOS documentation.
There are lot's of advantages to using the macFI as seen below. The primary ones are:
The installer performs identical steps as described in Manual Installation. You can review the manual instructions before using the macFI to view most of the commands the macFI will execute.
Here is the sequence of functions performed:
Still not convinced to use the macFI? Here is a bonus: Output from most terminal commands are separated and placed into a folder created on the desktop using a date and time stamp. Each of the following commands are logged:
All of the software this procedure installs can be removed easily. However, to restore to a point where nothing was changed a backup is required.
macFI uses the macOS Terminal application extensively during installation. The default screen size is very small so it's recommended to increase it for readability by:
If you plan to start FreeSWITCH™ from the Terminal command line often then you should place the Terminal application into the Dock for quick access.
It's incredibly easy to install, just follow this single step:
The first time macFI is launched, macOS security settings must be added. After the first attempt to run, go to System Preferences Security and General settings, click allow macFI to run. Restart macFI, additional System Preferences Security and Privacy settings are required as follows:
On macOS 10.14 Mojave and later: Under "Privacy" click Accessibility and set the MacFI on. Additional one-time authorization prompts are required.
Prior to Mohave: Open System Preferences –> Security & Privacy and under General set to allow macFI to run after the first time it's launched.
You should not perform other functions while the installer is running, although the macFI will run correctly, the Terminal window may not display as intended.
Double-click the installer to start it. Just follow the prompts and answer a few questions!
Instructions for starting and stopping FreeSWITCH™ are at macOS Testing and Diagnostics.
June 20, 2020 Homebrew install command changed. Replaced ruby install homebrew with bash install.
March 20, 2020 Add CFLAGS="-Wno-unused-function" temporarily. See Issue #176 and #518.
October 5, 2019 Change master and branch download location from freeswitch.org to GitHub.
August 20, 2019 Change "stable" and transcoding messages, remove -s from curl file download.
August 6, 2019 Replace download sed command with grep, handle file name change for FS 1.10.
July 27, 2019 Add ffmpeg and yasm prerequisite for video. Add option to exclude video transcoding and recording.
July 22, 2019 Add libpq prerequisite.
February 26, 2019 Add installation timers. Change download from .gz to .bz2. Minor message changes.
December 27, 2018 Add new libks and signalwire-c prerequisites. Change flite formula name.
September 30, 2018 Replace Terminal clear screen logic due to Mohave security. Update minimum macOS release support.
December 10, 2017 Remove Xcode, homebrew now installs Command Line Tools. Change remove Xcode option to remove CLT
July 13, 2017 Major update: Updates not required for FS release changes, auto find latest public release,
place VRM in messages, add stable branch download, add unsupported message.
June 24, 2017 Change /usr/local logic for 10.13 and compatibility, add show/hide invisible files, redo intro dialogs and wiki options,
add update function
March 24, 2017 Added libtiff prerequisite for spandsp.
January 4, 2017 Added speexdsp prerequisite.
September 17, 2016 Update Xcode URLs
September 15, 2016 Renamed, change path for new Homebrew, use active Xcode version, 10.11 get Xcode 7 from dev site.
July 17, 2016 Add testing only option, 10.10 get Xcode 7 from dev site, use Xcode beta if found,
allow bypass of open test calls wiki. Minor fixes.
February 26, 2016 Remove libvpx libyuv, replace nasm with yasm, change remove brew cache command.
November 26, 2015 Replace non-homebrew packages with homebrew since they are now available.
October 22, 2015 List names of prereqs. Other minor fixes.
October 16, 2015 Add FreeSWITCH™1.6, remove 1.4, update prerequisites add installation of non-homebrew packages.
October 3, 2015 Add change ownership logic for /usr/local, change 10.9 Xcode 6 download, remove 10.8 and Xcode 5 support.
November 5, 2014 Add Xcode 6.1 and Yosemite support. November 22, 2014 change URLs.
April 5, 2014 First released to the Wiki