Call Us Today! 877.742.2583




Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

About

This is the home page of the sections that describe installing and performing basic testing of FreeSWITCH™ and its prerequisites on OS X. page describes FreeSWITCH™ installation methods available for the macOS releases below. It is part of the FreeSWITCH™ macOS documentation.
 ---

Panel
bgColor#f8f8f8

To manually install FreeSWITCH™ on OS X, click a link below to view instructions. The pages link back here to continue.

50%

Section
Column
width8%

 

Column
width
Table of Contents
outlinetrue
stylenone

Introduction

If you have not read the Mac OS X page please view it now.

Warnings About Upgraded Systems

Upgraded OS X Systems

 

Warning
titleUpgraded OS X or Xcode ?

All testing for these instructions was performed on a clean/non-upgraded OS X and Xcode system, without issues. Most upgraded OS X or Xcode systems will work depending on the level of the oldest software. Some upgraded systems had problems due to old files left in different directories. 

If there are problems installing prerequisites check if the OS X release was upgraded, for instance from 10.7 or 10.8 to a newer system. The older the original system the more likely problems will occur.

Also check if Xcode was upgraded, for instance from Xcode 4 or 5 to a newer Xcode. The older the original Xcode the more likely problems will occur.

In some cases older upgraded systems had issues due to old parts of a prior OS X or Xcode still intact. In these cases a fresh OS X and Xcode install may required.

Upgraded Xcode

Warning
titlePrerequisites Previously Installed Differently?
If prerequisites were previously installed using different methods and there are problems, you should build OS X from scratch. In tests, using Homebrew or the script below worked every time on freshly installed OS X systems.

 

Installation

Tip
titleThe OS X FreeSWITCH™ Installer

If the OS X system is 10.9 or later, consider using the OS X FreeSWITCH™ Installer. It automates most of the steps in the release instructions below and saves a lot of time! Check it out at Installation on OS X using AppleScript.

Select OS X Release

excludeAbout
stylenone

Installation Methods

FreeSWITCH™ installation on macOS is performed using one of these methods:

  • Homebrew, the fastest method to get started. Apple Silicon version available.
  • The macFI installer utility, identical to manual but faster and with installation logs.
  • Manually, if you want to build from source and know every detail of the installation.

Build and Testing Status

This status does not apply to the Homebrew version. Testing is performed on Intel Macs with macOS and the latest Apple Command Line Tools installed into new volumes.

Section


Column
width2%



Code Block
shutdown
Column
width65%

                                      FreeSWITCH™ OS X Release               macOS FreeSWITCH™ Status

Release
macOSTested
Installation Wiki Page
  10.11.0 El Capitan  October 3, 2015  Installation on OS X 10.11 El Capitan
  10.10.5 Yosemite  October 3, 2015  

Installation on OS X 10.10 Yosemite 

  10.9.5 Mavericks  October 3, 2015  Installation on OS X 10.9 Mavericks
  Mac OS X Archive Mac OS X Archive 

xxx 

Installation is Complete

This section is used to allow the previous pages to return to this location. Do not remove this section.

 

Test FreeSWITCH™!

Startup From the Command Line

The time has come to start FreeSWITCH™ in a Terminal window:

Code Block
  cd /usr/local/freeswitch/bin
  ./freeswitch

There are many startup messages ending with some text boxes containing the names of the developers.

Test the FreeSWITCH™ Command Prompt

After all startup messages are displayed a command prompt appears, messages may continue as the prompt remains. Try a few FreeSWITCH™ commands:

Code Block
  version
  status
  sofia status

If the commands return responses FreeSWITCH™ is working and you can continue with the next step.

Test A Phone

Test using a physical SIP phone or soft phone such as Bria, or search the OS X App Store for "SIP" for a free download of Telephone. Setup the phone using the IP address of the Mac FreeSWITCH™ is running on. The port is 5060, user IDs 1000-1019 with a password of 1234 are pre-configured. Additional information is at Test CallsTest as many functions as you can to experience the potential of FreeSWITCH™.

Shutdown FreeSWITCH™

Issue the following command in the FreeSWITCH™ Terminal window:

FreeSWITCH™  V.R.M*Status

Monterey
12.4

October 25, 2021

June 29, 2022

1.10.7 Current Public Release

1.10.8 20220629 Development

Bad #1367#1474#1497

Good

Big Sur
11.6

November 25, 2021

June 18, 2022

1.10.7 Current Public Release

1.10.8 20220616 Development

Bad #1367#1474#1497

Good

* Version.Release.Maintenance-Level

History for older releases is at the macOS Archive.




...

Homebrew Installation

This is the easiest and fastest way to install FreeSWITCH on macOS. To perform a Homebrew installation use the macOS Homebrew Installation instructions.

Advantages

  • Easiest method to install FreeSWITCH™.
  • Apple Silicon and Intel versions available.
  • Support for the last three macOS versions.
  • Utilizes the least disk space.

Disadvantages

  • Is provided as a runtime only version, so building optional modules from source is difficult but not usually required.
  • Only provides the current production version.
  • Is maintained independently from this wiki with very limited information. The information on this wiki is from testing the Homebrew version.


macOS FreeSWITCH Installer (macFI)

Tip

The macOS FreeSWITCH™ Installer performs identical functions as a manual installation with additions such as logging.

The macOS FreeSWITCH™ Installer automates all of the manual steps, providing much simpler and faster installation. The macFI information and download is located at macOS macFI Installation.

Advantages

  • The same as manual installation below.
  • Much faster than manual installation performing identical steps.
  • Auto renaming existing FreeSWITCH™ directories before installation to preserve them.
  • Creation of logs for each installation step.

Disadvantages

  • The same as manual installation below.



Manual Installation

A manual installation requires use of macOS Terminal to enter commands, setup directories, install prerequisites and FreeSWITCH™. To perform a manual installation use the macOS Manual Installation instructions.

Advantages

  • Provides access to current release, master (next test version), and updated current FreeSWITCH versions.
  • Building from source provides adding optional modules easily.
  • Testing is performed for this wiki so information is extensive.

Disadvantages

  • Longest method to install FreeSWITCH™.
  • Utilizes more disk space than the Homebrew version.
  • No Apple Silicon testing for now.


...