Skip to main content

call_media

Creates, updates, deletes, gets or lists a call_media resource.

Overview

Namecall_media
TypeResource
Idazure.communication_call_automation.call_media

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
playexeccall_connection_id, endpoint, playSourcesPlays audio to participants in the call. Plays audio to participants in the call.
start_transcriptionexeccall_connection_id, endpointStarts transcription in the call. Starts transcription in the call.
stop_transcriptionexeccall_connection_id, endpointStops transcription in the call. Stops transcription in the call.
update_transcriptionexeccall_connection_id, endpointUpdateTranscription Api. API to change transcription language.
cancel_all_media_operationsexeccall_connection_id, endpointCancel all media operations in a call. Cancel all media operations in a call.
recognizeexeccall_connection_id, endpoint, recognizeInputType, recognizeOptionsRecognize media from call. Recognize media from call.
start_continuous_dtmf_recognitionexeccall_connection_id, endpoint, targetParticipantStart continuous Dtmf recognition by subscribing to tones. Start continuous Dtmf recognition by subscribing to tones.
stop_continuous_dtmf_recognitionexeccall_connection_id, endpoint, targetParticipantStop continuous Dtmf recognition by unsubscribing to tones. Stop continuous Dtmf recognition by unsubscribing to tones.
send_dtmf_tonesexeccall_connection_id, endpoint, tones, targetParticipantSend dtmf tones. Send dtmf tones.
holdexeccall_connection_id, endpoint, targetParticipantHold participant from the call using identifier. Hold participant from the call using identifier.
unholdexeccall_connection_id, endpoint, targetParticipantUnhold participants from the call using identifier. Unhold participants from the call using identifier.
start_media_streamingexeccall_connection_id, endpointStarts media streaming in the call. Starts media streaming in the call.
stop_media_streamingexeccall_connection_id, endpointStops media streaming in the call. Stops media streaming in the call.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
call_connection_idstringThe call connection id. Required.
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )

Lifecycle Methods

Plays audio to participants in the call. Plays audio to participants in the call.

EXEC azure.communication_call_automation.call_media.play 
@call_connection_id='{{ call_connection_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"playSources": "{{ playSources }}",
"playTo": "{{ playTo }}",
"interruptCallMediaOperation": {{ interruptCallMediaOperation }},
"playOptions": "{{ playOptions }}",
"operationContext": "{{ operationContext }}",
"operationCallbackUri": "{{ operationCallbackUri }}"
}'
;