로그추가

wo_translateinfo
jiyoungcheon 2 weeks ago
parent e0ca56b93b
commit 4845e9ee5f

@ -258,6 +258,7 @@ func (s *ScenarioSession) BOTPFunc(w http.ResponseWriter, r *http.Request) {
response.Data.RecodingFile = ""
response.Data.SttMaxTime = 10
} else if request.Method != "INIT" && request.TalkText == "" {
l.Println(icslog.LOG_LEVEL_INFO, -1, "여기는 INIT 아닐 때")
if request.TalkText == "" {
request.TalkText = "잘못된 값 입력 "
}
@ -383,6 +384,7 @@ func (s *ScenarioSession) BOTPFunc(w http.ResponseWriter, r *http.Request) {
s.session[token] = ResStatus{Count: 1, Status: scnarioConf[dnis][0].Action, NotUnderstand: 0, PreEventNum: 1}
// s.m.Unlock()
case "STT", "DTMF", "BOTH", "MEMO", "NONE":
l.Println(icslog.LOG_LEVEL_INFO, -1, "여기는 언제 타는거지지")
response.ResultCode = 200
response.Token = request.Token
if dnis == "9013" || dnis == "9014" {

Loading…
Cancel
Save