远程下载applet的CTI演示页面

<html>
<head>
<title>APPLET DEMO</title>
<script type="text/javascript">
</script>
</head>
<body>
<div>

    <APPLET name=a1
        ARCHIVE = "http://192.168.0.251/l/BcaApiX.jar,http://192.168.0.251/l/BcaAgentX.jar,http://192.168.0.251/l/bca.jar,http://192.168.0.251/l/BcaApp.jar,http://192.168.0.251/l/commons-logging-1.0.3.jar,http://192.168.0.251/l/dom4j-1.4.jar"
        CODE = "com.bca.guix.console.ivr.applet.SofttelApplet"
WIDTH=400
HEIGHT=150
    >
<!-- <PARAM NAME="CmsServer" VALUE="//192.168.0.251:1099/bcacms">
<PARAM NAME="AgentIpAddr" VALUE="192.168.0.91">
<PARAM NAME="AgentLoginId" VALUE="A101">
-->
    download plugin <a href="http://www.google.com">www.google.com</a>
    </APPLET>

<ol>
<li><input type="button" value="初始化CTI" onclick="alert(a1.initSoftTel('//192.168.0.251:1099','<%=Request.ServerVariables("REMOTE_ADDR")%>', 1099))"></li>
<li><input type="button" value="连接" onclick="alert(a1.connect())"></li>
<li><input type="button" value="关闭连接" onclick="alert(a1.close())"></li>
<li>用户名:<input type="text" value="" name=userid >&nbsp;&nbsp;&nbsp;&nbsp;密 码:<input type="password" name="passwd" value=""></li>
<li><input type="button" value="座席签入" onclick="test(userid.value,passwd.value)"></li>
<li><input type="button" value="座席签出" onclick="alert(a1.agentLogoff())"></li>
<li>电话号码:<input type="text" value="" name=phone></li>
<li><input type="button" value="座席呼出" onclick="alert(a1.agentCallOut(phone.value,'', 'true',''))"></li>
<li><input type="button" value="挂机" onclick="alert(a1.agentHangup())"></li>
<li><input type="button" value="应答(暂不用)" onclick="alert(a1.agentAnswer())"></li>
<li><input type="button" value="取最近的CTI信息" onclick="alert(a1.getLastInfo())"></li>
</ol>
<script language="javascript">
function test(u,p){
if(a1.agentLogin(u,p)){
alert("成功");
}else{
alert(a1.getLastinfo());
}
}
</script>
</div>
</body>
</html>

你可能感兴趣的:(Google)