|
@@ -28,12 +28,12 @@ class Callback(object):
|
|
|
call_id = self.cache.get_call_id_by_device_id(device_id)
|
|
|
call_info = self.cache.get_call_info(call_id)
|
|
|
if not call_info:
|
|
|
- self.logger.info("liuwei::debugger::callback:return::event_name=%s, call_id=%s, device_id=%s", event_name, call_id, device_id)
|
|
|
+ # self.logger.info("liuwei::debugger::callback:return::event_name=%s, call_id=%s, device_id=%s", event_name, call_id, device_id)
|
|
|
return
|
|
|
|
|
|
call_type = CallType.get_by_code(call_info.call_type) if call_info else None
|
|
|
device_info = call_info.device_info_map.get(device_id) if call_info and call_info.device_info_map else None
|
|
|
- self.logger.info("liuwei::debugger::callback::event_name=%s, call_type=%s, call_id=%s, device_id=%s, call_info=%s", event_name, call_type, call_id, device_id, call_info)
|
|
|
+ # self.logger.info("liuwei::debugger::callback::event_name=%s, call_type=%s, call_id=%s, device_id=%s, call_info=%s", event_name, call_type, call_id, device_id, call_info)
|
|
|
if CallType.BOT_CALL == call_type:
|
|
|
threading.Thread(target=self.agent_event_service.bot_event_channel, args=(event, call_info, device_info)).start()
|
|
|
# self.agent_event_service.bot_event_channel(event, call_info, device_info)
|