This tutorial by user shows us how to get FreeSWITCH set up on FreeBSD 10.1. FreeSWITCH is an open source voice over IP protocol. FusionPBX acts as an voice application server. See the link below for full instructions.
FreeSWITCH – open source VoIP program. Have any features which must be on VoIP PBX. Have API which works with events. More details you can read from https://en.wikipedia.org/wiki/FreeSWITCH link.
Our purpose of install FreeSWITCH to FreeBSD 10.1 x64 server and configure with WEB server. For that firstly we must install and configure FAMP (FreeBSD Apache MySQL PHP) to our server. But in php5-extensions you must choose modules as below: