diff --git a/icshttp/handler.go b/icshttp/handler.go index a035062..25f3f2e 100644 --- a/icshttp/handler.go +++ b/icshttp/handler.go @@ -245,7 +245,14 @@ func (s *ScenarioSession) BOTPFunc(w http.ResponseWriter, r *http.Request) { s.session[request.Token] = ResStatus{Count: s.session[request.Token].Count + 1, Status: scnarioConf.Order[s.session[request.Token].Count+1]} s.m.Unlock() case "REFER": - response.Data.TelNo = "010-1234-1234" + response.ResultCode = 200 + response.Token = request.Token + response.Action = "END" + response.AnounceMents = "네. 매장으로 연결해드릴게요." + response.Data.BargeIn = "" + response.Data.RecodingFile = "" + response.Data.SttMaxTime = 0 + response.Data.TelNo = request.TelNo s.m.Lock() s.session[request.Token] = ResStatus{Count: s.session[request.Token].Count + 1, Status: scnarioConf.Order[s.session[request.Token].Count+1]}