Setup a free VoIP solution using FreeSWITCH and X-Lite
FreeSWITCH is an alternative to the popular Asterisk VoIP solution. The advantage I see with FreeSWITCH is its ease of deployment on Windows, that is the only reason I decided to give it a quick whirl. I’ll go through the steps required to install FreeSWITCH and test it using the free X-Lite VoIP client from CounterPath. I tested with X-Lite version 4, which has just been released, but version 3 should also work.
Download the latest release of FreeSWITCH and install it. If you choose to install the sound files you’ll notice that the installer will download these files, this can take a significant amount of time. Since we are only doing a quick test, you can forego installing the sound files.
You can choose to run FreeSWITCH at the end of the install, do so. Otherwise, you can launch FreeSWITCH again from the Start menu. FreeSWITCH uses the Session Initiation Protocol or SIP to establish calls. It binds the SIP stack to the IP address of the default interface. You can use TCP View from the Sysinternals suite to check which IP address FreeSWITCH is bound to on Port 5060 (the default SIP port).
Once you know the IP address, you can configure X-Lite to use FreeSWITCH. Download and install X-Lite. Access the Account Settings page and set the following fields:
User ID: 1000
Domain: <IPv4 address>
Enter the above information and hit OK. If all is well X-Lite should connect with FreeSWITCH and show the presence status as Available.
FreeSWITCH has dialplans (extensions if you will) 1000-1019 configured for you by default. The default password is 1234, it can be changed by editing the file conf/vars.xml under the installation folder.
Now, you can call extension 9995 in X-Lite and speak into your microphone, your voice should be played back to you with a delay of 5 seconds. Enjoy your first VoIP conversation!