From e87119ab68f5a419a9401973857f13055e6bf7d9 Mon Sep 17 00:00:00 2001 From: JungJun Date: Thu, 14 Jul 2022 16:39:25 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=9C=ED=99=94=20=EC=84=B8=EB=B2=88=20?= =?UTF-8?q?=EC=9D=B4=ED=95=B4=20=EB=AA=BB=ED=95=98=EB=A9=B4=20=EC=A2=85?= =?UTF-8?q?=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- icshttp/handler.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/icshttp/handler.go b/icshttp/handler.go index 25f3f2e..3a63e15 100644 --- a/icshttp/handler.go +++ b/icshttp/handler.go @@ -192,11 +192,12 @@ func (s *ScenarioSession) BOTPFunc(w http.ResponseWriter, r *http.Request) { } else if request.Method != "INIT" && request.TalkText == "" { response.ResultCode = 200 response.Token = request.Token - response.Action = "END" if s.session[request.Token].NotUnderstand == 3 { response.AnounceMents = "잘 이해하지 못했습니다. 정확한 상담을 위해 매장으로 연결해드릴게요." + response.Action = "END" } else { response.AnounceMents = "잘 이해하지 못했습니다. 다시 말씀해주세요." + response.Action = "STT" s.session[request.Token] = ResStatus{Count: 1, Status: scnarioConf.Order[0], NotUnderstand: s.session[request.Token].NotUnderstand + 1} } response.Data.BargeIn = ""