Skip to content

How To: Install Freeswitch Git Version on FreeBSD 8.1 Tutorial

by Jon on October 11th, 2010

Here is an easy to follow install guide for Freeswitch and FreeBSD, the one on the wiki is easy to follow but this is a little more step by step. There might be some issues with this since I is just a rough draft so let me know if you have any problems so I can correct it.

1. First thing to do is install FreeBSD, I am not going to go through the installation here but once you get to the point where you can login as root or su we can begin install freeswitch prerequisites. I like to use the ports collection to install applications on FreeBSD so be sure you install ports when in sysinstall otherwise this guide will not help you.

2. Now I have created a list of commands that need to be run below, just do them step by step and you will have a working freeswitch install.

cd /usr/ports/devel/gmake
make install clean
cd /usr/ports/devel/automake19
make install clean
cd /usr/ports/lang/gcc46
make install clean
cd /usr/ports/devel/git
make install clean
cd /usr/ports/devel/ncurses
make install clean
/usr/ports/graphics/tiff
make install clean
rehash
cd /usr/src
git clone git://git.freeswitch.org/freeswitch.git
cd freeswitch
./bootstrap.sh
./configure
gmake all
gmake all install
gmake install sounds-install
gmake install moh-install

3. Now that everything is installed it is possible to start freeswitch and test it out. Since we used the default prefix for the install all the freeswitch bin files are located in the following directory /usr/local/freeswitch/bin. The command to start freeswitch is below.

cd /usr/local/freeswitch/bin
./freeswitch

4. That will start freeswitch with the default config so you will be able to test it and configure it for your own system parameters. That is all you need to install the git version of freeswitch on FreeBSD 8.1 if you have any questions be sure to leave a comment or send me an email.

From → Linux, VOIP

2 Comments
  1. Miles Keaton permalink

    I’d like to hire you as a FreeSWITCH consultant to get a first-time installation going.

    I’ve already done the steps above (on my FreeBSD 8.1 dedicated server) – so it’s officially installed, but now could use an experienced hand to get it up and running with my softphone, and also get your advice on which provider to use.

    Please email me at mileskeaton@gmail.com. Thanks!

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS

%d bloggers like this: