余尚辉 20 часов назад
Родитель
Сommit
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):