余尚辉 4 月之前
父節點
當前提交
9233c59bf8

+ 1 - 0
src/core/callcenter/esl/constant/event_names.py

@@ -29,6 +29,7 @@ CHANNEL_HANGUP = "CHANNEL_HANGUP"
 # Constant < code > CHANNEL_HANGUP_COMPLETE = "CHANNEL_HANGUP_COMPLETE" < / code >
 CHANNEL_HANGUP_COMPLETE = "CHANNEL_HANGUP_COMPLETE"
 
+
 # Constant < code > CHANNEL_EXECUTE = "CHANNEL_EXECUTE" < / code >
 CHANNEL_EXECUTE = "CHANNEL_EXECUTE"
 

+ 2 - 2
src/core/callcenter/esl/handler/channel_originate_handler.py

@@ -2,12 +2,12 @@
 # encoding:utf-8
 from src.core.callcenter.esl.annotation import EslEventName
 from src.core.callcenter.enumeration import  DeviceType, AgentServiceState,AgentScene,WorkStatus
-from src.core.callcenter.esl.constant.event_names import CHANNEL_BRIDGE
+from src.core.callcenter.esl.constant.event_names import CHANNEL_ORIGINATE
 from src.core.callcenter.esl.handler.esl_event_handler import EslEventHandler
 import src.core.callcenter.esl.utils.esl_event_util as EslEventUtil
 from src.core.callcenter.push import PushHandler
 
-@EslEventName(CHANNEL_BRIDGE)
+@EslEventName(CHANNEL_ORIGINATE)
 class ChannelOriginateHandler(EslEventHandler):
 
     def __init__(self, inbound_client, bot_agent):