Skip to main content

call_connection

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

Overview​

Namecall_connection
TypeResource
Idazure.communication_call_automation.call_connection

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
identifierobjectIdentifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model is polymorphic: Apart from kind and rawId, at most one further property may be set which must match the kind enum value.
isMutedbooleanIs participant muted.
isOnHoldbooleanIs participant on hold.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_participantselectcall_connection_id, participant_raw_id, endpointGet participant from a call. Get participant from a call.
get_callselectcall_connection_id, endpointGet the detail properties of an ongoing call. Get the detail properties of an ongoing call.
hangup_calldeletecall_connection_id, endpointHang up call automation service from the call. This will make call automation service leave the call, but does not terminate if there are more than 1 caller in the call. Hang up call automation service from the call. This will make call automation service leave the call, but does not terminate if there are more than 1 caller in the call.
get_participantsexeccall_connection_id, endpointGet participants from a call. Recording and transcription bots are omitted from this list. Get participants from a call. Recording and transcription bots are omitted from this list.
terminate_callexeccall_connection_id, endpointTerminate a call using CallConnectionId. Terminate a call using CallConnectionId.
transfer_to_participantexeccall_connection_id, endpoint, targetParticipantTransfer the call to a participant. Transfer the call to a participant.
add_participantexeccall_connection_id, endpoint, participantToAddAdd a participant to the call. Add a participant to the call.
remove_participantexeccall_connection_id, endpoint, participantToRemoveRemove a participant from the call using identifier. Remove a participant from the call using identifier.
muteexeccall_connection_id, endpoint, targetParticipantsMute participants from the call using identifier. Mute participants from the call using identifier.
cancel_add_participantexeccall_connection_id, endpoint, invitationIdCancel add participant operation. Cancel add participant operation.
move_participantsexeccall_connection_id, endpoint, targetParticipants, fromCallMove a participant to the call. Move a participant to 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: )
participant_raw_idstringRaw id of the participant to retrieve. Required.

SELECT examples​

Get participant from a call. Get participant from a call.

SELECT
identifier,
isMuted,
isOnHold
FROM azure.communication_call_automation.call_connection
WHERE call_connection_id = '{{ call_connection_id }}' -- required
AND participant_raw_id = '{{ participant_raw_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;

DELETE examples​

Hang up call automation service from the call. This will make call automation service leave the call, but does not terminate if there are more than 1 caller in the call. Hang up call automation service from the call. This will make call automation service leave the call, but does not terminate if there are more than 1 caller in the call.

DELETE FROM azure.communication_call_automation.call_connection
WHERE call_connection_id = '{{ call_connection_id }}' --required
AND endpoint = '{{ endpoint }}' --required
;

Lifecycle Methods​

Get participants from a call. Recording and transcription bots are omitted from this list. Get participants from a call. Recording and transcription bots are omitted from this list.

EXEC azure.communication_call_automation.call_connection.get_participants
@call_connection_id='{{ call_connection_id }}' --required,
@endpoint='{{ endpoint }}' --required
;