collect
collect
collect(params): Promise<CallCollect> - See CallCollect for more details.
Collect user input. For methods that include a prompt to the user, please see promptAudio, promptRingtone, or promptTTS.
Parameters
Returns
Promise<CallCollect> - See CallCollect for more details.
Examples
Collecting digits input:
Collecting speech input:
Collecting digits and listening for results using the events: