2017-07-26 34 views
0

在twilio回覆中,我通常可以錄製對話並抄錄它。例如。在Twilio中可以同時收集和記錄嗎?

<?xml version="1.0" encoding="UTF-8"?> 
<Response> 
<Record transcribe="true" transcribeCallback="/transcribe"/> 
</Response> 

但是我有興趣在Gather的新語音選項中做同樣的事情。例如

<?xml version="1.0" encoding="UTF-8"?> 
<Response> 
    <Gather input="speech" action="/completed"> 
     <Say>Welcome home!</Say> 
    </Gather> 
</Response> 

然而,儘管我可以在/completed處理SpeechResult參數得到的轉錄,我無法同時記錄收集講話。有什麼方法可以使用Record以及Gather

回答

相關問題