Commit b7c269a2 by Huang Linyu

print call log event

parent 708467f5
......@@ -128,6 +128,7 @@ public class CallCenterController {
// 1)找出具体的命令实例。
logger.debug("event [" + event + "] is ready to execute...");
logger.debug(eventJsonString);
System.out.println("EEEEEEEEEEEEEEEEEEEEEEEEEEEEE: "+eventJsonString);
AbstractEventHandler eventHandler = eventHandlerMap.get(event);
// 2)执行命令并返回结果
......
......@@ -6,19 +6,13 @@
url +=sipPhoneName;
if(webSocket==null){
webSocket=new WebSocket(url);
webSocket.onerror = function(event) {};
webSocket.onopen = function(event) {};
webSocket.onmessage = function(event) {
window.open(event.data, "用户来电通知");
};
webSocket.onclose = function(event){};
}
webSocket.onerror = function(event) {
};
webSocket.onopen = function(event) {
};
webSocket.onmessage = function(event) {
window.open(event.data, "用户来电通知");
};
webSocket.onclose = function(event){
};
}
//关闭Socket
function closeSocket(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment