Browse Source

fix: 修改bug

余尚辉 20 hours ago
parent
commit
16a9766aa0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/core/callcenter/esl/handler/channel_hangup_handler.py

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

@@ -21,8 +21,8 @@ class ChannelHangupHandler(EslEventHandler):
 
 
     def __init__(self, inbound_client, bot_agent):
     def __init__(self, inbound_client, bot_agent):
         super().__init__(inbound_client, bot_agent)
         super().__init__(inbound_client, bot_agent)
-        self.acd_service = AcdService(inbound_client)
-        self.call_service = CallService(inbound_client)
+        self.acd_service = AcdService(inbound_client,inbound_client.app)
+        self.call_service = CallService(inbound_client,inbound_client.logger)
         self.dataHandleServer=DataHandleServer(inbound_client.app)
         self.dataHandleServer=DataHandleServer(inbound_client.app)
 
 
     def handle(self, address, event, coreUUID):
     def handle(self, address, event, coreUUID):