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.
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
git clone https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git
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
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.