MidConnections

Recognize media from call.

Changed on

Recognize media from call.

post/calling/callConnections/{callConnectionId}:recognize

Request

  • Base URL
    https://contoso.communication.azure.com
  • Auth
    API key in header Authorization

Path parameters

callConnectionIdstring required

The call connection id

Query parameters

api-versionstring required

Version of the API to invoke.

Request body

recognizeInputType'dtmf' | 'speech' | 'speechOrDtmf' | 'choices' required

Defines the type of the recognize input

interruptCallMediaOperationboolean

If set recognize can barge into other existing queued-up/currently-processing requests.

operationContextstring

The value to identify context of the operation.

operationCallbackUristring

Set a callback URI that overrides the default callback URI 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.

Response

The service has accepted the recognize request and will begin processing it. You will receive either RecognizeCompleted or RecognizeFailed event at your specified callback URI to update you on the status of the request.

Changes

  • 2022-04-07-previewd4d02a642780Revision changes
    • info

      api operation id Content_Recognize removed and replaced with CallMedia_Recognize