|
|
@ -184,10 +184,10 @@ func (s *ScenarioSession) BOTPFunc(w http.ResponseWriter, r *http.Request) {
|
|
|
|
response.ResultCode = 200
|
|
|
|
response.ResultCode = 200
|
|
|
|
response.Token = request.Token
|
|
|
|
response.Token = request.Token
|
|
|
|
response.Action = "END"
|
|
|
|
response.Action = "END"
|
|
|
|
response.AnounceMents = "서비스에 장애가 발생하였습니다. 상담사를 연결해드리겠습니다."
|
|
|
|
response.AnounceMents = ""
|
|
|
|
response.Data.BargeIn = "Y"
|
|
|
|
response.Data.BargeIn = ""
|
|
|
|
response.Data.RecodingFile = "Y"
|
|
|
|
response.Data.RecodingFile = ""
|
|
|
|
response.Data.SttMaxTime = 0
|
|
|
|
response.Data.SttMaxTime = 10
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if request.Method == "HANGUP" {
|
|
|
|
if request.Method == "HANGUP" {
|
|
|
|
s.ByeCheck(request.Method, request.Token)
|
|
|
|
s.ByeCheck(request.Method, request.Token)
|
|
|
|