|
@@ -38,7 +38,7 @@ class ChannelAnswerHandler(EslEventHandler):
|
|
|
if not next_command:
|
|
|
return
|
|
|
print("device_info.device_type:%s,DeviceType.CUSTOMER.code%s"%(device_info.device_type, DeviceType.CUSTOMER.code))
|
|
|
- if device_info.device_type == DeviceType.CUSTOMER.code:
|
|
|
+ if device_info.device_type == DeviceType.AGENT.code:
|
|
|
self.push_handler.push_on_ring_start(saas_id=call_info.saas_id, flow_id=call_info.cti_flow_id, user_id=call_info.agent_key, scene=AgentScene.MANUAL, call_id=call_info.call_id)
|
|
|
|
|
|
if not call_info.answer_time:
|