Browse Source

callback event serial

DavidLiu 3 months ago
parent
commit
54eceb168c
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/core/callcenter/esl/client.py

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

@@ -570,11 +570,11 @@ class OutboundClient:
                     # con.execute("answer", "", uuid)
 
                     # con.execute("transfer", "1001 XML default", uuid)
-                    # try:
-                    #     con.disconnect()
-                    # except:
-                    #     self.logger.info('come in ')
-                    #     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: