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 | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Introduction
If you have not read the Mac OS X page please view it now.
Warnings About Upgraded Systems
Systems that were upgraded from older software may have 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 OS X?
Most upgraded OS X systems work depending on the level of the oldest original system. Systems upgraded from 10.7 or older may have problems due to old files left in various directories.
Upgraded Xcode?
Most upgraded Xcode systems will work depending on the level of the oldest original Xcode. Xcode upgraded from version 4 or earlier may have problems.
Prerequisites Previously Installed Differently?
If prerequisites were previously installed using different methods than described here, there may be problems.
Installation
Installation of FreeSWITCH™ on OS X can be performed using the AppleScript installer, or manually.--
AppleScript Installation
The OS X FreeSWITCH™ Installer simplifies installation of FreeSWITCH™ on OS X by automating all of the manual steps, except for prompting for an administrator password. It creates logs that are useful in case of problems. The installer can be downloaded at Installation on OS X using AppleScript.
Tip | ||
---|---|---|
| ||
Even if you use the OS X FreeSWITCH™ Installer it's a good idea to read the manual instructions so you know what the installer will add to the system.- |
Manual Installation
A manual installation involves downloading and installing the following groups of software:
- Apple Xcode that provides the tools needed to generate everything else
- Prerequisite packages that FreeSWITCH™ needs to function
- FreeSWITCH™ itself
Select OS X Release
...
|
Testing Status
Info | ||
---|---|---|
| ||
Weekly testing of the FreeSwitch Master Development version is suspended due to build errors since August 1 2021. macOS testing was performed only on Intel Macs, M1 Arm testing may begin if macOS building resumes. |
All macOS versions are installed into new volumes with the latest Apple Command Line Tools. Upgraded systems are never used.
Section | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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 Calls. Test as many functions as you can to experience the potential of FreeSWITCH™.
Shutdown FreeSWITCH™
Issue the following command in the FreeSWITCH™ Terminal window:
Code Block |
---|
shutdown |
What Next?
...
|
History for older releases is at the macOS Archive.
...
Installation Methods
Homebrew Installation
This is the easiest method to install FreeSWITCH™ and is a good way to get the feel of FreeSWITCH with the least time and effort. The disadvantages are that it can only install the current production version and is very limited because additional modules cannot be easily built if they are not part of the default set.
To perform a Homebrew installation use the macOS Homebrew Installation instructions.
Tip |
---|
Until further notice, this is the ONLY WAY to install FreeSWITCH on macOS. See Status above. |
macOS FreeSWITCH™ Installer (macFI)
The macOS FreeSWITCH™ Installer is the recommended method because it automates all of the manual steps, providing much simpler and faster installation. Other advantages include renaming existing FreeSWITCH™ directories before installation, and creating installation logs. The macFI information and download is located at macOS macFI Installation.
Tip |
---|
The macOS FreeSWITCH™ Installer performs identical functions as a manual installation with additions such as logging. |
Manual Installation
A manual installation requires use of the Terminal application to enter commands to setup directories, install prerequisites and FreeSWITCH™.
To perform a manual installation use the macOS Manual Installation instructions,
...