FreeSWITCH 1.2
上QQ阅读APP看书,第一时间看更新

Chapter 2. Building and Installation

FreeSWITCH is open source software. Basically, this means that anyone can obtain, read, compile, mangle, fix, or do anything that comes to mind, the raw source code of the application. Many users, especially beginners, will find that dealing with source code is somewhat a daunting task, but rest assured, we are doing our best to make this experience as painless as possible. In the future, we will be adding binary packages into various popular Linux distributions, but for the time being, we will explain how to manually obtain and install FreeSWITCH for Unix and Windows. (For the purpose of this chapter, the terms Unix-like and Linux/Unix refer not only to Unix and Linux, but also to FreeBSD and Mac OS X.) Try not to fret if it seems overwhelming. With a little patience and luck, the whole process will go smoothly. It's not entirely unlike a root canal. It's been said that many root canals are pulled off without a hitch and when they go wrong, they go horribly wrong; and that is where the horror stories, which we all hear, come from.

In this chapter, we will discuss how to download and install FreeSWITCH from the source code for Unix-like environments as well as for Windows. We will cover the necessary prerequisites for each operating system. Finally, we will explain how to launch FreeSWITCH and how to run it in the background.

In this chapter, we will cover the following topics:

  • Setting up the FreeSWITCH environment
  • Laying the ground work for our FreeSWITCH installation
  • Downloading and installing FreeSWITCH
  • Launching FreeSWITCH and running it in the background