You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Twilio试用账户是否禁用语音识别功能?使用Gather verb无法采集语音

Twilio Trial Account & Speech Recognition (Speech-to-Text) with Gather Verb

Hey there! Let's clear this up right away: Twilio trial accounts do NOT disable speech recognition (speech-to-text) functionality for the <Gather> verb—but there are a few common gotchas that might make it seem like the feature isn't working. Here's how to troubleshoot and get it running:

Key Limitations & Troubleshooting Steps

  • Double-check your <Gather> verb configuration
    You need to explicitly enable speech input and set the correct language for recognition to work. A working example looks like this:

    <Response>
      <Gather input="speech" speechTimeout="auto" language="en-US">
        <Say>Go ahead, say something after the beep—I'll transcribe it!</Say>
      </Gather>
      <Say>Sorry, I didn't catch that. Let's try again later!</Say>
    </Response>
    

    Without input="speech" or a valid language parameter, Twilio won't attempt to transcribe your voice input.

  • Only use verified phone numbers
    Trial accounts can only interact with phone numbers you've verified in the Twilio Console (this includes your own personal number). If you're calling an unverified number, the call might go through, but speech recognition features can fail silently. Stick to your verified numbers for testing.

  • Check your trial balance
    Speech-to-text is a paid feature (even on trial), though you get a decent initial credit to test with. If your trial balance is exhausted, the feature will stop working. Head to the Billing section of your Twilio Console to confirm you have remaining credit.

  • Test in a quiet environment
    Background noise, muffled speech, or low audio quality can cause recognition to fail entirely. Make sure you're speaking clearly into the phone in a quiet space—sometimes the "failure" is just poor input quality.

  • Verify Webhook delivery
    When Twilio recognizes speech, it sends a request to your configured Webhook URL with the SpeechResult parameter. Use Twilio's Debugger (in the Console) to check if these requests are being sent successfully, or use a local tunneling tool to expose your server and inspect incoming data. If the Webhook isn't reachable, you won't see the transcription results.

If you've gone through all these steps and still have issues, try using Twilio's built-in "Make a Call" tool under the Voice section of the Console to test the <Gather> verb with a pre-configured response—it's a quick way to rule out account-level issues.

内容的提问来源于stack exchange,提问作者Dhanushka Sampath

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.26 09:02:24