余尚辉 21 godzin temu
rodzic
commit
16a9766aa0

+ 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):