774056846 4 months ago
parent
commit
2cbca164f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/callcenter/esl/client.py

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

@@ -302,7 +302,7 @@ class InboundClient:
         msg.addHeader("call-command", EXECUTE)
         msg.addHeader("execute-app-name", HANGUP)
         msg.addHeader("execute-app-arg", NORMAL_CLEARING)
-        self.logger.info("hangup_call挂机 hangup call: %s, device: %s, ctiCauseEnum: %s", call_id, device_id, case_enum)
+        print("hangup_call挂机 hangup call: %s, device: %s, ctiCauseEnum: %s"% (call_id, device_id, case_enum), flush=True)
         self.send_args(device_id, SET, EslEventUtil.SIP_H_P_LIBRA_HANGUP_CAUSE + "=" + case_enum.description)
         self.con.sendEvent(msg)