CallMediaRecognizeDtmfOptions interface
The recognize configuration specific to Dtmf.
- Extends
Properties
| inter |
Time to wait between DTMF inputs to stop recognizing. |
| kind | |
| max |
Maximum number of DTMF tones to be collected. |
| stop |
List of tones that will stop recognizing. |
Inherited Properties
| abort |
The signal which can be used to abort requests. |
| initial |
Time to wait for first input after prompt. |
| interrupt |
If set recognize can barge into other existing queued-up/currently-processing requests. |
| interrupt |
Determines if we interrupt the prompt and start recognizing. |
| on |
A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times. |
| operation |
Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation. This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. |
| operation |
The value to identify context of the operation. |
| play |
The source of the audio to be played for recognition. |
| play |
The list source of the audio to be played for recognition. |
| request |
Options used when creating and sending HTTP requests for this operation. |
| serializer |
Options to override serialization/de-serialization behavior. |
| stop |
|
| tracing |
Options used when tracing is enabled. |
Property Details
interToneTimeoutInSeconds
Time to wait between DTMF inputs to stop recognizing.
interToneTimeoutInSeconds?: number
Property Value
number
kind
kind: "callMediaRecognizeDtmfOptions"
Property Value
"callMediaRecognizeDtmfOptions"
maxTonesToCollect
Maximum number of DTMF tones to be collected.
maxTonesToCollect?: number
Property Value
number
stopDtmfTones
Inherited Property Details
abortSignal
The signal which can be used to abort requests.
abortSignal?: AbortSignalLike
Property Value
Inherited From CallMediaRecognizeOptions.abortSignal
initialSilenceTimeoutInSeconds
Time to wait for first input after prompt.
initialSilenceTimeoutInSeconds?: number
Property Value
number
Inherited From CallMediaRecognizeOptions.initialSilenceTimeoutInSeconds
interruptCallMediaOperation
If set recognize can barge into other existing queued-up/currently-processing requests.
interruptCallMediaOperation?: boolean
Property Value
boolean
Inherited From CallMediaRecognizeOptions.interruptCallMediaOperation
interruptPrompt
Determines if we interrupt the prompt and start recognizing.
interruptPrompt?: boolean
Property Value
boolean
Inherited From CallMediaRecognizeOptions.interruptPrompt
onResponse
A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.
onResponse?: RawResponseCallback
Property Value
Inherited From CallMediaRecognizeOptions.onResponse
operationCallbackUrl
Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation. This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
operationCallbackUrl?: string
Property Value
string
Inherited From CallMediaRecognizeOptions.operationCallbackUrl
operationContext
The value to identify context of the operation.
operationContext?: string
Property Value
string
Inherited From CallMediaRecognizeOptions.operationContext
playPrompt
The source of the audio to be played for recognition.
playPrompt?: FileSource | TextSource | SsmlSource
Property Value
Inherited From CallMediaRecognizeOptions.playPrompt
playPrompts
The list source of the audio to be played for recognition.
playPrompts?: (FileSource | TextSource | SsmlSource)[]
Property Value
(FileSource | TextSource | SsmlSource)[]
Inherited From CallMediaRecognizeOptions.playPrompts
requestOptions
Options used when creating and sending HTTP requests for this operation.
requestOptions?: OperationRequestOptions
Property Value
Inherited From CallMediaRecognizeOptions.requestOptions
serializerOptions
Options to override serialization/de-serialization behavior.
serializerOptions?: SerializerOptions
Property Value
Inherited From CallMediaRecognizeOptions.serializerOptions
stopCurrentOperations
Warning
This API is now deprecated.
Not in use, instead use interruptCallMediaOperation for similar functionality
stopCurrentOperations?: boolean
Property Value
boolean
Inherited From CallMediaRecognizeOptions.stopCurrentOperations
tracingOptions
Options used when tracing is enabled.
tracingOptions?: OperationTracingOptions
Property Value
Inherited From CallMediaRecognizeOptions.tracingOptions