} 위치 변경

wo_translateinfo
jiyoungcheon 2 weeks ago
parent c1db8b0981
commit 144931542c

@ -222,6 +222,7 @@ func (s *ScenarioSession) BOTPFunc(w http.ResponseWriter, r *http.Request) {
response.Data.RecodingFile = "Y"
s.session[request.Token] = ResStatus{Count: s.session[request.Token].Count, Status: scnarioConf[dnis][s.session[request.Token].Count].Action}
l.Printf(icslog.LOG_LEVEL_INFO, -1, "response.Data: %+v", response.Data)
} else {
switch request.Method {
@ -246,7 +247,7 @@ func (s *ScenarioSession) BOTPFunc(w http.ResponseWriter, r *http.Request) {
response.Data.RecodingFile = "Y"
s.session[token] = ResStatus{Count: 1, Status: scnarioConf[dnis][1].Action, NotUnderstand: 0, PreEventNum: 1}
}
}
response.Data.UUI = json.RawMessage{}
uuiMap := map[string]interface{}{
"test1": "testdata1231",
@ -285,7 +286,6 @@ func (s *ScenarioSession) BOTPFunc(w http.ResponseWriter, r *http.Request) {
// send response
fmt.Fprintln(w, string(resMarshal))
}
}
func createToken(callId string) string {

Loading…
Cancel
Save