Cisco Cisco Collaboration Server (CS) Developer's Guide

Page of 117
Cisco Collaboration Server Client-side API Guide – Version 5.0 
<option value="true">true</option>
 
<option value="false">false</option>
 
</select>
 
<input type="submit" value="Set Ready">
 
</form>
 
<form name="disconnectForm" 
action="javascript:top.actionFrame.disconnect()">
 
<input type="submit" value="Session Disconnect">
 
</form>
 
<form name="LogoutButton" action="javascript:top.actionFrame.logout()">
 
<input type="submit" value="Logout">
 
</form>
 
</body>
 
</html>
 
Modify to APIHandler.js 
Finally you need to make some modifications to APIHandler.js. APIHandler.js is the 
main interface into the API.  
At a minimum, you should modify the following events in APIHandler.js for this 
tutorial: 
•  AgentLoginOkEvent 
•  AgentLogoutEvent 
•  AgentReadyEvent 
•  AddSessionEvent 
•  ChatMessageEvent 
16