호전환 telNo로 수정

main
JungJun 2 years ago
parent efcbe63597
commit ad7f4898e1

@ -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.session[request.Token] = ResStatus{Count: s.session[request.Token].Count + 1, Status: scnarioConf.Order[s.session[request.Token].Count+1]}
s.m.Unlock() s.m.Unlock()
case "REFER": 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.m.Lock()
s.session[request.Token] = ResStatus{Count: s.session[request.Token].Count + 1, Status: scnarioConf.Order[s.session[request.Token].Count+1]} s.session[request.Token] = ResStatus{Count: s.session[request.Token].Count + 1, Status: scnarioConf.Order[s.session[request.Token].Count+1]}

Loading…
Cancel
Save