余尚辉 преди 20 часа
родител
ревизия
16a9766aa0
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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):
         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)
 
     def handle(self, address, event, coreUUID):