Quick and Dirty Install

From FreeSWITCH Wiki

Jump to: navigation, search

Contents

Recommended Download

Warning

The FreeSWITCH team strongly recommends the use of the latest Git tree instead of this method. The svn repo is updated somewhat often, but it will tend to lag (about a day) behind git going forward.

 


  • Quick and Dirty getcha going for Linux

Find a box w/ Linux installed, preferably a clean install but use what you've got (you can even use an Asterisk box if you need to)

BTW, if you have Asterisk running be sure to stop it before you start FreeSWITCH.

Prerequisite Packages

  • Don't forget to add the prerequisites using your package manager. Most of these are were not installed on my base install of Linux.
    • subversion
    • autoconf
    • automake
    • libtool
    • gcc-c++
    • ncurses-devel
    • make
    • expat-devel
    • zlib
    • zlib-devel
  • Additional Packages
    • unixODBC-devel
    • openssl-devel
    • gnutls-devel
    • libogg-devel
    • libvorbis-devel
    • curl-devel


Open a terminal session and type this in, or copy and paste:

cd /usr/src ; wget http://www.freeswitch.org/eg/Makefile ; make
make all
cd freeswitch.trunk
make install
make cd-sounds-install
make cd-moh-install

Launch FreeSWITCH thusly:

/usr/local/freeswitch/bin/freeswitch

To test a SIP connection:
Point a SIP phone at your FreeSWITCH IP address with user "1000" and password "1234" and domain matching the IP of your system
Dial 9664 and cross your fingers (Should hear music)

Notes:

  • FreeSWITCH comes with extensions 1000-1019 pre-defined, all with password of 1234
    • Set up a second SIP phone, e.g. 1001, and see if 1000 can dial 1001 and vice versa
  • Extension 9664 is music on hold which is a good test to do
  • Extension 5000 is the sample IVR - give it a try!

Troubleshooting:

  • When testing locally, disable your firewall on your linux server to do the tests. Then once things are working, bring the firewall up and open only the specific ports needed.
  • For more information, including the ports which need to be configured, see the Firewall page.

Click here to return to the installation guide.

Personal tools
Community
Support FreeSWITCH