メニュー

Expand
ページを評価:

Gather Input On Call

Gather input on call widget

Studio does not officially support SSML, and its use in Studio widgets is not guaranteed to be reliable.

説明:

Gather Input On Call allows you to gather a user’s input while they are on call. Use this Widget to collect DTMF keypresses or text from speech recognition. This can then be saved (great for collecting data) or sent to another Widget (such as a Split Based On... Widget) to send the user down the right path.

Gather Widgetには必須の構成はありません。

Note: Connecting a widget to the User Said Something transition will enable Speech Recognition, which incurs additional fees.

Caution: Studio does not redact <Gather> data collected by the Gather Input widget. To use <Gather> for collecting PCI sensitive data, use the TwiML Redirect widget to redirect the call away from Studio to an external URL that can collect <Gather> data in a compliant way.

オプションの構成

名前

概要

サポートされる値

初期値

Say or Play a Message

録音済みのメッセージを再生するか、テキストを読み上げるかを選択します)Say/Playと同様です)。

Say a Message、Play a Message

メッセージを読み上げる

Text To Say

(Sayの場合)読み上げるテキストです。 テンプレートがサポートされており、「こんにちは、{{first_name}}」といったような読み上げが可能です。

Note: Studio does not officially support SSML, and its use in Studio widgets is not guaranteed to be reliable.

Language

(if Say) Language and regional dialect for the message being said.

Select from menu on the widget or enter a Liquid variable for dynamic selection.

See complete list for details.

en

Message Voice

(Sayの場合)ドロップダウンから希望する声を選択します。

Select from menu on the widget or enter a Liquid variable for dynamic selection.

Values vary based on language selected. See complete list for details.

Alice

URL of Audio File

(Playの場合)再生するメディアのURLです。 https://api.twilio.com/cowbell.mp3 などです。

Number of Loops

メッセージのループ回数を選択します。

1

Keypress Options

Stop Gathering After ___ Seconds

Time to wait for the caller to press a key.

1秒〜30秒

5秒

Stop Gathering On Keypress?

If Twilio should listen for a specific keypress to stop gathering digits. If set to "No," all keypresses will be gathered and submited once the the Stop Gathering After timeout is reached or the expected Number of Digits are collected.

Yes/No

はい

Stop Gathering On Keypress ___

A value that will submit the received data as soon as it’s pressed. Note: This is a control key and its value is not submitted with the rest of the gathered digits.

0〜9、#、* または空白文字

#

Stop Gathering After Number Of Digits

想定している数字の数であり、(押されたプッシュボタンが)その回数に達するとただちに送信を行います。

0〜9 または空白文字

Speech Recognition Options
Speech Recognition Language

Language the speech engine will try to recognize.

Select from menu on the widget or enter a Liquid variable for dynamic selection. See complete list of recognized languages. en-US

Speech Recognition Hints

カンマで区切られたヒントの値の一覧です。

Profanity Filter

Redact profanity from the speech results

true, false

true

Advanced Speech Settings

The advanced speech settings of Gather should be used carefully, as certain combinations are incompatible with each other. Please consult the Voice <Gather> docs for full details of the options and how to use them.

Note: Studio uses auto as the default Speech Timeout, which overrides the default used by the underlying <Gather> verb.

名前

概要

サポートされる値

初期値

Speech Timeout

Number of seconds of silence

auto, positive integer

auto

Speech Model

Model the recognition engine should use to interpret speech

default, phone_call, numbers_commands



変数:

Account SID widgets.MY_WIDGET_NAME.AccountSid
ApiVersion widgets.MY_WIDGET_NAME.ApiVersion
Called widgets.MY_WIDGET_NAME.Called
caller widgets.MY_WIDGET_NAME.Caller
CallStatus widgets.MY_WIDGET_NAME.CallStatus
Direction widgets.MY_WIDGET_NAME.Direction
From widgets.MY_WIDGET_NAME.From
FromCity widgets.MY_WIDGET_NAME.FromCity
FromCountry widgets.MY_WIDGET_NAME.FromCountry
FromState widgets.MY_WIDGET_NAME.FromState
FromZip widgets.MY_WIDGET_NAME.FromZip
Caller City widgets.MY_WIDGET_NAME.CallerCity
Caller Country widgets.MY_WIDGET_NAME.CallerCountry
Caller State widgets.MY_WIDGET_NAME.CallerState
Caller ZIP widgets.MY_WIDGET_NAME.CallerZip
Call SID widgets.MY_WIDGET_NAME.CallSid
Called City widgets.MY_WIDGET_NAME.CalledCity
Called Country widgets.MY_WIDGET_NAME.CalledCountry
Called State widgets.MY_WIDGET_NAME.CalledState
Called ZIP widgets.MY_WIDGET_NAME.CalledZip
To widgets.MY_WIDGET_NAME.To
ToCity widgets.MY_WIDGET_NAME.ToCity
ToCountry widgets.MY_WIDGET_NAME.ToCountry
ToState widgets.MY_WIDGET_NAME.ToState
ToZip widgets.MY_WIDGET_NAME.ToZip
Confidence widgets.MY_WIDGET_NAME.Confidence
Digits widgets.MY_WIDGET_NAME.Digits
Speech Result widgets.MY_WIDGET_NAME.SpeechResult
ページを評価:

ヘルプが必要ですか?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Community Forums or browsing the Twilio tag on Stack Overflow.

        
        
        

        フィードバックくださりありがとうございます!

        We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        Refer us and get $10 in 3 simple steps!

        ステップ1

        Get link

        Get a free personal referral link here

        ステップ2:

        Give $10

        Your user signs up and upgrade using link

        ステップ3

        Get $10

        1,250 free SMSes
        OR 1,000 free voice mins
        OR 12,000 chats
        OR more