|
@@ -119,13 +119,13 @@ class InboundClient:
|
|
|
event_name = EslEventUtil.getEventName(e)
|
|
|
coreUUID = EslEventUtil.getCoreUuid(e)
|
|
|
address = self.host + ':' + self.port
|
|
|
- self.logger.info("process_esl_event.event_name=%s,coreUUID=%s", event_name, coreUUID)
|
|
|
+ # self.logger.info("process_esl_event.event_name=%s,coreUUID=%s", event_name, coreUUID)
|
|
|
try:
|
|
|
if event_name in self.handler_table:
|
|
|
items = self.handler_table.get(event_name)
|
|
|
for x in items:
|
|
|
try:
|
|
|
- self.logger.info("process_esl_event.handle.%s", x.__class__.__name__)
|
|
|
+ # self.logger.info("process_esl_event.handle.%s", x.__class__.__name__)
|
|
|
x.handle(address, e, coreUUID)
|
|
|
except:
|
|
|
traceback.print_exc()
|
|
@@ -604,12 +604,12 @@ class OutboundClient:
|
|
|
cti_flow_id=None, conference=None, agent_name=None, from_agent=None, caller=None, called=None, display=None, called_location=None, caller_location=None, ring_start_time=None, ring_end_time=None, answer_time=None, bridge_time=None, end_time=None, talk_time=None, sip_protocol=None, channel_name=None, hangup_cause=None, ring_cause=None, sip_status=None, record=None, record_time=None, record_start_time=None, state=None, apparent_number=None, caller_display=None)
|
|
|
|
|
|
call_info.device_list.append(device_id)
|
|
|
- self.server.logger.info("liuwei::debugger:3333::call_id=%s, device_id=%s" % (call_id, device_id))
|
|
|
+ # self.server.logger.info("liuwei::debugger:3333::call_id=%s, device_id=%s" % (call_id, device_id))
|
|
|
call_info.device_list.append(new_device_id)
|
|
|
- self.server.logger.info("liuwei::debugger:4444::call_id=%s, device_id=%s" % (call_id, new_device_id))
|
|
|
+ # self.server.logger.info("liuwei::debugger:4444::call_id=%s, device_id=%s" % (call_id, new_device_id))
|
|
|
# call_info.next_commands.append(NextCommand(device_id, NextType.NEXT_CALL_BRIDGE.code, new_device_id))
|
|
|
call_info.device_info_map = {device_id: device_custom, new_device_id: device_bot}
|
|
|
- self.server.logger.info("lwoutBound, call_info=%s"%(call_info))
|
|
|
+ # self.server.logger.info("lwoutBound, call_info=%s"%(call_info))
|
|
|
self.server.cache.add_call_info(call_info)
|
|
|
|
|
|
|