To remove WCS from server, to reinstall completely or to move to another server for example, do the following:
1. Go to folder /usr/local/FlashphonerWebCallServer/bin
cd /usr/local/FlashphonerWebCallServer/bin
2. Stop WCS with command
sudo ./webcallserver stop
3. Check if any WCS process still running
ps aux | grep FlashphonerWebCallServer-
and stop them all if found
kill PID
Where PID is WCS process pid
4. Uninstall WCS with command
sudo ./uninstall.sh
5. Go to home folder
cd ~
6. Remove WCS folders if exist. Folders can be listed with command
ls /usr/local | grep FlashphonerWebCallServer-
Then WCS can be installed from scratch to the server again as described here.