The configuration for the Live Help chat clients are:
It is located at <123 Live Help 5.3 installation directory>/html/config.xml
This file controls the basic configuration of the Admin Panel, Operator Panel and Customer Panel. You can modify the parameters referring to the table below:
|init_host ||To initialize the server's host name(IP address or DNS name)|
|init_port ||To initialize the server's port.|
|init_user ||To initialize the user's name.|
|init_password ||To initialize the user's password.|
|init_url ||To initialize the login URL of the client.|
The Operator side will know the user open the client in which URL.
|init_video ||To enable or disable the video of the client|
True / false
(Among them, some are just for client.swf which only serves the end customers.)
Init Parameter/ Client APIs
This is used to make client.swf to get some initialization parameters by URL.
There are many initial parameters used in 123 Live Help 5.3 in order to integrate with 123 Live Help swf files with web page more conveniently.
1)init_user & 2)init_password
These two parameters are used for members to auto-login 123 Live Help.
To client.swf, these two ones are not so important comparing with 123 Flash Chat since 123 Live Help is just for online sale and most customers are guest users instead of member users.
We now use the conception "department" instead of "room" in 123 Live Help. But in order to be compatible with the old version, init_room is still used and it means initial department in fact.
This is the root path of the 123 Live Help client. We can load or call the 123livehlp files which includes swf, xml, language and other files through this path.
This is the URL which customer is visiting. And this parameter will be sent to operator as one user information item in the user info panel.
Customer can send a question to operator before logging in 123 Live Help for asking help.
This is the file name of logo in client.swf. If you set this parameter, the logo file which maybe a jpg or a swf must be already placed in the 123 Live Help root directory.
This is the group name. In a 123 Live Help host or server, there are several groups, and with some clients in each group. Any client who needs to get service from 123 Live Help server should join in a group or the server may refuse its connection. The default value for this parameter is "default" which can also be set in config.xml.
9)init_host & 10)init_port
These two parameters can let swf connects to server through the host address and the port specified by these two ones.
11)init_secondaryHost & 12)init_secondaryPort
These two ones are used after the first connection by init_host and init_port is failed.
This is used for configuring 123 Live Help language. There are only two kinds of language now, "en" for English, "zh-CN" for simplified Chinese. More languages will be realized later.
There are five kinds of color for user selecting: red, green, blue, violet, black, and the default one is blue.
when operator invites a webpage visitor, it will send parameter "init_dc = 1" to client.swf, and operator will receive the "dc" attribute which just display a star in front of username in the user list. With init_dc, parameter "init_room" will not work for auto-entering department any more. In another word, init_dc can disable the function of auto-entering department. Without it, init_room will still work for auto-entering department in deed.
This parameter will be passed from dc to clien.swf then to server with attribute "staff", so server can only send this invited customer to the appointed staff.