Installation archives of WCS are available for download at this link.
You can download the installation archive directly to the server using wget, for example
To install WCS you need to unpack the archive and execute the installation script install.sh:
tar -xvzf FlashphonerWebCallServer-5.2.XXXX.tar.gz cd FlashphonerWebCallServer-5.2.XXXX sudo ./install.sh
The installer will perform necessary checks and installs WCS to the following directory /usr/local/FlashphonerWebCallServer
Installation includes the following steps:
As a result, a successful installation message will be shown. The following folders will be created in the /usr/local/FlashphonerWebCallServer directory:
Sometimes, WCS can be installed in silent mode if automatic deployment system like Ansible is used to deploy a number of typical instances
In this case:
The following settings should be removed from wcs-core.properties file
-XX:+UseConcMarkSweepGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails
The following setting
should be replaced by
In addition to setting changes made for JDK 12 or 14, the following settings should be removed from wcs-core.properties file
In addition to setting changes made for JDK 12, 14, 15, the following settings should be added to wcs-core.properties file
You can purchase a commercial license online here: http://flashphoner.com/prices. Also, a free 30-days trial version is available at this page: http://flashphoner.com/get_trial/?product=wcs5
On first logon to WCS web interface by address https://yourserver:8444/admin/with by default user admin (password admin), the request for license number is displayed:where yourserver is your server hostname
Enter your license number and press Next
If activation was successfull, log in page will be displayed.
Use this script to activate the license:
cd /usr/local/FlashphonerWebCallServer/bin sudo ./activation.sh
The script asks you to enter the license number:
Enter the license number to finish the activation.
To activate the same license on another server, for example, if you transfer WCS to another server, deactivate the license on the old server and activate it again on the new server.
Log in to WCS web interface by addresswhere yourserver is your server hostname. Press "License" button. The license key page will be displayed:
Click to Deactivate link. The license will be deactivated, and license key request page will be displayed:
Use this script for deactivation:
Check your firewall and make sure the WCS-сервер is able to establish an HTTPS / TCP connection to the activation server my.flashphoner.com:443
If the activation server is unavailable, configure HTTP proxy as described below.
Flashphoner license servers are behind AWS ELB (Elastic Load Balancer) at my.flashphoner.com. In case the ELB (and, correspondingly, the license servers) become unavailable for some reason, you will need to configure HTTP Proxy to make subscriptions work and to activate licenses.
Proxy settings can be found in the configuration file named /usr/local/FlashphonerWebCallServer/conf/wcs-core.properties:
# Proxy configuration -Dhttp.proxyHost=proxy1.flashphoner.com -Dhttp.proxyPort=3128 -Dhttps.proxyHost=proxy1.flashphoner.com -Dhttps.proxyPort=3128 -Dhttp.nonProxyHosts=localhost|127.0.0.1|10.*|169.254.169.254
You can specify the address of your proxy server or the address of one of two Flashphoner proxy servers:
Important! Proxy settings do not allow quote symbols! The following example will NOT work:
-Dhttp.proxyHost="proxy2.flashphoner.com" -Dhttp.proxyPort="3128" -Dhttps.proxyHost="proxy2.flashphoner.com" -Dhttps.proxyPort="3128" -Dhttp.nonProxyHosts="localhost|127.0.0.1|10.*|169.254.169.254"
For correct operation of the server, all ports listed in the table in the Server core section must be open for incoming traffic (UDP) or for establishing connection (TCP).
The table below lists example NAT rules for routing of incoming traffic in case the traffic comes to the external IP address and has to be routed to the server where WCS is installed. The table shows the minimum required number of ports necessary for operation of the server. Depending on the specific functions and modules (see the Architecture section), the set of rules may be extended in accordance with the table in the Server core section. The same ports must be opened in the firewall of the Linux server.
The table lists default ports. You can configure the WCS server to other other ports (see the Settings section).
Custom UDP Rule
|Custom TCP rule||TCP||8081||0.0.0.0/0|
Custom TCP Rule
Custom TCP Rule
Custom TCP Rule
Custom TCP Rule
SSH access via the standard port 22 is specified here only to administer the Linux server itself. Hence, the minimum required set of ports is:
Description of SSL certificate configuration for Secure Websockets and HTTPS can be found in this section: SSL-certificates management.
Proper installation requires discovering of the external IP address of your server and the address of the network interface. The installation script attempts to detect the address automatically, and if this has failed for some reasons, the script asks you to enter addresses manually.
If you followed recommendation of the 'Requirements and preparations for installing' section and began with a server with a static and public IP address that matches the one of the network interface, the IP address of your server can be discovered with a simple command
In this example, the IP address of the server is 22.214.171.124. Write the address down or copy it. You will need it later on installing.
Often the WCS5 server has to be placed behind a corporate NAT or on the rented server in a data center that does not provide dedicated static IP addresses. A good example of this case is Amazon EC2, where servers are behind NAT.
When the WCS server is to deployed behind NAT, you need to discover two IP addresses.
For example, a test server on Amazon EC2 has the external IP address of: 126.96.36.199, and the network interface address is: 172.30.21.25. If your server is behind NAT in regard to browser clients, write down or copy these IP addresses. You will need them later, when you will configure the server.
Since build 5.2.921, WCS tries to automatically detect server IP addressess on startup if they are not set, or server is starting in cloud environment supporting AWS API or Google Cloud API endpoints. If IP addresses cannot be detected on startup, it may be done manually using the following command
cd /usr/local/FlashphonerWebCallServer/bin sudo ./webcallserver set-ip
It is recommended to use this command if there are some problems with IP addresses detection behind NAT.