DavidLiu hai 3 meses
pai
achega
e6d72f3a79
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      src/core/callcenter/esl/client.py

+ 5 - 5
src/core/callcenter/esl/client.py

@@ -561,11 +561,11 @@ class OutboundClient:
                     registry.CALL_INCOMING_REQUESTS.labels(f"{_bucket_call_type}").inc()
                     self.server.dataHandleServer.create_record(call_id, caller_number, _bucket_call_type, service_category=service_category, destination=destination)
 
-                    try:
-                        con.disconnect()
-                        self.server.logger.info("connection disconnected !!!")
-                    except:
-                        traceback.print_exc()
+                    # try:
+                    #     con.disconnect()
+                    #     self.server.logger.info("connection disconnected !!!")
+                    # except:
+                    #     traceback.print_exc()
                 else:
                     self.server.logger.info("Failed to connect to FreeSWITCH")
             except: