This manual consist information about Flashphoner installation procedure
Server may not start properly due the hostname issue.
For example your hostname is:
In such case you have to add the hostname to /etc/hosts
127.0.0.1 localhost myhost-test.com
To install Flashphoner you need root access to your server by SSH connection and software for work through this protocol (, for instance).
After connecting to the server, follow this steps from the command line (shell).
Typical Flashphoner installation has two phase: preparing environment and Flashphoner installation
- Download and install latest JDK
- Create symlink using ln command:
$ ln -sf /usr/java/default/bin/java /usr/bin
- Download Flashphoner Web Call Server installer (see actual download link here):
$ wget http://flashphoner.com/.../.../FlashphonerWebCallServer....tar.gz
- Unpack archive
$ tar -xvzf WebCallServer-....tar.gz
- Give to script permission to run:
$ chmod +x install.sh
- Run installer and provide needed information
- Start installation process
- After installation complete run activation script and enter your license key. You can get Free license key here
- After activation complete you will need to get Flashphoner-WCS-client (see below)
Make sure you have specified correct ip and ip_local properties during installation process. Check flashphoner.properties file before starting Flashphoner Web Call Server.
See Configuring section for more details.
- Make sure, you have installed Flashphoner Web Call Server
- Download Flashphoner-WCS-client-3.x.y.tar.gz
$ wget http://flashphoner.com/.../.../Flashphoner-WCS-client....tar.gz
- Unpack it
$tar -xvzf Flashphoner-WCS-client-...tar.gz
- Just copy content to web directory and customize WCS server IP in flashphoner.xml file.
Flashphoner will remove all libs and configs during uninstall process.
You can backup current settings using such commands:
$tar -cvzf backup.tar.gz lib conf bin
You can uninstall Flashphoner using such commands:
If your system architect is x86_64, you should use JVM 64-bit
How to check this:
2.6.18-164.el5xen #1 SMP Thu Sep 3 04:03:03 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
Some pre-installed JVMs does not support 64-bit mode. Uninstall such JVM using rpm, or other way, and download latest JDK from orcale.com and install it.
Flashphoner requires ip and ip_local settings during installation process.
- ip - is external IP address of the server
- ip_local - is local ip address of the server
See several rules below, to specify this settings.
- You may use such services to detect ip: http://www.ip-adress.com http://www.whatismyip.com/ http://whatismyipaddress.com/ http://www.ipaddrs.com/ e.t.c.
- If the server has LOCAL LAN ip only, e.g. 192.168.1.10, specify this ip address here.
- If the server is behind the NAT(external ip is not equals LAN ip) and has LOCAL LAN ip, e.g. 192.168.1.10, specify this ip address here.
- If the server has EXTERNAL ip only, specify the EXTERNAL ip address here.
|You can change ip and ip_local settings after installation in flashphoner.properties. See configuring section|
|The server is closed in LAN||192.168.1.2||192.168.1.2|
|The server is behind the NAT|| 126.96.36.199
|The server is in WAN|| 188.8.131.52
Flashphoner requires JDK 1.6 and greater, because it uses JNI interfaces.You can download Java Platform, Standard Edition here: http://www.oracle.com/technetwork/java/javase/downloads/index.html
|JRE without JDK is not suitable for Flashphoner|
During installation process Flashphoner trying to define JDK_HOME itself. If it impossible - Flashphoner will ask you specify this path manually.
|"Specify manually" does not mean "export JDK_HOME environment variable".It means "type your JDK_HOME path in the installation dialog".|
JDK_HOME folder should contain file /include/jni.hYou can check if your JDK_HOME path contain /include/jni.h by command
This command will show all content of your JDK_HOME folder
Wrong JDK_HOME* (/usr/java/latest/jre/ not contain include folder)
Correct JDK_HOME (/usr/java/default/ containt include folder)
serverId is the unique identifier of Flashphoner server.
It generated during installation procedure.
You can find serverId here - /usr/local/FlashphonerWebCallServer/conf/flashphoner.serverid
- Install Flashphoner. Don't worry about installation warnings about license key and serverId.
- Check serverId file. If it is empty - remove this file.
- Restart server and make one call.
ServerId should be generated. See serverId file.