What is FreeSWITCH ?

FreeSWITCH is a free and open source application server for real-time communication, WebRTC, telecommunications, video and Voice over Internet Protocol (VoIP). Multiplatform, it runs on Linux, Windows, MacOS and FreeBSD. It is used to build PBX systems, IVR services, videoconferencing with chat and screen sharing, wholesale least cost routing, Session Border Controller (SBC) and embedded communication appliances. Has full support for encryption, ZRTP, DTLS, SIPS. Can act as a gateway between PSTN, SIP, WebRTC, and many other communication protocols. Its core library, libfreeswitch, can be embedded into other projects.

STEPS :

apt-get update
apt-get install openssh-server vim git autoconf libtool* zlib* libjpeg-dev sqlite3* libsqlite3-dev   libcurl4-openssl-dev libpcre3-dev  libspeexdsp-dev libldns-dev libedit-dev yasm nasm liblua5* libopus-dev libsndfile1-dev
cd /usr/local/src
git clone https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git
./bootstrap.sh
./configure
make
make all install cd-sounds-install cd-moh-install
/usr/local/freeswitch/bin/freeswitch -nc ( run FreeSWITCH in background )

To test call

Prepare 2 pc under same network.

Download and install X-lite on both PC

http://www.counterpath.com/x-lite/

By default, FreeSWITCH has 20 users (1000-1019)

Login X-lite with FreeSWITCH account on both pc. Im using user 1000 and 1001 at here.

Key in your FreeSWITCH server ip , mine was 192.168.0.216, default password for FreeSWTICH user is 1234

After login, we may call 9664 for a test, you may hear a music

Give a call to another user, example you using user 1000 then give a call to 1001

You may check here for other calling ID description.

Enjoy !

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *