Sample Page Offering Chat

This is a sample page demonstrating the MiCC Enterprise Chat Toolbox.
The toolbox may be included in your existing Web pages by adding the following
Javascript code to the bottom of the <head> section of your page.
	
<head>
    <script src="http://<SERVERNAME>/CustomerChat/Chat/Toolbox"></script>
</head>
		
	

Configuration

Global configuration may be set for the toolbox by modifying the Config.js file
located in the <InstallDir>\Services\Web\CustomerChat\Scripts\Chat folder on
the MiCC Enterprise server.

Configuration may be set on a page basis by redefining the Mitel.Toolbox.customizePage
function. This function is executes immediately after the toolbox is loaded. To redefine
the function insert the following Javascript code into your Web page.

	
<script>
    Mitel.ChatToolbox.customizePage = function () {
    }
</script>
		
	

Configuration may be set on a request basis by redefining the Mitel.Toolbox.customizeRequest
function. This function is executes immediately before the chat is requested. To redefine
the function insert the following Javascript code into your Web page.

	
<script>
    Mitel.ChatToolbox.customizeRequest = function () {
    }
</script>
		
	
Modify the Mitel.Toolbox.Config members as necessary inside either of these functions. Refer
to the MiCC Enterprise documentation for a full description of the configuration parameters.

Testing


Chat Request Parameters

This section allows setting of chat request parameters normally set through the customize functions
and not available through the Chat Toolbox UI.

Customer ID:
Tenant ID:
Service Group ID:
Service Group Name:
Private Data:

Message to Agent

This section allows testing of posting messages to the chat interface.

Message: