From 17ea5bc7d2979ed8d014d93fde028fa3ae4d7be2 Mon Sep 17 00:00:00 2001 From: Durgesh Suryawanshi Date: Tue, 5 Nov 2024 18:31:38 +0530 Subject: [PATCH 01/16] generated alpha-4 swagger updated code --- .../src/callAutomationClient.ts | 153 +- .../src/callAutomationEventParser.ts | 20 + .../src/callConnection.ts | 3 +- .../src/callMedia.ts | 50 + .../src/callRecording.ts | 28 +- .../src/eventprocessor/eventResponses.ts | 13 + .../generated/src/callAutomationApiClient.ts | 43 +- .../src/generated/src/models/index.ts | 872 +++++++---- .../src/generated/src/models/mappers.ts | 1258 +++++++++------ .../src/generated/src/models/parameters.ts | 8 +- .../generated/src/operations/callDialog.ts | 5 +- .../generated/src/operations/callRecording.ts | 3 + .../src/operationsInterfaces/callDialog.ts | 5 +- .../src/models/events.ts | 132 +- .../src/models/models.ts | 18 +- .../src/models/options.ts | 62 +- .../src/models/responses.ts | 18 + .../swagger/README.md | 20 +- .../test/callMediaClient.spec.ts | 1391 ++++++++++++++++- .../test/utils/recordedClient.ts | 8 + 20 files changed, 3197 insertions(+), 913 deletions(-) diff --git a/sdk/communication/communication-call-automation/src/callAutomationClient.ts b/sdk/communication/communication-call-automation/src/callAutomationClient.ts index 71b43e879940..407ebdb2e3e0 100644 --- a/sdk/communication/communication-call-automation/src/callAutomationClient.ts +++ b/sdk/communication/communication-call-automation/src/callAutomationClient.ts @@ -18,17 +18,24 @@ import type { RedirectCallRequest, RejectCallRequest, CustomCallingContextInternal, + ConnectRequest, } from "./generated/src"; import { CallConnection } from "./callConnection"; import { CallRecording } from "./callRecording"; import type { AnswerCallOptions, + ConnectCallOptions, CreateCallOptions, RedirectCallOptions, RejectCallOptions, } from "./models/options"; -import type { AnswerCallResult, CreateCallResult } from "./models/responses"; -import type { CallConnectionProperties, CallInvite, CustomCallingContext } from "./models/models"; +import type { AnswerCallResult, ConnectCallResult, CreateCallResult } from "./models/responses"; +import type { + CallConnectionProperties, + CallInvite, + CallLocator, + CustomCallingContext, +} from "./models/models"; import { communicationIdentifierConverter, communicationIdentifierModelConverter, @@ -40,7 +47,11 @@ import { import { randomUUID } from "@azure/core-util"; import { createCustomCallAutomationApiClient } from "./credential/callAutomationAuthPolicy"; import { CallAutomationEventProcessor } from "./eventprocessor/callAutomationEventProcessor"; -import type { AnswerCallEventResult, CreateCallEventResult } from "./eventprocessor/eventResponses"; +import type { + AnswerCallEventResult, + ConnectCallEventResult, + CreateCallEventResult, +} from "./eventprocessor/eventResponses"; /** * Client options used to configure CallAutomation Client API requests. */ @@ -173,8 +184,15 @@ export class CallAutomationClient { repeatabilityFirstSent: new Date(), repeatabilityRequestID: randomUUID(), }; - const { callConnectionId, answeredBy, targets, sourceCallerIdNumber, source, ...result } = - await this.callAutomationApiClient.createCall(request, optionsInternal); + const { + callConnectionId, + answeredBy, + targets, + sourceCallerIdNumber, + source, + answeredFor, + ...result + } = await this.callAutomationApiClient.createCall(request, optionsInternal); if (callConnectionId) { const callConnectionPropertiesDto: CallConnectionProperties = { @@ -182,6 +200,7 @@ export class CallAutomationClient { callConnectionId: callConnectionId, source: source ? communicationIdentifierConverter(source) : undefined, answeredby: communicationUserIdentifierConverter(answeredBy), + answeredFor: answeredFor ? phoneNumberIdentifierConverter(answeredFor) : undefined, targetParticipants: targets?.map((returnedTarget) => communicationIdentifierConverter(returnedTarget), ), @@ -249,8 +268,8 @@ export class CallAutomationClient { callbackUri: callbackUrl, operationContext: options.operationContext, callIntelligenceOptions: options.callIntelligenceOptions, - mediaStreamingConfiguration: options.mediaStreamingConfiguration, - transcriptionConfiguration: options.transcriptionConfiguration, + mediaStreamingOptions: options.mediaStreamingOptions, + transcriptionOptions: options.transcriptionOptions, customCallingContext: this.createCustomCallingContextInternal( targetParticipant.customCallingContext!, ), @@ -281,7 +300,8 @@ export class CallAutomationClient { callbackUri: callbackUrl, operationContext: options.operationContext, callIntelligenceOptions: options.callIntelligenceOptions, - transcriptionConfiguration: options.transcriptionConfiguration, + mediaStreamingOptions: options.mediaStreamingOptions, + transcriptionOptions: options.transcriptionOptions, sourceCallerIdNumber: PhoneNumberIdentifierModelConverter(options.sourceCallIdNumber), sourceDisplayName: options.sourceDisplayName, }; @@ -302,15 +322,15 @@ export class CallAutomationClient { ): Promise { const { callIntelligenceOptions, - mediaStreamingConfiguration, - transcriptionConfiguration, + mediaStreamingOptions, + transcriptionOptions, operationContext, ...operationOptions } = options; const request: AnswerCallRequest = { incomingCallContext: incomingCallContext, - mediaStreamingConfiguration: mediaStreamingConfiguration, - transcriptionConfiguration: transcriptionConfiguration, + mediaStreamingOptions: mediaStreamingOptions, + transcriptionOptions: transcriptionOptions, callIntelligenceOptions: callIntelligenceOptions, operationContext: operationContext, callbackUri: callbackUrl, @@ -321,8 +341,15 @@ export class CallAutomationClient { repeatabilityFirstSent: new Date(), repeatabilityRequestID: randomUUID(), }; - const { callConnectionId, targets, sourceCallerIdNumber, answeredBy, source, ...result } = - await this.callAutomationApiClient.answerCall(request, optionsInternal); + const { + callConnectionId, + targets, + sourceCallerIdNumber, + answeredBy, + source, + answeredFor, + ...result + } = await this.callAutomationApiClient.answerCall(request, optionsInternal); if (callConnectionId) { const callConnectionProperties: CallConnectionProperties = { @@ -330,6 +357,7 @@ export class CallAutomationClient { callConnectionId: callConnectionId, source: source ? communicationIdentifierConverter(source) : undefined, answeredby: communicationUserIdentifierConverter(answeredBy), + answeredFor: answeredFor ? phoneNumberIdentifierConverter(answeredFor) : undefined, targetParticipants: targets?.map((target) => communicationIdentifierConverter(target)), sourceCallerIdNumber: sourceCallerIdNumber ? phoneNumberIdentifierConverter(sourceCallerIdNumber) @@ -444,4 +472,101 @@ export class CallAutomationClient { } return { sipHeaders: sipHeaders, voipHeaders: voipHeaders }; } + + /** + * Create connection to room call. + * @param callLocator - Call locator to create connection. + * @param callbackUrl - The callback url + * @param options - Additional request options contains connect api options. + */ + public async connectCall( + callLocator: CallLocator, + callbackUrl: string, + options: ConnectCallOptions = {}, + ): Promise { + const connectRequest: ConnectRequest = { + callLocator: callLocator, + callbackUri: callbackUrl, + operationContext: options.operationContext, + callIntelligenceOptions: options.callIntelligenceOptions, + }; + + if (callLocator.kind === "groupCallLocator") { + connectRequest.callLocator.kind = "groupCallLocator"; + connectRequest.callLocator.groupCallId = callLocator.id; + } else if (callLocator.kind === "roomCallLocator") { + connectRequest.callLocator.kind = "roomCallLocator"; + connectRequest.callLocator.roomId = callLocator.id; + } else { + connectRequest.callLocator.kind = "serverCallLocator"; + connectRequest.callLocator.serverCallId = callLocator.id; + } + + const optionsInternal = { + ...options, + repeatabilityFirstSent: new Date(), + repeatabilityRequestID: randomUUID(), + }; + + const { + callConnectionId, + targets, + sourceCallerIdNumber, + answeredBy, + source, + answeredFor, + ...result + } = await this.callAutomationApiClient.connect(connectRequest, optionsInternal); + + if (callConnectionId) { + const callConnectionProperties: CallConnectionProperties = { + ...result, + callConnectionId: callConnectionId, + source: source ? communicationIdentifierConverter(source) : undefined, + answeredby: answeredBy ? communicationUserIdentifierConverter(answeredBy) : undefined, + targetParticipants: targets?.map((target) => communicationIdentifierConverter(target)), + answeredFor: answeredFor ? phoneNumberIdentifierConverter(answeredFor) : undefined, + sourceCallerIdNumber: sourceCallerIdNumber + ? phoneNumberIdentifierConverter(sourceCallerIdNumber) + : undefined, + }; + const callConnection = new CallConnection( + callConnectionId, + this.callAutomationApiClient.endpoint, + this.credential, + this.callAutomationEventProcessor, + this.internalPipelineOptions, + ); + const connectResult: ConnectCallResult = { + callConnectionProperties: callConnectionProperties, + callConnection: callConnection, + waitForEventProcessor: async (abortSignal, timeoutInMs) => { + const connectCallEventResult: ConnectCallEventResult = { + isSuccess: false, + }; + await this.callAutomationEventProcessor.waitForEventProcessor( + (event) => { + if (event.callConnectionId === callConnectionId && event.kind === "CallConnected") { + connectCallEventResult.isSuccess = true; + connectCallEventResult.successResult = event; + return true; + } + if (event.callConnectionId === callConnectionId && event.kind === "ConnectFailed") { + connectCallEventResult.isSuccess = false; + connectCallEventResult.failureResult = event; + return true; + } else { + return false; + } + }, + abortSignal, + timeoutInMs, + ); + return connectCallEventResult; + }, + }; + return connectResult; + } + throw "callConnectionProperties / callConnectionId is missing in connect result"; + } } diff --git a/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts b/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts index 1636a5f59ca4..7ebc1257d275 100644 --- a/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts +++ b/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts @@ -37,6 +37,11 @@ import type { CreateCallFailed, AnswerFailed, HoldFailed, + ConnectFailed, + MediaStreamingStarted, + MediaStreamingStopped, + MediaStreamingFailed, + StartRecordingFailed, } from "./models/events"; import { CloudEventMapper } from "./models/mapper"; @@ -162,6 +167,21 @@ export function parseCallAutomationEvent( case "Microsoft.Communication.HoldFailed": callbackEvent = { kind: "HoldFailed" } as HoldFailed; break; + case "Microsoft.Communication.ConnectFailed": + callbackEvent = { kind: "ConnectFailed" } as ConnectFailed; + break; + case "Microsoft.Communication.MediaStreamingStarted": + callbackEvent = { kind: "MediaStreamingStarted" } as MediaStreamingStarted; + break; + case "Microsoft.Communication.MediaStreamingStopped": + callbackEvent = { kind: "MediaStreamingStopped" } as MediaStreamingStopped; + break; + case "Microsoft.Communication.MediaStreamingFailed": + callbackEvent = { kind: "MediaStreamingFailed" } as MediaStreamingFailed; + break; + case "Microsoft.Communication.StartRecordingFailed": + callbackEvent = { kind: "StartRecordingFailed" } as StartRecordingFailed; + break; default: throw new TypeError(`Unknown Call Automation Event type: ${eventType}`); } diff --git a/sdk/communication/communication-call-automation/src/callConnection.ts b/sdk/communication/communication-call-automation/src/callConnection.ts index 44ef5622f019..aea6168fdfec 100644 --- a/sdk/communication/communication-call-automation/src/callConnection.ts +++ b/sdk/communication/communication-call-automation/src/callConnection.ts @@ -106,12 +106,13 @@ export class CallConnection { public async getCallConnectionProperties( options: GetCallConnectionPropertiesOptions = {}, ): Promise { - const { targets, sourceCallerIdNumber, answeredBy, source, ...result } = + const { targets, sourceCallerIdNumber, answeredBy, source, answeredFor, ...result } = await this.callConnection.getCall(this.callConnectionId, options); const callConnectionProperties: CallConnectionProperties = { ...result, source: source ? communicationIdentifierConverter(source) : undefined, answeredby: communicationUserIdentifierConverter(answeredBy), + answeredFor: answeredFor ? phoneNumberIdentifierConverter(answeredFor) : undefined, targetParticipants: targets?.map((target) => communicationIdentifierConverter(target)), sourceCallerIdNumber: sourceCallerIdNumber ? phoneNumberIdentifierConverter(sourceCallerIdNumber) diff --git a/sdk/communication/communication-call-automation/src/callMedia.ts b/sdk/communication/communication-call-automation/src/callMedia.ts index 0bcd081438e0..f984a4b8e8d8 100644 --- a/sdk/communication/communication-call-automation/src/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/callMedia.ts @@ -23,6 +23,8 @@ import type { UpdateTranscriptionRequest, HoldRequest, UnholdRequest, + StartMediaStreamingRequest, + StopMediaStreamingRequest, } from "./generated/src"; import { KnownPlaySourceType, KnownRecognizeInputType } from "./generated/src"; @@ -44,6 +46,8 @@ import type { StopTranscriptionOptions, HoldOptions, UnholdOptions, + StartMediaStreamingOptions, + StopMediaStreamingOptions, } from "./models/options"; import type { KeyCredential, TokenCredential } from "@azure/core-auth"; import type { @@ -287,6 +291,10 @@ export class CallMedia { playPrompt: recognizeOptions.playPrompt ? this.createPlaySourceInternal(recognizeOptions.playPrompt) : undefined, + playPrompts: + recognizeOptions.playPrompts !== undefined + ? recognizeOptions.playPrompts.map((source) => this.createPlaySourceInternal(source)) + : undefined, interruptCallMediaOperation: recognizeOptions.interruptCallMediaOperation, recognizeOptions: recognizeOptionsInternal, operationContext: recognizeOptions.operationContext, @@ -308,6 +316,10 @@ export class CallMedia { playPrompt: recognizeOptions.playPrompt ? this.createPlaySourceInternal(recognizeOptions.playPrompt) : undefined, + playPrompts: + recognizeOptions.playPrompts !== undefined + ? recognizeOptions.playPrompts.map((source) => this.createPlaySourceInternal(source)) + : undefined, interruptCallMediaOperation: recognizeOptions.interruptCallMediaOperation, recognizeOptions: recognizeOptionsInternal, operationContext: recognizeOptions.operationContext, @@ -334,6 +346,10 @@ export class CallMedia { playPrompt: recognizeOptions.playPrompt ? this.createPlaySourceInternal(recognizeOptions.playPrompt) : undefined, + playPrompts: + recognizeOptions.playPrompts !== undefined + ? recognizeOptions.playPrompts.map((source) => this.createPlaySourceInternal(source)) + : undefined, interruptCallMediaOperation: recognizeOptions.interruptCallMediaOperation, recognizeOptions: recognizeOptionsInternal, operationContext: recognizeOptions.operationContext, @@ -367,6 +383,10 @@ export class CallMedia { playPrompt: recognizeOptions.playPrompt ? this.createPlaySourceInternal(recognizeOptions.playPrompt) : undefined, + playPrompts: + recognizeOptions.playPrompts !== undefined + ? recognizeOptions.playPrompts.map((source) => this.createPlaySourceInternal(source)) + : undefined, interruptCallMediaOperation: recognizeOptions.interruptCallMediaOperation, recognizeOptions: recognizeOptionsInternal, operationContext: recognizeOptions.operationContext, @@ -731,4 +751,34 @@ export class CallMedia { {}, ); } + /** + * Starts media streaming in the call. + * @param options - Additional attributes for start media streaming. + */ + public async startMediaStreaming(options: StartMediaStreamingOptions = {}): Promise { + const startMediaStreamingRequest: StartMediaStreamingRequest = { + operationContext: options.operationContext, + operationCallbackUri: options.operationCallbackUrl, + }; + return this.callMedia.startMediaStreaming( + this.callConnectionId, + startMediaStreamingRequest, + options, + ); + } + + /** + * Stops media streaming in the call. + * @param options - Additional attributes for stop media streaming. + */ + public async stopMediaStreaming(options: StopMediaStreamingOptions = {}): Promise { + const stopMediaStreamingRequest: StopMediaStreamingRequest = { + operationCallbackUri: options.operationCallbackUrl, + }; + return this.callMedia.stopMediaStreaming( + this.callConnectionId, + stopMediaStreamingRequest, + options, + ); + } } diff --git a/sdk/communication/communication-call-automation/src/callRecording.ts b/sdk/communication/communication-call-automation/src/callRecording.ts index c02f240dee3e..7c6d4ed2b7ce 100644 --- a/sdk/communication/communication-call-automation/src/callRecording.ts +++ b/sdk/communication/communication-call-automation/src/callRecording.ts @@ -53,7 +53,7 @@ export class CallRecording { */ public async start(options: StartRecordingOptions): Promise { const startCallRecordingRequest: StartCallRecordingRequest = { - callLocator: options.callLocator, + callLocator: options.callLocator ? options.callLocator : undefined, }; startCallRecordingRequest.recordingChannelType = options.recordingChannel; @@ -81,13 +81,27 @@ export class CallRecording { ); }); } - - if (options.callLocator.kind === "groupCallLocator") { - startCallRecordingRequest.callLocator.kind = "groupCallLocator"; - startCallRecordingRequest.callLocator.groupCallId = options.callLocator.id; + if (options.callLocator && !options.callConnectionId) { + if (options.callLocator.kind === "groupCallLocator") { + startCallRecordingRequest.callLocator = { + groupCallId: options.callLocator.id, + kind: "groupCallLocator", + }; + } else if (options.callLocator.kind === "serverCallLocator") { + startCallRecordingRequest.callLocator = { + groupCallId: options.callLocator.id, + kind: "serverCallLocator", + }; + } else if (options.callLocator.kind === "roomCallLocator") { + startCallRecordingRequest.callLocator = { + groupCallId: options.callLocator.id, + kind: "roomCallLocator", + }; + } + } else if (options.callConnectionId && !options.callLocator) { + startCallRecordingRequest.callConnectionId = options.callConnectionId; } else { - startCallRecordingRequest.callLocator.kind = "serverCallLocator"; - startCallRecordingRequest.callLocator.serverCallId = options.callLocator.id; + throw "Only one of callLocator or callConnectionId to be used."; } const optionsInternal = { diff --git a/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts b/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts index 6acec873b3b6..754d8646f243 100644 --- a/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts +++ b/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts @@ -21,6 +21,7 @@ import type { CancelAddParticipantFailed, CreateCallFailed, AnswerFailed, + ConnectFailed, } from "../models/events"; /** @@ -73,6 +74,18 @@ export interface CreateCallEventResult { failureResult?: CreateCallFailed; } +/** + * ConnectCall event result + */ +export interface ConnectCallEventResult { + /** returns true if create call was successful */ + isSuccess: boolean; + /** contains success event if the result was successful */ + successResult?: CallConnected; + /** contains failure event if the result was failure */ + failureResult?: ConnectFailed; +} + /** * Play event result */ diff --git a/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts b/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts index 017c7964ea4f..3dae16c36047 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts @@ -38,6 +38,9 @@ import { RedirectCallOptionalParams, RejectCallRequest, RejectCallOptionalParams, + ConnectRequest, + ConnectOptionalParams, + ConnectResponse, } from "./models"; export class CallAutomationApiClient extends coreClient.ServiceClient { @@ -84,7 +87,7 @@ export class CallAutomationApiClient extends coreClient.ServiceClient { this.endpoint = endpoint; // Assigning values to Constant parameters - this.apiVersion = options.apiVersion || "2023-10-03-preview"; + this.apiVersion = options.apiVersion || "2024-09-01-preview"; this.callConnection = new CallConnectionImpl(this); this.callMedia = new CallMediaImpl(this); this.callDialog = new CallDialogImpl(this); @@ -180,6 +183,21 @@ export class CallAutomationApiClient extends coreClient.ServiceClient { ); } + /** + * Create a connection to a CallLocator. + * @param connectRequest The create connection request. + * @param options The options parameters. + */ + connect( + connectRequest: ConnectRequest, + options?: ConnectOptionalParams, + ): Promise { + return this.sendOperationRequest( + { connectRequest, options }, + connectOperationSpec, + ); + } + callConnection: CallConnection; callMedia: CallMedia; callDialog: CallDialog; @@ -276,3 +294,26 @@ const rejectCallOperationSpec: coreClient.OperationSpec = { mediaType: "json", serializer, }; +const connectOperationSpec: coreClient.OperationSpec = { + path: "/calling/callConnections:connect", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.CallConnectionPropertiesInternal, + }, + default: { + bodyMapper: Mappers.CommunicationErrorResponse, + }, + }, + requestBody: Parameters.connectRequest, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.endpoint], + headerParameters: [ + Parameters.contentType, + Parameters.accept, + Parameters.repeatabilityRequestID, + Parameters.repeatabilityFirstSent, + ], + mediaType: "json", + serializer, +}; diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/index.ts b/sdk/communication/communication-call-automation/src/generated/src/models/index.ts index 8033a147ae4d..d75d1ff0755b 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/index.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/index.ts @@ -27,18 +27,20 @@ export interface CreateCallRequest { sourceDisplayName?: string; /** The identifier of the source of the call */ source?: CommunicationUserIdentifierModel; + /** The identifier of the source in an OPS call */ + opsSource?: MicrosoftTeamsAppIdentifierModel; /** A customer set value used to track the answering of a call. */ operationContext?: string; /** The callback URI. */ callbackUri: string; - /** Media Streaming Configuration. */ - mediaStreamingConfiguration?: MediaStreamingConfiguration; - /** Live Transcription Configuration. */ - transcriptionConfiguration?: TranscriptionConfiguration; /** AI options for the call. */ callIntelligenceOptions?: CallIntelligenceOptionsInternal; /** Used by customer to send custom calling context to targets */ customCallingContext?: CustomCallingContextInternal; + /** Media Streaming Options. */ + mediaStreamingOptions?: MediaStreamingOptions; + /** Transcription Options. */ + transcriptionOptions?: TranscriptionOptions; } /** Identifies 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. */ @@ -87,8 +89,22 @@ export interface MicrosoftTeamsAppIdentifierModel { cloud?: CommunicationCloudEnvironmentModel; } +/** AI options for the call. */ +export interface CallIntelligenceOptionsInternal { + /** The identifier of the Cognitive Service resource assigned to this call. */ + cognitiveServicesEndpoint?: string; +} + +/** The custom calling context which will be sent to the target */ +export interface CustomCallingContextInternal { + /** Custom calling context VoiP headers */ + voipHeaders?: { [propertyName: string]: string }; + /** Custom calling context SIP headers */ + sipHeaders?: { [propertyName: string]: string }; +} + /** Configuration of Media streaming. */ -export interface MediaStreamingConfiguration { +export interface MediaStreamingOptions { /** Transport URL for media streaming */ transportUrl: string; /** The type of transport to be used for media streaming, eg. Websocket */ @@ -99,31 +115,26 @@ export interface MediaStreamingConfiguration { audioChannelType: MediaStreamingAudioChannelType; /** Determines if the media streaming should be started immediately after call is answered or not. */ startMediaStreaming?: boolean; + /** A value indicating whether bidirectional streaming is enabled. */ + enableBidirectional?: boolean; + /** Specifies the audio format used for encoding, including sample rate and channel type. */ + audioFormat?: AudioFormat; } /** Configuration of live transcription. */ -export interface TranscriptionConfiguration { +export interface TranscriptionOptions { /** Transport URL for live transcription */ transportUrl: string; /** The type of transport to be used for live transcription, eg. Websocket */ transportType: TranscriptionTransportType; /** Defines the locale for the data e.g en-CA, en-AU */ locale: string; + /** Endpoint where the custom model was deployed. */ + speechRecognitionModelEndpointId?: string; /** Determines if the transcription should be started immediately after call is answered or not. */ startTranscription: boolean; -} - -/** AI options for the call. */ -export interface CallIntelligenceOptionsInternal { - /** The identifier of the Cognitive Service resource assigned to this call. */ - cognitiveServicesEndpoint?: string; -} - -export interface CustomCallingContextInternal { - /** Dictionary of */ - voipHeaders?: { [propertyName: string]: string }; - /** Dictionary of */ - sipHeaders?: { [propertyName: string]: string }; + /** Enables intermediate results for the transcribed speech. */ + enableIntermediateResults?: boolean; } /** Properties of a call connection */ @@ -155,10 +166,34 @@ export interface CallConnectionPropertiesInternal { correlationId?: string; /** Identity of the answering entity. Only populated when identity is provided in the request. */ answeredBy?: CommunicationUserIdentifierModel; + /** The state of media streaming subscription for the call */ + mediaStreamingSubscription?: MediaStreamingSubscription; + /** Transcription Subscription. */ + transcriptionSubscription?: TranscriptionSubscription; /** Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. */ answeredFor?: PhoneNumberIdentifierModel; } +/** Media streaming Subscription Object. */ +export interface MediaStreamingSubscription { + /** Subscription Id. */ + id?: string; + /** Media streaming subscription state. */ + state?: MediaStreamingSubscriptionState; + /** Subscribed media streaming content types. */ + subscribedContentTypes?: MediaStreamingContentType[]; +} + +/** Transcription Subscription Object. */ +export interface TranscriptionSubscription { + /** Subscription Id. */ + id?: string; + /** Transcription subscription state. */ + state?: TranscriptionSubscriptionState; + /** Subscribed transcription result types. */ + subscribedResultTypes?: TranscriptionResultType[]; +} + /** The Communication Services error. */ export interface CommunicationErrorResponse { /** The Communication Services error. */ @@ -194,16 +229,18 @@ export interface AnswerCallRequest { incomingCallContext: string; /** The callback uri. */ callbackUri: string; + /** Used by customer to send custom calling context to targets when answering On-Behalf-Of call */ + customCallingContext?: CustomCallingContextInternal; /** A customer set value used to track the answering of a call. */ operationContext?: string; - /** Media Streaming Configuration. */ - mediaStreamingConfiguration?: MediaStreamingConfiguration; - /** Live Transcription Configuration. */ - transcriptionConfiguration?: TranscriptionConfiguration; /** AI options for the call. */ callIntelligenceOptions?: CallIntelligenceOptionsInternal; /** The identifier of the call automation entity which answers the call */ answeredBy?: CommunicationUserIdentifierModel; + /** Media Streaming Options. */ + mediaStreamingOptions?: MediaStreamingOptions; + /** Transcription Options. */ + transcriptionOptions?: TranscriptionOptions; } /** The request payload for redirecting the call. */ @@ -224,6 +261,34 @@ export interface RejectCallRequest { callRejectReason?: CallRejectReason; } +/** The request payload for creating a connection to a CallLocator. */ +export interface ConnectRequest { + /** The call locator. */ + callLocator: CallLocator; + /** The callback URI. */ + callbackUri: string; + /** Used by customers to correlate the request to the response event. */ + operationContext?: string; + /** AI options for the call. */ + callIntelligenceOptions?: CallIntelligenceOptionsInternal; + /** Media Streaming Options. */ + mediaStreamingOptions?: MediaStreamingOptions; + /** Transcription Options. */ + transcriptionOptions?: TranscriptionOptions; +} + +/** The locator used for joining or taking action on a call */ +export interface CallLocator { + /** The group call id */ + groupCallId?: string; + /** The server call id. */ + serverCallId?: string; + /** The Acs room id */ + roomId?: string; + /** The call locator kind. */ + kind?: CallLocatorKind; +} + /** The request payload for transferring call to a participant. */ export interface TransferToParticipantRequest { /** The identity of the target where call should be transferred to. */ @@ -681,8 +746,10 @@ export interface CancelAddParticipantResponse { /** The request payload start for call recording operation with call locator. */ export interface StartCallRecordingRequest { - /** The call locator. */ - callLocator: CallLocator; + /** The call locator. (Only one of callLocator or callConnectionId to be used) */ + callLocator?: CallLocator; + /** The call connectionId. (Only one of callLocator or callConnectionId to be used) */ + callConnectionId?: string; /** The uri to send notifications to. */ recordingStateCallbackUri?: string; /** The content type of call recording. */ @@ -711,16 +778,6 @@ export interface StartCallRecordingRequest { pauseOnStart?: boolean; } -/** The locator used for joining or taking action on a call. */ -export interface CallLocator { - /** The group call id */ - groupCallId?: string; - /** The server call id. */ - serverCallId?: string; - /** The call locator kind. */ - kind?: CallLocatorKind; -} - /** Channel affinity for a participant */ export interface ChannelAffinity { /** Channel number to which bitstream from a particular participant will be written. */ @@ -772,23 +829,23 @@ export interface ChoiceResult { } export interface DialogCompleted { + /** Determines the type of the dialog. */ + dialogInputType?: DialogInputType; /** - * Used by customers when calling answerCall action to correlate the request to the response event. + * Dialog ID * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly dialogId?: string; /** - * Contains the resulting SIP code/sub-code and message from NGC services. + * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resultInformation?: RestResultInformation; - /** Determines the type of the dialog. */ - dialogInputType?: DialogInputType; + readonly operationContext?: string; /** - * Dialog ID + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly dialogId?: string; + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -816,23 +873,23 @@ export interface RestResultInformation { } export interface DialogFailed { + /** Determines the type of the dialog. */ + dialogInputType?: DialogInputType; /** - * Used by customers when calling answerCall action to correlate the request to the response event. + * Dialog ID * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly dialogId?: string; /** - * Contains the resulting SIP code/sub-code and message from NGC services. + * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resultInformation?: RestResultInformation; - /** Determines the type of the dialog. */ - dialogInputType?: DialogInputType; + readonly operationContext?: string; /** - * Dialog ID + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly dialogId?: string; + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -856,23 +913,23 @@ export interface DialogConsent { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly userConsent?: UserConsent; + /** Determines the type of the dialog. */ + dialogInputType?: DialogInputType; /** - * Used by customers when calling answerCall action to correlate the request to the response event. + * Dialog ID * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly dialogId?: string; /** - * Contains the resulting SIP code/sub-code and message from NGC services. + * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resultInformation?: RestResultInformation; - /** Determines the type of the dialog. */ - dialogInputType?: DialogInputType; + readonly operationContext?: string; /** - * Dialog ID + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly dialogId?: string; + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -895,23 +952,23 @@ export interface UserConsent { } export interface DialogStarted { + /** Determines the type of the dialog. */ + dialogInputType?: DialogInputType; /** - * Used by customers when calling answerCall action to correlate the request to the response event. + * Dialog ID * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly dialogId?: string; /** - * Contains the resulting SIP code/sub-code and message from NGC services. + * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resultInformation?: RestResultInformation; - /** Determines the type of the dialog. */ - dialogInputType?: DialogInputType; + readonly operationContext?: string; /** - * Dialog ID + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly dialogId?: string; + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -930,16 +987,6 @@ export interface DialogStarted { } export interface DialogHangup { - /** - * Used by customers when calling answerCall action to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; /** Determines the type of the dialog. */ dialogInputType?: DialogInputType; /** @@ -952,6 +999,16 @@ export interface DialogHangup { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ivrContext?: Record; + /** + * Used by customers when calling mid-call actions to correlate the request to the response event. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operationContext?: string; + /** + * Contains the resulting SIP code/sub-code and message from NGC services. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -980,16 +1037,6 @@ export interface DialogTransfer { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly transferDestination?: string; - /** - * Used by customers when calling answerCall action to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; /** Determines the type of the dialog. */ dialogInputType?: DialogInputType; /** @@ -1002,6 +1049,16 @@ export interface DialogTransfer { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ivrContext?: Record; + /** + * Used by customers when calling mid-call actions to correlate the request to the response event. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operationContext?: string; + /** + * Contains the resulting SIP code/sub-code and message from NGC services. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1025,16 +1082,6 @@ export interface DialogLanguageChange { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly selectedLanguage?: string; - /** - * Used by customers when calling answerCall action to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; /** Determines the type of the dialog. */ dialogInputType?: DialogInputType; /** @@ -1047,6 +1094,16 @@ export interface DialogLanguageChange { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ivrContext?: Record; + /** + * Used by customers when calling mid-call actions to correlate the request to the response event. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operationContext?: string; + /** + * Contains the resulting SIP code/sub-code and message from NGC services. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1070,23 +1127,23 @@ export interface DialogSensitivityUpdate { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly sensitiveMask?: boolean; + /** Determines the type of the dialog. */ + dialogInputType?: DialogInputType; /** - * Used by customers when calling answerCall action to correlate the request to the response event. + * Dialog ID * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly dialogId?: string; /** - * Contains the resulting SIP code/sub-code and message from NGC services. + * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resultInformation?: RestResultInformation; - /** Determines the type of the dialog. */ - dialogInputType?: DialogInputType; + readonly operationContext?: string; /** - * Dialog ID + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly dialogId?: string; + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1105,16 +1162,6 @@ export interface DialogSensitivityUpdate { } export interface DialogUpdated { - /** - * Used by customers when calling answerCall action to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; /** Determines the type of the dialog. */ dialogInputType?: DialogInputType; /** @@ -1127,44 +1174,16 @@ export interface DialogUpdated { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ivrContext?: Record; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; -} - -export interface TranscriptionUpdate { - transcriptionStatus?: TranscriptionStatus; - transcriptionStatusDetails?: TranscriptionStatusDetails; -} - -export interface MediaStreamingFailed { /** * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationContext?: string; /** - * Contains the resulting SIP code, sub-code and message. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resultInformation?: RestResultInformation; - /** - * Defines the result for audio streaming update with the current status and the details about the status - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly mediaStreamingUpdate?: MediaStreamingUpdate; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1182,61 +1201,33 @@ export interface MediaStreamingFailed { readonly correlationId?: string; } +export interface TranscriptionUpdate { + transcriptionStatus?: TranscriptionStatus; + transcriptionStatusDetails?: TranscriptionStatusDetails; +} + export interface MediaStreamingUpdate { contentType?: string; mediaStreamingStatus?: MediaStreamingStatus; mediaStreamingStatusDetails?: MediaStreamingStatusDetails; } -export interface MediaStreamingStarted { - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code, sub-code and message. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Defines the result for audio streaming update with the current status and the details about the status - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly mediaStreamingUpdate?: MediaStreamingUpdate; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; +export interface RestAddParticipantSucceeded { /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + * Identifies 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. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly correlationId?: string; -} - -export interface MediaStreamingStopped { + readonly participant?: CommunicationIdentifierModel; /** * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationContext?: string; /** - * Contains the resulting SIP code, sub-code and message. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resultInformation?: RestResultInformation; - /** - * Defines the result for audio streaming update with the current status and the details about the status - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly mediaStreamingUpdate?: MediaStreamingUpdate; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1254,57 +1245,22 @@ export interface MediaStreamingStopped { readonly correlationId?: string; } -/** The participant successfully added event. */ -export interface RestAddParticipantSucceeded { - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code, sub-code and message. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; +export interface RestAddParticipantFailed { /** - * Participant + * Identifies 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. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly participant?: CommunicationIdentifierModel; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; -} - -/** The failed to add participant event. */ -export interface RestAddParticipantFailed { /** * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationContext?: string; /** - * Contains the resulting SIP code, sub-code and message. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resultInformation?: RestResultInformation; - /** - * Participant - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly participant?: CommunicationIdentifierModel; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1322,23 +1278,22 @@ export interface RestAddParticipantFailed { readonly correlationId?: string; } -/** The participant removed event. */ export interface RestRemoveParticipantSucceeded { /** - * Used by customers when calling mid-call actions to correlate the request to the response event. + * Identifies 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. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly participant?: CommunicationIdentifierModel; /** - * Contains the resulting SIP code, sub-code and message. + * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resultInformation?: RestResultInformation; + readonly operationContext?: string; /** - * Participant + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly participant?: CommunicationIdentifierModel; + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1356,23 +1311,22 @@ export interface RestRemoveParticipantSucceeded { readonly correlationId?: string; } -/** The failed to remove participant event. */ export interface RestRemoveParticipantFailed { /** - * Used by customers when calling mid-call actions to correlate the request to the response event. + * Identifies 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. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly participant?: CommunicationIdentifierModel; /** - * Contains the resulting SIP code, sub-code and message. + * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resultInformation?: RestResultInformation; + readonly operationContext?: string; /** - * Participant + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly participant?: CommunicationIdentifierModel; + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1397,6 +1351,11 @@ export interface RestCallConnected { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationContext?: string; + /** + * Contains the resulting SIP code/sub-code and message from NGC services. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1421,6 +1380,11 @@ export interface RestCallDisconnected { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationContext?: string; + /** + * Contains the resulting SIP code/sub-code and message from NGC services. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1441,25 +1405,25 @@ export interface RestCallDisconnected { /** The call transfer accepted event. */ export interface RestCallTransferAccepted { /** - * Used by customers when calling mid-call actions to correlate the request to the response event. + * Target who the call is transferred to. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly transferTarget?: CommunicationIdentifierModel; /** - * Contains the resulting SIP code, sub-code and message. + * the participant who is being transferred away. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resultInformation?: RestResultInformation; + readonly transferee?: CommunicationIdentifierModel; /** - * Target who the call is transferred to. + * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly transferTarget?: CommunicationIdentifierModel; + readonly operationContext?: string; /** - * the participant who is being transferred away. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly transferee?: CommunicationIdentifierModel; + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1485,7 +1449,7 @@ export interface RestCallTransferFailed { */ readonly operationContext?: string; /** - * Contains the resulting SIP code, sub-code and message. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resultInformation?: RestResultInformation; @@ -1519,6 +1483,11 @@ export interface RestRecordingStateChanged { */ readonly startDateTime?: Date; recordingKind?: RecordingKind; + /** + * Result information defines the code, subcode and message + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1536,15 +1505,21 @@ export interface RestRecordingStateChanged { readonly correlationId?: string; } -/** The participants updated in a call event. */ export interface RestParticipantsUpdated { - /** - * The list of participants in the call. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ + /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly participants?: CallParticipantInternal[]; /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly sequenceNumber?: number; + /** + * Contains the resulting SIP code, sub-code and message. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; + /** + * Used by customers when calling mid-call actions to correlate the request to the response event. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operationContext?: string; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1564,15 +1539,15 @@ export interface RestParticipantsUpdated { export interface RestPlayCompleted { /** - * Result information defines the code, subcode and message + * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resultInformation?: RestResultInformation; + readonly operationContext?: string; /** - * Used by customers when calling mid-call actions to correlate the request to the response event. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1592,20 +1567,20 @@ export interface RestPlayCompleted { export interface RestPlayFailed { /** - * Used by customers when calling mid-call actions to correlate the request to the response event. + * Indicates the index of the failed play source. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly failedPlaySourceIndex?: number; /** - * Contains the resulting SIP code, sub-code and message. + * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resultInformation?: RestResultInformation; + readonly operationContext?: string; /** - * Indicates the index of the failed play source. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly failedPlaySourceIndex?: number; + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1629,6 +1604,11 @@ export interface RestPlayCanceled { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationContext?: string; + /** + * Contains the resulting SIP code/sub-code and message from NGC services. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1647,19 +1627,9 @@ export interface RestPlayCanceled { } export interface RestRecognizeCompleted { - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Result information defines the code, subcode and message - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; /** * Determines the sub-type of the recognize operation. - * In case of cancel operation the this field is not set and is returned empty + * In case of cancel operation this field is not set and is returned empty * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly recognitionType?: RecognitionType; @@ -1684,6 +1654,16 @@ export interface RestRecognizeCompleted { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly choiceResult?: ChoiceResult; + /** + * Used by customers when calling mid-call actions to correlate the request to the response event. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operationContext?: string; + /** + * Contains the resulting SIP code/sub-code and message from NGC services. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1703,20 +1683,20 @@ export interface RestRecognizeCompleted { export interface RestRecognizeFailed { /** - * Used by customers when calling mid-call actions to correlate the request to the response event. + * Indicates the index of the failed play source. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly failedPlaySourceIndex?: number; /** - * Contains the resulting SIP code, sub-code and message. + * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resultInformation?: RestResultInformation; + readonly operationContext?: string; /** - * Indicates the index of the failed play source. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly failedPlaySourceIndex?: number; + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1740,6 +1720,11 @@ export interface RestRecognizeCanceled { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationContext?: string; + /** + * Contains the resulting SIP code/sub-code and message from NGC services. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1852,7 +1837,7 @@ export interface RestSendDtmfTonesCompleted { */ readonly operationContext?: string; /** - * Contains the resulting SIP code, sub-code and message. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resultInformation?: RestResultInformation; @@ -1880,7 +1865,7 @@ export interface RestSendDtmfTonesFailed { */ readonly operationContext?: string; /** - * Contains the resulting SIP code, sub-code and message. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resultInformation?: RestResultInformation; @@ -1901,19 +1886,18 @@ export interface RestSendDtmfTonesFailed { readonly correlationId?: string; } -/** Successful cancel add participant event. */ export interface RestCancelAddParticipantSucceeded { - /** - * Invitation ID used to cancel the request. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ + /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly invitationId?: string; /** * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationContext?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ + /** + * Contains the resulting SIP code/sub-code and message from NGC services. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ readonly resultInformation?: RestResultInformation; /** * Call connection ID. @@ -1935,20 +1919,20 @@ export interface RestCancelAddParticipantSucceeded { /** Failed cancel add participant event. */ export interface RestCancelAddParticipantFailed { /** - * Used by customers when calling mid-call actions to correlate the request to the response event. + * Invitation ID used to cancel the request. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly invitationId?: string; /** - * Contains the resulting SIP code, sub-code and message. + * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resultInformation?: RestResultInformation; + readonly operationContext?: string; /** - * Invitation ID used to cancel the request. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly invitationId?: string; + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1968,20 +1952,20 @@ export interface RestCancelAddParticipantFailed { export interface RestTranscriptionStarted { /** - * Used by customers when calling mid-call actions to correlate the request to the response event. + * Defines the result for TranscriptionUpdate with the current status and the details about the status * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly transcriptionUpdate?: TranscriptionUpdate; /** - * Contains the resulting SIP code, sub-code and message. + * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resultInformation?: RestResultInformation; + readonly operationContext?: string; /** - * Defines the result for TranscriptionUpdate with the current status and the details about the status + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly transcriptionUpdate?: TranscriptionUpdate; + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2001,20 +1985,20 @@ export interface RestTranscriptionStarted { export interface RestTranscriptionStopped { /** - * Used by customers when calling mid-call actions to correlate the request to the response event. + * Defines the result for TranscriptionUpdate with the current status and the details about the status * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly transcriptionUpdate?: TranscriptionUpdate; /** - * Contains the resulting SIP code, sub-code and message. + * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resultInformation?: RestResultInformation; + readonly operationContext?: string; /** - * Defines the result for TranscriptionUpdate with the current status and the details about the status + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly transcriptionUpdate?: TranscriptionUpdate; + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2033,21 +2017,54 @@ export interface RestTranscriptionStopped { } export interface RestTranscriptionUpdated { + /** + * Defines the result for TranscriptionUpdate with the current status and the details about the status + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly transcriptionUpdate?: TranscriptionUpdate; /** * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationContext?: string; /** - * Contains the resulting SIP code, sub-code and message. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resultInformation?: RestResultInformation; + /** + * Call connection ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly callConnectionId?: string; + /** + * Server call ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly serverCallId?: string; + /** + * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly correlationId?: string; +} + +export interface RestTranscriptionFailed { /** * Defines the result for TranscriptionUpdate with the current status and the details about the status * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly transcriptionUpdate?: TranscriptionUpdate; + /** + * Used by customers when calling mid-call actions to correlate the request to the response event. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operationContext?: string; + /** + * Contains the resulting SIP code/sub-code and message from NGC services. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2065,22 +2082,45 @@ export interface RestTranscriptionUpdated { readonly correlationId?: string; } -export interface RestTranscriptionFailed { +export interface RestAnswerFailed { /** * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationContext?: string; /** - * Contains the resulting SIP code, sub-code and message. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resultInformation?: RestResultInformation; /** - * Defines the result for TranscriptionUpdate with the current status and the details about the status + * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly transcriptionUpdate?: TranscriptionUpdate; + readonly callConnectionId?: string; + /** + * Server call ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly serverCallId?: string; + /** + * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly correlationId?: string; +} + +export interface RestHoldFailed { + /** + * Used by customers when calling mid-call actions to correlate the request to the response event. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operationContext?: string; + /** + * Contains the resulting SIP code/sub-code and message from NGC services. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2098,15 +2138,19 @@ export interface RestTranscriptionFailed { readonly correlationId?: string; } -/** The CreateCallFailed event */ -export interface RestCreateCallFailed { +export interface RestMediaStreamingStarted { + /** + * Defines the result for audio streaming update with the current status and the details about the status + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly mediaStreamingUpdate?: MediaStreamingUpdate; /** * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationContext?: string; /** - * Contains the resulting SIP code, sub-code and message. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resultInformation?: RestResultInformation; @@ -2127,15 +2171,19 @@ export interface RestCreateCallFailed { readonly correlationId?: string; } -/** AnswerFailed event */ -export interface RestAnswerFailed { +export interface RestMediaStreamingStopped { + /** + * Defines the result for audio streaming update with the current status and the details about the status + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly mediaStreamingUpdate?: MediaStreamingUpdate; /** * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationContext?: string; /** - * Contains the resulting SIP code, sub-code and message. + * Contains the resulting SIP code/sub-code and message from NGC services. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resultInformation?: RestResultInformation; @@ -2156,17 +2204,55 @@ export interface RestAnswerFailed { readonly correlationId?: string; } -export interface RestHoldFailed { +export interface RestMediaStreamingFailed { + /** + * Defines the result for audio streaming update with the current status and the details about the status + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly mediaStreamingUpdate?: MediaStreamingUpdate; /** * Used by customers when calling mid-call actions to correlate the request to the response event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationContext?: string; + /** + * Contains the resulting SIP code/sub-code and message from NGC services. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; + /** + * Call connection ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly callConnectionId?: string; + /** + * Server call ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly serverCallId?: string; + /** + * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly correlationId?: string; +} + +export interface RestStartRecordingFailed { /** * Contains the resulting SIP code, sub-code and message. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resultInformation?: RestResultInformation; + /** + * The call recording id + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly recordingId?: string; + /** + * Used by customers when calling mid-call actions to correlate the request to the response event. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operationContext?: string; /** * Call connection ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2302,6 +2388,24 @@ export enum KnownMediaStreamingAudioChannelType { */ export type MediaStreamingAudioChannelType = string; +/** Known values of {@link AudioFormat} that the service accepts. */ +export enum KnownAudioFormat { + /** Pcm16KMono */ + Pcm16KMono = "Pcm16KMono", + /** Pcm24KMono */ + Pcm24KMono = "Pcm24KMono", +} + +/** + * Defines values for AudioFormat. \ + * {@link KnownAudioFormat} can be used interchangeably with AudioFormat, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Pcm16KMono**: Pcm16KMono \ + * **Pcm24KMono**: Pcm24KMono + */ +export type AudioFormat = string; + /** Known values of {@link TranscriptionTransportType} that the service accepts. */ export enum KnownTranscriptionTransportType { /** Websocket */ @@ -2350,6 +2454,66 @@ export enum KnownCallConnectionStateModel { */ export type CallConnectionStateModel = string; +/** Known values of {@link MediaStreamingSubscriptionState} that the service accepts. */ +export enum KnownMediaStreamingSubscriptionState { + /** Disabled */ + Disabled = "disabled", + /** Inactive */ + Inactive = "inactive", + /** Active */ + Active = "active", +} + +/** + * Defines values for MediaStreamingSubscriptionState. \ + * {@link KnownMediaStreamingSubscriptionState} can be used interchangeably with MediaStreamingSubscriptionState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **disabled** \ + * **inactive** \ + * **active** + */ +export type MediaStreamingSubscriptionState = string; + +/** Known values of {@link TranscriptionSubscriptionState} that the service accepts. */ +export enum KnownTranscriptionSubscriptionState { + /** Disabled */ + Disabled = "disabled", + /** Inactive */ + Inactive = "inactive", + /** Active */ + Active = "active", +} + +/** + * Defines values for TranscriptionSubscriptionState. \ + * {@link KnownTranscriptionSubscriptionState} can be used interchangeably with TranscriptionSubscriptionState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **disabled** \ + * **inactive** \ + * **active** + */ +export type TranscriptionSubscriptionState = string; + +/** Known values of {@link TranscriptionResultType} that the service accepts. */ +export enum KnownTranscriptionResultType { + /** Final */ + Final = "final", + /** Intermediate */ + Intermediate = "intermediate", +} + +/** + * Defines values for TranscriptionResultType. \ + * {@link KnownTranscriptionResultType} can be used interchangeably with TranscriptionResultType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **final** \ + * **intermediate** + */ +export type TranscriptionResultType = string; + /** Known values of {@link CallRejectReason} that the service accepts. */ export enum KnownCallRejectReason { /** None */ @@ -2371,6 +2535,30 @@ export enum KnownCallRejectReason { */ export type CallRejectReason = string; +/** Known values of {@link CallLocatorKind} that the service accepts. */ +export enum KnownCallLocatorKind { + /** Unknown */ + Unknown = "unknown", + /** GroupCallLocator */ + GroupCallLocator = "groupCallLocator", + /** ServerCallLocator */ + ServerCallLocator = "serverCallLocator", + /** RoomCallLocator */ + RoomCallLocator = "roomCallLocator", +} + +/** + * Defines values for CallLocatorKind. \ + * {@link KnownCallLocatorKind} can be used interchangeably with CallLocatorKind, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **unknown** \ + * **groupCallLocator** \ + * **serverCallLocator** \ + * **roomCallLocator** + */ +export type CallLocatorKind = string; + /** Known values of {@link PlaySourceType} that the service accepts. */ export enum KnownPlaySourceType { /** File */ @@ -2512,24 +2700,6 @@ export enum KnownDialogInputType { */ export type DialogInputType = string; -/** Known values of {@link CallLocatorKind} that the service accepts. */ -export enum KnownCallLocatorKind { - /** GroupCallLocator */ - GroupCallLocator = "groupCallLocator", - /** ServerCallLocator */ - ServerCallLocator = "serverCallLocator", -} - -/** - * Defines values for CallLocatorKind. \ - * {@link KnownCallLocatorKind} can be used interchangeably with CallLocatorKind, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **groupCallLocator** \ - * **serverCallLocator** - */ -export type CallLocatorKind = string; - /** Known values of {@link RecordingContentType} that the service accepts. */ export enum KnownRecordingContentType { /** Audio */ @@ -2589,10 +2759,10 @@ export type RecordingFormatType = string; /** Known values of {@link RecordingStorageKind} that the service accepts. */ export enum KnownRecordingStorageKind { - /** AzureCommunicationServices */ - AzureCommunicationServices = "azureCommunicationServices", - /** AzureBlobStorage */ - AzureBlobStorage = "azureBlobStorage", + /** Storage managed by Azure Communication Services */ + AzureCommunicationServices = "AzureCommunicationServices", + /** Storage managed by provided Azure blob */ + AzureBlobStorage = "AzureBlobStorage", } /** @@ -2600,8 +2770,8 @@ export enum KnownRecordingStorageKind { * {@link KnownRecordingStorageKind} can be used interchangeably with RecordingStorageKind, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **azureCommunicationServices** \ - * **azureBlobStorage** + * **AzureCommunicationServices**: Storage managed by Azure Communication Services \ + * **AzureBlobStorage**: Storage managed by provided Azure blob */ export type RecordingStorageKind = string; @@ -2625,12 +2795,12 @@ export type RecordingState = string; /** Known values of {@link RecordingKind} that the service accepts. */ export enum KnownRecordingKind { - /** AzureCommunicationServices */ - AzureCommunicationServices = "azureCommunicationServices", - /** Teams */ - Teams = "teams", - /** TeamsCompliance */ - TeamsCompliance = "teamsCompliance", + /** Recording initiated by Azure Communication Services */ + AzureCommunicationServices = "AzureCommunicationServices", + /** Recording initiated by Teams user */ + Teams = "Teams", + /** Recording initiated by Teams compliance policy */ + TeamsCompliance = "TeamsCompliance", } /** @@ -2638,9 +2808,9 @@ export enum KnownRecordingKind { * {@link KnownRecordingKind} can be used interchangeably with RecordingKind, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **azureCommunicationServices** \ - * **teams** \ - * **teamsCompliance** + * **AzureCommunicationServices**: Recording initiated by Azure Communication Services \ + * **Teams**: Recording initiated by Teams user \ + * **TeamsCompliance**: Recording initiated by Teams compliance policy */ export type RecordingKind = string; @@ -2872,6 +3042,17 @@ export interface RejectCallOptionalParams extends coreClient.OperationOptions { repeatabilityFirstSent?: Date; } +/** Optional parameters. */ +export interface ConnectOptionalParams extends coreClient.OperationOptions { + /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */ + repeatabilityRequestID?: string; + /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */ + repeatabilityFirstSent?: Date; +} + +/** Contains response data for the connect operation. */ +export type ConnectResponse = CallConnectionPropertiesInternal; + /** Optional parameters. */ export interface CallConnectionGetCallOptionalParams extends coreClient.OperationOptions {} @@ -3064,7 +3245,6 @@ export type CallDialogStartDialogResponse = DialogStateResponse; /** Optional parameters. */ export interface CallDialogStopDialogOptionalParams extends coreClient.OperationOptions { - /** Operation callback URI. */ operationCallbackUri?: string; } diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts b/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts index 0e121e804a3f..eaf6eb0c5993 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts @@ -46,6 +46,13 @@ export const CreateCallRequest: coreClient.CompositeMapper = { className: "CommunicationUserIdentifierModel", }, }, + opsSource: { + serializedName: "opsSource", + type: { + name: "Composite", + className: "MicrosoftTeamsAppIdentifierModel", + }, + }, operationContext: { serializedName: "operationContext", type: { @@ -59,32 +66,32 @@ export const CreateCallRequest: coreClient.CompositeMapper = { name: "String", }, }, - mediaStreamingConfiguration: { - serializedName: "mediaStreamingConfiguration", + callIntelligenceOptions: { + serializedName: "callIntelligenceOptions", type: { name: "Composite", - className: "MediaStreamingConfiguration", + className: "CallIntelligenceOptionsInternal", }, }, - transcriptionConfiguration: { - serializedName: "transcriptionConfiguration", + customCallingContext: { + serializedName: "customCallingContext", type: { name: "Composite", - className: "TranscriptionConfiguration", + className: "CustomCallingContextInternal", }, }, - callIntelligenceOptions: { - serializedName: "callIntelligenceOptions", + mediaStreamingOptions: { + serializedName: "mediaStreamingOptions", type: { name: "Composite", - className: "CallIntelligenceOptionsInternal", + className: "MediaStreamingOptions", }, }, - customCallingContext: { - serializedName: "customCallingContext", + transcriptionOptions: { + serializedName: "transcriptionOptions", type: { name: "Composite", - className: "CustomCallingContextInternal", + className: "TranscriptionOptions", }, }, }, @@ -222,10 +229,48 @@ export const MicrosoftTeamsAppIdentifierModel: coreClient.CompositeMapper = { }, }; -export const MediaStreamingConfiguration: coreClient.CompositeMapper = { +export const CallIntelligenceOptionsInternal: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CallIntelligenceOptionsInternal", + modelProperties: { + cognitiveServicesEndpoint: { + serializedName: "cognitiveServicesEndpoint", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const CustomCallingContextInternal: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomCallingContextInternal", + modelProperties: { + voipHeaders: { + serializedName: "voipHeaders", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + sipHeaders: { + serializedName: "sipHeaders", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, +}; + +export const MediaStreamingOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MediaStreamingConfiguration", + className: "MediaStreamingOptions", modelProperties: { transportUrl: { serializedName: "transportUrl", @@ -261,14 +306,26 @@ export const MediaStreamingConfiguration: coreClient.CompositeMapper = { name: "Boolean", }, }, + enableBidirectional: { + serializedName: "enableBidirectional", + type: { + name: "Boolean", + }, + }, + audioFormat: { + serializedName: "audioFormat", + type: { + name: "String", + }, + }, }, }, }; -export const TranscriptionConfiguration: coreClient.CompositeMapper = { +export const TranscriptionOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TranscriptionConfiguration", + className: "TranscriptionOptions", modelProperties: { transportUrl: { serializedName: "transportUrl", @@ -291,49 +348,23 @@ export const TranscriptionConfiguration: coreClient.CompositeMapper = { name: "String", }, }, - startTranscription: { - serializedName: "startTranscription", - required: true, - type: { - name: "Boolean", - }, - }, - }, - }, -}; - -export const CallIntelligenceOptionsInternal: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CallIntelligenceOptionsInternal", - modelProperties: { - cognitiveServicesEndpoint: { - serializedName: "cognitiveServicesEndpoint", + speechRecognitionModelEndpointId: { + serializedName: "speechRecognitionModelEndpointId", type: { name: "String", }, }, - }, - }, -}; - -export const CustomCallingContextInternal: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CustomCallingContextInternal", - modelProperties: { - voipHeaders: { - serializedName: "voipHeaders", + startTranscription: { + serializedName: "startTranscription", + required: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Boolean", }, }, - sipHeaders: { - serializedName: "sipHeaders", + enableIntermediateResults: { + serializedName: "enableIntermediateResults", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Boolean", }, }, }, @@ -426,6 +457,20 @@ export const CallConnectionPropertiesInternal: coreClient.CompositeMapper = { className: "CommunicationUserIdentifierModel", }, }, + mediaStreamingSubscription: { + serializedName: "mediaStreamingSubscription", + type: { + name: "Composite", + className: "MediaStreamingSubscription", + }, + }, + transcriptionSubscription: { + serializedName: "transcriptionSubscription", + type: { + name: "Composite", + className: "TranscriptionSubscription", + }, + }, answeredFor: { serializedName: "answeredFor", type: { @@ -437,6 +482,70 @@ export const CallConnectionPropertiesInternal: coreClient.CompositeMapper = { }, }; +export const MediaStreamingSubscription: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MediaStreamingSubscription", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String", + }, + }, + state: { + serializedName: "state", + type: { + name: "String", + }, + }, + subscribedContentTypes: { + serializedName: "subscribedContentTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const TranscriptionSubscription: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TranscriptionSubscription", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String", + }, + }, + state: { + serializedName: "state", + type: { + name: "String", + }, + }, + subscribedResultTypes: { + serializedName: "subscribedResultTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + export const CommunicationErrorResponse: coreClient.CompositeMapper = { type: { name: "Composite", @@ -522,38 +631,45 @@ export const AnswerCallRequest: coreClient.CompositeMapper = { name: "String", }, }, + customCallingContext: { + serializedName: "customCallingContext", + type: { + name: "Composite", + className: "CustomCallingContextInternal", + }, + }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, - mediaStreamingConfiguration: { - serializedName: "mediaStreamingConfiguration", + callIntelligenceOptions: { + serializedName: "callIntelligenceOptions", type: { name: "Composite", - className: "MediaStreamingConfiguration", + className: "CallIntelligenceOptionsInternal", }, }, - transcriptionConfiguration: { - serializedName: "transcriptionConfiguration", + answeredBy: { + serializedName: "answeredBy", type: { name: "Composite", - className: "TranscriptionConfiguration", + className: "CommunicationUserIdentifierModel", }, }, - callIntelligenceOptions: { - serializedName: "callIntelligenceOptions", + mediaStreamingOptions: { + serializedName: "mediaStreamingOptions", type: { name: "Composite", - className: "CallIntelligenceOptionsInternal", + className: "MediaStreamingOptions", }, }, - answeredBy: { - serializedName: "answeredBy", + transcriptionOptions: { + serializedName: "transcriptionOptions", type: { name: "Composite", - className: "CommunicationUserIdentifierModel", + className: "TranscriptionOptions", }, }, }, @@ -612,23 +728,23 @@ export const RejectCallRequest: coreClient.CompositeMapper = { }, }; -export const TransferToParticipantRequest: coreClient.CompositeMapper = { +export const ConnectRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TransferToParticipantRequest", + className: "ConnectRequest", modelProperties: { - targetParticipant: { - serializedName: "targetParticipant", + callLocator: { + serializedName: "callLocator", type: { name: "Composite", - className: "CommunicationIdentifierModel", + className: "CallLocator", }, }, - customCallingContext: { - serializedName: "customCallingContext", + callbackUri: { + serializedName: "callbackUri", + required: true, type: { - name: "Composite", - className: "CustomCallingContextInternal", + name: "String", }, }, operationContext: { @@ -637,37 +753,56 @@ export const TransferToParticipantRequest: coreClient.CompositeMapper = { name: "String", }, }, - transferee: { - serializedName: "transferee", + callIntelligenceOptions: { + serializedName: "callIntelligenceOptions", type: { name: "Composite", - className: "CommunicationIdentifierModel", + className: "CallIntelligenceOptionsInternal", }, }, - operationCallbackUri: { - serializedName: "operationCallbackUri", + mediaStreamingOptions: { + serializedName: "mediaStreamingOptions", type: { - name: "String", + name: "Composite", + className: "MediaStreamingOptions", }, }, - sourceCallerIdNumber: { - serializedName: "sourceCallerIdNumber", + transcriptionOptions: { + serializedName: "transcriptionOptions", type: { name: "Composite", - className: "PhoneNumberIdentifierModel", + className: "TranscriptionOptions", }, }, }, }, }; -export const TransferCallResponse: coreClient.CompositeMapper = { +export const CallLocator: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TransferCallResponse", + className: "CallLocator", modelProperties: { - operationContext: { - serializedName: "operationContext", + groupCallId: { + serializedName: "groupCallId", + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + type: { + name: "String", + }, + }, + roomId: { + serializedName: "roomId", + type: { + name: "String", + }, + }, + kind: { + serializedName: "kind", type: { name: "String", }, @@ -676,21 +811,85 @@ export const TransferCallResponse: coreClient.CompositeMapper = { }, }; -export const PlayRequest: coreClient.CompositeMapper = { +export const TransferToParticipantRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PlayRequest", + className: "TransferToParticipantRequest", modelProperties: { - playSources: { - serializedName: "playSources", - required: true, + targetParticipant: { + serializedName: "targetParticipant", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PlaySourceInternal", - }, + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, + customCallingContext: { + serializedName: "customCallingContext", + type: { + name: "Composite", + className: "CustomCallingContextInternal", + }, + }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + transferee: { + serializedName: "transferee", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, + operationCallbackUri: { + serializedName: "operationCallbackUri", + type: { + name: "String", + }, + }, + sourceCallerIdNumber: { + serializedName: "sourceCallerIdNumber", + type: { + name: "Composite", + className: "PhoneNumberIdentifierModel", + }, + }, + }, + }, +}; + +export const TransferCallResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TransferCallResponse", + modelProperties: { + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const PlayRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PlayRequest", + modelProperties: { + playSources: { + serializedName: "playSources", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PlaySourceInternal", + }, }, }, }, @@ -1849,6 +2048,12 @@ export const StartCallRecordingRequest: coreClient.CompositeMapper = { className: "CallLocator", }, }, + callConnectionId: { + serializedName: "callConnectionId", + type: { + name: "String", + }, + }, recordingStateCallbackUri: { serializedName: "recordingStateCallbackUri", type: { @@ -1914,33 +2119,6 @@ export const StartCallRecordingRequest: coreClient.CompositeMapper = { }, }; -export const CallLocator: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CallLocator", - modelProperties: { - groupCallId: { - serializedName: "groupCallId", - type: { - name: "String", - }, - }, - serverCallId: { - serializedName: "serverCallId", - type: { - name: "String", - }, - }, - kind: { - serializedName: "kind", - type: { - name: "String", - }, - }, - }, - }, -}; - export const ChannelAffinity: coreClient.CompositeMapper = { type: { name: "Composite", @@ -2099,31 +2277,31 @@ export const DialogCompleted: coreClient.CompositeMapper = { name: "Composite", className: "DialogCompleted", modelProperties: { - operationContext: { - serializedName: "operationContext", - readOnly: true, + dialogInputType: { + serializedName: "dialogInputType", type: { name: "String", }, }, - resultInformation: { - serializedName: "resultInformation", + dialogId: { + serializedName: "dialogId", + readOnly: true, type: { - name: "Composite", - className: "RestResultInformation", + name: "String", }, }, - dialogInputType: { - serializedName: "dialogInputType", + operationContext: { + serializedName: "operationContext", + readOnly: true, type: { name: "String", }, }, - dialogId: { - serializedName: "dialogId", - readOnly: true, + resultInformation: { + serializedName: "resultInformation", type: { - name: "String", + name: "Composite", + className: "RestResultInformation", }, }, callConnectionId: { @@ -2183,31 +2361,31 @@ export const DialogFailed: coreClient.CompositeMapper = { name: "Composite", className: "DialogFailed", modelProperties: { - operationContext: { - serializedName: "operationContext", - readOnly: true, + dialogInputType: { + serializedName: "dialogInputType", type: { name: "String", }, }, - resultInformation: { - serializedName: "resultInformation", + dialogId: { + serializedName: "dialogId", + readOnly: true, type: { - name: "Composite", - className: "RestResultInformation", + name: "String", }, }, - dialogInputType: { - serializedName: "dialogInputType", + operationContext: { + serializedName: "operationContext", + readOnly: true, type: { name: "String", }, }, - dialogId: { - serializedName: "dialogId", - readOnly: true, + resultInformation: { + serializedName: "resultInformation", type: { - name: "String", + name: "Composite", + className: "RestResultInformation", }, }, callConnectionId: { @@ -2247,31 +2425,31 @@ export const DialogConsent: coreClient.CompositeMapper = { className: "UserConsent", }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, + dialogInputType: { + serializedName: "dialogInputType", type: { name: "String", }, }, - resultInformation: { - serializedName: "resultInformation", + dialogId: { + serializedName: "dialogId", + readOnly: true, type: { - name: "Composite", - className: "RestResultInformation", + name: "String", }, }, - dialogInputType: { - serializedName: "dialogInputType", + operationContext: { + serializedName: "operationContext", + readOnly: true, type: { name: "String", }, }, - dialogId: { - serializedName: "dialogId", - readOnly: true, + resultInformation: { + serializedName: "resultInformation", type: { - name: "String", + name: "Composite", + className: "RestResultInformation", }, }, callConnectionId: { @@ -2319,31 +2497,31 @@ export const DialogStarted: coreClient.CompositeMapper = { name: "Composite", className: "DialogStarted", modelProperties: { - operationContext: { - serializedName: "operationContext", - readOnly: true, + dialogInputType: { + serializedName: "dialogInputType", type: { name: "String", }, }, - resultInformation: { - serializedName: "resultInformation", + dialogId: { + serializedName: "dialogId", + readOnly: true, type: { - name: "Composite", - className: "RestResultInformation", + name: "String", }, }, - dialogInputType: { - serializedName: "dialogInputType", + operationContext: { + serializedName: "operationContext", + readOnly: true, type: { name: "String", }, }, - dialogId: { - serializedName: "dialogId", - readOnly: true, + resultInformation: { + serializedName: "resultInformation", type: { - name: "String", + name: "Composite", + className: "RestResultInformation", }, }, callConnectionId: { @@ -2376,20 +2554,6 @@ export const DialogHangup: coreClient.CompositeMapper = { name: "Composite", className: "DialogHangup", modelProperties: { - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, dialogInputType: { serializedName: "dialogInputType", type: { @@ -2411,6 +2575,20 @@ export const DialogHangup: coreClient.CompositeMapper = { value: { type: { name: "any" } }, }, }, + operationContext: { + serializedName: "operationContext", + readOnly: true, + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -2455,20 +2633,6 @@ export const DialogTransfer: coreClient.CompositeMapper = { name: "String", }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, dialogInputType: { serializedName: "dialogInputType", type: { @@ -2490,6 +2654,20 @@ export const DialogTransfer: coreClient.CompositeMapper = { value: { type: { name: "any" } }, }, }, + operationContext: { + serializedName: "operationContext", + readOnly: true, + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -2527,20 +2705,6 @@ export const DialogLanguageChange: coreClient.CompositeMapper = { name: "String", }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, dialogInputType: { serializedName: "dialogInputType", type: { @@ -2562,43 +2726,6 @@ export const DialogLanguageChange: coreClient.CompositeMapper = { value: { type: { name: "any" } }, }, }, - callConnectionId: { - serializedName: "callConnectionId", - readOnly: true, - type: { - name: "String", - }, - }, - serverCallId: { - serializedName: "serverCallId", - readOnly: true, - type: { - name: "String", - }, - }, - correlationId: { - serializedName: "correlationId", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const DialogSensitivityUpdate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DialogSensitivityUpdate", - modelProperties: { - sensitiveMask: { - serializedName: "sensitiveMask", - readOnly: true, - type: { - name: "Boolean", - }, - }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -2613,19 +2740,6 @@ export const DialogSensitivityUpdate: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - dialogInputType: { - serializedName: "dialogInputType", - type: { - name: "String", - }, - }, - dialogId: { - serializedName: "dialogId", - readOnly: true, - type: { - name: "String", - }, - }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -2651,23 +2765,16 @@ export const DialogSensitivityUpdate: coreClient.CompositeMapper = { }, }; -export const DialogUpdated: coreClient.CompositeMapper = { +export const DialogSensitivityUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DialogUpdated", + className: "DialogSensitivityUpdate", modelProperties: { - operationContext: { - serializedName: "operationContext", + sensitiveMask: { + serializedName: "sensitiveMask", readOnly: true, type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", + name: "Boolean", }, }, dialogInputType: { @@ -2683,65 +2790,6 @@ export const DialogUpdated: coreClient.CompositeMapper = { name: "String", }, }, - ivrContext: { - serializedName: "ivrContext", - readOnly: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } }, - }, - }, - callConnectionId: { - serializedName: "callConnectionId", - readOnly: true, - type: { - name: "String", - }, - }, - serverCallId: { - serializedName: "serverCallId", - readOnly: true, - type: { - name: "String", - }, - }, - correlationId: { - serializedName: "correlationId", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const TranscriptionUpdate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TranscriptionUpdate", - modelProperties: { - transcriptionStatus: { - serializedName: "transcriptionStatus", - type: { - name: "String", - }, - }, - transcriptionStatusDetails: { - serializedName: "transcriptionStatusDetails", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const MediaStreamingFailed: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MediaStreamingFailed", - modelProperties: { operationContext: { serializedName: "operationContext", readOnly: true, @@ -2753,14 +2801,7 @@ export const MediaStreamingFailed: coreClient.CompositeMapper = { serializedName: "resultInformation", type: { name: "Composite", - className: "RestResultInformation", - }, - }, - mediaStreamingUpdate: { - serializedName: "mediaStreamingUpdate", - type: { - name: "Composite", - className: "MediaStreamingUpdate", + className: "RestResultInformation", }, }, callConnectionId: { @@ -2788,38 +2829,32 @@ export const MediaStreamingFailed: coreClient.CompositeMapper = { }, }; -export const MediaStreamingUpdate: coreClient.CompositeMapper = { +export const DialogUpdated: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MediaStreamingUpdate", + className: "DialogUpdated", modelProperties: { - contentType: { - serializedName: "contentType", + dialogInputType: { + serializedName: "dialogInputType", type: { name: "String", }, }, - mediaStreamingStatus: { - serializedName: "mediaStreamingStatus", + dialogId: { + serializedName: "dialogId", + readOnly: true, type: { name: "String", }, }, - mediaStreamingStatusDetails: { - serializedName: "mediaStreamingStatusDetails", + ivrContext: { + serializedName: "ivrContext", + readOnly: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - }, - }, -}; - -export const MediaStreamingStarted: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MediaStreamingStarted", - modelProperties: { operationContext: { serializedName: "operationContext", readOnly: true, @@ -2834,13 +2869,6 @@ export const MediaStreamingStarted: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - mediaStreamingUpdate: { - serializedName: "mediaStreamingUpdate", - type: { - name: "Composite", - className: "MediaStreamingUpdate", - }, - }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -2866,49 +2894,46 @@ export const MediaStreamingStarted: coreClient.CompositeMapper = { }, }; -export const MediaStreamingStopped: coreClient.CompositeMapper = { +export const TranscriptionUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MediaStreamingStopped", + className: "TranscriptionUpdate", modelProperties: { - operationContext: { - serializedName: "operationContext", - readOnly: true, + transcriptionStatus: { + serializedName: "transcriptionStatus", type: { name: "String", }, }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, - mediaStreamingUpdate: { - serializedName: "mediaStreamingUpdate", + transcriptionStatusDetails: { + serializedName: "transcriptionStatusDetails", type: { - name: "Composite", - className: "MediaStreamingUpdate", + name: "String", }, }, - callConnectionId: { - serializedName: "callConnectionId", - readOnly: true, + }, + }, +}; + +export const MediaStreamingUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MediaStreamingUpdate", + modelProperties: { + contentType: { + serializedName: "contentType", type: { name: "String", }, }, - serverCallId: { - serializedName: "serverCallId", - readOnly: true, + mediaStreamingStatus: { + serializedName: "mediaStreamingStatus", type: { name: "String", }, }, - correlationId: { - serializedName: "correlationId", - readOnly: true, + mediaStreamingStatusDetails: { + serializedName: "mediaStreamingStatusDetails", type: { name: "String", }, @@ -2922,6 +2947,13 @@ export const RestAddParticipantSucceeded: coreClient.CompositeMapper = { name: "Composite", className: "RestAddParticipantSucceeded", modelProperties: { + participant: { + serializedName: "participant", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -2936,13 +2968,6 @@ export const RestAddParticipantSucceeded: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - participant: { - serializedName: "participant", - type: { - name: "Composite", - className: "CommunicationIdentifierModel", - }, - }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -2973,6 +2998,13 @@ export const RestAddParticipantFailed: coreClient.CompositeMapper = { name: "Composite", className: "RestAddParticipantFailed", modelProperties: { + participant: { + serializedName: "participant", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -2987,13 +3019,6 @@ export const RestAddParticipantFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - participant: { - serializedName: "participant", - type: { - name: "Composite", - className: "CommunicationIdentifierModel", - }, - }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -3024,6 +3049,13 @@ export const RestRemoveParticipantSucceeded: coreClient.CompositeMapper = { name: "Composite", className: "RestRemoveParticipantSucceeded", modelProperties: { + participant: { + serializedName: "participant", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -3038,13 +3070,6 @@ export const RestRemoveParticipantSucceeded: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - participant: { - serializedName: "participant", - type: { - name: "Composite", - className: "CommunicationIdentifierModel", - }, - }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -3075,6 +3100,13 @@ export const RestRemoveParticipantFailed: coreClient.CompositeMapper = { name: "Composite", className: "RestRemoveParticipantFailed", modelProperties: { + participant: { + serializedName: "participant", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -3089,13 +3121,6 @@ export const RestRemoveParticipantFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - participant: { - serializedName: "participant", - type: { - name: "Composite", - className: "CommunicationIdentifierModel", - }, - }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -3133,6 +3158,13 @@ export const RestCallConnected: coreClient.CompositeMapper = { name: "String", }, }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -3170,6 +3202,13 @@ export const RestCallDisconnected: coreClient.CompositeMapper = { name: "String", }, }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -3200,20 +3239,6 @@ export const RestCallTransferAccepted: coreClient.CompositeMapper = { name: "Composite", className: "RestCallTransferAccepted", modelProperties: { - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, transferTarget: { serializedName: "transferTarget", type: { @@ -3228,6 +3253,20 @@ export const RestCallTransferAccepted: coreClient.CompositeMapper = { className: "CommunicationIdentifierModel", }, }, + operationContext: { + serializedName: "operationContext", + readOnly: true, + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -3328,6 +3367,13 @@ export const RestRecordingStateChanged: coreClient.CompositeMapper = { name: "String", }, }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -3378,6 +3424,20 @@ export const RestParticipantsUpdated: coreClient.CompositeMapper = { name: "Number", }, }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, + operationContext: { + serializedName: "operationContext", + readOnly: true, + type: { + name: "String", + }, + }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -3408,13 +3468,6 @@ export const RestPlayCompleted: coreClient.CompositeMapper = { name: "Composite", className: "RestPlayCompleted", modelProperties: { - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -3422,6 +3475,13 @@ export const RestPlayCompleted: coreClient.CompositeMapper = { name: "String", }, }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -3452,6 +3512,13 @@ export const RestPlayFailed: coreClient.CompositeMapper = { name: "Composite", className: "RestPlayFailed", modelProperties: { + failedPlaySourceIndex: { + serializedName: "failedPlaySourceIndex", + readOnly: true, + type: { + name: "Number", + }, + }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -3466,13 +3533,6 @@ export const RestPlayFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - failedPlaySourceIndex: { - serializedName: "failedPlaySourceIndex", - readOnly: true, - type: { - name: "Number", - }, - }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -3510,6 +3570,13 @@ export const RestPlayCanceled: coreClient.CompositeMapper = { name: "String", }, }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -3533,27 +3600,13 @@ export const RestPlayCanceled: coreClient.CompositeMapper = { }, }, }, -}; - -export const RestRecognizeCompleted: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestRecognizeCompleted", - modelProperties: { - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, +}; + +export const RestRecognizeCompleted: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestRecognizeCompleted", + modelProperties: { recognitionType: { serializedName: "recognitionType", readOnly: true, @@ -3589,6 +3642,20 @@ export const RestRecognizeCompleted: coreClient.CompositeMapper = { className: "ChoiceResult", }, }, + operationContext: { + serializedName: "operationContext", + readOnly: true, + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -3619,6 +3686,13 @@ export const RestRecognizeFailed: coreClient.CompositeMapper = { name: "Composite", className: "RestRecognizeFailed", modelProperties: { + failedPlaySourceIndex: { + serializedName: "failedPlaySourceIndex", + readOnly: true, + type: { + name: "Number", + }, + }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -3633,13 +3707,6 @@ export const RestRecognizeFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - failedPlaySourceIndex: { - serializedName: "failedPlaySourceIndex", - readOnly: true, - type: { - name: "Number", - }, - }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -3677,6 +3744,13 @@ export const RestRecognizeCanceled: coreClient.CompositeMapper = { name: "String", }, }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -3994,6 +4068,13 @@ export const RestCancelAddParticipantFailed: coreClient.CompositeMapper = { name: "Composite", className: "RestCancelAddParticipantFailed", modelProperties: { + invitationId: { + serializedName: "invitationId", + readOnly: true, + type: { + name: "String", + }, + }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -4008,13 +4089,6 @@ export const RestCancelAddParticipantFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - invitationId: { - serializedName: "invitationId", - readOnly: true, - type: { - name: "String", - }, - }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -4045,6 +4119,13 @@ export const RestTranscriptionStarted: coreClient.CompositeMapper = { name: "Composite", className: "RestTranscriptionStarted", modelProperties: { + transcriptionUpdate: { + serializedName: "transcriptionUpdate", + type: { + name: "Composite", + className: "TranscriptionUpdate", + }, + }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -4059,13 +4140,6 @@ export const RestTranscriptionStarted: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - transcriptionUpdate: { - serializedName: "transcriptionUpdate", - type: { - name: "Composite", - className: "TranscriptionUpdate", - }, - }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -4096,6 +4170,13 @@ export const RestTranscriptionStopped: coreClient.CompositeMapper = { name: "Composite", className: "RestTranscriptionStopped", modelProperties: { + transcriptionUpdate: { + serializedName: "transcriptionUpdate", + type: { + name: "Composite", + className: "TranscriptionUpdate", + }, + }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -4110,13 +4191,6 @@ export const RestTranscriptionStopped: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - transcriptionUpdate: { - serializedName: "transcriptionUpdate", - type: { - name: "Composite", - className: "TranscriptionUpdate", - }, - }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -4147,6 +4221,13 @@ export const RestTranscriptionUpdated: coreClient.CompositeMapper = { name: "Composite", className: "RestTranscriptionUpdated", modelProperties: { + transcriptionUpdate: { + serializedName: "transcriptionUpdate", + type: { + name: "Composite", + className: "TranscriptionUpdate", + }, + }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -4161,6 +4242,36 @@ export const RestTranscriptionUpdated: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + callConnectionId: { + serializedName: "callConnectionId", + readOnly: true, + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + readOnly: true, + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const RestTranscriptionFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestTranscriptionFailed", + modelProperties: { transcriptionUpdate: { serializedName: "transcriptionUpdate", type: { @@ -4168,6 +4279,20 @@ export const RestTranscriptionUpdated: coreClient.CompositeMapper = { className: "TranscriptionUpdate", }, }, + operationContext: { + serializedName: "operationContext", + readOnly: true, + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, callConnectionId: { serializedName: "callConnectionId", readOnly: true, @@ -4193,10 +4318,10 @@ export const RestTranscriptionUpdated: coreClient.CompositeMapper = { }, }; -export const RestTranscriptionFailed: coreClient.CompositeMapper = { +export const RestAnswerFailed: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RestTranscriptionFailed", + className: "RestAnswerFailed", modelProperties: { operationContext: { serializedName: "operationContext", @@ -4212,11 +4337,48 @@ export const RestTranscriptionFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - transcriptionUpdate: { - serializedName: "transcriptionUpdate", + callConnectionId: { + serializedName: "callConnectionId", + readOnly: true, + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + readOnly: true, + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const RestHoldFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestHoldFailed", + modelProperties: { + operationContext: { + serializedName: "operationContext", + readOnly: true, + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", type: { name: "Composite", - className: "TranscriptionUpdate", + className: "RestResultInformation", }, }, callConnectionId: { @@ -4244,11 +4406,18 @@ export const RestTranscriptionFailed: coreClient.CompositeMapper = { }, }; -export const RestCreateCallFailed: coreClient.CompositeMapper = { +export const RestMediaStreamingStarted: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RestCreateCallFailed", + className: "RestMediaStreamingStarted", modelProperties: { + mediaStreamingUpdate: { + serializedName: "mediaStreamingUpdate", + type: { + name: "Composite", + className: "MediaStreamingUpdate", + }, + }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -4288,11 +4457,18 @@ export const RestCreateCallFailed: coreClient.CompositeMapper = { }, }; -export const RestAnswerFailed: coreClient.CompositeMapper = { +export const RestMediaStreamingStopped: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RestAnswerFailed", + className: "RestMediaStreamingStopped", modelProperties: { + mediaStreamingUpdate: { + serializedName: "mediaStreamingUpdate", + type: { + name: "Composite", + className: "MediaStreamingUpdate", + }, + }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -4332,11 +4508,18 @@ export const RestAnswerFailed: coreClient.CompositeMapper = { }, }; -export const RestHoldFailed: coreClient.CompositeMapper = { +export const RestMediaStreamingFailed: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RestHoldFailed", + className: "RestMediaStreamingFailed", modelProperties: { + mediaStreamingUpdate: { + serializedName: "mediaStreamingUpdate", + type: { + name: "Composite", + className: "MediaStreamingUpdate", + }, + }, operationContext: { serializedName: "operationContext", readOnly: true, @@ -4376,6 +4559,57 @@ export const RestHoldFailed: coreClient.CompositeMapper = { }, }; +export const RestStartRecordingFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestStartRecordingFailed", + modelProperties: { + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, + recordingId: { + serializedName: "recordingId", + readOnly: true, + type: { + name: "String", + }, + }, + operationContext: { + serializedName: "operationContext", + readOnly: true, + type: { + name: "String", + }, + }, + callConnectionId: { + serializedName: "callConnectionId", + readOnly: true, + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + readOnly: true, + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + export const AzureOpenAIDialog: coreClient.CompositeMapper = { serializedName: "azureOpenAI", type: { diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts b/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts index 955b0b20b73f..7e987717abef 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts @@ -16,6 +16,7 @@ import { AnswerCallRequest as AnswerCallRequestMapper, RedirectCallRequest as RedirectCallRequestMapper, RejectCallRequest as RejectCallRequestMapper, + ConnectRequest as ConnectRequestMapper, TransferToParticipantRequest as TransferToParticipantRequestMapper, AddParticipantRequest as AddParticipantRequestMapper, RemoveParticipantRequest as RemoveParticipantRequestMapper, @@ -84,7 +85,7 @@ export const endpoint: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2023-10-03-preview", + defaultValue: "2024-09-01-preview", isConstant: true, serializedName: "api-version", type: { @@ -128,6 +129,11 @@ export const rejectCallRequest: OperationParameter = { mapper: RejectCallRequestMapper, }; +export const connectRequest: OperationParameter = { + parameterPath: "connectRequest", + mapper: ConnectRequestMapper, +}; + export const callConnectionId: OperationURLParameter = { parameterPath: "callConnectionId", mapper: { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callDialog.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callDialog.ts index ed2a0cf76d98..02330c389d27 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callDialog.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callDialog.ts @@ -52,9 +52,8 @@ export class CallDialogImpl implements CallDialog { } /** - * Stop a dialog. - * @param callConnectionId The call connection id - * @param dialogId The dialog id + * @param callConnectionId + * @param dialogId * @param options The options parameters. */ stopDialog( diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callRecording.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callRecording.ts index 77a91a7b2a67..91cfe0c71848 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callRecording.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callRecording.ts @@ -119,6 +119,9 @@ const startRecordingOperationSpec: coreClient.OperationSpec = { 200: { bodyMapper: Mappers.RecordingStateResponse, }, + 202: { + bodyMapper: Mappers.RecordingStateResponse, + }, default: { bodyMapper: Mappers.CommunicationErrorResponse, }, diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callDialog.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callDialog.ts index 731b8415380f..4fccc524812b 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callDialog.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callDialog.ts @@ -31,9 +31,8 @@ export interface CallDialog { options?: CallDialogStartDialogOptionalParams, ): Promise; /** - * Stop a dialog. - * @param callConnectionId The call connection id - * @param dialogId The dialog id + * @param callConnectionId + * @param dialogId * @param options The options parameters. */ stopDialog( diff --git a/sdk/communication/communication-call-automation/src/models/events.ts b/sdk/communication/communication-call-automation/src/models/events.ts index 4b25abc05042..4d06ab65fdb0 100644 --- a/sdk/communication/communication-call-automation/src/models/events.ts +++ b/sdk/communication/communication-call-automation/src/models/events.ts @@ -36,6 +36,11 @@ import type { RestCreateCallFailed, RestAnswerFailed, RestHoldFailed, + RestConnectFailed, + RestMediaStreamingStopped, + RestMediaStreamingStarted, + RestMediaStreamingFailed, + RestStartRecordingFailed, } from "../generated/src/models"; import type { CallParticipant } from "./models"; @@ -71,7 +76,12 @@ export type CallAutomationEvent = | TranscriptionFailed | CreateCallFailed | AnswerFailed - | HoldFailed; + | HoldFailed + | ConnectFailed + | MediaStreamingStarted + | MediaStreamingStopped + | MediaStreamingFailed + | StartRecordingFailed; export interface ResultInformation extends Omit { @@ -165,26 +175,36 @@ export interface RemoveParticipantFailed /** Event when call was established. */ export interface CallConnected - extends Omit { + extends Omit< + RestCallConnected, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { /** Call connection ID. */ callConnectionId: string; /** Server call ID. */ serverCallId: string; /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ correlationId: string; + /** Contains the resulting SIP code/sub-code and message from NGC services. */ + resultInformation?: ResultInformation; /** kind of this event. */ kind: "CallConnected"; } /** Event when all participants left and call was terminated. */ export interface CallDisconnected - extends Omit { + extends Omit< + RestCallDisconnected, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { /** Call connection ID. */ callConnectionId: string; /** Server call ID. */ serverCallId: string; /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ correlationId: string; + /** Contains the resulting SIP code/sub-code and message from NGC services. */ + resultInformation?: ResultInformation; /** kind of this event. */ kind: "CallDisconnected"; } @@ -254,13 +274,18 @@ export interface ParticipantsUpdated /** Event when Recording state has been changed. */ export interface RecordingStateChanged - extends Omit { + extends Omit< + RestRecordingStateChanged, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { /** Call connection ID. */ callConnectionId: string; /** Server call ID. */ serverCallId: string; /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ correlationId: string; + /** Contains the resulting SIP code/sub-code and message from NGC services. */ + resultInformation?: ResultInformation; /** kind of this event. */ kind: "RecordingStateChanged"; } @@ -303,13 +328,18 @@ export interface PlayFailed /** Event when Media play was canceled by Cancel operation. */ export interface PlayCanceled - extends Omit { + extends Omit< + RestPlayCanceled, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { /** Call connection ID. */ callConnectionId: string; /** Server call ID. */ serverCallId: string; /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ correlationId: string; + /** Contains the resulting SIP code/sub-code and message from NGC services. */ + resultInformation?: ResultInformation; /** kind of this event. */ kind: "PlayCanceled"; } @@ -352,13 +382,18 @@ export interface RecognizeFailed /** Event when Media recognize was canceled by Cancel operation. */ export interface RecognizeCanceled - extends Omit { + extends Omit< + RestRecognizeCanceled, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { /** Call connection ID. */ callConnectionId: string; /** Server call ID. */ serverCallId: string; /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ correlationId: string; + /** Contains the resulting SIP code/sub-code and message from NGC services. */ + resultInformation?: ResultInformation; /** kind of this event. */ kind: "RecognizeCanceled"; } @@ -618,3 +653,88 @@ export interface HoldFailed /** kind of this event. */ kind: "HoldFailed"; } + +export interface ConnectFailed + extends Omit< + RestConnectFailed, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { + /** Call connection ID. */ + callConnectionId: string; + /** Server call ID. */ + serverCallId: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** kind of this event. */ + kind: "ConnectFailed"; +} + +export interface MediaStreamingStarted + extends Omit< + RestMediaStreamingStarted, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { + /** Call connection ID. */ + callConnectionId: string; + /** Server call ID. */ + serverCallId: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: ResultInformation; + /** kind of this event. */ + kind: "MediaStreamingStarted"; +} + +export interface MediaStreamingStopped + extends Omit< + RestMediaStreamingStopped, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { + /** Call connection ID. */ + callConnectionId: string; + /** Server call ID. */ + serverCallId: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: ResultInformation; + /** kind of this event. */ + kind: "MediaStreamingStopped"; +} + +export interface MediaStreamingFailed + extends Omit< + RestMediaStreamingFailed, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { + /** Call connection ID. */ + callConnectionId: string; + /** Server call ID. */ + serverCallId: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: ResultInformation; + /** kind of this event. */ + kind: "MediaStreamingFailed"; +} + +export interface StartRecordingFailed + extends Omit< + RestStartRecordingFailed, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { + /** Call connection ID. */ + callConnectionId: string; + /** Server call ID. */ + serverCallId: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: ResultInformation; + /** kind of this event. */ + kind: "StartRecordingFailed"; +} diff --git a/sdk/communication/communication-call-automation/src/models/models.ts b/sdk/communication/communication-call-automation/src/models/models.ts index 7f310cb8e9c3..aa4a62ac4acc 100644 --- a/sdk/communication/communication-call-automation/src/models/models.ts +++ b/sdk/communication/communication-call-automation/src/models/models.ts @@ -8,7 +8,11 @@ import type { MicrosoftTeamsAppIdentifier, PhoneNumberIdentifier, } from "@azure/communication-common"; -import type { CallConnectionStateModel } from "../generated/src"; +import type { + CallConnectionStateModel, + MediaStreamingSubscription, + TranscriptionSubscription, +} from "../generated/src"; export { CallConnectionStateModel, @@ -18,10 +22,10 @@ export { KnownMediaStreamingContentType, KnownMediaStreamingTransportType, MediaStreamingAudioChannelType, - MediaStreamingConfiguration, + MediaStreamingOptions, MediaStreamingContentType, MediaStreamingTransportType, - TranscriptionConfiguration, + TranscriptionOptions, TranscriptionTransportType, RecognitionType, ChoiceResult, @@ -58,6 +62,12 @@ export interface CallConnectionProperties { correlationId?: string; /** Identity of the answering entity. Only populated when identity is provided in the request. */ answeredby?: CommunicationUserIdentifier; + /** Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. */ + answeredFor?: PhoneNumberIdentifier; + /** Media streaming subscription */ + mediaStreamingSubscription?: MediaStreamingSubscription; + /** Transcription Subscription. */ + transcriptionSubscription?: TranscriptionSubscription; } /** Contract model of an ACS call participant */ @@ -184,7 +194,7 @@ export interface CallInvite { } /** The locator type of a call. */ -export type CallLocatorType = "serverCallLocator" | "groupCallLocator"; +export type CallLocatorType = "serverCallLocator" | "groupCallLocator" | "roomCallLocator"; /** The content type of a call recording. */ export type RecordingContent = "audio" | "audioVideo"; diff --git a/sdk/communication/communication-call-automation/src/models/options.ts b/sdk/communication/communication-call-automation/src/models/options.ts index a4f49951f974..bafc8488aed6 100644 --- a/sdk/communication/communication-call-automation/src/models/options.ts +++ b/sdk/communication/communication-call-automation/src/models/options.ts @@ -4,8 +4,8 @@ import type { PhoneNumberIdentifier, CommunicationIdentifier } from "@azure/communication-common"; import type { OperationOptions } from "@azure/core-client"; import type { - MediaStreamingConfiguration, - TranscriptionConfiguration, + MediaStreamingOptions, + TranscriptionOptions, CallRejectReason, FileSource, TextSource, @@ -26,6 +26,8 @@ import type { export interface CallMediaRecognizeOptions extends OperationOptions { /** The source of the audio to be played for recognition. */ playPrompt?: FileSource | TextSource | SsmlSource; + /** The list source of the audio to be played for recognition. */ + playPrompts?: (FileSource | TextSource | SsmlSource)[]; /** If set recognize can barge into other existing queued-up/currently-processing requests. */ interruptCallMediaOperation?: boolean; /** @deprecated Not in use, instead use interruptCallMediaOperation for similar functionality*/ @@ -110,10 +112,10 @@ export interface CreateCallOptions extends OperationOptions { operationContext?: string; /** AI options for the call. */ callIntelligenceOptions?: CallIntelligenceOptions; - /** Configuration of Media streaming. */ - mediaStreamingConfiguration?: MediaStreamingConfiguration; - /** Configuration of live transcription. */ - transcriptionConfiguration?: TranscriptionConfiguration; + /** Options for Media streaming. */ + mediaStreamingOptions?: MediaStreamingOptions; + /** Options for live transcription. */ + transcriptionOptions?: TranscriptionOptions; /** The Custom Context. */ customCallingContext?: CustomCallingContext; } @@ -124,10 +126,10 @@ export interface CreateCallOptions extends OperationOptions { export interface AnswerCallOptions extends OperationOptions { /** AI options for the call. */ callIntelligenceOptions?: CallIntelligenceOptions; - /** Configuration of Media streaming. */ - mediaStreamingConfiguration?: MediaStreamingConfiguration; - /** Configuration of live transcription. */ - transcriptionConfiguration?: TranscriptionConfiguration; + /** Options for Media streaming. */ + mediaStreamingOptions?: MediaStreamingOptions; + /** Options for live transcription. */ + transcriptionOptions?: TranscriptionOptions; /** The operation context. */ operationContext?: string; } @@ -238,8 +240,10 @@ export type GetParticipantOptions = OperationOptions; * Options to get a start a recording. */ export interface StartRecordingOptions extends OperationOptions { - /** The call locator. */ - callLocator: CallLocator; + /** The call locator. (Only one of callLocator or callConnectionId to be used) */ + callLocator?: CallLocator; + /** The call connectionId. (Only one of callLocator or callConnectionId to be used) */ + callConnectionId?: string; /** The url to send notifications to. */ recordingStateCallbackEndpointUrl?: string; /** The content type of call recording. */ @@ -376,3 +380,37 @@ export interface UnholdOptions extends OperationOptions { /** Operation Context. */ operationContext?: string; } + +/** + * Options to Connect request. + */ +export interface ConnectCallOptions extends OperationOptions { + /** Used by customers to correlate the request to the response event. */ + operationContext?: string; + /** AI options for the call. */ + callIntelligenceOptions?: CallIntelligenceOptions; + /** Options for Media streaming. */ + mediaStreamingOptions?: MediaStreamingOptions; + /** Options for live transcription. */ + transcriptionOptions?: TranscriptionOptions; +} + +/** Options for start media streaming request. */ +export interface StartMediaStreamingOptions extends OperationOptions { + /** + * Set a callback URL 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. + */ + operationCallbackUrl?: string; + /** The value to identify context of the operation. */ + operationContext?: string; +} + +/** Options for stop media streaming request. */ +export interface StopMediaStreamingOptions extends OperationOptions { + /** + * Set a callback URL 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. + */ + operationCallbackUrl?: string; +} diff --git a/sdk/communication/communication-call-automation/src/models/responses.ts b/sdk/communication/communication-call-automation/src/models/responses.ts index 32efdaea173f..a10e26242f0e 100644 --- a/sdk/communication/communication-call-automation/src/models/responses.ts +++ b/sdk/communication/communication-call-automation/src/models/responses.ts @@ -15,6 +15,7 @@ import type { StartRecognizingEventResult, TransferCallToParticipantEventResult, CancelAddParticipantEventResult, + ConnectCallEventResult, } from "../eventprocessor/eventResponses"; import type { AbortSignalLike } from "@azure/abort-controller"; @@ -52,6 +53,23 @@ export interface AnswerCallResult { ): Promise; } +/** + * ConnectCall result + */ +export interface ConnectCallResult { + /** The callConnectionProperties */ + callConnectionProperties: CallConnectionProperties; + + /** The callConnection */ + callConnection: CallConnection; + + /** Waiting for event processor to process the event */ + waitForEventProcessor( + abortSignal?: AbortSignalLike, + timeoutInMs?: number, + ): Promise; +} + /** The response payload for getting participants of the call. */ export interface ListParticipantsResult { /** List of the current participants in the call. */ diff --git a/sdk/communication/communication-call-automation/swagger/README.md b/sdk/communication/communication-call-automation/swagger/README.md index 951fc4ae04f0..c4d707adc53a 100644 --- a/sdk/communication/communication-call-automation/swagger/README.md +++ b/sdk/communication/communication-call-automation/swagger/README.md @@ -11,9 +11,9 @@ description: Call Automation Client generate-metadata: false license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../src/generated -tag: package-2023-10-03-preview +tag: package-2024-09-01-preview require: - - https://github.com/Azure/azure-rest-api-specs/blob/156ff363e44f764ddd8a0a6adcd371610240ba15/specification/communication/data-plane/CallAutomation/readme.md + - https://github.com/Azure/azure-rest-api-specs/blob/6204479165ba24610f678105dce67ed501201b39/specification/communication/data-plane/CallAutomation/readme.md package-version: 1.3.0-beta.1 model-date-time-as-string: false optional-response-headers: true @@ -164,6 +164,22 @@ directive: - rename-model: from: HoldFailed to: RestHoldFailed + - rename-model: + from: ConnectFailed + to: RestConnectFailed + - rename-model: + from: MediaStreamingStarted + to: RestMediaStreamingStarted + - rename-model: + from: MediaStreamingStopped + to: RestMediaStreamingStopped + - rename-model: + from: MediaStreamingFailed + to: RestMediaStreamingFailed + - rename-model: + from: StartRecordingFailed + to: RestStartRecordingFailed + ``` ```yaml diff --git a/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts b/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts index c317f024ff08..4acc3aba962c 100644 --- a/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts @@ -14,7 +14,15 @@ import { serializeCommunicationIdentifier } from "@azure/communication-common"; // Parent directory imports import { CallMedia } from "../src/callMedia"; -import type { FileSource, TextSource, SsmlSource, RecognitionChoice } from "../src/models/models"; +import type { + FileSource, + TextSource, + SsmlSource, + RecognitionChoice, + MediaStreamingOptions, + TranscriptionOptions, + CallParticipant, +} from "../src/models/models"; import { DtmfTone } from "../src/models/models"; import type { CallMediaRecognizeDtmfOptions, @@ -32,6 +40,9 @@ import type { StopTranscriptionOptions, HoldOptions, UnholdOptions, + StartMediaStreamingOptions, + StopMediaStreamingOptions, + CallMediaRecognizeSpeechOrDtmfOptions, } from "../src"; import { CallAutomationEventProcessor } from "../src"; @@ -51,6 +62,8 @@ import { persistEvents, fileSourceUrl, getPhoneNumbers, + transportUrl, + cognitiveServiceEndpoint, } from "./utils/recordedClient"; import sinon from "sinon"; import { assert } from "chai"; @@ -488,6 +501,192 @@ describe("CallMedia Unit Tests", async function () { assert.equal(data.locale, locale); assert.equal(request.method, "POST"); }); + + it("makes successful start media streaming request with options", async function () { + const mockHttpClient = generateHttpClient(202); + callMedia = createMediaClient(mockHttpClient); + const spy = sinon.spy(mockHttpClient, "sendRequest"); + const options: StartMediaStreamingOptions = { + operationContext: "startMediaStreamContext", + operationCallbackUrl: "https://localhost", + }; + await callMedia.startMediaStreaming(options); + const request = spy.getCall(0).args[0]; + const data = JSON.parse(request.body?.toString() || ""); + assert.equal(data.operationContext, options.operationContext); + assert.equal(data.operationCallbackUri, options.operationCallbackUrl); + assert.equal(request.method, "POST"); + }); + + it("makes successful start media streaming request without options", async function () { + const mockHttpClient = generateHttpClient(202); + callMedia = createMediaClient(mockHttpClient); + const spy = sinon.spy(mockHttpClient, "sendRequest"); + await callMedia.startMediaStreaming(); + const request = spy.getCall(0).args[0]; + const data = JSON.parse(request.body?.toString() || ""); + assert.isUndefined(data.operationContext); + assert.isUndefined(data.operationCallbackUri); + assert.equal(request.method, "POST"); + }); + + it("makes successful stop media streaming request with options", async function () { + const mockHttpClient = generateHttpClient(202); + callMedia = createMediaClient(mockHttpClient); + const spy = sinon.spy(mockHttpClient, "sendRequest"); + const options: StopMediaStreamingOptions = { + operationCallbackUrl: "https://localhost", + }; + await callMedia.stopMediaStreaming(options); + const request = spy.getCall(0).args[0]; + const data = JSON.parse(request.body?.toString() || ""); + assert.equal(data.operationCallbackUri, options.operationCallbackUrl); + assert.equal(request.method, "POST"); + }); + + it("makes successful stop media streaming request without options", async function () { + const mockHttpClient = generateHttpClient(202); + callMedia = createMediaClient(mockHttpClient); + const spy = sinon.spy(mockHttpClient, "sendRequest"); + + await callMedia.stopMediaStreaming(); + const request = spy.getCall(0).args[0]; + const data = JSON.parse(request.body?.toString() || ""); + assert.isUndefined(data.operationCallbackUri); + assert.equal(request.method, "POST"); + }); + + it("makes successful StartRecognizing DTMF Prompts request", async function () { + const mockHttpClient = generateHttpClient(202); + + callMedia = createMediaClient(mockHttpClient); + const spy = sinon.spy(mockHttpClient, "sendRequest"); + const targetParticipant: CommunicationIdentifier = { communicationUserId: CALL_TARGET_ID }; + + const prompts: (FileSource | TextSource | SsmlSource)[] = [ + { kind: "fileSource", url: MEDIA_URL_WAV }, + { kind: "textSource", text: "test" }, + { kind: "ssmlSource", ssmlText: "test" }, + ]; + const recognizeOptions: CallMediaRecognizeDtmfOptions = { + playPrompts: prompts, + kind: "callMediaRecognizeDtmfOptions", + maxTonesToCollect: 5, + }; + + await callMedia.startRecognizing(targetParticipant, recognizeOptions); + const request = spy.getCall(0).args[0]; + const data = JSON.parse(request.body?.toString() || ""); + + assert.equal(data.recognizeInputType, "dtmf"); + assert.equal(data.recognizeOptions.dtmfOptions.maxTonesToCollect, 5); + assert.equal(data.playPrompts.length, 3); + assert.equal(data.playPrompts[0].kind, "file"); + assert.equal(data.playPrompts[1].kind, "text"); + assert.equal(data.playPrompts[2].kind, "ssml"); + assert.equal(request.method, "POST"); + }); + + it("makes successful StartRecognizing Choices Prompts request", async function () { + const mockHttpClient = generateHttpClient(202); + + callMedia = createMediaClient(mockHttpClient); + const spy = sinon.spy(mockHttpClient, "sendRequest"); + const targetParticipant: CommunicationIdentifier = { communicationUserId: CALL_TARGET_ID }; + const choice: RecognitionChoice = { + label: "choice", + phrases: ["test"], + }; + + const prompts: (FileSource | TextSource | SsmlSource)[] = [ + { kind: "fileSource", url: MEDIA_URL_WAV }, + { kind: "textSource", text: "test" }, + { kind: "ssmlSource", ssmlText: "test" }, + ]; + + const recognizeOptions: CallMediaRecognizeChoiceOptions = { + playPrompts: prompts, + choices: [choice], + kind: "callMediaRecognizeChoiceOptions", + }; + + await callMedia.startRecognizing(targetParticipant, recognizeOptions); + const request = spy.getCall(0).args[0]; + const data = JSON.parse(request.body?.toString() || ""); + + assert.equal(data.recognizeInputType, "choices"); + assert.equal(data.recognizeOptions.choices[0].phrases[0], "test"); + assert.equal(data.playPrompts.length, 3); + assert.equal(data.playPrompts[0].kind, "file"); + assert.equal(data.playPrompts[1].kind, "text"); + assert.equal(data.playPrompts[2].kind, "ssml"); + assert.equal(request.method, "POST"); + }); + + it("makes successful StartRecognizing Speech Prompts request", async function () { + const mockHttpClient = generateHttpClient(202); + + callMedia = createMediaClient(mockHttpClient); + const spy = sinon.spy(mockHttpClient, "sendRequest"); + const targetParticipant: CommunicationIdentifier = { communicationUserId: CALL_TARGET_ID }; + + const prompts: (FileSource | TextSource | SsmlSource)[] = [ + { kind: "fileSource", url: MEDIA_URL_WAV }, + { kind: "textSource", text: "test" }, + { kind: "ssmlSource", ssmlText: "test" }, + ]; + + const recognizeOptions: CallMediaRecognizeSpeechOptions = { + playPrompts: prompts, + kind: "callMediaRecognizeSpeechOptions", + speechRecognitionModelEndpointId: "customModelEndpointId", + }; + + await callMedia.startRecognizing(targetParticipant, recognizeOptions); + const request = spy.getCall(0).args[0]; + const data = JSON.parse(request.body?.toString() || ""); + + assert.equal(data.recognizeInputType, "speech"); + assert.equal(data.recognizeOptions.speechOptions.endSilenceTimeoutInMs, 2000); + assert.equal(data.playPrompts.length, 3); + assert.equal(data.playPrompts[0].kind, "file"); + assert.equal(data.playPrompts[1].kind, "text"); + assert.equal(data.playPrompts[2].kind, "ssml"); + assert.equal(request.method, "POST"); + }); + + it("makes successful StartRecognizing SpeechOrDTMF With DTMF Prompts request", async function () { + const mockHttpClient = generateHttpClient(202); + + callMedia = createMediaClient(mockHttpClient); + const spy = sinon.spy(mockHttpClient, "sendRequest"); + const targetParticipant: CommunicationIdentifier = { communicationUserId: CALL_TARGET_ID }; + + const prompts: (FileSource | TextSource | SsmlSource)[] = [ + { kind: "fileSource", url: MEDIA_URL_WAV }, + { kind: "textSource", text: "test" }, + { kind: "ssmlSource", ssmlText: "test" }, + ]; + + const recognizeOptions: CallMediaRecognizeSpeechOrDtmfOptions = { + playPrompts: prompts, + maxTonesToCollect: 5, + kind: "callMediaRecognizeSpeechOrDtmfOptions", + speechRecognitionModelEndpointId: "customModelEndpointId", + }; + + await callMedia.startRecognizing(targetParticipant, recognizeOptions); + const request = spy.getCall(0).args[0]; + const data = JSON.parse(request.body?.toString() || ""); + + assert.equal(data.recognizeInputType, "speechOrDtmf"); + assert.equal(data.recognizeOptions.dtmfOptions.maxTonesToCollect, 5); + assert.equal(data.playPrompts.length, 3); + assert.equal(data.playPrompts[0].kind, "file"); + assert.equal(data.playPrompts[1].kind, "text"); + assert.equal(data.playPrompts[2].kind, "ssml"); + assert.equal(request.method, "POST"); + }); }); describe("Call Media Client Live Tests", function () { @@ -754,4 +953,1194 @@ describe("Call Media Client Live Tests", function () { const callDisconnectedEvent = await waitForEvent("CallDisconnected", callConnectionId, 8000); assert.isDefined(callDisconnectedEvent); }).timeout(60000); + + it("Creates a call, start media streaming, and hangs up.", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "create_call_start_media_streaming_and_hang_up"; + await loadPersistedEvents(testName); + const phoneNumbers = await getPhoneNumbers(recorder); + assert.isAtLeast( + phoneNumbers.length, + 2, + "Invalid PSTN setup, test needs at least 2 phone numbers", + ); + callerPhoneUser = { phoneNumber: phoneNumbers.pop() as string }; + receiverPhoneUser = { phoneNumber: phoneNumbers.pop() as string }; + + const callInvite: CallInvite = { + targetParticipant: receiverPhoneUser, + sourceCallIdNumber: callerPhoneUser, + }; + const uniqueId = await serviceBusWithNewCall(callerPhoneUser, receiverPhoneUser); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + + const mediaStreamingOptions: MediaStreamingOptions = { + transportUrl: transportUrl, + transportType: "websocket", + contentType: "audio", + audioChannelType: "mixed", + startMediaStreaming: false, + }; + + const createCallOptions: CreateCallOptions = { + mediaStreamingOptions: mediaStreamingOptions, + }; + + const result = await callerCallAutomationClient.createCall( + callInvite, + callBackUrl, + createCallOptions, + ); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 30000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + await receiverCallAutomationClient.answerCall(incomingCallContext, callBackUrl); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + await callConnection.getCallMedia().startMediaStreaming(); + const mediaStreamingStarted = await waitForEvent( + "MediaStreamingStarted", + callConnectionId, + 8000, + ); + assert.isDefined(mediaStreamingStarted); + + await callConnection.getCallMedia().stopMediaStreaming(); + const mediaStreamingStopped = await waitForEvent( + "MediaStreamingStopped", + callConnectionId, + 8000, + ); + assert.isDefined(mediaStreamingStopped); + + await callConnection.hangUp(true); + const callDisconnectedEvent = await waitForEvent("CallDisconnected", callConnectionId, 8000); + assert.isDefined(callDisconnectedEvent); + }).timeout(60000); + + it("Answers a call, start media streaming, and hangs up", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "answer_call_start_media_streaming_and_hang_up"; + await loadPersistedEvents(testName); + + const callInvite: CallInvite = { targetParticipant: testUser2 }; + const uniqueId = await serviceBusWithNewCall(testUser, testUser2); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + + const result = await callerCallAutomationClient.createCall(callInvite, callBackUrl); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 8000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + if (incomingCallContext) { + const mediaStreamingOptions: MediaStreamingOptions = { + transportUrl: transportUrl, + transportType: "websocket", + contentType: "audio", + audioChannelType: "mixed", + startMediaStreaming: false, + }; + const answerCallOptions: AnswerCallOptions = { + mediaStreamingOptions: mediaStreamingOptions, + }; + + const answerCallResult = await receiverCallAutomationClient.answerCall( + incomingCallContext, + callBackUrl, + answerCallOptions, + ); + + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + + const answerCallConnection = answerCallResult.callConnection; + const answerCallConnectionId: string = answerCallResult.callConnectionProperties + .callConnectionId + ? answerCallResult.callConnectionProperties.callConnectionId + : ""; + await answerCallConnection.getCallMedia().startMediaStreaming(); + const mediaStreamingStarted = await waitForEvent( + "MediaStreamingStarted", + answerCallConnectionId, + 8000, + ); + assert.isDefined(mediaStreamingStarted); + + await answerCallConnection.getCallMedia().stopMediaStreaming(); + const mediaStreamingStopped = await waitForEvent( + "MediaStreamingStopped", + answerCallConnectionId, + 8000, + ); + assert.isDefined(mediaStreamingStopped); + + await answerCallConnection.hangUp(true); + const callDisconnectedEvent = await waitForEvent( + "CallDisconnected", + answerCallConnectionId, + 8000, + ); + assert.isDefined(callDisconnectedEvent); + } + }).timeout(60000); + + it("Play multiple file sources with play and playall", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "play_multiple_file_sources_with_play_and_playall"; + await loadPersistedEvents(testName); + + const callInvite: CallInvite = { targetParticipant: testUser2 }; + const uniqueId = await serviceBusWithNewCall(testUser, testUser2); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + const createCallOption: CreateCallOptions = { + operationContext: "playMultipleSourcesCreateCall", + }; + + const result = await callerCallAutomationClient.createCall( + callInvite, + callBackUrl, + createCallOption, + ); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 8000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + const answerCallOption: AnswerCallOptions = { + operationContext: "playMultipleSourcesAnswerCall", + }; + await receiverCallAutomationClient.answerCall( + incomingCallContext, + callBackUrl, + answerCallOption, + ); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + const playMultipleFileSources: FileSource[] = [ + { kind: "fileSource", url: fileSourceUrl }, + { kind: "fileSource", url: fileSourceUrl }, + { kind: "fileSource", url: fileSourceUrl }, + ]; + + // play to all + await callConnection + .getCallMedia() + .playToAll(playMultipleFileSources, { operationContext: "multipleFileSourceContext" }); + + const playCompletedEventToFileSources = await waitForEvent( + "PlayCompleted", + callConnectionId, + 20000, + ); + assert.isDefined(playCompletedEventToFileSources); + + // play to target + await callConnection.getCallMedia().play(playMultipleFileSources, [testUser2], { + operationContext: "multipleFileSourceToTargetContext", + }); + const playCompletedEventToTargetFileSources = await waitForEvent( + "PlayCompleted", + callConnectionId, + 20000, + ); + assert.isDefined(playCompletedEventToTargetFileSources); + }).timeout(60000); + + it("Play multiple text sources with playall", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "play_multiple_text_sources_with_play_and_playall"; + await loadPersistedEvents(testName); + + const callInvite: CallInvite = { targetParticipant: testUser2 }; + const uniqueId = await serviceBusWithNewCall(testUser, testUser2); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + const createCallOption: CreateCallOptions = { + operationContext: "playMultipleSourcesCreateCall", + callIntelligenceOptions: { cognitiveServicesEndpoint: cognitiveServiceEndpoint }, + }; + + const result = await callerCallAutomationClient.createCall( + callInvite, + callBackUrl, + createCallOption, + ); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 8000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + const answerCallOption: AnswerCallOptions = { + operationContext: "playMultipleSourcesAnswerCall", + }; + await receiverCallAutomationClient.answerCall( + incomingCallContext, + callBackUrl, + answerCallOption, + ); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + const playMultipleTextSources: TextSource[] = [ + { kind: "textSource", text: "this is test one", voiceName: "en-US-NancyNeural" }, + { kind: "textSource", text: "this is test two", voiceName: "en-US-NancyNeural" }, + { kind: "textSource", text: "this is test three", voiceName: "en-US-NancyNeural" }, + ]; + + await callConnection + .getCallMedia() + .playToAll(playMultipleTextSources, { operationContext: "multipleTextSourceContext" }); + + const playCompletedEvent = await waitForEvent("PlayCompleted", callConnectionId, 20000); + assert.isDefined(playCompletedEvent); + }).timeout(60000); + + it("Play multiple text sources with play", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "play_multiple_text_sources_with_play_and_playall"; + await loadPersistedEvents(testName); + + const callInvite: CallInvite = { targetParticipant: testUser2 }; + const uniqueId = await serviceBusWithNewCall(testUser, testUser2); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + const createCallOption: CreateCallOptions = { + operationContext: "playMultipleSourcesCreateCall", + callIntelligenceOptions: { cognitiveServicesEndpoint: cognitiveServiceEndpoint }, + }; + + const result = await callerCallAutomationClient.createCall( + callInvite, + callBackUrl, + createCallOption, + ); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 8000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + const answerCallOption: AnswerCallOptions = { + operationContext: "playMultipleSourcesAnswerCall", + }; + await receiverCallAutomationClient.answerCall( + incomingCallContext, + callBackUrl, + answerCallOption, + ); + } + console.log(cognitiveServiceEndpoint); + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + const playMultipleTextSources: TextSource[] = [ + { kind: "textSource", text: "this is test one", voiceName: "en-US-NancyNeural" }, + { kind: "textSource", text: "this is test two", voiceName: "en-US-NancyNeural" }, + { kind: "textSource", text: "this is test three", voiceName: "en-US-NancyNeural" }, + ]; + + await callConnection.getCallMedia().play(playMultipleTextSources, [testUser2], { + operationContext: "multipleTextSourceToTargetContext", + }); + const playCompletedEventToTargetTextSources = await waitForEvent( + "PlayCompleted", + callConnectionId, + 20000, + ); + assert.isDefined(playCompletedEventToTargetTextSources); + }).timeout(60000); + + it("Play combined text and file sources with playall", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "play_combined_text_and_file_sources_with_play_and_playall"; + await loadPersistedEvents(testName); + + const callInvite: CallInvite = { targetParticipant: testUser2 }; + const uniqueId = await serviceBusWithNewCall(testUser, testUser2); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + const createCallOption: CreateCallOptions = { + operationContext: "playMultipleSourcesCreateCall", + callIntelligenceOptions: { cognitiveServicesEndpoint: cognitiveServiceEndpoint }, + }; + + const result = await callerCallAutomationClient.createCall( + callInvite, + callBackUrl, + createCallOption, + ); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 8000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + const answerCallOption: AnswerCallOptions = { + operationContext: "playMultipleSourcesAnswerCall", + }; + await receiverCallAutomationClient.answerCall( + incomingCallContext, + callBackUrl, + answerCallOption, + ); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + const multiplePlaySources: (FileSource | TextSource)[] = [ + { kind: "fileSource", url: fileSourceUrl }, + { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, + ]; + + await callConnection + .getCallMedia() + .playToAll(multiplePlaySources, { operationContext: "multipleSourceContext" }); + + const playCompletedEventMultipleSource = await waitForEvent( + "PlayCompleted", + callConnectionId, + 20000, + ); + assert.isDefined(playCompletedEventMultipleSource); + }).timeout(60000); + + it("Play combined text and file sources with play", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "play_combined_text_and_file_sources_with_play_and_playall"; + await loadPersistedEvents(testName); + + const callInvite: CallInvite = { targetParticipant: testUser2 }; + const uniqueId = await serviceBusWithNewCall(testUser, testUser2); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + const createCallOption: CreateCallOptions = { + operationContext: "playMultipleSourcesCreateCall", + callIntelligenceOptions: { cognitiveServicesEndpoint: cognitiveServiceEndpoint }, + }; + + const result = await callerCallAutomationClient.createCall( + callInvite, + callBackUrl, + createCallOption, + ); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 8000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + const answerCallOption: AnswerCallOptions = { + operationContext: "playMultipleSourcesAnswerCall", + }; + await receiverCallAutomationClient.answerCall( + incomingCallContext, + callBackUrl, + answerCallOption, + ); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + const multiplePlaySources: (FileSource | TextSource)[] = [ + { kind: "fileSource", url: fileSourceUrl }, + { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, + ]; + + await callConnection.getCallMedia().play(multiplePlaySources, [testUser2], { + operationContext: "multipleSourceToTargetContext", + }); + const playCompletedEventToTargetMultipleSource = await waitForEvent( + "PlayCompleted", + callConnectionId, + 20000, + ); + assert.isDefined(playCompletedEventToTargetMultipleSource); + }).timeout(60000); + + it("Play wrong source with play", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "play_wrong_source_with_play_and_playall"; + await loadPersistedEvents(testName); + + const callInvite: CallInvite = { targetParticipant: testUser2 }; + const uniqueId = await serviceBusWithNewCall(testUser, testUser2); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + const createCallOption: CreateCallOptions = { + operationContext: "playMultipleSourcesCreateCall", + }; + + const result = await callerCallAutomationClient.createCall( + callInvite, + callBackUrl, + createCallOption, + ); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 8000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + const answerCallOption: AnswerCallOptions = { + operationContext: "playMultipleSourcesAnswerCall", + }; + await receiverCallAutomationClient.answerCall( + incomingCallContext, + callBackUrl, + answerCallOption, + ); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + const filePrompt: FileSource = { kind: "fileSource", url: "https://dummy.com/dummyurl.wav" }; + + await callConnection + .getCallMedia() + .play([filePrompt], [testUser2], { operationContext: "playFailContext" }); + const playFailedEventWithTargetParticipant = await waitForEvent( + "PlayFailed", + callConnectionId, + 20000, + ); + assert.isDefined(playFailedEventWithTargetParticipant); + + await callConnection.hangUp(true); + const callDisconnectedEvent = await waitForEvent("CallDisconnected", callConnectionId, 8000); + assert.isDefined(callDisconnectedEvent); + }).timeout(60000); + + it("Play wrong source with playall", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "play_wrong_source_with_play_and_playall"; + await loadPersistedEvents(testName); + + const callInvite: CallInvite = { targetParticipant: testUser2 }; + const uniqueId = await serviceBusWithNewCall(testUser, testUser2); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + const createCallOption: CreateCallOptions = { + operationContext: "playMultipleSourcesCreateCall", + }; + + const result = await callerCallAutomationClient.createCall( + callInvite, + callBackUrl, + createCallOption, + ); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 8000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + const answerCallOption: AnswerCallOptions = { + operationContext: "playMultipleSourcesAnswerCall", + }; + await receiverCallAutomationClient.answerCall( + incomingCallContext, + callBackUrl, + answerCallOption, + ); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + const filePrompt: FileSource = { kind: "fileSource", url: "https://dummy.com/dummyurl.wav" }; + + await callConnection + .getCallMedia() + .playToAll([filePrompt], { operationContext: "playFailContext" }); + const playFailedEvent = await waitForEvent("PlayFailed", callConnectionId, 20000); + assert.isDefined(playFailedEvent); + + await callConnection.hangUp(true); + const callDisconnectedEvent = await waitForEvent("CallDisconnected", callConnectionId, 8000); + assert.isDefined(callDisconnectedEvent); + }).timeout(60000); + + it.skip("DTMF recognize with multiple play sources test", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "dtmf_recognize_with_multiple_play_source"; + await loadPersistedEvents(testName); + + const phoneNumbers = await getPhoneNumbers(recorder); + assert.isAtLeast( + phoneNumbers.length, + 2, + "Invalid PSTN setup, test needs at least 2 phone numbers", + ); + callerPhoneUser = { phoneNumber: phoneNumbers.pop() as string }; + receiverPhoneUser = { phoneNumber: phoneNumbers.pop() as string }; + + const callInvite: CallInvite = { + targetParticipant: receiverPhoneUser, + sourceCallIdNumber: callerPhoneUser, + }; + const uniqueId = await serviceBusWithNewCall(callerPhoneUser, receiverPhoneUser); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + const createCallOption: CreateCallOptions = { + callIntelligenceOptions: { cognitiveServicesEndpoint: cognitiveServiceEndpoint }, + }; + const result = await callerCallAutomationClient.createCall( + callInvite, + callBackUrl, + createCallOption, + ); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 30000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + await receiverCallAutomationClient.answerCall(incomingCallContext, callBackUrl); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + const playMultipleTextSources: TextSource[] = [ + { kind: "textSource", text: "this is test one", voiceName: "en-US-NancyNeural" }, + { kind: "textSource", text: "this is test two", voiceName: "en-US-NancyNeural" }, + ]; + const recognizeDtmfOptionsToTextSource: CallMediaRecognizeDtmfOptions = { + maxTonesToCollect: 1, + initialSilenceTimeoutInSeconds: 5, + playPrompts: playMultipleTextSources, + interToneTimeoutInSeconds: 5, + interruptPrompt: true, + stopDtmfTones: [DtmfTone.Pound], + kind: "callMediaRecognizeDtmfOptions", + }; + + await callConnection + .getCallMedia() + .startRecognizing(receiverPhoneUser, recognizeDtmfOptionsToTextSource); + const recognizeFailedEventToTextSource = await waitForEvent( + "RecognizeFailed", + callConnectionId, + 8000, + ); + assert.isDefined(recognizeFailedEventToTextSource); + + const multiplePlaySources: (FileSource | TextSource)[] = [ + { kind: "fileSource", url: fileSourceUrl }, + { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, + ]; + + const recognizeDtmfOptionsToMultipleSource: CallMediaRecognizeDtmfOptions = { + maxTonesToCollect: 1, + initialSilenceTimeoutInSeconds: 5, + playPrompts: multiplePlaySources, + interToneTimeoutInSeconds: 5, + interruptPrompt: true, + stopDtmfTones: [DtmfTone.Pound], + kind: "callMediaRecognizeDtmfOptions", + }; + + await callConnection + .getCallMedia() + .startRecognizing(receiverPhoneUser, recognizeDtmfOptionsToMultipleSource); + const recognizeFailedEventToMultipleSource = await waitForEvent( + "RecognizeFailed", + callConnectionId, + 8000, + ); + assert.isDefined(recognizeFailedEventToMultipleSource); + + const multiplePrompts: (FileSource | TextSource)[] = [ + { kind: "fileSource", url: "https://dummy.com/dummyurl.wav" }, + { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, + ]; + + const recognizeDtmfOptionsToMultiplePrompts: CallMediaRecognizeDtmfOptions = { + maxTonesToCollect: 1, + initialSilenceTimeoutInSeconds: 5, + playPrompts: multiplePrompts, + interToneTimeoutInSeconds: 5, + interruptPrompt: true, + stopDtmfTones: [DtmfTone.Pound], + kind: "callMediaRecognizeDtmfOptions", + }; + await callConnection + .getCallMedia() + .startRecognizing(receiverPhoneUser, recognizeDtmfOptionsToMultiplePrompts); + const recognizeFailedEvent = await waitForEvent("RecognizeFailed", callConnectionId, 8000); + assert.isDefined(recognizeFailedEvent); + + await callConnection.hangUp(true); + const callDisconnectedEvent = await waitForEvent("CallDisconnected", callConnectionId, 8000); + assert.isDefined(callDisconnectedEvent); + }).timeout(60000); + + it.skip("Speech recognize with multiple play sources test", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "speech_recognize_with_multiple_play_source"; + await loadPersistedEvents(testName); + + const phoneNumbers = await getPhoneNumbers(recorder); + assert.isAtLeast( + phoneNumbers.length, + 2, + "Invalid PSTN setup, test needs at least 2 phone numbers", + ); + callerPhoneUser = { phoneNumber: phoneNumbers.pop() as string }; + receiverPhoneUser = { phoneNumber: phoneNumbers.pop() as string }; + + const callInvite: CallInvite = { + targetParticipant: receiverPhoneUser, + sourceCallIdNumber: callerPhoneUser, + }; + const uniqueId = await serviceBusWithNewCall(callerPhoneUser, receiverPhoneUser); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + const createCallOption: CreateCallOptions = { + callIntelligenceOptions: { cognitiveServicesEndpoint: cognitiveServiceEndpoint }, + }; + const result = await callerCallAutomationClient.createCall( + callInvite, + callBackUrl, + createCallOption, + ); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 30000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + await receiverCallAutomationClient.answerCall(incomingCallContext, callBackUrl); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + const playMultipleTextSources: TextSource[] = [ + { kind: "textSource", text: "this is test one", voiceName: "en-US-NancyNeural" }, + { kind: "textSource", text: "this is test two", voiceName: "en-US-NancyNeural" }, + ]; + + const recognizeSpeechOptionsToTextSource: CallMediaRecognizeSpeechOptions = { + endSilenceTimeoutInSeconds: 1, + playPrompts: playMultipleTextSources, + kind: "callMediaRecognizeSpeechOptions", + initialSilenceTimeoutInSeconds: 5, + }; + + await callConnection + .getCallMedia() + .startRecognizing(receiverPhoneUser, recognizeSpeechOptionsToTextSource); + const recognizeFailedEventToTextSource = await waitForEvent( + "RecognizeFailed", + callConnectionId, + 8000, + ); + assert.isDefined(recognizeFailedEventToTextSource); + + const multiplePlaySources: (FileSource | TextSource)[] = [ + { kind: "fileSource", url: fileSourceUrl }, + { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, + ]; + + const recognizeSpeechOptionsMultipleSource: CallMediaRecognizeSpeechOptions = { + endSilenceTimeoutInSeconds: 1, + playPrompts: multiplePlaySources, + kind: "callMediaRecognizeSpeechOptions", + initialSilenceTimeoutInSeconds: 5, + }; + + await callConnection + .getCallMedia() + .startRecognizing(receiverPhoneUser, recognizeSpeechOptionsMultipleSource); + const recognizeFailedEventToMultipleSource = await waitForEvent( + "RecognizeFailed", + callConnectionId, + 8000, + ); + assert.isDefined(recognizeFailedEventToMultipleSource); + + const multiplePrompts: (FileSource | TextSource)[] = [ + { kind: "fileSource", url: "https://dummy.com/dummyurl.wav" }, + { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, + ]; + + const recognizeSpeechOptionsMultiPrompts: CallMediaRecognizeSpeechOptions = { + endSilenceTimeoutInSeconds: 1, + playPrompts: multiplePrompts, + kind: "callMediaRecognizeSpeechOptions", + initialSilenceTimeoutInSeconds: 5, + }; + + await callConnection + .getCallMedia() + .startRecognizing(receiverPhoneUser, recognizeSpeechOptionsMultiPrompts); + const recognizeFailedEvent = await waitForEvent("RecognizeFailed", callConnectionId, 8000); + assert.isDefined(recognizeFailedEvent); + + await callConnection.hangUp(true); + const callDisconnectedEvent = await waitForEvent("CallDisconnected", callConnectionId, 8000); + assert.isDefined(callDisconnectedEvent); + }).timeout(60000); + + it.skip("Choice recognize with multiple play sources test", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "choice_recognize_with_multiple_play_source"; + await loadPersistedEvents(testName); + + const phoneNumbers = await getPhoneNumbers(recorder); + assert.isAtLeast( + phoneNumbers.length, + 2, + "Invalid PSTN setup, test needs at least 2 phone numbers", + ); + callerPhoneUser = { phoneNumber: phoneNumbers.pop() as string }; + receiverPhoneUser = { phoneNumber: phoneNumbers.pop() as string }; + + const callInvite: CallInvite = { + targetParticipant: receiverPhoneUser, + sourceCallIdNumber: callerPhoneUser, + }; + const uniqueId = await serviceBusWithNewCall(callerPhoneUser, receiverPhoneUser); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + const createCallOption: CreateCallOptions = { + callIntelligenceOptions: { cognitiveServicesEndpoint: cognitiveServiceEndpoint }, + }; + const result = await callerCallAutomationClient.createCall( + callInvite, + callBackUrl, + createCallOption, + ); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 30000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + await receiverCallAutomationClient.answerCall(incomingCallContext, callBackUrl); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + const choices = [ + { + label: "Confirm", + phrases: ["Confirm", "First", "One"], + tone: DtmfTone.One, + }, + { + label: "Cancel", + phrases: ["Cancel", "Second", "Two"], + tone: DtmfTone.Two, + }, + ]; + + const playMultipleTextSources: TextSource[] = [ + { kind: "textSource", text: "this is test one", voiceName: "en-US-NancyNeural" }, + { kind: "textSource", text: "this is test two", voiceName: "en-US-NancyNeural" }, + ]; + + const recognizeChoiceOptionsToTextSource: CallMediaRecognizeChoiceOptions = { + choices: choices, + interruptPrompt: true, + initialSilenceTimeoutInSeconds: 5, + playPrompts: playMultipleTextSources, + kind: "callMediaRecognizeChoiceOptions", + }; + + await callConnection + .getCallMedia() + .startRecognizing(receiverPhoneUser, recognizeChoiceOptionsToTextSource); + const recognizeFailedEventToTextSource = await waitForEvent( + "RecognizeFailed", + callConnectionId, + 8000, + ); + assert.isDefined(recognizeFailedEventToTextSource); + + const multiplePlaySources: (FileSource | TextSource)[] = [ + { kind: "fileSource", url: fileSourceUrl }, + { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, + ]; + + const recognizeChoiceOptionsToMultipleSource: CallMediaRecognizeChoiceOptions = { + choices: choices, + interruptPrompt: true, + initialSilenceTimeoutInSeconds: 10, + playPrompts: multiplePlaySources, + kind: "callMediaRecognizeChoiceOptions", + }; + + await callConnection + .getCallMedia() + .startRecognizing(receiverPhoneUser, recognizeChoiceOptionsToMultipleSource); + const recognizeFailedEventToMultipleSource = await waitForEvent( + "RecognizeFailed", + callConnectionId, + 8000, + ); + assert.isDefined(recognizeFailedEventToMultipleSource); + + const multiplePrompts: (FileSource | TextSource)[] = [ + { kind: "fileSource", url: "https://dummy.com/dummyurl.wav" }, + { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, + ]; + + const recognizeChoiceOptionsMultiplePrompts: CallMediaRecognizeChoiceOptions = { + choices: choices, + interruptPrompt: true, + initialSilenceTimeoutInSeconds: 5, + playPrompts: multiplePrompts, + kind: "callMediaRecognizeChoiceOptions", + }; + + await callConnection + .getCallMedia() + .startRecognizing(receiverPhoneUser, recognizeChoiceOptionsMultiplePrompts); + const recognizeFailedEvent = await waitForEvent("RecognizeFailed", callConnectionId, 8000); + assert.isDefined(recognizeFailedEvent); + + await callConnection.hangUp(true); + const callDisconnectedEvent = await waitForEvent("CallDisconnected", callConnectionId, 8000); + assert.isDefined(callDisconnectedEvent); + }).timeout(60000); + + it.skip("SpeechOrDtmf recognize with multiple play sources test", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "speechOrDtmf_recognize_with_multiple_play_source"; + await loadPersistedEvents(testName); + + const phoneNumbers = await getPhoneNumbers(recorder); + assert.isAtLeast( + phoneNumbers.length, + 2, + "Invalid PSTN setup, test needs at least 2 phone numbers", + ); + callerPhoneUser = { phoneNumber: phoneNumbers.pop() as string }; + receiverPhoneUser = { phoneNumber: phoneNumbers.pop() as string }; + + const callInvite: CallInvite = { + targetParticipant: receiverPhoneUser, + sourceCallIdNumber: callerPhoneUser, + }; + const uniqueId = await serviceBusWithNewCall(callerPhoneUser, receiverPhoneUser); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + const createCallOption: CreateCallOptions = { + callIntelligenceOptions: { cognitiveServicesEndpoint: cognitiveServiceEndpoint }, + }; + const result = await callerCallAutomationClient.createCall( + callInvite, + callBackUrl, + createCallOption, + ); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 30000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + await receiverCallAutomationClient.answerCall(incomingCallContext, callBackUrl); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + const playMultipleTextSources: TextSource[] = [ + { kind: "textSource", text: "this is test one", voiceName: "en-US-NancyNeural" }, + { kind: "textSource", text: "this is test two", voiceName: "en-US-NancyNeural" }, + ]; + + const recognizeSpeechOrDtmfOptionsTextSource: CallMediaRecognizeSpeechOrDtmfOptions = { + maxTonesToCollect: 1, + endSilenceTimeoutInSeconds: 1, + playPrompts: playMultipleTextSources, + initialSilenceTimeoutInSeconds: 5, + interruptPrompt: true, + kind: "callMediaRecognizeSpeechOrDtmfOptions", + }; + + await callConnection + .getCallMedia() + .startRecognizing(receiverPhoneUser, recognizeSpeechOrDtmfOptionsTextSource); + console.log("callMediaRecognizeSpeechOrDtmfOptions"); + const recognizeFailedEventToTextSource = await waitForEvent( + "RecognizeFailed", + callConnectionId, + 8000, + ); + assert.isDefined(recognizeFailedEventToTextSource); + + const multiplePlaySources: (FileSource | TextSource)[] = [ + { kind: "fileSource", url: fileSourceUrl }, + { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, + ]; + + const recognizeSpeechOrDtmfOptionsMultipleSource: CallMediaRecognizeSpeechOrDtmfOptions = { + maxTonesToCollect: 1, + endSilenceTimeoutInSeconds: 1, + playPrompts: multiplePlaySources, + initialSilenceTimeoutInSeconds: 5, + interruptPrompt: true, + kind: "callMediaRecognizeSpeechOrDtmfOptions", + }; + + await callConnection + .getCallMedia() + .startRecognizing(receiverPhoneUser, recognizeSpeechOrDtmfOptionsMultipleSource); + const recognizeFailedEventToMultipleSource = await waitForEvent( + "RecognizeFailed", + callConnectionId, + 8000, + ); + assert.isDefined(recognizeFailedEventToMultipleSource); + + const multiplePrompts: (FileSource | TextSource)[] = [ + { kind: "fileSource", url: "https://dummy.com/dummyurl.wav" }, + { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, + ]; + + const recognizeSpeechOrDtmfOptionsMultiplePropmt: CallMediaRecognizeSpeechOrDtmfOptions = { + maxTonesToCollect: 1, + endSilenceTimeoutInSeconds: 1, + playPrompts: multiplePrompts, + initialSilenceTimeoutInSeconds: 5, + interruptPrompt: true, + kind: "callMediaRecognizeSpeechOrDtmfOptions", + }; + + await callConnection + .getCallMedia() + .startRecognizing(receiverPhoneUser, recognizeSpeechOrDtmfOptionsMultiplePropmt); + + const recognizeFailedEvent = await waitForEvent("RecognizeFailed", callConnectionId, 8000); + assert.isDefined(recognizeFailedEvent); + + await callConnection.hangUp(true); + const callDisconnectedEvent = await waitForEvent("CallDisconnected", callConnectionId, 8000); + assert.isDefined(callDisconnectedEvent); + }).timeout(60000); + + it("Hold Unhold participant in a call", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "hold_unhold_participant_in_a_call"; + await loadPersistedEvents(testName); + + const callInvite: CallInvite = { targetParticipant: testUser2 }; + const uniqueId = await serviceBusWithNewCall(testUser, testUser2); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + + const result = await callerCallAutomationClient.createCall(callInvite, callBackUrl); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 8000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + if (incomingCallContext) { + await receiverCallAutomationClient.answerCall(incomingCallContext, callBackUrl); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + await callConnection.getCallMedia().hold(testUser2); + await ((ms: number): Promise => new Promise((resolve) => setTimeout(resolve, ms)))(3000); + const participantHold: CallParticipant = await callConnection.getParticipant(testUser2); + assert.isDefined(participantHold); + assert.isTrue(participantHold.isOnHold); + + await callConnection.getCallMedia().unhold(testUser2); + await ((ms: number): Promise => new Promise((resolve) => setTimeout(resolve, ms)))(3000); + const participantUnhold = await callConnection.getParticipant(testUser2); + assert.isDefined(participantUnhold); + assert.isFalse(participantUnhold.isOnHold); + + const playSource: FileSource = { + url: "https://dummy.com/dummyurl.wav", + kind: "fileSource", + }; + + const holdOptions: HoldOptions = { + playSource: playSource, + operationContext: "holdFailedContext", + }; + await callConnection.getCallMedia().hold(testUser2, holdOptions); + const holdFailedEvent = await waitForEvent("HoldFailed", callConnectionId, 8000); + assert.isDefined(holdFailedEvent); + + await callConnection.hangUp(true); + const callDisconnectedEvent = await waitForEvent("CallDisconnected", callConnectionId, 8000); + assert.isDefined(callDisconnectedEvent); + }).timeout(60000); + + it("Creates a call, start transcription, and hangs up.", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "create_call_start_transcription_and_hang_up"; + await loadPersistedEvents(testName); + const phoneNumbers = await getPhoneNumbers(recorder); + assert.isAtLeast( + phoneNumbers.length, + 2, + "Invalid PSTN setup, test needs at least 2 phone numbers", + ); + callerPhoneUser = { phoneNumber: phoneNumbers.pop() as string }; + receiverPhoneUser = { phoneNumber: phoneNumbers.pop() as string }; + + const callInvite: CallInvite = { + targetParticipant: receiverPhoneUser, + sourceCallIdNumber: callerPhoneUser, + }; + const uniqueId = await serviceBusWithNewCall(callerPhoneUser, receiverPhoneUser); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + + const transcriptionOptions: TranscriptionOptions = { + transportUrl: transportUrl, + transportType: "websocket", + locale: "en-US", + startTranscription: false, + enableIntermediateResults: false, + }; + + const creatCallOptions: CreateCallOptions = { + transcriptionOptions: transcriptionOptions, + callIntelligenceOptions: { cognitiveServicesEndpoint: cognitiveServiceEndpoint }, + }; + + const result = await callerCallAutomationClient.createCall( + callInvite, + callBackUrl, + creatCallOptions, + ); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 30000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + await receiverCallAutomationClient.answerCall(incomingCallContext, callBackUrl); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + await callConnection.getCallMedia().startTranscription(); + const transcriptionStarted = await waitForEvent("TranscriptionStarted", callConnectionId, 8000); + assert.isDefined(transcriptionStarted); + + await callConnection.getCallMedia().stopTranscription(); + const transcriptionStopped = waitForEvent("TranscriptionStopped", callConnectionId, 8000); + assert.isDefined(transcriptionStopped); + + await callConnection.hangUp(true); + const callDisconnectedEvent = await waitForEvent("CallDisconnected", callConnectionId, 8000); + assert.isDefined(callDisconnectedEvent); + }).timeout(60000); + + it("Answers a call, start transcription, and hangs up", async function () { + testName = this.test?.fullTitle() + ? this.test?.fullTitle().replace(/ /g, "_") + : "answer_call_start_transcription_and_hang_up"; + await loadPersistedEvents(testName); + + const callInvite: CallInvite = { targetParticipant: testUser2 }; + const uniqueId = await serviceBusWithNewCall(testUser, testUser2); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + + const result = await callerCallAutomationClient.createCall(callInvite, callBackUrl); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 8000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + const transcriptionOptions: TranscriptionOptions = { + transportUrl: transportUrl, + transportType: "websocket", + locale: "en-US", + startTranscription: false, + enableIntermediateResults: false, + }; + const answerCallOptions: AnswerCallOptions = { + transcriptionOptions: transcriptionOptions, + callIntelligenceOptions: { cognitiveServicesEndpoint: cognitiveServiceEndpoint }, + }; + const answerCallResult = await receiverCallAutomationClient.answerCall( + incomingCallContext, + callBackUrl, + answerCallOptions, + ); + + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + assert.isDefined(callConnectedEvent); + + const answerCallConnection = answerCallResult.callConnection; + const answerCallConnectionId: string = answerCallResult.callConnectionProperties + .callConnectionId + ? answerCallResult.callConnectionProperties.callConnectionId + : ""; + + await answerCallConnection.getCallMedia().startTranscription(); + const transcriptionStarted = await waitForEvent( + "TranscriptionStarted", + answerCallConnectionId, + 8000, + ); + assert.isDefined(transcriptionStarted); + + await answerCallConnection.getCallMedia().stopTranscription(); + const transcriptionStopped = waitForEvent( + "TranscriptionStopped", + answerCallConnectionId, + 8000, + ); + assert.isDefined(transcriptionStopped); + + await answerCallConnection.hangUp(true); + const callDisconnectedEvent = await waitForEvent( + "CallDisconnected", + answerCallConnectionId, + 8000, + ); + assert.isDefined(callDisconnectedEvent); + } + }).timeout(60000); }); diff --git a/sdk/communication/communication-call-automation/test/utils/recordedClient.ts b/sdk/communication/communication-call-automation/test/utils/recordedClient.ts index c25176706134..2602f51b95c3 100644 --- a/sdk/communication/communication-call-automation/test/utils/recordedClient.ts +++ b/sdk/communication/communication-call-automation/test/utils/recordedClient.ts @@ -54,6 +54,8 @@ const envSetupForPlayback: Record = { SERVICEBUS_STRING: "Endpoint=sb://REDACTED.servicebus.windows.net/;SharedAccessKeyName=REDACTED;SharedAccessKey=REDACTED", FILE_SOURCE_URL: "https://example.com/audio/test.wav", + TRANSPORT_URL: "https://REDACTED", + COGNITIVE_SERVICE_ENDPOINT: "https://REDACTED.cognitiveservices.azure.com/", }; const fakeToken = generateToken(); @@ -66,6 +68,12 @@ const serviceBusConnectionString: string = !isPlaybackMode() export const fileSourceUrl: string = !isPlaybackMode() ? (env["FILE_SOURCE_URL"] ?? envSetupForPlayback["DISPATCHER_ENDPOINT"]) : envSetupForPlayback["FILE_SOURCE_URL"]; +export const transportUrl: string = !isPlaybackMode() + ? (env["TRANSPORT_URL"] ?? envSetupForPlayback["TRANSPORT_URL"]) + : envSetupForPlayback["TRANSPORT_URL"]; +export const cognitiveServiceEndpoint: string = !isPlaybackMode() + ? (env["COGNITIVE_SERVICE_ENDPOINT"] ?? envSetupForPlayback["COGNITIVE_SERVICE_ENDPOINT"]) + : envSetupForPlayback["COGNITIVE_SERVICE_ENDPOINT"]; export const dispatcherCallback: string = dispatcherEndpoint + "/api/servicebuscallback/events"; export const serviceBusReceivers: Map = new Map< From 6ac6e1309efa79d9524bcac273d3dd4a5dbc9c5a Mon Sep 17 00:00:00 2001 From: Durgesh Suryawanshi Date: Wed, 6 Nov 2024 11:56:58 +0530 Subject: [PATCH 02/16] Updated change log and test cases. --- .../CHANGELOG.md | 18 ++++++ .../src/callAutomationClient.ts | 3 + .../src/callMedia.ts | 12 +++- .../src/models/options.ts | 10 ++++ .../test/callMediaClient.spec.ts | 58 +++++++++++++++++++ 5 files changed, 100 insertions(+), 1 deletion(-) diff --git a/sdk/communication/communication-call-automation/CHANGELOG.md b/sdk/communication/communication-call-automation/CHANGELOG.md index 8d19002758fb..52f3abbe8aca 100644 --- a/sdk/communication/communication-call-automation/CHANGELOG.md +++ b/sdk/communication/communication-call-automation/CHANGELOG.md @@ -1,5 +1,23 @@ # Release History +## 1.4.0-beta.1 (Unreleased) + +### Features Added + +- Support multiple play sources for Play and Recognize +- Support for the real time transcription +- Monetization for real-time transcription and audio streaming +- Hold and Unhold the participant +- Support to manage the rooms/servercall/group call using connect API +- Support for the audio streaming +- Expose original PSTN number target from incoming call event in call connection properties + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 1.3.0-beta.1 (Unreleased) ### Features Added diff --git a/sdk/communication/communication-call-automation/src/callAutomationClient.ts b/sdk/communication/communication-call-automation/src/callAutomationClient.ts index 407ebdb2e3e0..fa6708d64e2e 100644 --- a/sdk/communication/communication-call-automation/src/callAutomationClient.ts +++ b/sdk/communication/communication-call-automation/src/callAutomationClient.ts @@ -332,6 +332,7 @@ export class CallAutomationClient { mediaStreamingOptions: mediaStreamingOptions, transcriptionOptions: transcriptionOptions, callIntelligenceOptions: callIntelligenceOptions, + customCallingContext: this.createCustomCallingContextInternal(options.customCallingContext!), operationContext: operationContext, callbackUri: callbackUrl, answeredBy: this.sourceIdentity, @@ -489,6 +490,8 @@ export class CallAutomationClient { callbackUri: callbackUrl, operationContext: options.operationContext, callIntelligenceOptions: options.callIntelligenceOptions, + mediaStreamingOptions: options.mediaStreamingOptions, + transcriptionOptions: options.transcriptionOptions, }; if (callLocator.kind === "groupCallLocator") { diff --git a/sdk/communication/communication-call-automation/src/callMedia.ts b/sdk/communication/communication-call-automation/src/callMedia.ts index f984a4b8e8d8..b051c1a6d582 100644 --- a/sdk/communication/communication-call-automation/src/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/callMedia.ts @@ -48,6 +48,7 @@ import type { UnholdOptions, StartMediaStreamingOptions, StopMediaStreamingOptions, + PlayToAllOptions, } from "./models/options"; import type { KeyCredential, TokenCredential } from "@azure/core-auth"; import type { @@ -208,7 +209,7 @@ export class CallMedia { */ public async playToAll( playSources: (FileSource | TextSource | SsmlSource)[], - options: PlayOptions = { loop: false }, + options: PlayToAllOptions = { loop: false }, ): Promise { const playRequest: PlayRequest = { playSources: playSources.map((source) => this.createPlaySourceInternal(source)), @@ -224,6 +225,15 @@ export class CallMedia { playRequest.playOptions = playRequest.playOptions || { loop: false }; // Ensure playOptions is defined playRequest.playOptions.loop = options.loop; } + + if (options.interruptCallMediaOperation !== undefined) { + playRequest.playOptions = playRequest.playOptions || { + loop: false, + interruptCallMediaOperation: false, + }; // Ensure playOptions is defined + playRequest.playOptions.interruptCallMediaOperation = options.interruptCallMediaOperation; + } + await this.callMedia.play(this.callConnectionId, playRequest, options); const playResult: PlayResult = { diff --git a/sdk/communication/communication-call-automation/src/models/options.ts b/sdk/communication/communication-call-automation/src/models/options.ts index bafc8488aed6..57da1aed13d9 100644 --- a/sdk/communication/communication-call-automation/src/models/options.ts +++ b/sdk/communication/communication-call-automation/src/models/options.ts @@ -126,6 +126,8 @@ export interface CreateCallOptions extends OperationOptions { export interface AnswerCallOptions extends OperationOptions { /** AI options for the call. */ callIntelligenceOptions?: CallIntelligenceOptions; + /** Used by customer to send custom context to targets. */ + customCallingContext?: CustomCallingContext; /** Options for Media streaming. */ mediaStreamingOptions?: MediaStreamingOptions; /** Options for live transcription. */ @@ -221,6 +223,14 @@ export interface PlayOptions extends OperationOptions { operationCallbackUrl?: string; } +/** + * Options to playToAll audio. + */ +export interface PlayToAllOptions extends PlayOptions { + /** If set play can barge into other existing queued-up/currently-processing requests. */ + interruptCallMediaOperation?: boolean; +} + /** * Options to get call connection properties. */ diff --git a/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts b/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts index 4acc3aba962c..15eaf0a01c1a 100644 --- a/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts @@ -43,6 +43,7 @@ import type { StartMediaStreamingOptions, StopMediaStreamingOptions, CallMediaRecognizeSpeechOrDtmfOptions, + PlayToAllOptions, } from "../src"; import { CallAutomationEventProcessor } from "../src"; @@ -687,6 +688,63 @@ describe("CallMedia Unit Tests", async function () { assert.equal(data.playPrompts[2].kind, "ssml"); assert.equal(request.method, "POST"); }); + + it("makes successful PlayToAll barge in request", async function () { + const mockHttpClient = generateHttpClient(202); + + callMedia = createMediaClient(mockHttpClient); + const spy = sinon.spy(mockHttpClient, "sendRequest"); + + const playSource: FileSource[] = [ + { + url: MEDIA_URL_WAV, + kind: "fileSource", + }, + ]; + + const options: PlayToAllOptions = { + interruptCallMediaOperation: true, + operationContext: "interruptMediaContext", + }; + + await callMedia.playToAll(playSource, options); + const request = spy.getCall(0).args[0]; + const data = JSON.parse(request.body?.toString() || ""); + + assert.equal(data.playSources[0].kind, "file"); + assert.equal(data.playSources[0].file.uri, playSource[0].url); + assert.equal(request.method, "POST"); + assert.equal(data.operationContext, options.operationContext); + assert.equal(data.interruptCallMediaOperation, options.interruptCallMediaOperation); + }); + + it("makes successful PlayToAll barge in request with PlayOptions instead of PlayToAllOptions", async function () { + const mockHttpClient = generateHttpClient(202); + + callMedia = createMediaClient(mockHttpClient); + const spy = sinon.spy(mockHttpClient, "sendRequest"); + + const playSource: FileSource[] = [ + { + url: MEDIA_URL_WAV, + kind: "fileSource", + }, + ]; + + const options: PlayOptions = { + operationContext: "interruptMediaContext", + }; + + await callMedia.playToAll(playSource, options); + const request = spy.getCall(0).args[0]; + const data = JSON.parse(request.body?.toString() || ""); + + assert.equal(data.playSources[0].kind, "file"); + assert.equal(data.playSources[0].file.uri, playSource[0].url); + assert.equal(request.method, "POST"); + assert.equal(data.operationContext, options.operationContext); + assert.equal(data.interruptCallMediaOperation, false); + }); }); describe("Call Media Client Live Tests", function () { From 0f7aaca3840450bd5bc01a94cded7b832417df26 Mon Sep 17 00:00:00 2001 From: Durgesh Suryawanshi Date: Tue, 12 Nov 2024 09:44:16 +0530 Subject: [PATCH 03/16] Fixed unit test. --- .../test/callMediaClient.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts b/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts index 15eaf0a01c1a..8b4d35195f63 100644 --- a/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts @@ -715,7 +715,7 @@ describe("CallMedia Unit Tests", async function () { assert.equal(data.playSources[0].file.uri, playSource[0].url); assert.equal(request.method, "POST"); assert.equal(data.operationContext, options.operationContext); - assert.equal(data.interruptCallMediaOperation, options.interruptCallMediaOperation); + assert.equal(data.playOptions.interruptCallMediaOperation, options.interruptCallMediaOperation); }); it("makes successful PlayToAll barge in request with PlayOptions instead of PlayToAllOptions", async function () { @@ -743,7 +743,7 @@ describe("CallMedia Unit Tests", async function () { assert.equal(data.playSources[0].file.uri, playSource[0].url); assert.equal(request.method, "POST"); assert.equal(data.operationContext, options.operationContext); - assert.equal(data.interruptCallMediaOperation, false); + assert.equal(data.playOptions.interruptCallMediaOperation, undefined); }); }); From 4643e4f54719e1e4ff12f96ad5eac00965073df6 Mon Sep 17 00:00:00 2001 From: Vinothini Dharmaraj Date: Sun, 17 Nov 2024 18:00:08 -0800 Subject: [PATCH 04/16] updating the apispec --- .../communication-call-automation.api.md | 154 +- .../src/callAutomationClient.ts | 4 +- .../src/callAutomationEventParser.ts | 8 +- .../src/callMedia.ts | 50 - .../src/eventprocessor/eventResponses.ts | 4 +- .../src/generated/src/models/index.ts | 1851 ++++++---------- .../src/generated/src/models/mappers.ts | 1901 +++++++++-------- .../src/generated/src/models/parameters.ts | 18 +- .../src/operations/callConnection.ts | 2 +- .../src/generated/src/operations/callMedia.ts | 93 +- .../operationsInterfaces/callConnection.ts | 2 +- .../src/operationsInterfaces/callMedia.ts | 39 +- .../src/models/events.ts | 36 +- .../swagger/README.md | 18 +- .../test/callMediaClient.spec.ts | 53 - .../test/callRecordingClient.spec.ts | 28 - 16 files changed, 1813 insertions(+), 2448 deletions(-) diff --git a/sdk/communication/communication-call-automation/review/communication-call-automation.api.md b/sdk/communication/communication-call-automation/review/communication-call-automation.api.md index a366dac240bd..87946c80e60e 100644 --- a/sdk/communication/communication-call-automation/review/communication-call-automation.api.md +++ b/sdk/communication/communication-call-automation/review/communication-call-automation.api.md @@ -72,9 +72,10 @@ export interface AnswerCallEventResult { // @public export interface AnswerCallOptions extends OperationOptions { callIntelligenceOptions?: CallIntelligenceOptions; - mediaStreamingConfiguration?: MediaStreamingConfiguration; + customCallingContext?: CustomCallingContext; + mediaStreamingOptions?: MediaStreamingOptions; operationContext?: string; - transcriptionConfiguration?: TranscriptionConfiguration; + transcriptionOptions?: TranscriptionOptions; } // @public @@ -101,6 +102,7 @@ export class CallAutomationClient { constructor(connectionString: string, options?: CallAutomationClientOptions); constructor(endpoint: string, credential: TokenCredential | KeyCredential, options?: CallAutomationClientOptions); answerCall(incomingCallContext: string, callbackUrl: string, options?: AnswerCallOptions): Promise; + connectCall(callLocator: CallLocator, callbackUrl: string, options?: ConnectCallOptions): Promise; createCall(targetParticipant: CallInvite, callbackUrl: string, options?: CreateCallOptions): Promise; createGroupCall(targetParticipants: CommunicationIdentifier[], callbackUrl: string, options?: CreateCallOptions): Promise; getCallConnection(callConnectionId: string): CallConnection; @@ -118,7 +120,7 @@ export interface CallAutomationClientOptions extends CommonClientOptions { } // @public -export type CallAutomationEvent = AddParticipantSucceeded | AddParticipantFailed | RemoveParticipantSucceeded | RemoveParticipantFailed | CallConnected | CallDisconnected | CallTransferAccepted | CallTransferFailed | ParticipantsUpdated | RecordingStateChanged | PlayCompleted | PlayFailed | PlayCanceled | RecognizeCompleted | RecognizeCanceled | RecognizeFailed | ContinuousDtmfRecognitionToneReceived | ContinuousDtmfRecognitionToneFailed | ContinuousDtmfRecognitionStopped | SendDtmfTonesCompleted | SendDtmfTonesFailed | CancelAddParticipantSucceeded | CancelAddParticipantFailed | TranscriptionStarted | TranscriptionStopped | TranscriptionUpdated | TranscriptionFailed | CreateCallFailed | AnswerFailed | HoldFailed; +export type CallAutomationEvent = AddParticipantSucceeded | AddParticipantFailed | RemoveParticipantSucceeded | RemoveParticipantFailed | CallConnected | CallDisconnected | CallTransferAccepted | CallTransferFailed | ParticipantsUpdated | RecordingStateChanged | PlayCompleted | PlayFailed | PlayCanceled | RecognizeCompleted | RecognizeCanceled | RecognizeFailed | ContinuousDtmfRecognitionToneReceived | ContinuousDtmfRecognitionToneFailed | ContinuousDtmfRecognitionStopped | SendDtmfTonesCompleted | SendDtmfTonesFailed | CancelAddParticipantSucceeded | CancelAddParticipantFailed | TranscriptionStarted | TranscriptionStopped | TranscriptionUpdated | TranscriptionFailed | CreateCallFailed | AnswerFailed | HoldFailed | MediaStreamingStarted | MediaStreamingStopped | MediaStreamingFailed | StartRecordingFailed; // @public export class CallAutomationEventProcessor { @@ -131,10 +133,11 @@ export class CallAutomationEventProcessor { // Warning: (ae-forgotten-export) The symbol "RestCallConnected" needs to be exported by the entry point index.d.ts // // @public -export interface CallConnected extends Omit { +export interface CallConnected extends Omit { callConnectionId: string; correlationId: string; kind: "CallConnected"; + resultInformation?: ResultInformation; serverCallId: string; } @@ -157,16 +160,21 @@ export class CallConnection { // @public export interface CallConnectionProperties { answeredby?: CommunicationUserIdentifier; + answeredFor?: PhoneNumberIdentifier; callbackUrl?: string; callConnectionId?: string; callConnectionState?: CallConnectionStateModel; correlationId?: string; + // Warning: (ae-forgotten-export) The symbol "MediaStreamingSubscription" needs to be exported by the entry point index.d.ts + mediaStreamingSubscription?: MediaStreamingSubscription; mediaSubscriptionId?: string; serverCallId?: string; source?: CommunicationIdentifier; sourceCallerIdNumber?: PhoneNumberIdentifier; sourceDisplayName?: string; targetParticipants?: CommunicationIdentifier[]; + // Warning: (ae-forgotten-export) The symbol "TranscriptionSubscription" needs to be exported by the entry point index.d.ts + transcriptionSubscription?: TranscriptionSubscription; } // @public @@ -175,10 +183,11 @@ export type CallConnectionStateModel = string; // Warning: (ae-forgotten-export) The symbol "RestCallDisconnected" needs to be exported by the entry point index.d.ts // // @public -export interface CallDisconnected extends Omit { +export interface CallDisconnected extends Omit { callConnectionId: string; correlationId: string; kind: "CallDisconnected"; + resultInformation?: ResultInformation; serverCallId: string; } @@ -205,7 +214,7 @@ export interface CallLocator { } // @public -export type CallLocatorType = "serverCallLocator" | "groupCallLocator"; +export type CallLocatorType = "serverCallLocator" | "groupCallLocator" | "roomCallLocator"; // @public export class CallMedia { @@ -213,18 +222,16 @@ export class CallMedia { cancelAllOperations(): Promise; hold(targetParticipant: CommunicationIdentifier, options?: HoldOptions): Promise; play(playSources: (FileSource | TextSource | SsmlSource)[], playTo: CommunicationIdentifier[], options?: PlayOptions): Promise; - playToAll(playSources: (FileSource | TextSource | SsmlSource)[], options?: PlayOptions): Promise; + playToAll(playSources: (FileSource | TextSource | SsmlSource)[], options?: PlayToAllOptions): Promise; sendDtmfTones(tones: Tone[] | DtmfTone[], targetParticipant: CommunicationIdentifier, options?: SendDtmfTonesOptions): Promise; startContinuousDtmfRecognition(targetParticipant: CommunicationIdentifier, options?: ContinuousDtmfRecognitionOptions): Promise; - // @deprecated - startHoldMusic(targetParticipant: CommunicationIdentifier, playSource?: FileSource | TextSource | SsmlSource | undefined, loop?: boolean, operationContext?: string | undefined, operationCallbackUri?: string | undefined): Promise; + startMediaStreaming(options?: StartMediaStreamingOptions): Promise; // @deprecated startRecognizing(targetParticipant: CommunicationIdentifier, maxTonesToCollect: number, options: CallMediaRecognizeDtmfOptions): Promise; startRecognizing(targetParticipant: CommunicationIdentifier, options: CallMediaRecognizeDtmfOptions | CallMediaRecognizeChoiceOptions | CallMediaRecognizeSpeechOptions | CallMediaRecognizeSpeechOrDtmfOptions): Promise; startTranscription(options?: StartTranscriptionOptions): Promise; stopContinuousDtmfRecognition(targetParticipant: CommunicationIdentifier, options?: ContinuousDtmfRecognitionOptions): Promise; - // @deprecated - stopHoldMusic(targetParticipant: CommunicationIdentifier, operationContext?: string | undefined): Promise; + stopMediaStreaming(options?: StopMediaStreamingOptions): Promise; stopTranscription(options?: StopTranscriptionOptions): Promise; unhold(targetParticipant: CommunicationIdentifier, options?: UnholdOptions): Promise; updateTranscription(locale: string): Promise; @@ -256,6 +263,7 @@ export interface CallMediaRecognizeOptions extends OperationOptions { operationCallbackUrl?: string; operationContext?: string; playPrompt?: FileSource | TextSource | SsmlSource; + playPrompts?: (FileSource | TextSource | SsmlSource)[]; speechModelEndpointId?: string; // @deprecated (undocumented) stopCurrentOperations?: boolean; @@ -397,6 +405,27 @@ export interface ChoiceResult { recognizedPhrase?: string; } +// @public +export interface ConnectCallEventResult { + isSuccess: boolean; + successResult?: CallConnected; +} + +// @public +export interface ConnectCallOptions extends OperationOptions { + callIntelligenceOptions?: CallIntelligenceOptions; + mediaStreamingOptions?: MediaStreamingOptions; + operationContext?: string; + transcriptionOptions?: TranscriptionOptions; +} + +// @public +export interface ConnectCallResult { + callConnection: CallConnection; + callConnectionProperties: CallConnectionProperties; + waitForEventProcessor(abortSignal?: AbortSignalLike, timeoutInMs?: number): Promise; +} + // @public export interface ContinuousDtmfRecognitionOptions extends OperationOptions { operationCallbackUrl?: string; @@ -460,11 +489,11 @@ export interface CreateCallFailed extends Omit { + callConnectionId: string; + correlationId: string; + kind: "MediaStreamingFailed"; + resultInformation?: ResultInformation; + serverCallId: string; +} + +// @public +export interface MediaStreamingOptions { audioChannelType: MediaStreamingAudioChannelType; + // Warning: (ae-forgotten-export) The symbol "AudioFormat" needs to be exported by the entry point index.d.ts + audioFormat?: AudioFormat; contentType: MediaStreamingContentType; + enableBidirectional?: boolean; startMediaStreaming?: boolean; transportType: MediaStreamingTransportType; transportUrl: string; } -// @public -export type MediaStreamingContentType = string; +// Warning: (ae-forgotten-export) The symbol "RestMediaStreamingStarted" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export interface MediaStreamingStarted extends Omit { + callConnectionId: string; + correlationId: string; + kind: "MediaStreamingStarted"; + resultInformation?: ResultInformation; + serverCallId: string; +} + +// Warning: (ae-forgotten-export) The symbol "RestMediaStreamingStopped" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export interface MediaStreamingStopped extends Omit { + callConnectionId: string; + correlationId: string; + kind: "MediaStreamingStopped"; + resultInformation?: ResultInformation; + serverCallId: string; +} // @public export type MediaStreamingTransportType = string; @@ -630,10 +695,11 @@ export type PauseRecordingOptions = OperationOptions; // Warning: (ae-forgotten-export) The symbol "RestPlayCanceled" needs to be exported by the entry point index.d.ts // // @public -export interface PlayCanceled extends Omit { +export interface PlayCanceled extends Omit { callConnectionId: string; correlationId: string; kind: "PlayCanceled"; + resultInformation?: ResultInformation; serverCallId: string; } @@ -685,6 +751,11 @@ export interface PlaySource { playSourceCacheId?: string; } +// @public +export interface PlayToAllOptions extends PlayOptions { + interruptCallMediaOperation?: boolean; +} + // @public export interface RecognitionChoice { label: string; @@ -699,10 +770,11 @@ export type RecognitionType = string; // Warning: (ae-forgotten-export) The symbol "RestRecognizeCanceled" needs to be exported by the entry point index.d.ts // // @public -export interface RecognizeCanceled extends Omit { +export interface RecognizeCanceled extends Omit { callConnectionId: string; correlationId: string; kind: "RecognizeCanceled"; + resultInformation?: ResultInformation; serverCallId: string; } @@ -752,10 +824,11 @@ export type RecordingState = string; // Warning: (ae-forgotten-export) The symbol "RestRecordingStateChanged" needs to be exported by the entry point index.d.ts // // @public -export interface RecordingStateChanged extends Omit { +export interface RecordingStateChanged extends Omit { callConnectionId: string; correlationId: string; kind: "RecordingStateChanged"; + resultInformation?: ResultInformation; serverCallId: string; } @@ -911,6 +984,12 @@ export interface SsmlSource extends PlaySource { ssmlText: string; } +// @public +export interface StartMediaStreamingOptions extends OperationOptions { + operationCallbackUrl?: string; + operationContext?: string; +} + // @public export interface StartRecognizingEventResult { failureResult?: RecognizeFailed; @@ -923,10 +1002,22 @@ export interface StartRecognizingResult { waitForEventProcessor(abortSignal?: AbortSignalLike, timeoutInMs?: number): Promise; } +// Warning: (ae-forgotten-export) The symbol "RestStartRecordingFailed" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export interface StartRecordingFailed extends Omit { + callConnectionId: string; + correlationId: string; + kind: "StartRecordingFailed"; + resultInformation?: ResultInformation; + serverCallId: string; +} + // @public export interface StartRecordingOptions extends OperationOptions { audioChannelParticipantOrdering?: CommunicationIdentifier[]; - callLocator: CallLocator; + callConnectionId?: string; + callLocator?: CallLocator; channelAffinity?: ChannelAffinity[]; pauseOnStart?: boolean; recordingChannel?: RecordingChannel; @@ -942,6 +1033,11 @@ export interface StartTranscriptionOptions extends OperationOptions { operationContext?: string; } +// @public +export interface StopMediaStreamingOptions extends OperationOptions { + operationCallbackUrl?: string; +} + // @public export type StopRecordingOptions = OperationOptions; @@ -969,14 +1065,6 @@ export interface TextSource extends PlaySource { // @public export type Tone = string; -// @public -export interface TranscriptionConfiguration { - locale: string; - startTranscription: boolean; - transportType: TranscriptionTransportType; - transportUrl: string; -} - // Warning: (ae-forgotten-export) The symbol "RestTranscriptionFailed" needs to be exported by the entry point index.d.ts // // @public (undocumented) @@ -988,6 +1076,16 @@ export interface TranscriptionFailed extends Omit { - const holdRequest: StartHoldMusicRequest = { - targetParticipant: serializeCommunicationIdentifier(targetParticipant), - playSourceInfo: - playSource !== undefined ? this.createPlaySourceInternal(playSource) : undefined, - operationContext: operationContext, - operationCallbackUri: operationCallbackUri, - }; - if (loop) { - // Do nothing. Added since it needs to be backwards compatible. - } - return this.callMedia.startHoldMusic(this.callConnectionId, holdRequest); - } - - /** - * Remove participant from hold. - * - * @deprecated - This operations is deprecated, please use unhold instead. - * @param targetParticipant - The targets to play to. - * @param operationContext - Operation Context. - */ - public async stopHoldMusic( - targetParticipant: CommunicationIdentifier, - operationContext: string | undefined = undefined, - ): Promise { - const unholdRequest: StopHoldMusicRequest = { - targetParticipant: serializeCommunicationIdentifier(targetParticipant), - operationContext: operationContext, - }; - - return this.callMedia.stopHoldMusic(this.callConnectionId, unholdRequest); - } - /** * Starts transcription in the call * @param options - Additional attributes for start transcription. diff --git a/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts b/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts index 754d8646f243..d251a3ff438e 100644 --- a/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts +++ b/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts @@ -21,7 +21,7 @@ import type { CancelAddParticipantFailed, CreateCallFailed, AnswerFailed, - ConnectFailed, + // ConnectFailed, } from "../models/events"; /** @@ -83,7 +83,7 @@ export interface ConnectCallEventResult { /** contains success event if the result was successful */ successResult?: CallConnected; /** contains failure event if the result was failure */ - failureResult?: ConnectFailed; + // failureResult?: ConnectFailed; } /** diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/index.ts b/sdk/communication/communication-call-automation/src/generated/src/models/index.ts index d75d1ff0755b..886b4acfe279 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/index.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/index.ts @@ -27,14 +27,14 @@ export interface CreateCallRequest { sourceDisplayName?: string; /** The identifier of the source of the call */ source?: CommunicationUserIdentifierModel; - /** The identifier of the source in an OPS call */ - opsSource?: MicrosoftTeamsAppIdentifierModel; /** A customer set value used to track the answering of a call. */ operationContext?: string; /** The callback URI. */ callbackUri: string; /** AI options for the call. */ callIntelligenceOptions?: CallIntelligenceOptionsInternal; + /** The identifier of the source in an OPS call */ + opsSource?: MicrosoftTeamsAppIdentifierModel; /** Used by customer to send custom calling context to targets */ customCallingContext?: CustomCallingContextInternal; /** Media Streaming Options. */ @@ -149,10 +149,6 @@ export interface CallConnectionPropertiesInternal { callConnectionState?: CallConnectionStateModel; /** The callback URI. */ callbackUri?: string; - /** SubscriptionId for media streaming */ - mediaSubscriptionId?: string; - /** SubscriptionId for transcription */ - dataSubscriptionId?: string; /** * The source caller Id, a phone number, that's shown to the PSTN participant being invited. * Required only when calling a PSTN callee. @@ -166,6 +162,10 @@ export interface CallConnectionPropertiesInternal { correlationId?: string; /** Identity of the answering entity. Only populated when identity is provided in the request. */ answeredBy?: CommunicationUserIdentifierModel; + /** SubscriptionId for media streaming */ + mediaSubscriptionId?: string; + /** SubscriptionId for transcription */ + dataSubscriptionId?: string; /** The state of media streaming subscription for the call */ mediaStreamingSubscription?: MediaStreamingSubscription; /** Transcription Subscription. */ @@ -191,7 +191,7 @@ export interface TranscriptionSubscription { /** Transcription subscription state. */ state?: TranscriptionSubscriptionState; /** Subscribed transcription result types. */ - subscribedResultTypes?: TranscriptionResultType[]; + subscribedResultStates?: TranscriptionResultState[]; } /** The Communication Services error. */ @@ -293,8 +293,6 @@ export interface CallLocator { export interface TransferToParticipantRequest { /** The identity of the target where call should be transferred to. */ targetParticipant: CommunicationIdentifierModel; - /** Used by customer to send custom calling context to targets */ - customCallingContext?: CustomCallingContextInternal; /** Used by customers when calling mid-call actions to correlate the request to the response event. */ operationContext?: string; /** Transferee is the participant who is transferred away. */ @@ -304,6 +302,8 @@ export interface TransferToParticipantRequest { * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. */ operationCallbackUri?: string; + /** Used by customer to send custom calling context to targets */ + customCallingContext?: CustomCallingContextInternal; /** The source caller Id, a phone number, that will be used as the transferor's caller Id when transferring a call to a Pstn target. */ sourceCallerIdNumber?: PhoneNumberIdentifierModel; } @@ -521,48 +521,34 @@ export interface UnholdRequest { operationContext?: string; } -/** The request payload for holding participant from the call. */ -export interface StartHoldMusicRequest { - /** Participant to be held from the call. */ - targetParticipant: CommunicationIdentifierModel; - /** Prompt to play while in hold. */ - playSourceInfo?: PlaySourceInternal; - /** Used by customers when calling mid-call actions to correlate the request to the response event. */ - operationContext?: string; +export interface StartMediaStreamingRequest { /** * 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. */ operationCallbackUri?: string; -} - -/** The request payload for holding participant from the call. */ -export interface StopHoldMusicRequest { - /** - * Participants to be hold from the call. - * Only ACS Users are supported. - */ - targetParticipant: CommunicationIdentifierModel; - /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + /** The value to identify context of the operation. */ operationContext?: string; } -export interface StartMediaStreamingRequest { +export interface StopMediaStreamingRequest { /** * 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. */ operationCallbackUri?: string; - /** The value to identify context of the operation. */ - operationContext?: string; } -export interface StopMediaStreamingRequest { +export interface InterruptAudioAndAnnounceRequest { + /** The source of the audio to be played. */ + playSources: PlaySourceInternal[]; /** - * 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. + * The list of call participants play provided audio to. + * Plays to everyone in the call when not provided. */ - operationCallbackUri?: string; + playTo: CommunicationIdentifierModel; + /** The value to identify context of the operation. */ + operationContext?: string; } export interface StartDialogRequest { @@ -651,13 +637,13 @@ export interface AddParticipantRequest { invitationTimeoutInSeconds?: number; /** Used by customers when calling mid-call actions to correlate the request to the response event. */ operationContext?: string; - /** Used by customer to send custom calling context to targets */ - customCallingContext?: CustomCallingContextInternal; /** * 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. */ operationCallbackUri?: string; + /** Used by customer to send custom calling context to targets */ + customCallingContext?: CustomCallingContextInternal; } /** The response payload for adding participants to the call. */ @@ -772,10 +758,10 @@ export interface StartCallRecordingRequest { * /// */ channelAffinity?: ChannelAffinity[]; - /** Optional property to specify location where recording will be stored */ - recordingStorage?: RecordingStorage; /** When set to true will start recording in Pause mode, which can be resumed. */ pauseOnStart?: boolean; + /** Optional property to specify location where recording will be stored */ + recordingStorage?: RecordingStorage; } /** Channel affinity for a participant */ @@ -802,9 +788,41 @@ export interface RecordingStateResponse { recordingKind?: RecordingKind; } -export interface CollectTonesResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly tones?: Tone[]; +/** Play started event. */ +export interface PlayPaused { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; +} + +export interface RestResultInformation { + /** Code of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */ + code?: number; + /** Subcode of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */ + subCode?: number; + /** Detail message that describes the current result. */ + message?: string; +} + +/** Play started event. */ +export interface PlayResumed { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface DtmfResult { @@ -812,12 +830,6 @@ export interface DtmfResult { readonly tones?: Tone[]; } -/** The speech recognition status as a result. */ -export interface SpeechResult { - /** The recognized speech in string. */ - speech?: string; -} - export interface ChoiceResult { /** Label is the primary identifier for the choice detected */ label?: string; @@ -828,6 +840,12 @@ export interface ChoiceResult { recognizedPhrase?: string; } +/** The speech status as a result. */ +export interface SpeechResult { + /** The recognized speech in string. */ + speech?: string; +} + export interface DialogCompleted { /** Determines the type of the dialog. */ dialogInputType?: DialogInputType; @@ -836,40 +854,16 @@ export interface DialogCompleted { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly dialogId?: string; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; -} - -export interface RestResultInformation { - /** Code of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */ - code?: number; - /** Subcode of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */ - subCode?: number; - /** Detail message that describes the current result. */ - message?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface DialogFailed { @@ -880,71 +874,41 @@ export interface DialogFailed { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly dialogId?: string; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface DialogConsent { + /** Determines the type of the dialog. */ + dialogInputType?: DialogInputType; /** * UserConsent data from the Conversation Conductor * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly userConsent?: UserConsent; - /** Determines the type of the dialog. */ - dialogInputType?: DialogInputType; /** * Dialog ID * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly dialogId?: string; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface UserConsent { @@ -959,31 +923,16 @@ export interface DialogStarted { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly dialogId?: string; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface DialogHangup { @@ -999,44 +948,19 @@ export interface DialogHangup { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ivrContext?: Record; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface DialogTransfer { - /** - * Transfer type - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly transferType?: string; - /** - * Transfer destination - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly transferDestination?: string; /** Determines the type of the dialog. */ dialogInputType?: DialogInputType; /** @@ -1045,43 +969,33 @@ export interface DialogTransfer { */ readonly dialogId?: string; /** - * Ivr Context - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly ivrContext?: Record; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. + * Transfer type * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly callConnectionId?: string; + readonly transferType?: string; /** - * Server call ID. + * Transfer destination * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly serverCallId?: string; + readonly transferDestination?: string; /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + * IVR context * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly correlationId?: string; + readonly ivrContext?: Record; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface DialogLanguageChange { - /** - * Selected Language - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly selectedLanguage?: string; /** Determines the type of the dialog. */ dialogInputType?: DialogInputType; /** @@ -1089,76 +1003,51 @@ export interface DialogLanguageChange { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly dialogId?: string; + /** + * Selected Language + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly selectedLanguage?: string; /** * Ivr Context * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ivrContext?: Record; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; +} + +export interface DialogSensitivityUpdate { + /** Determines the type of the dialog. */ + dialogInputType?: DialogInputType; /** - * Used by customers when calling mid-call actions to correlate the request to the response event. + * Dialog ID * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly dialogId?: string; /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; -} - -export interface DialogSensitivityUpdate { - /** - * SensitiveMask + * SensitiveMask * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly sensitiveMask?: boolean; - /** Determines the type of the dialog. */ - dialogInputType?: DialogInputType; - /** - * Dialog ID - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly dialogId?: string; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface DialogUpdated { @@ -1170,35 +1059,20 @@ export interface DialogUpdated { */ readonly dialogId?: string; /** - * Ivr Context + * IVR context * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ivrContext?: Record; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface TranscriptionUpdate { @@ -1212,742 +1086,418 @@ export interface MediaStreamingUpdate { mediaStreamingStatusDetails?: MediaStreamingStatusDetails; } +export interface HoldAudioStarted { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; +} + +export interface HoldAudioPaused { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; +} + +export interface HoldAudioResumed { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; +} + +export interface HoldAudioCompleted { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; +} + +/** The participants successfully added event. */ export interface RestAddParticipantSucceeded { - /** - * Identifies 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. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly participant?: CommunicationIdentifierModel; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** Participant */ + participant?: CommunicationIdentifierModel; } +/** The failed to add participants event. */ export interface RestAddParticipantFailed { - /** - * Identifies 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. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly participant?: CommunicationIdentifierModel; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** Participant */ + participant?: CommunicationIdentifierModel; } +/** The participant removed event. */ export interface RestRemoveParticipantSucceeded { - /** - * Identifies 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. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly participant?: CommunicationIdentifierModel; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** Participant */ + participant?: CommunicationIdentifierModel; } +/** The failed to remove participant event. */ export interface RestRemoveParticipantFailed { - /** - * Identifies 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. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly participant?: CommunicationIdentifierModel; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** Participant */ + participant?: CommunicationIdentifierModel; } /** The call connected event. */ export interface RestCallConnected { - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } /** The call disconnected event. */ export interface RestCallDisconnected { - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } /** The call transfer accepted event. */ export interface RestCallTransferAccepted { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** Target who the call is transferred to. */ + transferTarget?: CommunicationIdentifierModel; + /** the participant who is being transferred away. */ + transferee?: CommunicationIdentifierModel; +} + +/** The call transfer failed event. */ +export interface RestCallTransferFailed { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; +} + +export interface RestRecordingStateChanged { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; /** - * Target who the call is transferred to. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly transferTarget?: CommunicationIdentifierModel; - /** - * the participant who is being transferred away. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly transferee?: CommunicationIdentifierModel; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. + * The call recording id * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; + readonly recordingId?: string; + state?: RecordingState; /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; -} - -/** The call transfer failed event. */ -export interface RestCallTransferFailed { - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; -} - -export interface RestRecordingStateChanged { - /** - * The call recording id - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly recordingId?: string; - state?: RecordingState; - /** - * The time of the recording started + * The time of the recording started * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly startDateTime?: Date; recordingKind?: RecordingKind; - /** - * Result information defines the code, subcode and message - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } +/** The participants updated in a call event. */ export interface RestParticipantsUpdated { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly participants?: CallParticipantInternal[]; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly sequenceNumber?: number; - /** - * Contains the resulting SIP code, sub-code and message. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** The Sequence Number of the event */ + sequenceNumber?: number; + /** The list of participants in the call. */ + participants?: CallParticipantInternal[]; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface RestPlayCompleted { - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface RestPlayFailed { - /** - * Indicates the index of the failed play source. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly failedPlaySourceIndex?: number; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** Contains the index of the failed play source. */ + failedPlaySourceIndex?: number; } export interface RestPlayCanceled { - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface RestRecognizeCompleted { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; /** * Determines the sub-type of the recognize operation. - * In case of cancel operation this field is not set and is returned empty - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly recognitionType?: RecognitionType; - /** - * Defines the result for RecognitionType = Dtmf - * Would be replaced by DtmfResult after server sdk renewed - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly collectTonesResult?: CollectTonesResult; - /** - * Defines the result for RecognitionType = Dtmf - * NOTE: This property will not be serialized. It can only be populated by the server. + * In case of cancel operation the this field is not set and is returned empty */ - readonly dtmfResult?: DtmfResult; + recognitionType?: RecognitionType; + /** Defines the result for RecognitionType = Dtmf */ + dtmfResult?: DtmfResult; + /** Defines the result for RecognitionType = Choices */ + choiceResult?: ChoiceResult; /** * Defines the result for RecognitionType = Speech and SpeechOrDtmf * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly speechResult?: SpeechResult; - /** - * Defines the result for RecognitionType = Choices - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly choiceResult?: ChoiceResult; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; } export interface RestRecognizeFailed { - /** - * Indicates the index of the failed play source. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly failedPlaySourceIndex?: number; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** Contains the index of the failed play source. */ + failedPlaySourceIndex?: number; } export interface RestRecognizeCanceled { - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface RestContinuousDtmfRecognitionToneReceived { - /** - * Result information defines the code, subcode and message - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; /** * The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly sequenceId?: number; tone?: Tone; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operationContext?: string; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface RestContinuousDtmfRecognitionToneFailed { - /** - * Result information defines the code, subcode and message - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; } -/** Call connection ID. */ export interface RestContinuousDtmfRecognitionStopped { - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface RestSendDtmfTonesCompleted { - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; -} - -export interface RestSendDtmfTonesFailed { - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; -} - -export interface RestCancelAddParticipantSucceeded { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly invitationId?: string; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; +} + +export interface RestSendDtmfTonesFailed { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; +} + +/** Successful cancel add participant event. */ +export interface RestCancelAddParticipantSucceeded { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Invitation ID used to cancel the request. */ + invitationId?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } /** Failed cancel add participant event. */ export interface RestCancelAddParticipantFailed { - /** - * Invitation ID used to cancel the request. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly invitationId?: string; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** Invitation ID used to cancel the request. */ + invitationId?: string; } export interface RestTranscriptionStarted { @@ -1956,31 +1506,16 @@ export interface RestTranscriptionStarted { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly transcriptionUpdate?: TranscriptionUpdate; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface RestTranscriptionStopped { @@ -1989,31 +1524,16 @@ export interface RestTranscriptionStopped { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly transcriptionUpdate?: TranscriptionUpdate; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface RestTranscriptionUpdated { @@ -2022,31 +1542,16 @@ export interface RestTranscriptionUpdated { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly transcriptionUpdate?: TranscriptionUpdate; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface RestTranscriptionFailed { @@ -2055,219 +1560,123 @@ export interface RestTranscriptionFailed { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly transcriptionUpdate?: TranscriptionUpdate; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; +} + +/** The create call failed event. */ +export interface RestCreateCallFailed { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } +/** The failed to answer call event. */ export interface RestAnswerFailed { - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface RestHoldFailed { - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface RestMediaStreamingStarted { /** - * Defines the result for audio streaming update with the current status and the details about the status + * Defines the result for MediaStreamingUpdate with the current status and the details about the status * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly mediaStreamingUpdate?: MediaStreamingUpdate; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface RestMediaStreamingStopped { /** - * Defines the result for audio streaming update with the current status and the details about the status + * Defines the result for MediaStreamingUpdate with the current status and the details about the status * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly mediaStreamingUpdate?: MediaStreamingUpdate; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface RestMediaStreamingFailed { /** - * Defines the result for audio streaming update with the current status and the details about the status + * Defines the result for MediaStreamingUpdate with the current status and the details about the status * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly mediaStreamingUpdate?: MediaStreamingUpdate; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Contains the resulting SIP code/sub-code and message from NGC services. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; } export interface RestStartRecordingFailed { - /** - * Contains the resulting SIP code, sub-code and message. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly resultInformation?: RestResultInformation; + /** Call connection ID. */ + callConnectionId?: string; + /** Correlation ID for event to call correlation. */ + correlationId?: string; /** * The call recording id * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly recordingId?: string; - /** - * Used by customers when calling mid-call actions to correlate the request to the response event. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly operationContext?: string; - /** - * Call connection ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly callConnectionId?: string; - /** - * Server call ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serverCallId?: string; - /** - * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly correlationId?: string; } /** Azure Open AI Dialog */ @@ -2496,8 +1905,8 @@ export enum KnownTranscriptionSubscriptionState { */ export type TranscriptionSubscriptionState = string; -/** Known values of {@link TranscriptionResultType} that the service accepts. */ -export enum KnownTranscriptionResultType { +/** Known values of {@link TranscriptionResultState} that the service accepts. */ +export enum KnownTranscriptionResultState { /** Final */ Final = "final", /** Intermediate */ @@ -2505,14 +1914,14 @@ export enum KnownTranscriptionResultType { } /** - * Defines values for TranscriptionResultType. \ - * {@link KnownTranscriptionResultType} can be used interchangeably with TranscriptionResultType, + * Defines values for TranscriptionResultState. \ + * {@link KnownTranscriptionResultState} can be used interchangeably with TranscriptionResultState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **final** \ * **intermediate** */ -export type TranscriptionResultType = string; +export type TranscriptionResultState = string; /** Known values of {@link CallRejectReason} that the service accepts. */ export enum KnownCallRejectReason { @@ -3220,19 +2629,15 @@ export interface CallMediaUnholdOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface CallMediaStartHoldMusicOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface CallMediaStopHoldMusicOptionalParams +export interface CallMediaStartMediaStreamingOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface CallMediaStartMediaStreamingOptionalParams +export interface CallMediaStopMediaStreamingOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface CallMediaStopMediaStreamingOptionalParams +export interface CallMediaInterruptAudioAndAnnounceOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts b/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts index eaf6eb0c5993..45b195497bb3 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts @@ -46,13 +46,6 @@ export const CreateCallRequest: coreClient.CompositeMapper = { className: "CommunicationUserIdentifierModel", }, }, - opsSource: { - serializedName: "opsSource", - type: { - name: "Composite", - className: "MicrosoftTeamsAppIdentifierModel", - }, - }, operationContext: { serializedName: "operationContext", type: { @@ -73,6 +66,13 @@ export const CreateCallRequest: coreClient.CompositeMapper = { className: "CallIntelligenceOptionsInternal", }, }, + opsSource: { + serializedName: "opsSource", + type: { + name: "Composite", + className: "MicrosoftTeamsAppIdentifierModel", + }, + }, customCallingContext: { serializedName: "customCallingContext", type: { @@ -412,18 +412,6 @@ export const CallConnectionPropertiesInternal: coreClient.CompositeMapper = { name: "String", }, }, - mediaSubscriptionId: { - serializedName: "mediaSubscriptionId", - type: { - name: "String", - }, - }, - dataSubscriptionId: { - serializedName: "dataSubscriptionId", - type: { - name: "String", - }, - }, sourceCallerIdNumber: { serializedName: "sourceCallerIdNumber", type: { @@ -457,6 +445,18 @@ export const CallConnectionPropertiesInternal: coreClient.CompositeMapper = { className: "CommunicationUserIdentifierModel", }, }, + mediaSubscriptionId: { + serializedName: "mediaSubscriptionId", + type: { + name: "String", + }, + }, + dataSubscriptionId: { + serializedName: "dataSubscriptionId", + type: { + name: "String", + }, + }, mediaStreamingSubscription: { serializedName: "mediaStreamingSubscription", type: { @@ -531,7 +531,7 @@ export const TranscriptionSubscription: coreClient.CompositeMapper = { name: "String", }, }, - subscribedResultTypes: { + subscribedResultStates: { serializedName: "subscribedResultTypes", type: { name: "Sequence", @@ -823,13 +823,6 @@ export const TransferToParticipantRequest: coreClient.CompositeMapper = { className: "CommunicationIdentifierModel", }, }, - customCallingContext: { - serializedName: "customCallingContext", - type: { - name: "Composite", - className: "CustomCallingContextInternal", - }, - }, operationContext: { serializedName: "operationContext", type: { @@ -849,6 +842,13 @@ export const TransferToParticipantRequest: coreClient.CompositeMapper = { name: "String", }, }, + customCallingContext: { + serializedName: "customCallingContext", + type: { + name: "Composite", + className: "CustomCallingContextInternal", + }, + }, sourceCallerIdNumber: { serializedName: "sourceCallerIdNumber", type: { @@ -1478,23 +1478,15 @@ export const UnholdRequest: coreClient.CompositeMapper = { }, }; -export const StartHoldMusicRequest: coreClient.CompositeMapper = { +export const StartMediaStreamingRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StartHoldMusicRequest", + className: "StartMediaStreamingRequest", modelProperties: { - targetParticipant: { - serializedName: "targetParticipant", - type: { - name: "Composite", - className: "CommunicationIdentifierModel", - }, - }, - playSourceInfo: { - serializedName: "playSourceInfo", + operationCallbackUri: { + serializedName: "operationCallbackUri", type: { - name: "Composite", - className: "PlaySourceInternal", + name: "String", }, }, operationContext: { @@ -1503,30 +1495,17 @@ export const StartHoldMusicRequest: coreClient.CompositeMapper = { name: "String", }, }, - operationCallbackUri: { - serializedName: "operationCallbackUri", - type: { - name: "String", - }, - }, }, }, }; -export const StopHoldMusicRequest: coreClient.CompositeMapper = { +export const StopMediaStreamingRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StopHoldMusicRequest", + className: "StopMediaStreamingRequest", modelProperties: { - targetParticipant: { - serializedName: "targetParticipant", - type: { - name: "Composite", - className: "CommunicationIdentifierModel", - }, - }, - operationContext: { - serializedName: "operationContext", + operationCallbackUri: { + serializedName: "operationCallbackUri", type: { name: "String", }, @@ -1535,34 +1514,33 @@ export const StopHoldMusicRequest: coreClient.CompositeMapper = { }, }; -export const StartMediaStreamingRequest: coreClient.CompositeMapper = { +export const InterruptAudioAndAnnounceRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StartMediaStreamingRequest", + className: "InterruptAudioAndAnnounceRequest", modelProperties: { - operationCallbackUri: { - serializedName: "operationCallbackUri", + playSources: { + serializedName: "playSources", + required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PlaySourceInternal", + }, + }, }, }, - operationContext: { - serializedName: "operationContext", + playTo: { + serializedName: "playTo", type: { - name: "String", + name: "Composite", + className: "CommunicationIdentifierModel", }, }, - }, - }, -}; - -export const StopMediaStreamingRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "StopMediaStreamingRequest", - modelProperties: { - operationCallbackUri: { - serializedName: "operationCallbackUri", + operationContext: { + serializedName: "operationContext", type: { name: "String", }, @@ -1813,6 +1791,12 @@ export const AddParticipantRequest: coreClient.CompositeMapper = { name: "String", }, }, + operationCallbackUri: { + serializedName: "operationCallbackUri", + type: { + name: "String", + }, + }, customCallingContext: { serializedName: "customCallingContext", type: { @@ -1820,12 +1804,6 @@ export const AddParticipantRequest: coreClient.CompositeMapper = { className: "CustomCallingContextInternal", }, }, - operationCallbackUri: { - serializedName: "operationCallbackUri", - type: { - name: "String", - }, - }, }, }, }; @@ -2102,6 +2080,12 @@ export const StartCallRecordingRequest: coreClient.CompositeMapper = { }, }, }, + pauseOnStart: { + serializedName: "pauseOnStart", + type: { + name: "Boolean", + }, + }, recordingStorage: { serializedName: "externalStorage", type: { @@ -2109,12 +2093,6 @@ export const StartCallRecordingRequest: coreClient.CompositeMapper = { className: "RecordingStorage", }, }, - pauseOnStart: { - serializedName: "pauseOnStart", - type: { - name: "Boolean", - }, - }, }, }, }; @@ -2194,105 +2172,31 @@ export const RecordingStateResponse: coreClient.CompositeMapper = { }, }; -export const CollectTonesResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CollectTonesResult", - modelProperties: { - tones: { - serializedName: "tones", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - }, - }, -}; - -export const DtmfResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DtmfResult", - modelProperties: { - tones: { - serializedName: "tones", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - }, - }, -}; - -export const SpeechResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SpeechResult", - modelProperties: { - speech: { - serializedName: "speech", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const ChoiceResult: coreClient.CompositeMapper = { +export const PlayPaused: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ChoiceResult", + className: "PlayPaused", modelProperties: { - label: { - serializedName: "label", - type: { - name: "String", - }, - }, - recognizedPhrase: { - serializedName: "recognizedPhrase", + callConnectionId: { + serializedName: "callConnectionId", type: { name: "String", }, }, - }, - }, -}; - -export const DialogCompleted: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DialogCompleted", - modelProperties: { - dialogInputType: { - serializedName: "dialogInputType", + serverCallId: { + serializedName: "serverCallId", type: { name: "String", }, }, - dialogId: { - serializedName: "dialogId", - readOnly: true, + correlationId: { + serializedName: "correlationId", type: { name: "String", }, }, operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -2304,27 +2208,6 @@ export const DialogCompleted: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - callConnectionId: { - serializedName: "callConnectionId", - readOnly: true, - type: { - name: "String", - }, - }, - serverCallId: { - serializedName: "serverCallId", - readOnly: true, - type: { - name: "String", - }, - }, - correlationId: { - serializedName: "correlationId", - readOnly: true, - type: { - name: "String", - }, - }, }, }, }; @@ -2356,27 +2239,31 @@ export const RestResultInformation: coreClient.CompositeMapper = { }, }; -export const DialogFailed: coreClient.CompositeMapper = { +export const PlayResumed: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DialogFailed", + className: "PlayResumed", modelProperties: { - dialogInputType: { - serializedName: "dialogInputType", + callConnectionId: { + serializedName: "callConnectionId", type: { name: "String", }, }, - dialogId: { - serializedName: "dialogId", - readOnly: true, + serverCallId: { + serializedName: "serverCallId", + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", type: { name: "String", }, }, operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -2388,43 +2275,125 @@ export const DialogFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const DtmfResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DtmfResult", + modelProperties: { + tones: { + serializedName: "tones", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const ChoiceResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ChoiceResult", + modelProperties: { + label: { + serializedName: "label", + type: { + name: "String", + }, + }, + recognizedPhrase: { + serializedName: "recognizedPhrase", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SpeechResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SpeechResult", + modelProperties: { + speech: { + serializedName: "speech", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const DialogCompleted: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DialogCompleted", + modelProperties: { + dialogInputType: { + serializedName: "dialogInputType", + type: { + name: "String", + }, + }, + dialogId: { + serializedName: "dialogId", + readOnly: true, + type: { + name: "String", + }, + }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; -export const DialogConsent: coreClient.CompositeMapper = { +export const DialogFailed: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DialogConsent", + className: "DialogFailed", modelProperties: { - userConsent: { - serializedName: "userConsent", - type: { - name: "Composite", - className: "UserConsent", - }, - }, dialogInputType: { serializedName: "dialogInputType", type: { @@ -2438,9 +2407,26 @@ export const DialogConsent: coreClient.CompositeMapper = { name: "String", }, }, + callConnectionId: { + serializedName: "callConnectionId", + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + type: { + name: "String", + }, + }, operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -2452,27 +2438,66 @@ export const DialogConsent: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const DialogConsent: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DialogConsent", + modelProperties: { + dialogInputType: { + serializedName: "dialogInputType", + type: { + name: "String", + }, + }, + userConsent: { + serializedName: "userConsent", + type: { + name: "Composite", + className: "UserConsent", + }, + }, + dialogId: { + serializedName: "dialogId", + readOnly: true, + type: { + name: "String", + }, + }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; @@ -2510,9 +2535,26 @@ export const DialogStarted: coreClient.CompositeMapper = { name: "String", }, }, + callConnectionId: { + serializedName: "callConnectionId", + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + type: { + name: "String", + }, + }, operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -2524,35 +2566,75 @@ export const DialogStarted: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const DialogHangup: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DialogHangup", + modelProperties: { + dialogInputType: { + serializedName: "dialogInputType", + type: { + name: "String", + }, + }, + dialogId: { + serializedName: "dialogId", + readOnly: true, + type: { + name: "String", + }, + }, + ivrContext: { + serializedName: "ivrContext", + readOnly: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; -export const DialogHangup: coreClient.CompositeMapper = { +export const DialogTransfer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DialogHangup", + className: "DialogTransfer", modelProperties: { dialogInputType: { serializedName: "dialogInputType", @@ -2567,6 +2649,20 @@ export const DialogHangup: coreClient.CompositeMapper = { name: "String", }, }, + transferType: { + serializedName: "transferType", + readOnly: true, + type: { + name: "String", + }, + }, + transferDestination: { + serializedName: "transferDestination", + readOnly: true, + type: { + name: "String", + }, + }, ivrContext: { serializedName: "ivrContext", readOnly: true, @@ -2575,9 +2671,26 @@ export const DialogHangup: coreClient.CompositeMapper = { value: { type: { name: "any" } }, }, }, + callConnectionId: { + serializedName: "callConnectionId", + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + type: { + name: "String", + }, + }, operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -2589,50 +2702,83 @@ export const DialogHangup: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const DialogLanguageChange: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DialogLanguageChange", + modelProperties: { + dialogInputType: { + serializedName: "dialogInputType", + type: { + name: "String", + }, + }, + dialogId: { + serializedName: "dialogId", + readOnly: true, + type: { + name: "String", + }, + }, + selectedLanguage: { + serializedName: "selectedLanguage", + readOnly: true, + type: { + name: "String", + }, + }, + ivrContext: { + serializedName: "ivrContext", + readOnly: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; -export const DialogTransfer: coreClient.CompositeMapper = { +export const DialogSensitivityUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DialogTransfer", + className: "DialogSensitivityUpdate", modelProperties: { - transferType: { - serializedName: "transferType", - readOnly: true, - type: { - name: "String", - }, - }, - transferDestination: { - serializedName: "transferDestination", - readOnly: true, - type: { - name: "String", - }, - }, dialogInputType: { serializedName: "dialogInputType", type: { @@ -2646,65 +2792,53 @@ export const DialogTransfer: coreClient.CompositeMapper = { name: "String", }, }, - ivrContext: { - serializedName: "ivrContext", - readOnly: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } }, - }, - }, - operationContext: { - serializedName: "operationContext", + sensitiveMask: { + serializedName: "sensitiveMask", readOnly: true, type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", + name: "Boolean", }, }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; -export const DialogLanguageChange: coreClient.CompositeMapper = { +export const DialogUpdated: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DialogLanguageChange", + className: "DialogUpdated", modelProperties: { - selectedLanguage: { - serializedName: "selectedLanguage", - readOnly: true, - type: { - name: "String", - }, - }, dialogInputType: { serializedName: "dialogInputType", type: { @@ -2726,138 +2860,154 @@ export const DialogLanguageChange: coreClient.CompositeMapper = { value: { type: { name: "any" } }, }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; -export const DialogSensitivityUpdate: coreClient.CompositeMapper = { +export const TranscriptionUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DialogSensitivityUpdate", + className: "TranscriptionUpdate", modelProperties: { - sensitiveMask: { - serializedName: "sensitiveMask", - readOnly: true, + transcriptionStatus: { + serializedName: "transcriptionStatus", type: { - name: "Boolean", + name: "String", }, }, - dialogInputType: { - serializedName: "dialogInputType", + transcriptionStatusDetails: { + serializedName: "transcriptionStatusDetails", type: { name: "String", }, }, - dialogId: { - serializedName: "dialogId", - readOnly: true, + }, + }, +}; + +export const MediaStreamingUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MediaStreamingUpdate", + modelProperties: { + contentType: { + serializedName: "contentType", type: { name: "String", }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, + mediaStreamingStatus: { + serializedName: "mediaStreamingStatus", type: { name: "String", }, }, - resultInformation: { - serializedName: "resultInformation", + mediaStreamingStatusDetails: { + serializedName: "mediaStreamingStatusDetails", type: { - name: "Composite", - className: "RestResultInformation", + name: "String", }, }, + }, + }, +}; + +export const HoldAudioStarted: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HoldAudioStarted", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; -export const DialogUpdated: coreClient.CompositeMapper = { +export const HoldAudioPaused: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DialogUpdated", + className: "HoldAudioPaused", modelProperties: { - dialogInputType: { - serializedName: "dialogInputType", + callConnectionId: { + serializedName: "callConnectionId", type: { name: "String", }, }, - dialogId: { - serializedName: "dialogId", - readOnly: true, + serverCallId: { + serializedName: "serverCallId", type: { name: "String", }, }, - ivrContext: { - serializedName: "ivrContext", - readOnly: true, + correlationId: { + serializedName: "correlationId", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "String", }, }, operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -2869,75 +3019,86 @@ export const DialogUpdated: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const HoldAudioResumed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HoldAudioResumed", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const TranscriptionUpdate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TranscriptionUpdate", - modelProperties: { - transcriptionStatus: { - serializedName: "transcriptionStatus", + operationContext: { + serializedName: "operationContext", type: { name: "String", }, }, - transcriptionStatusDetails: { - serializedName: "transcriptionStatusDetails", + resultInformation: { + serializedName: "resultInformation", type: { - name: "String", + name: "Composite", + className: "RestResultInformation", }, }, }, }, }; -export const MediaStreamingUpdate: coreClient.CompositeMapper = { +export const HoldAudioCompleted: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MediaStreamingUpdate", + className: "HoldAudioCompleted", modelProperties: { - contentType: { - serializedName: "contentType", + callConnectionId: { + serializedName: "callConnectionId", type: { name: "String", }, }, - mediaStreamingStatus: { - serializedName: "mediaStreamingStatus", + serverCallId: { + serializedName: "serverCallId", type: { name: "String", }, }, - mediaStreamingStatusDetails: { - serializedName: "mediaStreamingStatusDetails", + correlationId: { + serializedName: "correlationId", + type: { + name: "String", + }, + }, + operationContext: { + serializedName: "operationContext", type: { name: "String", }, }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; @@ -2947,16 +3108,26 @@ export const RestAddParticipantSucceeded: coreClient.CompositeMapper = { name: "Composite", className: "RestAddParticipantSucceeded", modelProperties: { - participant: { - serializedName: "participant", + callConnectionId: { + serializedName: "callConnectionId", type: { - name: "Composite", - className: "CommunicationIdentifierModel", + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + type: { + name: "String", }, }, operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -2968,46 +3139,42 @@ export const RestAddParticipantSucceeded: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + participant: { + serializedName: "participant", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, + }, + }, +}; + +export const RestAddParticipantFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestAddParticipantFailed", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestAddParticipantFailed: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestAddParticipantFailed", - modelProperties: { - participant: { - serializedName: "participant", - type: { - name: "Composite", - className: "CommunicationIdentifierModel", - }, - }, operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -3019,46 +3186,42 @@ export const RestAddParticipantFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + participant: { + serializedName: "participant", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, + }, + }, +}; + +export const RestRemoveParticipantSucceeded: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestRemoveParticipantSucceeded", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestRemoveParticipantSucceeded: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestRemoveParticipantSucceeded", - modelProperties: { - participant: { - serializedName: "participant", - type: { - name: "Composite", - className: "CommunicationIdentifierModel", - }, - }, operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -3070,46 +3233,42 @@ export const RestRemoveParticipantSucceeded: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + participant: { + serializedName: "participant", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, + }, + }, +}; + +export const RestRemoveParticipantFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestRemoveParticipantFailed", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestRemoveParticipantFailed: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestRemoveParticipantFailed", - modelProperties: { - participant: { - serializedName: "participant", - type: { - name: "Composite", - className: "CommunicationIdentifierModel", - }, - }, operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -3121,39 +3280,42 @@ export const RestRemoveParticipantFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + participant: { + serializedName: "participant", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, + }, + }, +}; + +export const RestCallConnected: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestCallConnected", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestCallConnected: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestCallConnected", - modelProperties: { operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -3165,39 +3327,35 @@ export const RestCallConnected: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const RestCallDisconnected: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestCallDisconnected", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestCallDisconnected: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestCallDisconnected", - modelProperties: { operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -3209,97 +3367,89 @@ export const RestCallDisconnected: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const RestCallTransferAccepted: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestCallTransferAccepted", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestCallTransferAccepted: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestCallTransferAccepted", - modelProperties: { - transferTarget: { - serializedName: "transferTarget", + operationContext: { + serializedName: "operationContext", type: { - name: "Composite", - className: "CommunicationIdentifierModel", + name: "String", }, }, - transferee: { - serializedName: "transferee", + resultInformation: { + serializedName: "resultInformation", type: { name: "Composite", - className: "CommunicationIdentifierModel", + className: "RestResultInformation", }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, + transferTarget: { + serializedName: "transferTarget", type: { - name: "String", + name: "Composite", + className: "CommunicationIdentifierModel", }, }, - resultInformation: { - serializedName: "resultInformation", + transferee: { + serializedName: "transferee", type: { name: "Composite", - className: "RestResultInformation", + className: "CommunicationIdentifierModel", }, }, + }, + }, +}; + +export const RestCallTransferFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestCallTransferFailed", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestCallTransferFailed: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestCallTransferFailed", - modelProperties: { operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -3311,36 +3461,33 @@ export const RestCallTransferFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const RestRecordingStateChanged: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestRecordingStateChanged", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { - name: "String", - }, - }, - }, - }, -}; - -export const RestRecordingStateChanged: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestRecordingStateChanged", - modelProperties: { + name: "String", + }, + }, recordingId: { serializedName: "recordingId", readOnly: true, @@ -3374,39 +3521,41 @@ export const RestRecordingStateChanged: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const RestParticipantsUpdated: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestParticipantsUpdated", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestParticipantsUpdated: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestParticipantsUpdated", - modelProperties: { + sequenceNumber: { + serializedName: "sequenceNumber", + type: { + name: "Number", + }, + }, participants: { serializedName: "participants", - readOnly: true, type: { name: "Sequence", element: { @@ -3417,13 +3566,6 @@ export const RestParticipantsUpdated: coreClient.CompositeMapper = { }, }, }, - sequenceNumber: { - serializedName: "sequenceNumber", - readOnly: true, - type: { - name: "Number", - }, - }, resultInformation: { serializedName: "resultInformation", type: { @@ -3431,46 +3573,35 @@ export const RestParticipantsUpdated: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, + }, + }, +}; + +export const RestPlayCompleted: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestPlayCompleted", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestPlayCompleted: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestPlayCompleted", - modelProperties: { operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -3482,46 +3613,35 @@ export const RestPlayCompleted: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const RestPlayFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestPlayFailed", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestPlayFailed: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestPlayFailed", - modelProperties: { - failedPlaySourceIndex: { - serializedName: "failedPlaySourceIndex", - readOnly: true, - type: { - name: "Number", - }, - }, operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -3533,39 +3653,41 @@ export const RestPlayFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + failedPlaySourceIndex: { + serializedName: "failedPlaySourceIndex", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const RestPlayCanceled: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestPlayCanceled", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestPlayCanceled: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestPlayCanceled", - modelProperties: { operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -3577,62 +3699,57 @@ export const RestPlayCanceled: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const RestRecognizeCompleted: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestRecognizeCompleted", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestRecognizeCompleted: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestRecognizeCompleted", - modelProperties: { - recognitionType: { - serializedName: "recognitionType", - readOnly: true, + operationContext: { + serializedName: "operationContext", type: { name: "String", }, }, - collectTonesResult: { - serializedName: "collectTonesResult", + resultInformation: { + serializedName: "resultInformation", type: { name: "Composite", - className: "CollectTonesResult", + className: "RestResultInformation", }, }, - dtmfResult: { - serializedName: "dtmfResult", + recognitionType: { + serializedName: "recognitionType", type: { - name: "Composite", - className: "DtmfResult", + name: "String", }, }, - speechResult: { - serializedName: "speechResult", + dtmfResult: { + serializedName: "dtmfResult", type: { name: "Composite", - className: "SpeechResult", + className: "DtmfResult", }, }, choiceResult: { @@ -3642,60 +3759,42 @@ export const RestRecognizeCompleted: coreClient.CompositeMapper = { className: "ChoiceResult", }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", + speechResult: { + serializedName: "speechResult", type: { name: "Composite", - className: "RestResultInformation", + className: "SpeechResult", }, }, + }, + }, +}; + +export const RestRecognizeFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestRecognizeFailed", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestRecognizeFailed: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestRecognizeFailed", - modelProperties: { - failedPlaySourceIndex: { - serializedName: "failedPlaySourceIndex", - readOnly: true, - type: { - name: "Number", - }, - }, operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -3707,25 +3806,10 @@ export const RestRecognizeFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, - callConnectionId: { - serializedName: "callConnectionId", - readOnly: true, - type: { - name: "String", - }, - }, - serverCallId: { - serializedName: "serverCallId", - readOnly: true, - type: { - name: "String", - }, - }, - correlationId: { - serializedName: "correlationId", - readOnly: true, + failedPlaySourceIndex: { + serializedName: "failedPlaySourceIndex", type: { - name: "String", + name: "Number", }, }, }, @@ -3737,39 +3821,35 @@ export const RestRecognizeCanceled: coreClient.CompositeMapper = { name: "Composite", className: "RestRecognizeCanceled", modelProperties: { - operationContext: { - serializedName: "operationContext", - readOnly: true, + callConnectionId: { + serializedName: "callConnectionId", type: { name: "String", }, }, - resultInformation: { - serializedName: "resultInformation", + serverCallId: { + serializedName: "serverCallId", type: { - name: "Composite", - className: "RestResultInformation", + name: "String", }, }, - callConnectionId: { - serializedName: "callConnectionId", - readOnly: true, + correlationId: { + serializedName: "correlationId", type: { name: "String", }, }, - serverCallId: { - serializedName: "serverCallId", - readOnly: true, + operationContext: { + serializedName: "operationContext", type: { name: "String", }, }, - correlationId: { - serializedName: "correlationId", - readOnly: true, + resultInformation: { + serializedName: "resultInformation", type: { - name: "String", + name: "Composite", + className: "RestResultInformation", }, }, }, @@ -3782,13 +3862,6 @@ export const RestContinuousDtmfRecognitionToneReceived: coreClient.CompositeMapp name: "Composite", className: "RestContinuousDtmfRecognitionToneReceived", modelProperties: { - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, sequenceId: { serializedName: "sequenceId", readOnly: true, @@ -3802,34 +3875,37 @@ export const RestContinuousDtmfRecognitionToneReceived: coreClient.CompositeMapp name: "String", }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; @@ -3840,37 +3916,33 @@ export const RestContinuousDtmfRecognitionToneFailed: coreClient.CompositeMapper name: "Composite", className: "RestContinuousDtmfRecognitionToneFailed", modelProperties: { - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, + operationContext: { + serializedName: "operationContext", type: { name: "String", }, @@ -3885,41 +3957,37 @@ export const RestContinuousDtmfRecognitionStopped: coreClient.CompositeMapper = name: "Composite", className: "RestContinuousDtmfRecognitionStopped", modelProperties: { - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; @@ -3929,53 +3997,26 @@ export const RestSendDtmfTonesCompleted: coreClient.CompositeMapper = { name: "Composite", className: "RestSendDtmfTonesCompleted", modelProperties: { - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestSendDtmfTonesFailed: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestSendDtmfTonesFailed", - modelProperties: { operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -3987,46 +4028,35 @@ export const RestSendDtmfTonesFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const RestSendDtmfTonesFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestSendDtmfTonesFailed", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const RestCancelAddParticipantSucceeded: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestCancelAddParticipantSucceeded", - modelProperties: { - invitationId: { - serializedName: "invitationId", - readOnly: true, type: { name: "String", }, }, operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -4038,46 +4068,41 @@ export const RestCancelAddParticipantSucceeded: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const RestCancelAddParticipantSucceeded: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestCancelAddParticipantSucceeded", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestCancelAddParticipantFailed: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestCancelAddParticipantFailed", - modelProperties: { - invitationId: { - serializedName: "invitationId", - readOnly: true, + operationContext: { + serializedName: "operationContext", type: { name: "String", }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, + invitationId: { + serializedName: "invitationId", type: { name: "String", }, @@ -4089,23 +4114,48 @@ export const RestCancelAddParticipantFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const RestCancelAddParticipantFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestCancelAddParticipantFailed", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, + type: { + name: "String", + }, + }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, + invitationId: { + serializedName: "invitationId", type: { name: "String", }, @@ -4126,41 +4176,37 @@ export const RestTranscriptionStarted: coreClient.CompositeMapper = { className: "TranscriptionUpdate", }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; @@ -4171,47 +4217,43 @@ export const RestTranscriptionStopped: coreClient.CompositeMapper = { className: "RestTranscriptionStopped", modelProperties: { transcriptionUpdate: { - serializedName: "transcriptionUpdate", - type: { - name: "Composite", - className: "TranscriptionUpdate", - }, - }, - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", + serializedName: "transcriptionUpdate", type: { name: "Composite", - className: "RestResultInformation", + className: "TranscriptionUpdate", }, }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; @@ -4228,41 +4270,37 @@ export const RestTranscriptionUpdated: coreClient.CompositeMapper = { className: "TranscriptionUpdate", }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; @@ -4279,9 +4317,26 @@ export const RestTranscriptionFailed: coreClient.CompositeMapper = { className: "TranscriptionUpdate", }, }, + callConnectionId: { + serializedName: "callConnectionId", + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + type: { + name: "String", + }, + }, operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -4293,39 +4348,35 @@ export const RestTranscriptionFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const RestCreateCallFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestCreateCallFailed", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestAnswerFailed: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestAnswerFailed", - modelProperties: { operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -4337,39 +4388,35 @@ export const RestAnswerFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const RestAnswerFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestAnswerFailed", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RestHoldFailed: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestHoldFailed", - modelProperties: { operationContext: { serializedName: "operationContext", - readOnly: true, type: { name: "String", }, @@ -4381,27 +4428,46 @@ export const RestHoldFailed: coreClient.CompositeMapper = { className: "RestResultInformation", }, }, + }, + }, +}; + +export const RestHoldFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestHoldFailed", + modelProperties: { callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; @@ -4418,41 +4484,37 @@ export const RestMediaStreamingStarted: coreClient.CompositeMapper = { className: "MediaStreamingUpdate", }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; @@ -4469,41 +4531,37 @@ export const RestMediaStreamingStopped: coreClient.CompositeMapper = { className: "MediaStreamingUpdate", }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; @@ -4520,41 +4578,37 @@ export const RestMediaStreamingFailed: coreClient.CompositeMapper = { className: "MediaStreamingUpdate", }, }, - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, serverCallId: { serializedName: "serverCallId", - readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", - readOnly: true, type: { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, }, }, }; @@ -4564,43 +4618,20 @@ export const RestStartRecordingFailed: coreClient.CompositeMapper = { name: "Composite", className: "RestStartRecordingFailed", modelProperties: { - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, - recordingId: { - serializedName: "recordingId", - readOnly: true, - type: { - name: "String", - }, - }, - operationContext: { - serializedName: "operationContext", - readOnly: true, - type: { - name: "String", - }, - }, callConnectionId: { serializedName: "callConnectionId", - readOnly: true, type: { name: "String", }, }, - serverCallId: { - serializedName: "serverCallId", - readOnly: true, + correlationId: { + serializedName: "correlationId", type: { name: "String", }, }, - correlationId: { - serializedName: "correlationId", + recordingId: { + serializedName: "recordingId", readOnly: true, type: { name: "String", diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts b/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts index 7e987717abef..9e53138fe68e 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts @@ -32,10 +32,9 @@ import { UpdateTranscriptionRequest as UpdateTranscriptionRequestMapper, HoldRequest as HoldRequestMapper, UnholdRequest as UnholdRequestMapper, - StartHoldMusicRequest as StartHoldMusicRequestMapper, - StopHoldMusicRequest as StopHoldMusicRequestMapper, StartMediaStreamingRequest as StartMediaStreamingRequestMapper, StopMediaStreamingRequest as StopMediaStreamingRequestMapper, + InterruptAudioAndAnnounceRequest as InterruptAudioAndAnnounceRequestMapper, StartDialogRequest as StartDialogRequestMapper, UpdateDialogRequest as UpdateDialogRequestMapper, StartCallRecordingRequest as StartCallRecordingRequestMapper, @@ -243,16 +242,6 @@ export const unholdRequest: OperationParameter = { mapper: UnholdRequestMapper, }; -export const startHoldMusicRequest: OperationParameter = { - parameterPath: "startHoldMusicRequest", - mapper: StartHoldMusicRequestMapper, -}; - -export const stopHoldMusicRequest: OperationParameter = { - parameterPath: "stopHoldMusicRequest", - mapper: StopHoldMusicRequestMapper, -}; - export const startMediaStreamingRequest: OperationParameter = { parameterPath: "startMediaStreamingRequest", mapper: StartMediaStreamingRequestMapper, @@ -263,6 +252,11 @@ export const stopMediaStreamingRequest: OperationParameter = { mapper: StopMediaStreamingRequestMapper, }; +export const interruptRequest: OperationParameter = { + parameterPath: "interruptRequest", + mapper: InterruptAudioAndAnnounceRequestMapper, +}; + export const startDialogRequest: OperationParameter = { parameterPath: "startDialogRequest", mapper: StartDialogRequestMapper, diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts index bee6ed521a63..e89f414a3dcb 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts @@ -208,7 +208,7 @@ export class CallConnectionImpl implements CallConnection { /** * Add a participant to the call. * @param callConnectionId The call connection Id - * @param addParticipantRequest The request payload for adding participant to the call. + * @param addParticipantRequest The add participants request. * @param options The options parameters. */ addParticipant( diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts index 222203b43c57..11b7a10a525f 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts @@ -33,14 +33,12 @@ import { CallMediaHoldOptionalParams, UnholdRequest, CallMediaUnholdOptionalParams, - StartHoldMusicRequest, - CallMediaStartHoldMusicOptionalParams, - StopHoldMusicRequest, - CallMediaStopHoldMusicOptionalParams, StartMediaStreamingRequest, CallMediaStartMediaStreamingOptionalParams, StopMediaStreamingRequest, CallMediaStopMediaStreamingOptionalParams, + InterruptAudioAndAnnounceRequest, + CallMediaInterruptAudioAndAnnounceOptionalParams, } from "../models"; /** Class containing CallMedia operations. */ @@ -240,40 +238,6 @@ export class CallMediaImpl implements CallMedia { ); } - /** - * Hold participant from the call using identifier. - * @param callConnectionId The call connection id. - * @param startHoldMusicRequest The participants to be hold from the call. - * @param options The options parameters. - */ - startHoldMusic( - callConnectionId: string, - startHoldMusicRequest: StartHoldMusicRequest, - options?: CallMediaStartHoldMusicOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { callConnectionId, startHoldMusicRequest, options }, - startHoldMusicOperationSpec, - ); - } - - /** - * Unhold participants from the call using identifier. - * @param callConnectionId The call connection id. - * @param stopHoldMusicRequest The participants to be hold from the call. - * @param options The options parameters. - */ - stopHoldMusic( - callConnectionId: string, - stopHoldMusicRequest: StopHoldMusicRequest, - options?: CallMediaStopHoldMusicOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { callConnectionId, stopHoldMusicRequest, options }, - stopHoldMusicOperationSpec, - ); - } - /** * Starts media streaming in the call. * @param callConnectionId The call connection id. @@ -307,6 +271,23 @@ export class CallMediaImpl implements CallMedia { stopMediaStreamingOperationSpec, ); } + + /** + * Plays audio to participants in the call. + * @param callConnectionId The call connection id. + * @param interruptRequest play request payload. + * @param options The options parameters. + */ + interruptAudioAndAnnounce( + callConnectionId: string, + interruptRequest: InterruptAudioAndAnnounceRequest, + options?: CallMediaInterruptAudioAndAnnounceOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { callConnectionId, interruptRequest, options }, + interruptAudioAndAnnounceOperationSpec, + ); + } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); @@ -492,40 +473,24 @@ const unholdOperationSpec: coreClient.OperationSpec = { mediaType: "json", serializer, }; -const startHoldMusicOperationSpec: coreClient.OperationSpec = { - path: "/calling/callConnections/{callConnectionId}:startHoldMusic", - httpMethod: "POST", - responses: { - 200: {}, - default: { - bodyMapper: Mappers.CommunicationErrorResponse, - }, - }, - requestBody: Parameters.startHoldMusicRequest, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.endpoint, Parameters.callConnectionId], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer, -}; -const stopHoldMusicOperationSpec: coreClient.OperationSpec = { - path: "/calling/callConnections/{callConnectionId}:stopHoldMusic", +const startMediaStreamingOperationSpec: coreClient.OperationSpec = { + path: "/calling/callConnections/{callConnectionId}:startMediaStreaming", httpMethod: "POST", responses: { - 200: {}, + 202: {}, default: { bodyMapper: Mappers.CommunicationErrorResponse, }, }, - requestBody: Parameters.stopHoldMusicRequest, + requestBody: Parameters.startMediaStreamingRequest, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.endpoint, Parameters.callConnectionId], headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; -const startMediaStreamingOperationSpec: coreClient.OperationSpec = { - path: "/calling/callConnections/{callConnectionId}:startMediaStreaming", +const stopMediaStreamingOperationSpec: coreClient.OperationSpec = { + path: "/calling/callConnections/{callConnectionId}:stopMediaStreaming", httpMethod: "POST", responses: { 202: {}, @@ -533,15 +498,15 @@ const startMediaStreamingOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CommunicationErrorResponse, }, }, - requestBody: Parameters.startMediaStreamingRequest, + requestBody: Parameters.stopMediaStreamingRequest, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.endpoint, Parameters.callConnectionId], headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer, }; -const stopMediaStreamingOperationSpec: coreClient.OperationSpec = { - path: "/calling/callConnections/{callConnectionId}:stopMediaStreaming", +const interruptAudioAndAnnounceOperationSpec: coreClient.OperationSpec = { + path: "/calling/callConnections/{callConnectionId}:interruptAudioAndAnnounce", httpMethod: "POST", responses: { 202: {}, @@ -549,7 +514,7 @@ const stopMediaStreamingOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CommunicationErrorResponse, }, }, - requestBody: Parameters.stopMediaStreamingRequest, + requestBody: Parameters.interruptRequest, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.endpoint, Parameters.callConnectionId], headerParameters: [Parameters.contentType, Parameters.accept], diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callConnection.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callConnection.ts index abf0d138172f..d30fa55a519c 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callConnection.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callConnection.ts @@ -90,7 +90,7 @@ export interface CallConnection { /** * Add a participant to the call. * @param callConnectionId The call connection Id - * @param addParticipantRequest The request payload for adding participant to the call. + * @param addParticipantRequest The add participants request. * @param options The options parameters. */ addParticipant( diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts index 6f2b4f3f461a..9d6a8e58b351 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts @@ -28,14 +28,12 @@ import { CallMediaHoldOptionalParams, UnholdRequest, CallMediaUnholdOptionalParams, - StartHoldMusicRequest, - CallMediaStartHoldMusicOptionalParams, - StopHoldMusicRequest, - CallMediaStopHoldMusicOptionalParams, StartMediaStreamingRequest, CallMediaStartMediaStreamingOptionalParams, StopMediaStreamingRequest, CallMediaStopMediaStreamingOptionalParams, + InterruptAudioAndAnnounceRequest, + CallMediaInterruptAudioAndAnnounceOptionalParams, } from "../models"; /** Interface representing a CallMedia. */ @@ -159,28 +157,6 @@ export interface CallMedia { unholdRequest: UnholdRequest, options?: CallMediaUnholdOptionalParams, ): Promise; - /** - * Hold participant from the call using identifier. - * @param callConnectionId The call connection id. - * @param startHoldMusicRequest The participants to be hold from the call. - * @param options The options parameters. - */ - startHoldMusic( - callConnectionId: string, - startHoldMusicRequest: StartHoldMusicRequest, - options?: CallMediaStartHoldMusicOptionalParams, - ): Promise; - /** - * Unhold participants from the call using identifier. - * @param callConnectionId The call connection id. - * @param stopHoldMusicRequest The participants to be hold from the call. - * @param options The options parameters. - */ - stopHoldMusic( - callConnectionId: string, - stopHoldMusicRequest: StopHoldMusicRequest, - options?: CallMediaStopHoldMusicOptionalParams, - ): Promise; /** * Starts media streaming in the call. * @param callConnectionId The call connection id. @@ -203,4 +179,15 @@ export interface CallMedia { stopMediaStreamingRequest: StopMediaStreamingRequest, options?: CallMediaStopMediaStreamingOptionalParams, ): Promise; + /** + * Plays audio to participants in the call. + * @param callConnectionId The call connection id. + * @param interruptRequest play request payload. + * @param options The options parameters. + */ + interruptAudioAndAnnounce( + callConnectionId: string, + interruptRequest: InterruptAudioAndAnnounceRequest, + options?: CallMediaInterruptAudioAndAnnounceOptionalParams, + ): Promise; } diff --git a/sdk/communication/communication-call-automation/src/models/events.ts b/sdk/communication/communication-call-automation/src/models/events.ts index 4d06ab65fdb0..a8b8bed32b98 100644 --- a/sdk/communication/communication-call-automation/src/models/events.ts +++ b/sdk/communication/communication-call-automation/src/models/events.ts @@ -36,7 +36,7 @@ import type { RestCreateCallFailed, RestAnswerFailed, RestHoldFailed, - RestConnectFailed, + // RestConnectFailed, RestMediaStreamingStopped, RestMediaStreamingStarted, RestMediaStreamingFailed, @@ -77,7 +77,7 @@ export type CallAutomationEvent = | CreateCallFailed | AnswerFailed | HoldFailed - | ConnectFailed + //| ConnectFailed | MediaStreamingStarted | MediaStreamingStopped | MediaStreamingFailed @@ -654,22 +654,22 @@ export interface HoldFailed kind: "HoldFailed"; } -export interface ConnectFailed - extends Omit< - RestConnectFailed, - "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" - > { - /** Call connection ID. */ - callConnectionId: string; - /** Server call ID. */ - serverCallId: string; - /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ - correlationId: string; - /** Contains the resulting SIP code, sub-code and message. */ - resultInformation?: RestResultInformation; - /** kind of this event. */ - kind: "ConnectFailed"; -} +// export interface ConnectFailed +// extends Omit< +// RestConnectFailed, +// "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" +// > { +// /** Call connection ID. */ +// callConnectionId: string; +// /** Server call ID. */ +// serverCallId: string; +// /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ +// correlationId: string; +// /** Contains the resulting SIP code, sub-code and message. */ +// resultInformation?: RestResultInformation; +// /** kind of this event. */ +// kind: "ConnectFailed"; +// } export interface MediaStreamingStarted extends Omit< diff --git a/sdk/communication/communication-call-automation/swagger/README.md b/sdk/communication/communication-call-automation/swagger/README.md index c4d707adc53a..f9434234ba33 100644 --- a/sdk/communication/communication-call-automation/swagger/README.md +++ b/sdk/communication/communication-call-automation/swagger/README.md @@ -13,7 +13,7 @@ license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../src/generated tag: package-2024-09-01-preview require: - - https://github.com/Azure/azure-rest-api-specs/blob/6204479165ba24610f678105dce67ed501201b39/specification/communication/data-plane/CallAutomation/readme.md + - https://github.com/Azure/azure-rest-api-specs/blob/3499ad1477c912c8f8682d7510bf03e160ffc136/specification/communication/data-plane/CallAutomation/readme.md package-version: 1.3.0-beta.1 model-date-time-as-string: false optional-response-headers: true @@ -197,3 +197,19 @@ directive: transform: > $["x-ms-client-name"] = "recordingStorage"; ``` + +```yaml +directive: + from: swagger-document + where: "$.definitions.TranscriptionResultType.x-ms-enum" + transform: > + $["name"] = "TranscriptionResultState"; +``` + +```yaml +directive: + from: swagger-document + where: "$.definitions.TranscriptionSubscription.properties.subscribedResultTypes" + transform: > + $["x-ms-client-name"] = "subscribedResultStates"; +``` \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts b/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts index 8b4d35195f63..ba5c53ba9047 100644 --- a/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts @@ -399,59 +399,6 @@ describe("CallMedia Unit Tests", async function () { assert.equal(data.operationContext, options.operationContext); }); - it("makes successful Start Hold Music request", async function () { - const mockHttpClient = generateHttpClient(200); - - callMedia = createMediaClient(mockHttpClient); - const spy = sinon.spy(mockHttpClient, "sendRequest"); - - const playSource: TextSource = { - text: "test test test", - customVoiceEndpointId: "customVoiceEndpointId", - kind: "textSource", - }; - - const participantToHold: CommunicationIdentifier = { communicationUserId: CALL_TARGET_ID }; - - await callMedia.startHoldMusic(participantToHold, playSource); - const request = spy.getCall(0).args[0]; - const data = JSON.parse(request.body?.toString() || ""); - assert.equal(data.targetParticipant.rawId, CALL_TARGET_ID); - assert.equal(data.playSourceInfo.kind, "text"); - assert.equal(data.playSourceInfo.text.text, playSource.text); - assert.equal(request.method, "POST"); - }); - - it("makes successful Start Hold Music request with no playSource", async function () { - const mockHttpClient = generateHttpClient(200); - - callMedia = createMediaClient(mockHttpClient); - const spy = sinon.spy(mockHttpClient, "sendRequest"); - const participantToHold: CommunicationIdentifier = { communicationUserId: CALL_TARGET_ID }; - - await callMedia.startHoldMusic(participantToHold); - const request = spy.getCall(0).args[0]; - const data = JSON.parse(request.body?.toString() || ""); - assert.equal(data.targetParticipant.rawId, CALL_TARGET_ID); - assert.equal(request.method, "POST"); - assert.isUndefined(data.playSourceInfo); - }); - - it("makes successful Stop Hold Music request", async function () { - const mockHttpClient = generateHttpClient(200); - - callMedia = createMediaClient(mockHttpClient); - const spy = sinon.spy(mockHttpClient, "sendRequest"); - - const participantToUnhold: CommunicationIdentifier = { communicationUserId: CALL_TARGET_ID }; - - await callMedia.stopHoldMusic(participantToUnhold); - const request = spy.getCall(0).args[0]; - const data = JSON.parse(request.body?.toString() || ""); - assert.equal(data.targetParticipant.rawId, CALL_TARGET_ID); - assert.equal(request.method, "POST"); - }); - it("makes successful Start Transcription request", async function () { const mockHttpClient = generateHttpClient(202); diff --git a/sdk/communication/communication-call-automation/test/callRecordingClient.spec.ts b/sdk/communication/communication-call-automation/test/callRecordingClient.spec.ts index 9826eb4d97cc..27641ef7e3dc 100644 --- a/sdk/communication/communication-call-automation/test/callRecordingClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/callRecordingClient.spec.ts @@ -21,7 +21,6 @@ import type { PlayOptions, StartRecordingOptions, } from "../src/models/options"; -import { apiVersion } from "../src/generated/src/models/parameters"; import type { ChannelAffinity } from "@azure/communication-call-automation"; import type { CommunicationIdentifier, @@ -94,10 +93,6 @@ describe("CallRecording Unit Tests", async function () { assert.equal(data.channelAffinity[0].participant.communicationUser.id, CALL_TARGET_ID); assert.equal(data.recordingStateCallbackUri, CALL_CALLBACK_URL); assert.equal(request.method, "POST"); - assert.equal( - request.url, - `${baseUri}/calling/recordings?api-version=${apiVersion.mapper.defaultValue}`, - ); }); it("makes successful startRecording request", async function () { @@ -125,10 +120,6 @@ describe("CallRecording Unit Tests", async function () { assert.equal(data.callLocator.kind, "serverCallLocator"); assert.equal(data.recordingStateCallbackUri, CALL_CALLBACK_URL); assert.equal(request.method, "POST"); - assert.equal( - request.url, - `${baseUri}/calling/recordings?api-version=${apiVersion.mapper.defaultValue}`, - ); }); it("makes successful getRecordingProperties request", async function () { @@ -145,10 +136,6 @@ describe("CallRecording Unit Tests", async function () { const request = spy.getCall(0).args[0]; assert.equal(request.method, "GET"); - assert.equal( - request.url, - `${baseUri}/calling/recordings/${RECORDING_ID}?api-version=${apiVersion.mapper.defaultValue}`, - ); }); it("Sends correct args to stop a recording", async () => { @@ -157,11 +144,6 @@ describe("CallRecording Unit Tests", async function () { const spy = sinon.spy(mockHttpClient, "sendRequest"); await callRecording.stop(RECORDING_ID); const request = spy.getCall(0).args[0]; - - assert.equal( - request.url, - `${baseUri}/calling/recordings/${RECORDING_ID}?api-version=${apiVersion.mapper.defaultValue}`, - ); assert.equal(request.method, "DELETE"); }); @@ -171,11 +153,6 @@ describe("CallRecording Unit Tests", async function () { const spy = sinon.spy(mockHttpClient, "sendRequest"); await callRecording.pause(RECORDING_ID); const request = spy.getCall(0).args[0]; - - assert.equal( - request.url, - `${baseUri}/calling/recordings/${RECORDING_ID}:pause?api-version=${apiVersion.mapper.defaultValue}`, - ); assert.equal(request.method, "POST"); }); @@ -185,11 +162,6 @@ describe("CallRecording Unit Tests", async function () { const spy = sinon.spy(mockHttpClient, "sendRequest"); await callRecording.resume(RECORDING_ID); const request = spy.getCall(0).args[0]; - - assert.equal( - request.url, - `${baseUri}/calling/recordings/${RECORDING_ID}:resume?api-version=${apiVersion.mapper.defaultValue}`, - ); assert.equal(request.method, "POST"); }); }); From 77c30aa8df9d8abf37a53527bde472aafe029287 Mon Sep 17 00:00:00 2001 From: Durgesh Suryawanshi Date: Tue, 3 Dec 2024 17:05:31 +0530 Subject: [PATCH 05/16] Updated latest swagger. --- .../communication-call-automation.api.md | 60 +++- .../src/callAutomationClient.ts | 5 +- .../src/callAutomationEventParser.ts | 20 +- .../src/callMedia.ts | 13 +- .../src/eventprocessor/eventResponses.ts | 4 +- .../src/generated/src/models/index.ts | 125 +++++-- .../src/generated/src/models/mappers.ts | 336 ++++++++++++------ .../src/models/events.ts | 98 ++++- .../src/models/options.ts | 29 ++ .../swagger/README.md | 12 +- 10 files changed, 525 insertions(+), 177 deletions(-) diff --git a/sdk/communication/communication-call-automation/review/communication-call-automation.api.md b/sdk/communication/communication-call-automation/review/communication-call-automation.api.md index aa205accec4c..b708968df00c 100644 --- a/sdk/communication/communication-call-automation/review/communication-call-automation.api.md +++ b/sdk/communication/communication-call-automation/review/communication-call-automation.api.md @@ -137,7 +137,7 @@ export interface CallAutomationClientOptions extends CommonClientOptions { } // @public -export type CallAutomationEvent = AddParticipantSucceeded | AddParticipantFailed | RemoveParticipantSucceeded | RemoveParticipantFailed | CallConnected | CallDisconnected | CallTransferAccepted | CallTransferFailed | ParticipantsUpdated | RecordingStateChanged | PlayCompleted | PlayFailed | PlayCanceled | RecognizeCompleted | RecognizeCanceled | RecognizeFailed | ContinuousDtmfRecognitionToneReceived | ContinuousDtmfRecognitionToneFailed | ContinuousDtmfRecognitionStopped | SendDtmfTonesCompleted | SendDtmfTonesFailed | CancelAddParticipantSucceeded | CancelAddParticipantFailed | TranscriptionStarted | TranscriptionStopped | TranscriptionUpdated | TranscriptionFailed | CreateCallFailed | AnswerFailed | HoldFailed | MediaStreamingStarted | MediaStreamingStopped | MediaStreamingFailed | StartRecordingFailed; +export type CallAutomationEvent = AddParticipantSucceeded | AddParticipantFailed | RemoveParticipantSucceeded | RemoveParticipantFailed | CallConnected | CallDisconnected | CallTransferAccepted | CallTransferFailed | ParticipantsUpdated | RecordingStateChanged | PlayCompleted | PlayFailed | PlayCanceled | RecognizeCompleted | RecognizeCanceled | RecognizeFailed | ContinuousDtmfRecognitionToneReceived | ContinuousDtmfRecognitionToneFailed | ContinuousDtmfRecognitionStopped | SendDtmfTonesCompleted | SendDtmfTonesFailed | CancelAddParticipantSucceeded | CancelAddParticipantFailed | TranscriptionStarted | TranscriptionStopped | TranscriptionUpdated | TranscriptionFailed | CreateCallFailed | AnswerFailed | HoldFailed | ConnectFailed | MediaStreamingStarted | MediaStreamingStopped | MediaStreamingFailed | StartRecordingFailed | PlayStarted | PlayPaused | PlayResumed; // @public export class CallAutomationEventProcessor { @@ -251,7 +251,7 @@ export class CallMedia { stopMediaStreaming(options?: StopMediaStreamingOptions): Promise; stopTranscription(options?: StopTranscriptionOptions): Promise; unhold(targetParticipant: CommunicationIdentifier, options?: UnholdOptions): Promise; - updateTranscription(locale: string): Promise; + updateTranscription(locale: string, options?: UpdateTranscriptionOptions): Promise; } // @public @@ -432,6 +432,7 @@ export interface ChoiceResult { // @public export interface ConnectCallEventResult { + failureResult?: ConnectFailed; isSuccess: boolean; successResult?: CallConnected; } @@ -451,6 +452,17 @@ export interface ConnectCallResult { waitForEventProcessor(abortSignal?: AbortSignalLike, timeoutInMs?: number): Promise; } +// Warning: (ae-forgotten-export) The symbol "RestConnectFailed" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export interface ConnectFailed extends Omit { + callConnectionId: string; + correlationId: string; + kind: "ConnectFailed"; + resultInformation?: RestResultInformation; + serverCallId: string; +} + // @public export interface ContinuousDtmfRecognitionOptions extends OperationOptions { operationCallbackUrl?: string; @@ -780,11 +792,33 @@ export interface PlayOptions extends OperationOptions { operationContext?: string; } +// Warning: (ae-forgotten-export) The symbol "RestPlayPaused" needs to be exported by the entry point index.d.ts +// +// @public +export interface PlayPaused extends Omit { + callConnectionId: string; + correlationId: string; + kind: "PlayPaused"; + resultInformation?: ResultInformation; + serverCallId: string; +} + // @public export interface PlayResult { waitForEventProcessor(abortSignal?: AbortSignalLike, timeoutInMs?: number): Promise; } +// Warning: (ae-forgotten-export) The symbol "RestPlayResumed" needs to be exported by the entry point index.d.ts +// +// @public +export interface PlayResumed extends Omit { + callConnectionId: string; + correlationId: string; + kind: "PlayResumed"; + resultInformation?: ResultInformation; + serverCallId: string; +} + // @public export interface PlaySource { // @deprecated (undocumented) @@ -792,6 +826,17 @@ export interface PlaySource { playSourceCacheId?: string; } +// Warning: (ae-forgotten-export) The symbol "RestPlayStarted" needs to be exported by the entry point index.d.ts +// +// @public +export interface PlayStarted extends Omit { + callConnectionId: string; + correlationId: string; + kind: "PlayStarted"; + resultInformation?: ResultInformation; + serverCallId: string; +} + // @public export interface PlayToAllOptions extends PlayOptions { interruptCallMediaOperation?: boolean; @@ -1071,7 +1116,9 @@ export interface StartRecordingOptions extends OperationOptions { // @public export interface StartTranscriptionOptions extends OperationOptions { locale?: string; + operationCallbackUrl?: string; operationContext?: string; + speechRecognitionModelEndpointId?: string; } // @public (undocumented) @@ -1081,6 +1128,7 @@ export interface StopAudio { // @public export interface StopMediaStreamingOptions extends OperationOptions { operationCallbackUrl?: string; + operationContext?: string; } // @public @@ -1088,6 +1136,7 @@ export type StopRecordingOptions = OperationOptions; // @public export interface StopTranscriptionOptions extends OperationOptions { + operationCallbackUrl?: string; operationContext?: string; } @@ -1242,6 +1291,13 @@ export interface UnholdOptions extends OperationOptions { operationContext?: string; } +// @public +export interface UpdateTranscriptionOptions extends OperationOptions { + operationCallbackUrl?: string; + operationContext?: string; + speechRecognitionModelEndpointId?: string; +} + // @public export enum VoiceKind { Female = "female", diff --git a/sdk/communication/communication-call-automation/src/callAutomationClient.ts b/sdk/communication/communication-call-automation/src/callAutomationClient.ts index 528fb601a7da..7fee6763cd79 100644 --- a/sdk/communication/communication-call-automation/src/callAutomationClient.ts +++ b/sdk/communication/communication-call-automation/src/callAutomationClient.ts @@ -566,10 +566,9 @@ export class CallAutomationClient { connectCallEventResult.successResult = event; return true; } - if (event.callConnectionId === callConnectionId) { - //&& event.kind === "ConnectFailed" + if (event.callConnectionId === callConnectionId && event.kind === "ConnectFailed") { connectCallEventResult.isSuccess = false; - // connectCallEventResult.failureResult = event; + connectCallEventResult.failureResult = event; return true; } else { return false; diff --git a/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts b/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts index 3443e8446d50..b5a3a8555d81 100644 --- a/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts +++ b/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts @@ -35,11 +35,14 @@ import type { CreateCallFailed, AnswerFailed, HoldFailed, - // ConnectFailed, + ConnectFailed, MediaStreamingStarted, MediaStreamingStopped, MediaStreamingFailed, StartRecordingFailed, + PlayStarted, + PlayPaused, + PlayResumed, } from "./models/events.js"; import { CloudEventMapper } from "./models/mapper.js"; @@ -165,9 +168,9 @@ export function parseCallAutomationEvent( case "Microsoft.Communication.HoldFailed": callbackEvent = { kind: "HoldFailed" } as HoldFailed; break; - // case "Microsoft.Communication.ConnectFailed": - // callbackEvent = { kind: "ConnectFailed" } as ConnectFailed; - // break; + case "Microsoft.Communication.ConnectFailed": + callbackEvent = { kind: "ConnectFailed" } as ConnectFailed; + break; case "Microsoft.Communication.MediaStreamingStarted": callbackEvent = { kind: "MediaStreamingStarted" } as MediaStreamingStarted; break; @@ -180,6 +183,15 @@ export function parseCallAutomationEvent( case "Microsoft.Communication.StartRecordingFailed": callbackEvent = { kind: "StartRecordingFailed" } as StartRecordingFailed; break; + case "Microsoft.Communication.PlayStarted": + callbackEvent = { kind: "PlayStarted" } as PlayStarted; + break; + case "Microsoft.Communication.PlayPaused": + callbackEvent = { kind: "PlayPaused" } as PlayPaused; + break; + case "Microsoft.Communication.PlayResumed": + callbackEvent = { kind: "PlayResumed" } as PlayResumed; + break; default: throw new TypeError(`Unknown Call Automation Event type: ${eventType}`); } diff --git a/sdk/communication/communication-call-automation/src/callMedia.ts b/sdk/communication/communication-call-automation/src/callMedia.ts index 27857a09a60b..2d46deabd4f8 100644 --- a/sdk/communication/communication-call-automation/src/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/callMedia.ts @@ -47,6 +47,7 @@ import type { StartMediaStreamingOptions, StopMediaStreamingOptions, PlayToAllOptions, + UpdateTranscriptionOptions, } from "./models/options.js"; import type { KeyCredential, TokenCredential } from "@azure/core-auth"; import type { @@ -682,6 +683,8 @@ export class CallMedia { const startTranscriptionRequest: StartTranscriptionRequest = { locale: options.locale, operationContext: options.operationContext ? options.operationContext : randomUUID(), + speechRecognitionModelEndpointId: options.speechRecognitionModelEndpointId, + operationCallbackUri: options.operationCallbackUrl, }; return this.callMedia.startTranscription(this.callConnectionId, startTranscriptionRequest, {}); } @@ -693,6 +696,7 @@ export class CallMedia { public async stopTranscription(options: StopTranscriptionOptions = {}): Promise { const stopTranscriptionRequest: StopTranscriptionRequest = { operationContext: options.operationContext ? options.operationContext : randomUUID(), + operationCallbackUri: options.operationCallbackUrl, }; return this.callMedia.stopTranscription(this.callConnectionId, stopTranscriptionRequest, {}); } @@ -701,9 +705,15 @@ export class CallMedia { * Update transcription language. * @param locale - Defines new locale for transcription. */ - public async updateTranscription(locale: string): Promise { + public async updateTranscription( + locale: string, + options?: UpdateTranscriptionOptions, + ): Promise { const updateTranscriptionRequest: UpdateTranscriptionRequest = { locale: locale, + speechRecognitionModelEndpointId: options?.speechRecognitionModelEndpointId, + operationContext: options?.operationContext, + operationCallbackUri: options?.operationCallbackUrl, }; return this.callMedia.updateTranscription( this.callConnectionId, @@ -734,6 +744,7 @@ export class CallMedia { public async stopMediaStreaming(options: StopMediaStreamingOptions = {}): Promise { const stopMediaStreamingRequest: StopMediaStreamingRequest = { operationCallbackUri: options.operationCallbackUrl, + operationContext: options.operationContext, }; return this.callMedia.stopMediaStreaming( this.callConnectionId, diff --git a/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts b/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts index bb4b3bf4c667..f7af04ad174a 100644 --- a/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts +++ b/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts @@ -21,7 +21,7 @@ import type { CancelAddParticipantFailed, CreateCallFailed, AnswerFailed, - // ConnectFailed, + ConnectFailed, } from "../models/events.js"; /** @@ -83,7 +83,7 @@ export interface ConnectCallEventResult { /** contains success event if the result was successful */ successResult?: CallConnected; /** contains failure event if the result was failure */ - // failureResult?: ConnectFailed; + failureResult?: ConnectFailed; } /** diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/index.ts b/sdk/communication/communication-call-automation/src/generated/src/models/index.ts index 886b4acfe279..1cbe50447071 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/index.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/index.ts @@ -387,13 +387,25 @@ export interface PlayOptionsInternal { export interface StartTranscriptionRequest { /** Defines Locale for the transcription e,g en-US */ locale?: string; + /** Endpoint where the custom model was deployed. */ + speechRecognitionModelEndpointId?: string; /** The value to identify context of the operation. */ operationContext?: string; + /** + * 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. + */ + operationCallbackUri?: string; } export interface StopTranscriptionRequest { /** The value to identify context of the operation. */ operationContext?: string; + /** + * 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. + */ + operationCallbackUri?: string; } export interface RecognizeRequest { @@ -493,6 +505,15 @@ export interface SendDtmfTonesResult { export interface UpdateTranscriptionRequest { /** Defines new locale for transcription. */ locale: string; + /** Sets Endpoint id where the custom model was deployed. */ + speechRecognitionModelEndpointId?: string; + /** The value to identify context of the operation. */ + operationContext?: string; + /** + * 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. + */ + operationCallbackUri?: string; } /** The request payload for holding participant from the call. */ @@ -537,6 +558,8 @@ export interface StopMediaStreamingRequest { * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. */ operationCallbackUri?: string; + /** The value to identify context of the operation. */ + operationContext?: string; } export interface InterruptAudioAndAnnounceRequest { @@ -788,43 +811,6 @@ export interface RecordingStateResponse { recordingKind?: RecordingKind; } -/** Play started event. */ -export interface PlayPaused { - /** Call connection ID. */ - callConnectionId?: string; - /** Server call ID. */ - serverCallId?: string; - /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ - correlationId?: string; - /** Used by customers when calling mid-call actions to correlate the request to the response event. */ - operationContext?: string; - /** Contains the resulting SIP code, sub-code and message. */ - resultInformation?: RestResultInformation; -} - -export interface RestResultInformation { - /** Code of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */ - code?: number; - /** Subcode of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */ - subCode?: number; - /** Detail message that describes the current result. */ - message?: string; -} - -/** Play started event. */ -export interface PlayResumed { - /** Call connection ID. */ - callConnectionId?: string; - /** Server call ID. */ - serverCallId?: string; - /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ - correlationId?: string; - /** Used by customers when calling mid-call actions to correlate the request to the response event. */ - operationContext?: string; - /** Contains the resulting SIP code, sub-code and message. */ - resultInformation?: RestResultInformation; -} - export interface DtmfResult { /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly tones?: Tone[]; @@ -866,6 +852,15 @@ export interface DialogCompleted { resultInformation?: RestResultInformation; } +export interface RestResultInformation { + /** Code of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */ + code?: number; + /** Subcode of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */ + subCode?: number; + /** Detail message that describes the current result. */ + message?: string; +} + export interface DialogFailed { /** Determines the type of the dialog. */ dialogInputType?: DialogInputType; @@ -1613,6 +1608,20 @@ export interface RestHoldFailed { resultInformation?: RestResultInformation; } +/** The ConnectFailed event. */ +export interface RestConnectFailed { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; +} + export interface RestMediaStreamingStarted { /** * Defines the result for MediaStreamingUpdate with the current status and the details about the status @@ -1679,6 +1688,48 @@ export interface RestStartRecordingFailed { readonly recordingId?: string; } +/** Play started event. */ +export interface RestPlayStarted { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; +} + +/** Play started event. */ +export interface RestPlayPaused { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; +} + +/** Play started event. */ +export interface RestPlayResumed { + /** Call connection ID. */ + callConnectionId?: string; + /** Server call ID. */ + serverCallId?: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId?: string; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; +} + /** Azure Open AI Dialog */ export interface AzureOpenAIDialog extends BaseDialog { /** Polymorphic discriminator, which specifies the different types this object can be */ diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts b/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts index 45b195497bb3..b8af04d626e1 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts @@ -1082,12 +1082,24 @@ export const StartTranscriptionRequest: coreClient.CompositeMapper = { name: "String", }, }, + speechRecognitionModelEndpointId: { + serializedName: "speechRecognitionModelEndpointId", + type: { + name: "String", + }, + }, operationContext: { serializedName: "operationContext", type: { name: "String", }, }, + operationCallbackUri: { + serializedName: "operationCallbackUri", + type: { + name: "String", + }, + }, }, }, }; @@ -1103,6 +1115,12 @@ export const StopTranscriptionRequest: coreClient.CompositeMapper = { name: "String", }, }, + operationCallbackUri: { + serializedName: "operationCallbackUri", + type: { + name: "String", + }, + }, }, }, }; @@ -1417,6 +1435,24 @@ export const UpdateTranscriptionRequest: coreClient.CompositeMapper = { name: "String", }, }, + speechRecognitionModelEndpointId: { + serializedName: "speechRecognitionModelEndpointId", + type: { + name: "String", + }, + }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + operationCallbackUri: { + serializedName: "operationCallbackUri", + type: { + name: "String", + }, + }, }, }, }; @@ -1510,6 +1546,12 @@ export const StopMediaStreamingRequest: coreClient.CompositeMapper = { name: "String", }, }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, }, }, }; @@ -2172,113 +2214,6 @@ export const RecordingStateResponse: coreClient.CompositeMapper = { }, }; -export const PlayPaused: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PlayPaused", - modelProperties: { - callConnectionId: { - serializedName: "callConnectionId", - type: { - name: "String", - }, - }, - serverCallId: { - serializedName: "serverCallId", - type: { - name: "String", - }, - }, - correlationId: { - serializedName: "correlationId", - type: { - name: "String", - }, - }, - operationContext: { - serializedName: "operationContext", - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, - }, - }, -}; - -export const RestResultInformation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RestResultInformation", - modelProperties: { - code: { - serializedName: "code", - type: { - name: "Number", - }, - }, - subCode: { - serializedName: "subCode", - type: { - name: "Number", - }, - }, - message: { - serializedName: "message", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const PlayResumed: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PlayResumed", - modelProperties: { - callConnectionId: { - serializedName: "callConnectionId", - type: { - name: "String", - }, - }, - serverCallId: { - serializedName: "serverCallId", - type: { - name: "String", - }, - }, - correlationId: { - serializedName: "correlationId", - type: { - name: "String", - }, - }, - operationContext: { - serializedName: "operationContext", - type: { - name: "String", - }, - }, - resultInformation: { - serializedName: "resultInformation", - type: { - name: "Composite", - className: "RestResultInformation", - }, - }, - }, - }, -}; - export const DtmfResult: coreClient.CompositeMapper = { type: { name: "Composite", @@ -2389,6 +2324,33 @@ export const DialogCompleted: coreClient.CompositeMapper = { }, }; +export const RestResultInformation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestResultInformation", + modelProperties: { + code: { + serializedName: "code", + type: { + name: "Number", + }, + }, + subCode: { + serializedName: "subCode", + type: { + name: "Number", + }, + }, + message: { + serializedName: "message", + type: { + name: "String", + }, + }, + }, + }, +}; + export const DialogFailed: coreClient.CompositeMapper = { type: { name: "Composite", @@ -4472,6 +4434,46 @@ export const RestHoldFailed: coreClient.CompositeMapper = { }, }; +export const RestConnectFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestConnectFailed", + modelProperties: { + callConnectionId: { + serializedName: "callConnectionId", + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + type: { + name: "String", + }, + }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, + }, + }, +}; + export const RestMediaStreamingStarted: coreClient.CompositeMapper = { type: { name: "Composite", @@ -4641,6 +4643,126 @@ export const RestStartRecordingFailed: coreClient.CompositeMapper = { }, }; +export const RestPlayStarted: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestPlayStarted", + modelProperties: { + callConnectionId: { + serializedName: "callConnectionId", + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + type: { + name: "String", + }, + }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, + }, + }, +}; + +export const RestPlayPaused: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestPlayPaused", + modelProperties: { + callConnectionId: { + serializedName: "callConnectionId", + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + type: { + name: "String", + }, + }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, + }, + }, +}; + +export const RestPlayResumed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestPlayResumed", + modelProperties: { + callConnectionId: { + serializedName: "callConnectionId", + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + type: { + name: "String", + }, + }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, + }, + }, +}; + export const AzureOpenAIDialog: coreClient.CompositeMapper = { serializedName: "azureOpenAI", type: { diff --git a/sdk/communication/communication-call-automation/src/models/events.ts b/sdk/communication/communication-call-automation/src/models/events.ts index 394d30268981..2b84de8013ca 100644 --- a/sdk/communication/communication-call-automation/src/models/events.ts +++ b/sdk/communication/communication-call-automation/src/models/events.ts @@ -36,11 +36,14 @@ import type { RestCreateCallFailed, RestAnswerFailed, RestHoldFailed, - // RestConnectFailed, + RestConnectFailed, RestMediaStreamingStopped, RestMediaStreamingStarted, RestMediaStreamingFailed, RestStartRecordingFailed, + RestPlayStarted, + RestPlayPaused, + RestPlayResumed, } from "../generated/src/models/index.js"; import type { CallParticipant } from "./models.js"; @@ -77,11 +80,14 @@ export type CallAutomationEvent = | CreateCallFailed | AnswerFailed | HoldFailed - //| ConnectFailed + | ConnectFailed | MediaStreamingStarted | MediaStreamingStopped | MediaStreamingFailed - | StartRecordingFailed; + | StartRecordingFailed + | PlayStarted + | PlayPaused + | PlayResumed; export interface ResultInformation extends Omit { @@ -654,22 +660,22 @@ export interface HoldFailed kind: "HoldFailed"; } -// export interface ConnectFailed -// extends Omit< -// RestConnectFailed, -// "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" -// > { -// /** Call connection ID. */ -// callConnectionId: string; -// /** Server call ID. */ -// serverCallId: string; -// /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ -// correlationId: string; -// /** Contains the resulting SIP code, sub-code and message. */ -// resultInformation?: RestResultInformation; -// /** kind of this event. */ -// kind: "ConnectFailed"; -// } +export interface ConnectFailed + extends Omit< + RestConnectFailed, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { + /** Call connection ID. */ + callConnectionId: string; + /** Server call ID. */ + serverCallId: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** kind of this event. */ + kind: "ConnectFailed"; +} export interface MediaStreamingStarted extends Omit< @@ -738,3 +744,57 @@ export interface StartRecordingFailed /** kind of this event. */ kind: "StartRecordingFailed"; } + +/** Event when Media play was successfully started. */ +export interface PlayStarted + extends Omit< + RestPlayStarted, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { + /** Call connection ID. */ + callConnectionId: string; + /** Server call ID. */ + serverCallId: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: ResultInformation; + /** kind of this event. */ + kind: "PlayStarted"; +} + +/** Event when Media play was successfully paused. */ +export interface PlayPaused + extends Omit< + RestPlayPaused, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { + /** Call connection ID. */ + callConnectionId: string; + /** Server call ID. */ + serverCallId: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: ResultInformation; + /** kind of this event. */ + kind: "PlayPaused"; +} + +/** Event when Media play was successfully paused. */ +export interface PlayResumed + extends Omit< + RestPlayResumed, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { + /** Call connection ID. */ + callConnectionId: string; + /** Server call ID. */ + serverCallId: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: ResultInformation; + /** kind of this event. */ + kind: "PlayResumed"; +} diff --git a/sdk/communication/communication-call-automation/src/models/options.ts b/sdk/communication/communication-call-automation/src/models/options.ts index 41d97ed017c3..3508180e33a1 100644 --- a/sdk/communication/communication-call-automation/src/models/options.ts +++ b/sdk/communication/communication-call-automation/src/models/options.ts @@ -361,6 +361,13 @@ export interface StartTranscriptionOptions extends OperationOptions { locale?: string; /** The value to identify context of the operation. */ operationContext?: string; + /** Endpoint where the custom model was deployed. */ + speechRecognitionModelEndpointId?: string; + /** + * Set a callback URL 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. + */ + operationCallbackUrl?: string; } /** @@ -369,6 +376,11 @@ export interface StartTranscriptionOptions extends OperationOptions { export interface StopTranscriptionOptions extends OperationOptions { /** The value to identify context of the operation. */ operationContext?: string; + /** + * Set a callback URL 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. + */ + operationCallbackUrl?: string; } /** @@ -423,4 +435,21 @@ export interface StopMediaStreamingOptions extends OperationOptions { * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. */ operationCallbackUrl?: string; + /** The value to identify context of the operation. */ + operationContext?: string; +} + +/** + * Options to update transcription + */ +export interface UpdateTranscriptionOptions extends OperationOptions { + /** Endpoint where the custom model was deployed. */ + speechRecognitionModelEndpointId?: string; + /** The value to identify context of the operation. */ + operationContext?: string; + /** + * Set a callback URL 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. + */ + operationCallbackUrl?: string; } diff --git a/sdk/communication/communication-call-automation/swagger/README.md b/sdk/communication/communication-call-automation/swagger/README.md index f9434234ba33..99d5689582ff 100644 --- a/sdk/communication/communication-call-automation/swagger/README.md +++ b/sdk/communication/communication-call-automation/swagger/README.md @@ -13,7 +13,7 @@ license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../src/generated tag: package-2024-09-01-preview require: - - https://github.com/Azure/azure-rest-api-specs/blob/3499ad1477c912c8f8682d7510bf03e160ffc136/specification/communication/data-plane/CallAutomation/readme.md + - https://github.com/Azure/azure-rest-api-specs/blob/7347874bc2794b2770c3e7618bd1a5ccab53cb54/specification/communication/data-plane/CallAutomation/readme.md package-version: 1.3.0-beta.1 model-date-time-as-string: false optional-response-headers: true @@ -179,7 +179,15 @@ directive: - rename-model: from: StartRecordingFailed to: RestStartRecordingFailed - + - rename-model: + from: PlayStarted + to: RestPlayStarted + - rename-model: + from: PlayPaused + to: RestPlayPaused + - rename-model: + from: PlayResumed + to: RestPlayResumed ``` ```yaml From b33e3fa9441ab975db245c51efbb2d23b5fd166a Mon Sep 17 00:00:00 2001 From: Vinothini Dharmaraj Date: Thu, 5 Dec 2024 14:39:14 -0800 Subject: [PATCH 06/16] updating version --- .../CHANGELOG.md | 54 ++++++++++++++----- .../package.json | 2 +- .../swagger/README.md | 2 +- 3 files changed, 44 insertions(+), 14 deletions(-) diff --git a/sdk/communication/communication-call-automation/CHANGELOG.md b/sdk/communication/communication-call-automation/CHANGELOG.md index 52f3abbe8aca..5a8cb4f6819d 100644 --- a/sdk/communication/communication-call-automation/CHANGELOG.md +++ b/sdk/communication/communication-call-automation/CHANGELOG.md @@ -1,33 +1,63 @@ # Release History -## 1.4.0-beta.1 (Unreleased) +## 1.4.0-beta.2 (Unreleased) ### Features Added -- Support multiple play sources for Play and Recognize -- Support for the real time transcription -- Monetization for real-time transcription and audio streaming -- Hold and Unhold the participant -- Support to manage the rooms/servercall/group call using connect API -- Support for the audio streaming -- Expose original PSTN number target from incoming call event in call connection properties - ### Breaking Changes ### Bugs Fixed ### Other Changes -## 1.3.0-beta.1 (Unreleased) +## 1.4.0-beta.1 (2024-11-22) ### Features Added -### Breaking Changes +- Added support for ConnectAPI to enable streaming and real-time transcription +- Enhanced media streaming with bidirectional capabilities, enabling support for audio formats in both directions. Currently, it supports sample rates of 24kHz and 16kHz -### Bugs Fixed +### Other Changes + +- Introduced audio streaming and transcription data parsing capabilities. + +## 1.3.0 (2024-11-22) + +### Features Added + +- Support multiple play sources for Play and Recognize +- Support for PlayStarted event in Play/Recognize +- Hold and Unhold the participant +- CallDisconnected now includes more information on why the call has ended +- Support to manage the rooms/servercall/group call using connect API +- Expose original PSTN number target from incoming call event in call connection properties +- Support for VoIP to PSTN transfer scenario ### Other Changes +- Added CreateCallFailed event to signify when create call API fails to establish a call +- Added AnswerFailed event to signify when answer call API fails to answer a call + +## 1.3.0-beta.2 (2024-08-12) + +### Bugs Fixed + +- Group call now support the audio streaming + +## 1.3.0-beta.1 (2024-08-02) + +### Features Added + +- Support multiple play sources for Play and Recognize +- Support for PlayStarted event in Play/Recognize +- Support for the real time transcription +- Monetization for real-time transcription and audio streaming +- Hold and Unhold the participant +- Support to manage the rooms/servercall/group call using connect API +- Support for the audio streaming +- Expose original PSTN number target from incoming call event in call connection properties +- Support for VoIP to PSTN transfer scenario + ## 1.2.0 (2024-04-15) ### Features Added diff --git a/sdk/communication/communication-call-automation/package.json b/sdk/communication/communication-call-automation/package.json index 2e980b678afb..44360955bc0c 100644 --- a/sdk/communication/communication-call-automation/package.json +++ b/sdk/communication/communication-call-automation/package.json @@ -1,6 +1,6 @@ { "name": "@azure/communication-call-automation", - "version": "1.3.0-beta.1", + "version": "1.4.0-beta.2", "description": "Azure client library for Azure Communication Call Automation services", "sdk-type": "client", "main": "./dist/commonjs/index.js", diff --git a/sdk/communication/communication-call-automation/swagger/README.md b/sdk/communication/communication-call-automation/swagger/README.md index 99d5689582ff..a8f42599a941 100644 --- a/sdk/communication/communication-call-automation/swagger/README.md +++ b/sdk/communication/communication-call-automation/swagger/README.md @@ -14,7 +14,7 @@ output-folder: ../src/generated tag: package-2024-09-01-preview require: - https://github.com/Azure/azure-rest-api-specs/blob/7347874bc2794b2770c3e7618bd1a5ccab53cb54/specification/communication/data-plane/CallAutomation/readme.md -package-version: 1.3.0-beta.1 +package-version: 1.4.0-beta.2 model-date-time-as-string: false optional-response-headers: true typescript: true From cdf435ae4dc7901fabb42b2b3230d904acf0468d Mon Sep 17 00:00:00 2001 From: Vinothini Dharmaraj Date: Thu, 5 Dec 2024 16:47:22 -0800 Subject: [PATCH 07/16] updating the test records --- .../communication-call-automation/assets.json | 2 +- ...a_participant_and_get_call_properties.json | 352 ++++++--- ...ipant_cancels_add_participant_request.json | 139 ++-- ...tion_Live_Tests_List_all_participants.json | 127 ++-- ...nection_Live_Tests_Mute_a_participant.json | 693 ++++++++++++++---- ...ction_Live_Tests_Remove_a_participant.json | 190 +++-- ...a_call,_start_recording,_and_hangs_up.json | 450 ++++++++++-- ...t_Live_Tests_Create_a_call_and_hangup.json | 130 ++-- ...on_Main_Client_Live_Tests_Reject_call.json | 42 +- ...,_start_media_streaming,_and_hangs_up.json | 266 +++++++ ...ll,_start_transcription,_and_hangs_up.json | 266 +++++++ ...ive_Tests_Cancel_all_media_operations.json | 168 +++-- ..._start_media_streaming,_and_hangs_up..json | 266 +++++++ ...l,_start_transcription,_and_hangs_up..json | 266 +++++++ ...sts_Hold_Unhold_participant_in_a_call.json | 618 ++++++++++++++++ ..._Tests_Play_audio_to_all_participants.json | 161 ++-- ...ests_Play_audio_to_target_participant.json | 209 ++++-- ...bined_text_and_file_sources_with_play.json | 310 ++++++++ ...ed_text_and_file_sources_with_playall.json | 214 ++++++ ...le_file_sources_with_play_and_playall.json | 214 ++++++ ..._Play_multiple_text_sources_with_play.json | 406 ++++++++++ ...ay_multiple_text_sources_with_playall.json | 214 ++++++ ...ive_Tests_Play_wrong_source_with_play.json | 479 ++++++++++++ ..._Tests_Play_wrong_source_with_playall.json | 239 ++++++ ...lient_Live_Tests_Trigger_DTMF_actions.json | 140 ++-- .../src/callConnection.ts | 1 + .../src/callRecording.ts | 18 +- .../generated/src/callAutomationApiClient.ts | 2 +- .../test/utils/recordedClient.ts | 1 + 29 files changed, 5711 insertions(+), 872 deletions(-) create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json diff --git a/sdk/communication/communication-call-automation/assets.json b/sdk/communication/communication-call-automation/assets.json index 8fc7f9c9d870..ed9d8d95c2b2 100644 --- a/sdk/communication/communication-call-automation/assets.json +++ b/sdk/communication/communication-call-automation/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "js", "TagPrefix": "js/communication/communication-call-automation", - "Tag": "js/communication/communication-call-automation_22a209c61b" + "Tag": "js/communication/communication-call-automation_e7387b6cc4" } diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json index 7460358624e5..80b767c6b50d 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json @@ -22,10 +22,33 @@ [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", + "source": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "addParticipantsCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "0f001d80-aae2-4fab-be21-ac58341ba5dd", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:05:12.4679426+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "participants": [ { "identifier": { @@ -51,45 +74,53 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "0f001d80-aae2-4fab-be21-ac58341ba5dd", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:37:40.4102928+00:00", + "time": "2024-12-06T00:05:12.489298+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" + "subject": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", + "source": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", + "version": "2024-09-01-preview", "operationContext": "addParticipantsAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-5109-49a7-a383-10c99342351f", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-d63c-49be-8bb0-d9048f8d27eb", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-03-08T21:37:40.3634744+00:00", + "time": "2024-12-06T00:05:12.460193+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f" + "subject": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", + "source": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", "participants": [ { "identifier": { @@ -115,36 +146,21 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-5109-49a7-a383-10c99342351f", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-d63c-49be-8bb0-d9048f8d27eb", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:37:40.3947633+00:00", + "time": "2024-12-06T00:05:12.7992548+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", - "operationContext": "addParticipantsCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-03-08T21:37:40.4102928+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" + "subject": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb" } ], { @@ -170,31 +186,92 @@ [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "source": "calling/callConnections/13002180-26fe-4ead-bcb8-4785921da1ed", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "version": "2024-09-01-preview", "operationContext": "addParticipantsAnswer2", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-26fe-4ead-bcb8-4785921da1ed", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-03-08T21:37:48.6373583+00:00", + "time": "2024-12-06T00:05:19.2542016+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-26fe-4ead-bcb8-4785921da1ed" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 4, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "0f001d80-aae2-4fab-be21-ac58341ba5dd", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:05:19.5166507+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9" + "subject": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", + "source": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd", "type": "Microsoft.Communication.AddParticipantSucceeded", "data": { - "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", - "operationContext": "addParticipants", "participant": { "rawId": "sanitized", "kind": "communicationUser", @@ -202,25 +279,30 @@ "id": "sanitized" } }, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", + "version": "2024-09-01-preview", + "operationContext": "addParticipants", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "0f001d80-aae2-4fab-be21-ac58341ba5dd", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" }, - "time": "2024-03-08T21:37:48.9655424+00:00", + "time": "2024-12-06T00:05:19.5182102+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" + "subject": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", + "source": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", "participants": [ { "identifier": { @@ -256,26 +338,30 @@ "isOnHold": false } ], - "sequenceNumber": 3, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-5109-49a7-a383-10c99342351f", + "sequenceNumber": 4, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-d63c-49be-8bb0-d9048f8d27eb", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:37:48.9655424+00:00", + "time": "2024-12-06T00:05:19.5576497+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f" + "subject": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "source": "calling/callConnections/13002180-26fe-4ead-bcb8-4785921da1ed", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", "participants": [ { "identifier": { @@ -311,26 +397,30 @@ "isOnHold": false } ], - "sequenceNumber": 4, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-26fe-4ead-bcb8-4785921da1ed", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:37:49.0592372+00:00", + "time": "2024-12-06T00:05:19.6533672+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9" + "subject": "calling/callConnections/13002180-26fe-4ead-bcb8-4785921da1ed" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", + "source": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "participants": [ { "identifier": { @@ -366,26 +456,30 @@ "isOnHold": false } ], - "sequenceNumber": 3, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "0f001d80-aae2-4fab-be21-ac58341ba5dd", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:37:48.9655424+00:00", + "time": "2024-12-06T00:05:19.8458113+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" + "subject": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", + "source": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "participants": [ { "identifier": { @@ -421,26 +515,30 @@ "isOnHold": false } ], - "sequenceNumber": 5, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", + "sequenceNumber": 6, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "0f001d80-aae2-4fab-be21-ac58341ba5dd", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:37:49.5593014+00:00", + "time": "2024-12-06T00:05:20.2046149+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" + "subject": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "source": "calling/callConnections/13002180-26fe-4ead-bcb8-4785921da1ed", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", "participants": [ { "identifier": { @@ -476,26 +574,30 @@ "isOnHold": false } ], - "sequenceNumber": 5, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "sequenceNumber": 8, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-26fe-4ead-bcb8-4785921da1ed", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:37:49.6374189+00:00", + "time": "2024-12-06T00:05:20.1905941+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9" + "subject": "calling/callConnections/13002180-26fe-4ead-bcb8-4785921da1ed" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", + "source": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", "participants": [ { "identifier": { @@ -531,17 +633,81 @@ "isOnHold": false } ], - "sequenceNumber": 4, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-5109-49a7-a383-10c99342351f", + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-d63c-49be-8bb0-d9048f8d27eb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:05:20.1100794+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "0f001d80-aae2-4fab-be21-ac58341ba5dd", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:37:49.5593014+00:00", + "time": "2024-12-06T00:05:20.5422323+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f" + "subject": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json index 533bf983ca4f..7a7bbf3be12d 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json @@ -22,30 +22,9 @@ [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871", - "operationContext": "cancelAddCreateAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-b2ae-42ed-93d9-260c55a41871", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-03-08T21:38:23.8905626+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871", + "source": "calling/callConnections/0f001d80-85ef-4732-85d0-7e85101864b9", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871", "participants": [ { "identifier": { @@ -71,25 +50,77 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-b2ae-42ed-93d9-260c55a41871", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "0f001d80-85ef-4732-85d0-7e85101864b9", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:23.9061909+00:00", + "time": "2024-12-06T00:05:53.0591015+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/0f001d80-85ef-4732-85d0-7e85101864b9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/0f001d80-85ef-4732-85d0-7e85101864b9", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "cancelAddCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "0f001d80-85ef-4732-85d0-7e85101864b9", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:05:53.0793848+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871" + "subject": "calling/callConnections/0f001d80-85ef-4732-85d0-7e85101864b9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", + "source": "calling/callConnections/13002180-ca5c-4a80-976b-8d51e756484d", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "cancelAddCreateAnswer", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-ca5c-4a80-976b-8d51e756484d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:05:53.0764011+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-ca5c-4a80-976b-8d51e756484d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-ca5c-4a80-976b-8d51e756484d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", "participants": [ { "identifier": { @@ -115,56 +146,46 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-71de-46ae-8a08-62b2325ab09b", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-ca5c-4a80-976b-8d51e756484d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:23.9531188+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", - "operationContext": "cancelAddCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-71de-46ae-8a08-62b2325ab09b", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-03-08T21:38:23.9531188+00:00", + "time": "2024-12-06T00:05:53.1062381+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b" + "subject": "calling/callConnections/13002180-ca5c-4a80-976b-8d51e756484d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", + "source": "calling/callConnections/0f001d80-85ef-4732-85d0-7e85101864b9", "type": "Microsoft.Communication.CancelAddParticipantSucceeded", "data": { - "invitationId": "313f266e-c54a-4843-88a6-84a66b1b8f57", - "operationContext": "cancelAdd", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-71de-46ae-8a08-62b2325ab09b", + "invitationId": "8389dae0-f9fa-4d99-867f-05561a468628", + "version": "2024-09-01-preview", + "operationContext": "cancelOp", + "resultInformation": { + "code": 200, + "subCode": 5300, + "message": "addParticipants failed for participant 8:acs:1bdaa2b9-9507-4542-bb64-a7b22c00a8d4_00000024-392b-3181-ec8d-084822008710. Underlying reason: The conversation has ended. DiagCode: 0#5300.@" + }, + "callConnectionId": "0f001d80-85ef-4732-85d0-7e85101864b9", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CancelAddParticipantSucceeded" }, - "time": "2024-03-08T21:38:28.7198819+00:00", + "time": "2024-12-06T00:05:58.0011362+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b" + "subject": "calling/callConnections/0f001d80-85ef-4732-85d0-7e85101864b9" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json index 7d6f59f4a35e..9cc5b746dea3 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json @@ -22,63 +22,9 @@ [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", - "operationContext": "listParticipantsAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-065e-4aa6-bc19-013d801ead79", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-03-08T21:37:32.4250079+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "eventSource": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 0, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-065e-4aa6-bc19-013d801ead79", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-03-08T21:37:32.4250079+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605", + "source": "calling/callConnections/13001d80-07b1-4ce3-8dd4-9252ad0d7991", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605", "participants": [ { "identifier": { @@ -104,45 +50,53 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-b014-4eca-b06f-c8dfe2337605", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13001d80-07b1-4ce3-8dd4-9252ad0d7991", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:37:32.4876083+00:00", + "time": "2024-12-06T00:05:04.9207632+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605" + "subject": "calling/callConnections/13001d80-07b1-4ce3-8dd4-9252ad0d7991" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605", + "source": "calling/callConnections/13001d80-07b1-4ce3-8dd4-9252ad0d7991", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605", - "operationContext": "listParticipantsCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-b014-4eca-b06f-c8dfe2337605", + "version": "2024-09-01-preview", + "operationContext": "listParticipantsAnswer", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13001d80-07b1-4ce3-8dd4-9252ad0d7991", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-03-08T21:37:32.4876083+00:00", + "time": "2024-12-06T00:05:04.9797928+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605" + "subject": "calling/callConnections/13001d80-07b1-4ce3-8dd4-9252ad0d7991" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", + "source": "calling/callConnections/2c001d80-b9cc-4b25-a467-d0f5b57ef2cb", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", "participants": [ { "identifier": { @@ -168,16 +122,45 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-065e-4aa6-bc19-013d801ead79", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "2c001d80-b9cc-4b25-a467-d0f5b57ef2cb", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:37:33.0188504+00:00", + "time": "2024-12-06T00:05:04.9240407+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c001d80-b9cc-4b25-a467-d0f5b57ef2cb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c001d80-b9cc-4b25-a467-d0f5b57ef2cb", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "listParticipantsCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "2c001d80-b9cc-4b25-a467-d0f5b57ef2cb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:05:05.0259865+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79" + "subject": "calling/callConnections/2c001d80-b9cc-4b25-a467-d0f5b57ef2cb" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json index 2b4a1b9d9321..238e8913e2ee 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json @@ -22,29 +22,9 @@ [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-03-08T21:38:06.5154356+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -70,25 +50,29 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:06.5310077+00:00", + "time": "2024-12-06T00:05:34.7926515+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" + "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "participants": [ { "identifier": { @@ -114,35 +98,67 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:06.7810657+00:00", + "time": "2024-12-06T00:05:34.7871198+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:05:34.9168728+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" + "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-03-08T21:38:06.7966563+00:00", + "time": "2024-12-06T00:05:34.92599+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" + "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" } ], { @@ -168,30 +184,32 @@ [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "source": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-3106-4bd4-9c8e-90dcfd4e6d6f", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-03-08T21:38:13.968592+00:00", + "time": "2024-12-06T00:05:42.0992081+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" + "subject": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", "type": "Microsoft.Communication.AddParticipantSucceeded", "data": { - "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", - "operationContext": "addParticipant", "participant": { "rawId": "sanitized", "kind": "communicationUser", @@ -199,25 +217,30 @@ "id": "sanitized" } }, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "version": "2024-09-01-preview", + "operationContext": "addParticipant", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" }, - "time": "2024-03-08T21:38:14.218591+00:00", + "time": "2024-12-06T00:05:42.4447277+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" + "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "source": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "participants": [ { "identifier": { @@ -253,26 +276,30 @@ "isOnHold": false } ], - "sequenceNumber": 3, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-3106-4bd4-9c8e-90dcfd4e6d6f", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:14.218591+00:00", + "time": "2024-12-06T00:05:42.4630348+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" + "subject": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -308,26 +335,30 @@ "isOnHold": false } ], - "sequenceNumber": 3, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "sequenceNumber": 4, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:14.218591+00:00", + "time": "2024-12-06T00:05:42.4413869+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" + "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "participants": [ { "identifier": { @@ -363,26 +394,30 @@ "isOnHold": false } ], - "sequenceNumber": 3, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "sequenceNumber": 4, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:14.218591+00:00", + "time": "2024-12-06T00:05:42.4313671+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" + "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "source": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "participants": [ { "identifier": { @@ -418,26 +453,30 @@ "isOnHold": false } ], - "sequenceNumber": 4, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "sequenceNumber": 6, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-3106-4bd4-9c8e-90dcfd4e6d6f", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:14.8123462+00:00", + "time": "2024-12-06T00:05:43.0270789+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" + "subject": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "participants": [ { "identifier": { @@ -473,26 +512,30 @@ "isOnHold": false } ], - "sequenceNumber": 4, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "sequenceNumber": 6, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:14.827968+00:00", + "time": "2024-12-06T00:05:42.9894286+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" + "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -528,26 +571,30 @@ "isOnHold": false } ], - "sequenceNumber": 4, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "sequenceNumber": 6, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:14.827968+00:00", + "time": "2024-12-06T00:05:43.0045061+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" + "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "participants": [ { "identifier": { @@ -583,26 +630,30 @@ "isOnHold": false } ], - "sequenceNumber": 5, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:15.4061534+00:00", + "time": "2024-12-06T00:05:43.5521867+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" + "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "source": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "participants": [ { "identifier": { @@ -638,26 +689,30 @@ "isOnHold": false } ], - "sequenceNumber": 5, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-3106-4bd4-9c8e-90dcfd4e6d6f", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:15.4217244+00:00", + "time": "2024-12-06T00:05:43.5914335+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" + "subject": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -693,26 +748,30 @@ "isOnHold": false } ], - "sequenceNumber": 5, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "sequenceNumber": 6, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:15.4217244+00:00", + "time": "2024-12-06T00:05:43.5680718+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" + "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "participants": [ { "identifier": { @@ -748,26 +807,30 @@ "isOnHold": false } ], - "sequenceNumber": 6, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:15.9999232+00:00", + "time": "2024-12-06T00:05:44.1198163+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" + "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "participants": [ { "identifier": { @@ -803,26 +866,30 @@ "isOnHold": false } ], - "sequenceNumber": 6, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "sequenceNumber": 8, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:15.9999232+00:00", + "time": "2024-12-06T00:05:44.0938348+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" + "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "source": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -858,26 +925,30 @@ "isOnHold": false } ], - "sequenceNumber": 6, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "sequenceNumber": 8, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-3106-4bd4-9c8e-90dcfd4e6d6f", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:16.0467512+00:00", + "time": "2024-12-06T00:05:44.2644654+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" + "subject": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "participants": [ { "identifier": { @@ -898,7 +969,7 @@ "id": "sanitized" } }, - "isMuted": true, + "isMuted": false, "isOnHold": false }, { @@ -913,26 +984,30 @@ "isOnHold": false } ], - "sequenceNumber": 7, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "sequenceNumber": 8, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:16.5780399+00:00", + "time": "2024-12-06T00:05:44.6529905+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" + "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "participants": [ { "identifier": { @@ -953,7 +1028,7 @@ "id": "sanitized" } }, - "isMuted": true, + "isMuted": false, "isOnHold": false }, { @@ -968,26 +1043,266 @@ "isOnHold": false } ], - "sequenceNumber": 7, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "sequenceNumber": 8, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:05:44.6552765+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 9, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:05:44.9970108+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 9, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:05:45.1981365+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 9, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:05:45.2284077+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": true, + "isOnHold": false + } + ], + "sequenceNumber": 10, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-3106-4bd4-9c8e-90dcfd4e6d6f", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:16.6092362+00:00", + "time": "2024-12-06T00:05:45.5642074+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" + "subject": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -1000,6 +1315,17 @@ "isMuted": false, "isOnHold": false }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, { "identifier": { "rawId": "sanitized", @@ -1010,6 +1336,43 @@ }, "isMuted": true, "isOnHold": false + } + ], + "sequenceNumber": 10, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:05:45.7650329+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -1021,19 +1384,35 @@ }, "isMuted": false, "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": true, + "isOnHold": false } ], - "sequenceNumber": 7, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "sequenceNumber": 10, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:16.6249232+00:00", + "time": "2024-12-06T00:05:45.7806707+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" + "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json index 0341a2677d81..84eefd5a3fd7 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json @@ -22,30 +22,9 @@ [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", - "operationContext": "removeParticipantCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-9791-41e0-8604-56e89212b4b9", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-03-08T21:37:57.6687101+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", + "source": "calling/callConnections/13002180-7727-41a3-a81e-654630cf7bfd", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", "participants": [ { "identifier": { @@ -71,45 +50,29 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-9791-41e0-8604-56e89212b4b9", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-7727-41a3-a81e-654630cf7bfd", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:37:57.6843442+00:00", + "time": "2024-12-06T00:05:26.3917333+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9" + "subject": "calling/callConnections/13002180-7727-41a3-a81e-654630cf7bfd" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", - "operationContext": "removeParticipantsAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-60ad-44f0-a298-0c82455f948b", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-03-08T21:37:57.6687101+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", + "source": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", "participants": [ { "identifier": { @@ -135,83 +98,148 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-60ad-44f0-a298-0c82455f948b", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-a1a3-4b74-bd2a-1413102f6383", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:37:57.6843442+00:00", + "time": "2024-12-06T00:05:26.3917333+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b" + "subject": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", - "type": "Microsoft.Communication.RemoveParticipantSucceeded", + "source": "calling/callConnections/13002180-7727-41a3-a81e-654630cf7bfd", + "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", - "operationContext": "removeParticipants", - "participant": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } + "version": "2024-09-01-preview", + "operationContext": "removeParticipantsAnswer", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-9791-41e0-8604-56e89212b4b9", + "callConnectionId": "13002180-7727-41a3-a81e-654630cf7bfd", "serverCallId": "sanitized", "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.RemoveParticipantSucceeded" + "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-03-08T21:37:59.1843522+00:00", + "time": "2024-12-06T00:05:26.5439484+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9" + "subject": "calling/callConnections/13002180-7727-41a3-a81e-654630cf7bfd" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", + "source": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "removeParticipantCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-a1a3-4b74-bd2a-1413102f6383", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:05:26.5699098+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", - "operationContext": "removeParticipantsAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-60ad-44f0-a298-0c82455f948b", + "version": "2024-09-01-preview", + "operationContext": "removeParticipantCreateCall", + "resultInformation": { + "code": 200, + "subCode": 5002, + "message": "The conversation has ended. DiagCode: 0#5002.@" + }, + "callConnectionId": "13002180-a1a3-4b74-bd2a-1413102f6383", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-03-08T21:37:59.2468533+00:00", + "time": "2024-12-06T00:05:28.3382633+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b" + "subject": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", + "source": "calling/callConnections/13002180-7727-41a3-a81e-654630cf7bfd", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", - "operationContext": "removeParticipantCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-9791-41e0-8604-56e89212b4b9", + "version": "2024-09-01-preview", + "operationContext": "removeParticipantsAnswer", + "resultInformation": { + "code": 200, + "subCode": 5300, + "message": "The conversation has ended. DiagCode: 0#5300.@" + }, + "callConnectionId": "13002180-7727-41a3-a81e-654630cf7bfd", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-03-08T21:37:59.6062835+00:00", + "time": "2024-12-06T00:05:28.3301293+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7727-41a3-a81e-654630cf7bfd" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383", + "type": "Microsoft.Communication.RemoveParticipantSucceeded", + "data": { + "participant": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "version": "2024-09-01-preview", + "operationContext": "removeParticipants", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-a1a3-4b74-bd2a-1413102f6383", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.RemoveParticipantSucceeded" + }, + "time": "2024-12-06T00:05:28.3301293+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9" + "subject": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json index 765177979ce2..7a96254eb421 100644 --- a/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json +++ b/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json @@ -22,10 +22,33 @@ [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", + "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "recordingCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:05:05.716136+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "participants": [ { "identifier": { @@ -51,45 +74,53 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:39:29.5080308+00:00", + "time": "2024-12-06T00:05:05.7332342+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" + "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", + "source": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", + "version": "2024-09-01-preview", "operationContext": "recordingAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-a412-49ee-96dc-449687ffd65b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-03-08T21:39:29.5080308+00:00", + "time": "2024-12-06T00:05:05.6821771+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" + "subject": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", + "source": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "participants": [ { "identifier": { @@ -115,45 +146,53 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-a412-49ee-96dc-449687ffd65b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:39:29.5861543+00:00", + "time": "2024-12-06T00:05:06.0327036+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" + "subject": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", - "type": "Microsoft.Communication.CallConnected", + "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", + "type": "Microsoft.Communication.PlayStarted", "data": { - "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", - "operationContext": "recordingCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", + "version": "2024-09-01-preview", + "operationContext": "recordingPlay", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", "serverCallId": "sanitized", "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" + "publicEventType": "Microsoft.Communication.PlayStarted" }, - "time": "2024-03-08T21:39:29.5861543+00:00", + "time": "2024-12-06T00:05:07.3307845+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" + "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", + "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "participants": [ { "identifier": { @@ -179,25 +218,29 @@ } ], "sequenceNumber": 3, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:39:34.6831704+00:00", + "time": "2024-12-06T00:05:10.7681729+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" + "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", + "source": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "participants": [ { "identifier": { @@ -223,48 +266,57 @@ } ], "sequenceNumber": 3, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-a412-49ee-96dc-449687ffd65b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:39:34.6831704+00:00", + "time": "2024-12-06T00:05:10.8067657+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" + "subject": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b" } ], [ { "id": "sanitized", - "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLmNvbnYuc2t5cGUuY29tL2NvbnYvYUJ3NVNTLXpSa0c0a1d5OGVzVGJXQT9pPTMzJmU9NjM4NDU1MzAwNjYzMTg0NDc0/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MjFmMGIwMC1lZDQyLTQxZjAtOWNiYy00OGZmZGEwODAxMjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI2NzE3ZmE2MS03YTFmLTQ0MzEtYWE1ZS1hMDYwM2E1MjBhNDIifQ/RecordingStateChanged", + "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qYW9ZTVRJaHVFV0xEMDhMa3ZoTFJBP2k9MTAtNjAtMTMtMjQ1JmU9NjM4NjczMDE4NzE5NjIxMTEy/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ/RecordingStateChanged", "type": "Microsoft.Communication.RecordingStateChanged", "data": { - "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLmNvbnYuc2t5cGUuY29tL2NvbnYvYUJ3NVNTLXpSa0c0a1d5OGVzVGJXQT9pPTMzJmU9NjM4NDU1MzAwNjYzMTg0NDc0/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MjFmMGIwMC1lZDQyLTQxZjAtOWNiYy00OGZmZGEwODAxMjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI2NzE3ZmE2MS03YTFmLTQ0MzEtYWE1ZS1hMDYwM2E1MjBhNDIifQ/RecordingStateChanged", - "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MjFmMGIwMC1lZDQyLTQxZjAtOWNiYy00OGZmZGEwODAxMjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI2NzE3ZmE2MS03YTFmLTQ0MzEtYWE1ZS1hMDYwM2E1MjBhNDIifQ", - "state": "active", - "startDateTime": "2024-03-08T21:39:34.3666276+00:00", - "recordingType": "acs", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-ed42-41f0-9cbc-48ffda080121", + "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qYW9ZTVRJaHVFV0xEMDhMa3ZoTFJBP2k9MTAtNjAtMTMtMjQ1JmU9NjM4NjczMDE4NzE5NjIxMTEy/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ/RecordingStateChanged", + "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ", + "state": "inactive", + "startDateTime": "0001-01-01T00:00:00+00:00", + "recordingKind": "azureCommunicationServices", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-7d82-46d8-ac91-c3ae7c10cc8f", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.RecordingStateChanged" }, - "time": "2024-03-08T21:39:34.6831704+00:00", + "time": "2024-12-06T00:05:10.8874261+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLmNvbnYuc2t5cGUuY29tL2NvbnYvYUJ3NVNTLXpSa0c0a1d5OGVzVGJXQT9pPTMzJmU9NjM4NDU1MzAwNjYzMTg0NDc0/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MjFmMGIwMC1lZDQyLTQxZjAtOWNiYy00OGZmZGEwODAxMjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI2NzE3ZmE2MS03YTFmLTQ0MzEtYWE1ZS1hMDYwM2E1MjBhNDIifQ/RecordingStateChanged" + "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qYW9ZTVRJaHVFV0xEMDhMa3ZoTFJBP2k9MTAtNjAtMTMtMjQ1JmU9NjM4NjczMDE4NzE5NjIxMTEy/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ/RecordingStateChanged" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", + "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "participants": [ { "identifier": { @@ -290,25 +342,105 @@ } ], "sequenceNumber": 4, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:39:35.3394745+00:00", + "time": "2024-12-06T00:05:11.1536211+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" + "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", + "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qYW9ZTVRJaHVFV0xEMDhMa3ZoTFJBP2k9MTAtNjAtMTMtMjQ1JmU9NjM4NjczMDE4NzE5NjIxMTEy/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ/RecordingStateChanged", + "type": "Microsoft.Communication.RecordingStateChanged", + "data": { + "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qYW9ZTVRJaHVFV0xEMDhMa3ZoTFJBP2k9MTAtNjAtMTMtMjQ1JmU9NjM4NjczMDE4NzE5NjIxMTEy/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ/RecordingStateChanged", + "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ", + "state": "active", + "startDateTime": "2024-12-06T00:05:10.4917721+00:00", + "recordingKind": "azureCommunicationServices", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-7d82-46d8-ac91-c3ae7c10cc8f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.RecordingStateChanged" + }, + "time": "2024-12-06T00:05:11.012734+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qYW9ZTVRJaHVFV0xEMDhMa3ZoTFJBP2k9MTAtNjAtMTMtMjQ1JmU9NjM4NjczMDE4NzE5NjIxMTEy/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ/RecordingStateChanged" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:05:11.4934388+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "participants": [ { "identifier": { @@ -334,50 +466,53 @@ } ], "sequenceNumber": 4, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-a412-49ee-96dc-449687ffd65b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:39:35.3394745+00:00", + "time": "2024-12-06T00:05:11.3592288+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" + "subject": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", + "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", "type": "Microsoft.Communication.PlayCompleted", "data": { - "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", + "version": "2024-09-01-preview", + "operationContext": "recordingPlay", "resultInformation": { "code": 200, "subCode": 0, "message": "Action completed successfully." }, - "operationContext": "recordingPlay", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", + "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-03-08T21:39:35.3550509+00:00", + "time": "2024-12-06T00:05:11.6807887+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" + "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", + "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "participants": [ { "identifier": { @@ -402,26 +537,30 @@ "isOnHold": false } ], - "sequenceNumber": 5, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", + "sequenceNumber": 6, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:39:36.5582401+00:00", + "time": "2024-12-06T00:05:11.8277042+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" + "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", + "source": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "participants": [ { "identifier": { @@ -447,16 +586,165 @@ } ], "sequenceNumber": 5, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-a412-49ee-96dc-449687ffd65b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:05:11.913196+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:05:12.1713336+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 6, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-a412-49ee-96dc-449687ffd65b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:05:12.460193+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-a412-49ee-96dc-449687ffd65b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:39:36.5582401+00:00", + "time": "2024-12-06T00:05:13.1268685+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" + "subject": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json index e490eb496916..4cee5a387226 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json @@ -22,30 +22,9 @@ [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", - "operationContext": "operationContextAnswerCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-8403-4066-abe5-59b513c6c993", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-03-08T21:37:18.0158141+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", + "source": "calling/callConnections/0f001d80-a539-44b4-9fbd-15ea04f58239", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", "participants": [ { "identifier": { @@ -71,45 +50,53 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-8403-4066-abe5-59b513c6c993", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "0f001d80-a539-44b4-9fbd-15ea04f58239", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:37:18.0158141+00:00", + "time": "2024-12-06T00:05:05.2840967+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993" + "subject": "calling/callConnections/0f001d80-a539-44b4-9fbd-15ea04f58239" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", + "source": "calling/callConnections/2f001d80-1cea-420b-a209-4dee207ce06b", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", - "operationContext": "operationContextCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", + "version": "2024-09-01-preview", + "operationContext": "operationContextAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "2f001d80-1cea-420b-a209-4dee207ce06b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-03-08T21:37:18.0627211+00:00", + "time": "2024-12-06T00:05:05.2697105+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713" + "subject": "calling/callConnections/2f001d80-1cea-420b-a209-4dee207ce06b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", + "source": "calling/callConnections/2f001d80-1cea-420b-a209-4dee207ce06b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "participants": [ { "identifier": { @@ -135,56 +122,93 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "2f001d80-1cea-420b-a209-4dee207ce06b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:37:18.0627211+00:00", + "time": "2024-12-06T00:05:05.2849805+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2f001d80-1cea-420b-a209-4dee207ce06b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/0f001d80-a539-44b4-9fbd-15ea04f58239", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "operationContextCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "0f001d80-a539-44b4-9fbd-15ea04f58239", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:05:05.3760872+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713" + "subject": "calling/callConnections/0f001d80-a539-44b4-9fbd-15ea04f58239" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", + "source": "calling/callConnections/0f001d80-a539-44b4-9fbd-15ea04f58239", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", - "operationContext": "operationContextAnswerCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-8403-4066-abe5-59b513c6c993", + "version": "2024-09-01-preview", + "operationContext": "operationContextCreateCall", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "0f001d80-a539-44b4-9fbd-15ea04f58239", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-03-08T21:37:19.7502105+00:00", + "time": "2024-12-06T00:05:06.6025618+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993" + "subject": "calling/callConnections/0f001d80-a539-44b4-9fbd-15ea04f58239" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", + "source": "calling/callConnections/2f001d80-1cea-420b-a209-4dee207ce06b", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", - "operationContext": "operationContextCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", + "version": "2024-09-01-preview", + "operationContext": "operationContextAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 5001, + "message": "This conversation has ended.. DiagCode: 0#5001.@" + }, + "callConnectionId": "2f001d80-1cea-420b-a209-4dee207ce06b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-03-08T21:37:19.7345971+00:00", + "time": "2024-12-06T00:05:06.7146442+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713" + "subject": "calling/callConnections/2f001d80-1cea-420b-a209-4dee207ce06b" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json index 74aee6445616..e8ab687e40fb 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json @@ -22,24 +22,48 @@ [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-d931-441b-bf88-58b09e9de827", + "source": "calling/callConnections/0f001d80-4e53-4ef1-9cfc-4f4177996c61", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "operationContextRejectCall", + "resultInformation": { + "code": 200, + "subCode": 5002, + "message": "The conversation has ended. DiagCode: 0#5002.@" + }, + "callConnectionId": "0f001d80-4e53-4ef1-9cfc-4f4177996c61", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:05:11.7145761+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/0f001d80-4e53-4ef1-9cfc-4f4177996c61" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/0f001d80-4e53-4ef1-9cfc-4f4177996c61", "type": "Microsoft.Communication.CreateCallFailed", "data": { - "eventSource": "calling/callConnections/421f0b00-d931-441b-bf88-58b09e9de827", + "version": "2024-09-01-preview", "resultInformation": { - "code": 603, - "subCode": 0, - "message": "Decline. DiagCode: 603#0.@" + "code": 200, + "subCode": 5002, + "message": "The conversation has ended. DiagCode: 0#5002.@" }, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-d931-441b-bf88-58b09e9de827", + "callConnectionId": "0f001d80-4e53-4ef1-9cfc-4f4177996c61", + "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CreateCallFailed" }, - "time": "2024-03-08T21:37:25.9377797+00:00", + "time": "2024-12-06T00:05:11.7145761+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-d931-441b-bf88-58b09e9de827" + "subject": "calling/callConnections/0f001d80-4e53-4ef1-9cfc-4f4177996c61" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json new file mode 100644 index 000000000000..b83f531bbc75 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json @@ -0,0 +1,266 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "sanitized" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:06:12.0409592+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-3c23-4d70-ab07-efc4ff50c62b", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-3c23-4d70-ab07-efc4ff50c62b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:06:12.0656694+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-3c23-4d70-ab07-efc4ff50c62b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:06:12.0758731+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-3c23-4d70-ab07-efc4ff50c62b", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-3c23-4d70-ab07-efc4ff50c62b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:06:12.1586882+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-3c23-4d70-ab07-efc4ff50c62b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "type": "Microsoft.Communication.MediaStreamingStarted", + "data": { + "mediaStreamingUpdate": { + "contentType": "Audio", + "mediaStreamingStatus": "mediaStreamingStarted", + "mediaStreamingStatusDetails": "subscriptionStarted" + }, + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.MediaStreamingStarted" + }, + "time": "2024-12-06T00:06:14.0328883+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "type": "Microsoft.Communication.MediaStreamingStopped", + "data": { + "mediaStreamingUpdate": { + "contentType": "Audio", + "mediaStreamingStatus": "mediaStreamingStopped", + "mediaStreamingStatusDetails": "subscriptionStopped" + }, + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.MediaStreamingStopped" + }, + "time": "2024-12-06T00:06:15.1939077+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:06:16.2757211+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-3c23-4d70-ab07-efc4ff50c62b", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 5001, + "message": "This conversation has ended.. DiagCode: 0#5001.@" + }, + "callConnectionId": "13002180-3c23-4d70-ab07-efc4ff50c62b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:06:16.2981893+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-3c23-4d70-ab07-efc4ff50c62b" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json new file mode 100644 index 000000000000..6b300dc1cdd3 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json @@ -0,0 +1,266 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "sanitized" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-fe33-40a1-8d85-b3562f602e71", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-fe33-40a1-8d85-b3562f602e71", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:47.8634828+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-fe33-40a1-8d85-b3562f602e71" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-95e4-491c-af2c-2a53f377d2c7", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:47.8569173+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-95e4-491c-af2c-2a53f377d2c7", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:08:47.9193246+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-fe33-40a1-8d85-b3562f602e71", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-fe33-40a1-8d85-b3562f602e71", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:08:47.9508638+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-fe33-40a1-8d85-b3562f602e71" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7", + "type": "Microsoft.Communication.TranscriptionStarted", + "data": { + "transcriptionUpdate": { + "transcriptionStatus": "transcriptionStarted", + "transcriptionStatusDetails": "subscriptionStarted" + }, + "version": "2024-09-01-preview", + "operationContext": "a4d704a3-f98e-475d-b2a3-00c94bad0cab", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-95e4-491c-af2c-2a53f377d2c7", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.TranscriptionStarted" + }, + "time": "2024-12-06T00:08:50.2798502+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7", + "type": "Microsoft.Communication.TranscriptionStopped", + "data": { + "transcriptionUpdate": { + "transcriptionStatus": "transcriptionStopped", + "transcriptionStatusDetails": "subscriptionStopped" + }, + "version": "2024-09-01-preview", + "operationContext": "1099a570-40ae-4da7-b29f-6e0b0aad8914", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-95e4-491c-af2c-2a53f377d2c7", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.TranscriptionStopped" + }, + "time": "2024-12-06T00:08:53.8627134+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "13002180-95e4-491c-af2c-2a53f377d2c7", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:08:53.9281837+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-fe33-40a1-8d85-b3562f602e71", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 5001, + "message": "This conversation has ended.. DiagCode: 0#5001.@" + }, + "callConnectionId": "13002180-fe33-40a1-8d85-b3562f602e71", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:08:53.9480856+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-fe33-40a1-8d85-b3562f602e71" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json index da0cf3e95de1..8e57a250fec2 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json @@ -22,10 +22,9 @@ [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", + "source": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", "participants": [ { "identifier": { @@ -51,65 +50,29 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-9261-412e-a223-4b580dafa91b", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-dd4f-48af-b025-034c8820d695", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:39:05.4893087+00:00", + "time": "2024-12-06T00:05:33.9505349+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b" + "subject": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", - "operationContext": "CancelMediaAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-9261-412e-a223-4b580dafa91b", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-03-08T21:39:05.4893087+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", - "operationContext": "CancelMediaCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-dc54-4538-9eb8-ed6ee263a7db", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-03-08T21:39:05.5674975+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", + "source": "calling/callConnections/13002180-75ab-40a9-8181-d09931d8a303", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "participants": [ { "identifier": { @@ -135,76 +98,141 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-dc54-4538-9eb8-ed6ee263a7db", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-75ab-40a9-8181-d09931d8a303", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:39:05.5674975+00:00", + "time": "2024-12-06T00:05:33.9505349+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-75ab-40a9-8181-d09931d8a303" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "CancelMediaCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-dd4f-48af-b025-034c8820d695", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:05:34.0838419+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-75ab-40a9-8181-d09931d8a303", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "CancelMediaAnswer", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-75ab-40a9-8181-d09931d8a303", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:05:34.1071778+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db" + "subject": "calling/callConnections/13002180-75ab-40a9-8181-d09931d8a303" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", + "source": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695", "type": "Microsoft.Communication.PlayCanceled", "data": { - "eventSource": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", + "version": "2024-09-01-preview", "operationContext": "CancelplayToAllAudio", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-dc54-4538-9eb8-ed6ee263a7db", + "resultInformation": { + "code": 400, + "subCode": 8508, + "message": "Action falied, the operation was cancelled." + }, + "callConnectionId": "13002180-dd4f-48af-b025-034c8820d695", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.PlayCanceled" }, - "time": "2024-03-08T21:39:07.2549531+00:00", + "time": "2024-12-06T00:05:36.0759169+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db" + "subject": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", + "source": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", + "version": "2024-09-01-preview", "operationContext": "CancelMediaCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-dc54-4538-9eb8-ed6ee263a7db", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "13002180-dd4f-48af-b025-034c8820d695", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-03-08T21:39:08.4112185+00:00", + "time": "2024-12-06T00:05:37.2177462+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db" + "subject": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", + "source": "calling/callConnections/13002180-75ab-40a9-8181-d09931d8a303", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", + "version": "2024-09-01-preview", "operationContext": "CancelMediaAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-9261-412e-a223-4b580dafa91b", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "13002180-75ab-40a9-8181-d09931d8a303", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-03-08T21:39:08.4737327+00:00", + "time": "2024-12-06T00:05:37.2382208+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b" + "subject": "calling/callConnections/13002180-75ab-40a9-8181-d09931d8a303" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json new file mode 100644 index 000000000000..d88c5eb74813 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json @@ -0,0 +1,266 @@ +[ + { + "to": { + "kind": "phoneNumber", + "rawId": "sanitized", + "phoneNumber": { + "value": "sanitized" + } + }, + "from": { + "kind": "phoneNumber", + "rawId": "sanitized", + "phoneNumber": { + "value": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "sanitized" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-9fba-4778-bd14-900b6f2c6de3", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-9fba-4778-bd14-900b6f2c6de3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:06:00.5595801+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-9fba-4778-bd14-900b6f2c6de3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-9fba-4778-bd14-900b6f2c6de3", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-9fba-4778-bd14-900b6f2c6de3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:06:00.5494509+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-9fba-4778-bd14-900b6f2c6de3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-320b-459a-bb09-5a3f65371c0f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:06:00.6577179+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-320b-459a-bb09-5a3f65371c0f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:06:00.7508249+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f", + "type": "Microsoft.Communication.MediaStreamingStarted", + "data": { + "mediaStreamingUpdate": { + "contentType": "Audio", + "mediaStreamingStatus": "mediaStreamingStarted", + "mediaStreamingStatusDetails": "subscriptionStarted" + }, + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-320b-459a-bb09-5a3f65371c0f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.MediaStreamingStarted" + }, + "time": "2024-12-06T00:06:03.0773665+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f", + "type": "Microsoft.Communication.MediaStreamingStopped", + "data": { + "mediaStreamingUpdate": { + "contentType": "Audio", + "mediaStreamingStatus": "mediaStreamingStopped", + "mediaStreamingStatusDetails": "subscriptionStopped" + }, + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-320b-459a-bb09-5a3f65371c0f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.MediaStreamingStopped" + }, + "time": "2024-12-06T00:06:04.310534+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "13002180-320b-459a-bb09-5a3f65371c0f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:06:05.4260681+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-9fba-4778-bd14-900b6f2c6de3", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 5002, + "message": "The conversation has ended. DiagCode: 0#5002.@" + }, + "callConnectionId": "13002180-9fba-4778-bd14-900b6f2c6de3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:06:05.6149699+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-9fba-4778-bd14-900b6f2c6de3" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json new file mode 100644 index 000000000000..7c2f56acb283 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json @@ -0,0 +1,266 @@ +[ + { + "to": { + "kind": "phoneNumber", + "rawId": "sanitized", + "phoneNumber": { + "value": "sanitized" + } + }, + "from": { + "kind": "phoneNumber", + "rawId": "sanitized", + "phoneNumber": { + "value": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "sanitized" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-9ae3-4b9a-9709-ba26461e7215", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:35.0915528+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-7a98-4c37-abb1-8c11ae2b7cc9", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-7a98-4c37-abb1-8c11ae2b7cc9", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:08:35.1471044+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7a98-4c37-abb1-8c11ae2b7cc9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-9ae3-4b9a-9709-ba26461e7215", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:08:35.1602681+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-7a98-4c37-abb1-8c11ae2b7cc9", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-7a98-4c37-abb1-8c11ae2b7cc9", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:35.4241759+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7a98-4c37-abb1-8c11ae2b7cc9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215", + "type": "Microsoft.Communication.TranscriptionStarted", + "data": { + "transcriptionUpdate": { + "transcriptionStatus": "transcriptionStarted", + "transcriptionStatusDetails": "subscriptionStarted" + }, + "version": "2024-09-01-preview", + "operationContext": "bbc7aa49-ebb4-4b56-8971-165b70672bd2", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-9ae3-4b9a-9709-ba26461e7215", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.TranscriptionStarted" + }, + "time": "2024-12-06T00:08:37.5825672+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215", + "type": "Microsoft.Communication.TranscriptionStopped", + "data": { + "transcriptionUpdate": { + "transcriptionStatus": "transcriptionStopped", + "transcriptionStatusDetails": "subscriptionStopped" + }, + "version": "2024-09-01-preview", + "operationContext": "ef703f42-4eb5-4d96-9225-1894043498af", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-9ae3-4b9a-9709-ba26461e7215", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.TranscriptionStopped" + }, + "time": "2024-12-06T00:08:41.2198326+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "13002180-9ae3-4b9a-9709-ba26461e7215", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:08:41.3017522+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-7a98-4c37-abb1-8c11ae2b7cc9", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 540000, + "message": "The conversation has ended" + }, + "callConnectionId": "13002180-7a98-4c37-abb1-8c11ae2b7cc9", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:08:41.6010457+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7a98-4c37-abb1-8c11ae2b7cc9" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json new file mode 100644 index 000000000000..45c64bdab830 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json @@ -0,0 +1,618 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "sanitized" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-7334-471c-a4cf-c7a74ff2716b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:15.2761749+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:15.2807968+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-7334-471c-a4cf-c7a74ff2716b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:08:15.3186518+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:08:15.406754+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-7334-471c-a4cf-c7a74ff2716b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:18.4627501+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:18.4627501+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:21.9165141+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-7334-471c-a4cf-c7a74ff2716b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:21.9190769+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + } + ], + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-7334-471c-a4cf-c7a74ff2716b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:25.8936788+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + } + ], + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:25.8936788+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "type": "Microsoft.Communication.HoldFailed", + "data": { + "version": "2024-09-01-preview", + "operationContext": "holdFailedContext", + "resultInformation": { + "code": 400, + "subCode": 8535, + "message": "Action failed, file format is invalid." + }, + "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.HoldFailed" + }, + "time": "2024-12-06T00:08:26.5854975+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 9, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-7334-471c-a4cf-c7a74ff2716b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:26.6001256+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 9, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:26.5854975+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:08:27.2030081+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 5001, + "message": "This conversation has ended.. DiagCode: 0#5001.@" + }, + "callConnectionId": "13002180-7334-471c-a4cf-c7a74ff2716b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:08:27.2266799+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json index 2be2bce78d17..0682fdb1f7eb 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json @@ -22,30 +22,9 @@ [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", - "operationContext": "playToAllAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-7d30-4c7e-bd99-05a35aa38603", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-03-08T21:38:52.3016596+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", + "source": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", "participants": [ { "identifier": { @@ -71,25 +50,29 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-7d30-4c7e-bd99-05a35aa38603", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-b2d6-49e5-889e-25910e3c1f3b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:52.3172836+00:00", + "time": "2024-12-06T00:05:19.9700746+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603" + "subject": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", + "source": "calling/callConnections/13002180-4a3c-4b76-b572-490b32b0496d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "participants": [ { "identifier": { @@ -115,101 +98,165 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-190f-4eb1-ae5b-37dadd8c0325", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-4a3c-4b76-b572-490b32b0496d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:52.3642538+00:00", + "time": "2024-12-06T00:05:19.9700746+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325" + "subject": "calling/callConnections/13002180-4a3c-4b76-b572-490b32b0496d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", + "source": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", + "version": "2024-09-01-preview", "operationContext": "playToAllCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-190f-4eb1-ae5b-37dadd8c0325", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-b2d6-49e5-889e-25910e3c1f3b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-03-08T21:38:52.3642538+00:00", + "time": "2024-12-06T00:05:20.0674025+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325" + "subject": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", - "type": "Microsoft.Communication.PlayCompleted", + "source": "calling/callConnections/13002180-4a3c-4b76-b572-490b32b0496d", + "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", + "version": "2024-09-01-preview", + "operationContext": "playToAllAnswer", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-4a3c-4b76-b572-490b32b0496d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:05:20.0506484+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-4a3c-4b76-b572-490b32b0496d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b", + "type": "Microsoft.Communication.PlayStarted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playToAllAudio", "resultInformation": { "code": 200, "subCode": 0, "message": "Action completed successfully." }, + "callConnectionId": "13002180-b2d6-49e5-889e-25910e3c1f3b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-06T00:05:22.1173156+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", "operationContext": "playToAllAudio", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-190f-4eb1-ae5b-37dadd8c0325", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-b2d6-49e5-889e-25910e3c1f3b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-03-08T21:38:58.1299007+00:00", + "time": "2024-12-06T00:05:26.3304497+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325" + "subject": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", + "source": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", + "version": "2024-09-01-preview", "operationContext": "playToAllCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-190f-4eb1-ae5b-37dadd8c0325", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "13002180-b2d6-49e5-889e-25910e3c1f3b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-03-08T21:38:59.0048585+00:00", + "time": "2024-12-06T00:05:27.1897677+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325" + "subject": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", + "source": "calling/callConnections/13002180-4a3c-4b76-b572-490b32b0496d", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", + "version": "2024-09-01-preview", "operationContext": "playToAllAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-7d30-4c7e-bd99-05a35aa38603", + "resultInformation": { + "code": 200, + "subCode": 5001, + "message": "This conversation has ended.. DiagCode: 0#5001.@" + }, + "callConnectionId": "13002180-4a3c-4b76-b572-490b32b0496d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-03-08T21:38:59.0673616+00:00", + "time": "2024-12-06T00:05:27.2157229+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603" + "subject": "calling/callConnections/13002180-4a3c-4b76-b572-490b32b0496d" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json index a173c1890ef5..12d9e333712b 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json @@ -22,30 +22,33 @@ [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", + "source": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", + "version": "2024-09-01-preview", "operationContext": "playAudioAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "0f001d80-40ec-4fe6-ae5a-6e30bd767249", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-03-08T21:38:36.0029069+00:00", + "time": "2024-12-06T00:05:05.0790562+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" + "subject": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", + "source": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "participants": [ { "identifier": { @@ -71,25 +74,29 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "2f001d80-e2ec-41dd-83fc-16b0173920e7", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:36.0341077+00:00", + "time": "2024-12-06T00:05:05.0666229+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" + "subject": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "source": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "participants": [ { "identifier": { @@ -115,45 +122,53 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "0f001d80-40ec-4fe6-ae5a-6e30bd767249", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:36.0653533+00:00", + "time": "2024-12-06T00:05:05.050761+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" + "subject": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "source": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "version": "2024-09-01-preview", "operationContext": "playAudioCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "2f001d80-e2ec-41dd-83fc-16b0173920e7", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-03-08T21:38:36.0653533+00:00", + "time": "2024-12-06T00:05:05.1749713+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" + "subject": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", + "source": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "participants": [ { "identifier": { @@ -164,7 +179,7 @@ } }, "isMuted": false, - "isOnHold": false + "isOnHold": true }, { "identifier": { @@ -175,29 +190,33 @@ } }, "isMuted": false, - "isOnHold": true + "isOnHold": false } ], "sequenceNumber": 3, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "2f001d80-e2ec-41dd-83fc-16b0173920e7", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:39.7372743+00:00", + "time": "2024-12-06T00:05:08.2932013+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" + "subject": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "source": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "participants": [ { "identifier": { @@ -208,7 +227,7 @@ } }, "isMuted": false, - "isOnHold": false + "isOnHold": true }, { "identifier": { @@ -219,54 +238,81 @@ } }, "isMuted": false, - "isOnHold": true + "isOnHold": false } ], "sequenceNumber": 3, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "0f001d80-40ec-4fe6-ae5a-6e30bd767249", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:39.7372743+00:00", + "time": "2024-12-06T00:05:08.2879261+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" + "subject": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", - "type": "Microsoft.Communication.PlayCompleted", + "source": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7", + "type": "Microsoft.Communication.PlayStarted", "data": { - "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "version": "2024-09-01-preview", + "operationContext": "playAudio", "resultInformation": { "code": 200, "subCode": 0, "message": "Action completed successfully." }, + "callConnectionId": "2f001d80-e2ec-41dd-83fc-16b0173920e7", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-06T00:05:08.7934082+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", "operationContext": "playAudio", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "2f001d80-e2ec-41dd-83fc-16b0173920e7", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-03-08T21:38:44.6123274+00:00", + "time": "2024-12-06T00:05:13.024456+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" + "subject": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", + "source": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "participants": [ { "identifier": { @@ -292,25 +338,29 @@ } ], "sequenceNumber": 5, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "0f001d80-40ec-4fe6-ae5a-6e30bd767249", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:44.6435749+00:00", + "time": "2024-12-06T00:05:13.0314768+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" + "subject": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "source": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "participants": [ { "identifier": { @@ -336,56 +386,69 @@ } ], "sequenceNumber": 5, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "2f001d80-e2ec-41dd-83fc-16b0173920e7", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:38:44.6592091+00:00", + "time": "2024-12-06T00:05:13.0467302+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" + "subject": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "source": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", - "operationContext": "playAudioCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "version": "2024-09-01-preview", + "operationContext": "playAudioAnswer", + "resultInformation": { + "code": 200, + "subCode": 5010, + "message": "This conversation has ended as only one participant was remaining in the conversation.. DiagCode: 0#5010.@" + }, + "callConnectionId": "0f001d80-40ec-4fe6-ae5a-6e30bd767249", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-03-08T21:38:46.2061446+00:00", + "time": "2024-12-06T00:05:13.7561328+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" + "subject": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", + "source": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", - "operationContext": "playAudioAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", + "version": "2024-09-01-preview", + "operationContext": "playAudioCreateCall", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "2f001d80-e2ec-41dd-83fc-16b0173920e7", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-03-08T21:38:46.2842181+00:00", + "time": "2024-12-06T00:05:13.7736684+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" + "subject": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json new file mode 100644 index 000000000000..57828b61a467 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json @@ -0,0 +1,310 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "sanitized" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-edb3-4a22-a137-fa77ba5c179f", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-edb3-4a22-a137-fa77ba5c179f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:35.2153281+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-edb3-4a22-a137-fa77ba5c179f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-e0ea-4600-aa72-f3b662b40eeb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:35.2227448+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-edb3-4a22-a137-fa77ba5c179f", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-edb3-4a22-a137-fa77ba5c179f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:07:35.2982395+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-edb3-4a22-a137-fa77ba5c179f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-e0ea-4600-aa72-f3b662b40eeb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:07:35.3403213+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-e0ea-4600-aa72-f3b662b40eeb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:38.5807846+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-edb3-4a22-a137-fa77ba5c179f", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-edb3-4a22-a137-fa77ba5c179f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:38.5807846+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-edb3-4a22-a137-fa77ba5c179f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb", + "type": "Microsoft.Communication.PlayStarted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleSourceToTargetContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-e0ea-4600-aa72-f3b662b40eeb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-06T00:07:38.872403+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleSourceToTargetContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-e0ea-4600-aa72-f3b662b40eeb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.PlayCompleted" + }, + "time": "2024-12-06T00:07:45.2655355+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json new file mode 100644 index 000000000000..f57ec5fb8a39 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json @@ -0,0 +1,214 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "sanitized" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-393f-44d6-9c44-7886beae0e77", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:20.8642414+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-dafa-46fd-b4c1-64fc8d8290cb", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-dafa-46fd-b4c1-64fc8d8290cb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:20.8704355+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-dafa-46fd-b4c1-64fc8d8290cb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-dafa-46fd-b4c1-64fc8d8290cb", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-dafa-46fd-b4c1-64fc8d8290cb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:07:20.9512253+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-dafa-46fd-b4c1-64fc8d8290cb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-393f-44d6-9c44-7886beae0e77", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:07:21.0442499+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77", + "type": "Microsoft.Communication.PlayStarted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleSourceContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-393f-44d6-9c44-7886beae0e77", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-06T00:07:22.7451093+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleSourceContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-393f-44d6-9c44-7886beae0e77", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.PlayCompleted" + }, + "time": "2024-12-06T00:07:29.0300817+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json new file mode 100644 index 000000000000..f3c49c538035 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json @@ -0,0 +1,214 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "sanitized" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-67f1-4629-b471-52aa50f466d3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:06:22.5846458+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-d264-45d0-94cd-0c395b8f2479", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-d264-45d0-94cd-0c395b8f2479", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:06:22.5846458+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-d264-45d0-94cd-0c395b8f2479" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-d264-45d0-94cd-0c395b8f2479", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-d264-45d0-94cd-0c395b8f2479", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:06:22.5948185+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-d264-45d0-94cd-0c395b8f2479" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-67f1-4629-b471-52aa50f466d3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:06:22.6894703+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3", + "type": "Microsoft.Communication.PlayStarted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleFileSourceContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-67f1-4629-b471-52aa50f466d3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-06T00:06:24.3477214+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleFileSourceContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-67f1-4629-b471-52aa50f466d3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.PlayCompleted" + }, + "time": "2024-12-06T00:06:37.1149221+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json new file mode 100644 index 000000000000..e3d62b53181e --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json @@ -0,0 +1,406 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "sanitized" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-6fe8-49aa-8025-ad192b4f7dcb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:00.3510906+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-187b-47fb-88c5-539d40e79dd1", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:00.3510906+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-6fe8-49aa-8025-ad192b4f7dcb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:07:00.4082555+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-187b-47fb-88c5-539d40e79dd1", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:07:00.4805571+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 4, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-187b-47fb-88c5-539d40e79dd1", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:07.6143568+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 4, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-6fe8-49aa-8025-ad192b4f7dcb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:07.6143568+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1", + "type": "Microsoft.Communication.PlayStarted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleTextSourceToTargetContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-187b-47fb-88c5-539d40e79dd1", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-06T00:07:08.5705081+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleTextSourceToTargetContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-187b-47fb-88c5-539d40e79dd1", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.PlayCompleted" + }, + "time": "2024-12-06T00:07:15.5016196+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-6fe8-49aa-8025-ad192b4f7dcb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:15.5321576+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-187b-47fb-88c5-539d40e79dd1", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:15.5321576+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json new file mode 100644 index 000000000000..140721a78acc --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json @@ -0,0 +1,214 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "sanitized" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-8030-46f7-b171-f030bedd85f7", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-8030-46f7-b171-f030bedd85f7", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:06:45.9635309+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-8030-46f7-b171-f030bedd85f7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:06:45.9707418+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-8030-46f7-b171-f030bedd85f7", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-8030-46f7-b171-f030bedd85f7", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:06:45.9808832+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-8030-46f7-b171-f030bedd85f7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:06:46.0775303+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "type": "Microsoft.Communication.PlayStarted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleTextSourceContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-06T00:06:48.1302443+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleTextSourceContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.PlayCompleted" + }, + "time": "2024-12-06T00:06:54.6937262+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json new file mode 100644 index 000000000000..215f2bdc2e5c --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json @@ -0,0 +1,479 @@ +[ + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-e0ea-4600-aa72-f3b662b40eeb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:45.2874061+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb" + } + ], + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "sanitized" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-ea9e-4007-bd66-0095aefacf8d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:51.0924591+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-ea9e-4007-bd66-0095aefacf8d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:07:51.1645801+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-de4d-4fb4-af75-e3fafcde7ff3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:51.1027003+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-de4d-4fb4-af75-e3fafcde7ff3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:07:51.2349163+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 4, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-de4d-4fb4-af75-e3fafcde7ff3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:57.3261868+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 4, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-ea9e-4007-bd66-0095aefacf8d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:57.3307023+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3", + "type": "Microsoft.Communication.PlayFailed", + "data": { + "failedPlaySourceIndex": 0, + "version": "2024-09-01-preview", + "operationContext": "playFailContext", + "resultInformation": { + "code": 400, + "subCode": 8535, + "message": "Action failed, file format is invalid." + }, + "callConnectionId": "13002180-de4d-4fb4-af75-e3fafcde7ff3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.PlayFailed" + }, + "time": "2024-12-06T00:07:58.828633+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-ea9e-4007-bd66-0095aefacf8d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:58.8450435+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-de4d-4fb4-af75-e3fafcde7ff3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:07:58.8450435+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 5001, + "message": "This conversation has ended.. DiagCode: 0#5001.@" + }, + "callConnectionId": "13002180-ea9e-4007-bd66-0095aefacf8d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:08:00.053009+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "13002180-de4d-4fb4-af75-e3fafcde7ff3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:08:00.033236+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json new file mode 100644 index 000000000000..0869c2c38ab9 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json @@ -0,0 +1,239 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "sanitized" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-abea-4eed-ae40-0c7e98073bdb", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-abea-4eed-ae40-0c7e98073bdb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:06.7428387+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-abea-4eed-ae40-0c7e98073bdb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-abea-4eed-ae40-0c7e98073bdb", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-abea-4eed-ae40-0c7e98073bdb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:08:06.753972+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-abea-4eed-ae40-0c7e98073bdb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-69cd-4fb1-87c6-980cf5cd894d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T00:08:06.7616963+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-69cd-4fb1-87c6-980cf5cd894d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T00:08:06.8414319+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d", + "type": "Microsoft.Communication.PlayFailed", + "data": { + "failedPlaySourceIndex": 0, + "version": "2024-09-01-preview", + "operationContext": "playFailContext", + "resultInformation": { + "code": 400, + "subCode": 8535, + "message": "Action failed, file format is invalid." + }, + "callConnectionId": "13002180-69cd-4fb1-87c6-980cf5cd894d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.PlayFailed" + }, + "time": "2024-12-06T00:08:08.5008027+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "13002180-69cd-4fb1-87c6-980cf5cd894d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:08:09.3167912+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/13002180-abea-4eed-ae40-0c7e98073bdb", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 5001, + "message": "This conversation has ended.. DiagCode: 0#5001.@" + }, + "callConnectionId": "13002180-abea-4eed-ae40-0c7e98073bdb", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T00:08:09.3314069+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/13002180-abea-4eed-ae40-0c7e98073bdb" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json index 201def493756..2ab17d02e2a6 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json @@ -22,36 +22,39 @@ [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", + "source": "calling/callConnections/13002180-7018-445b-9392-ac437130669f", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-7018-445b-9392-ac437130669f", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-03-08T21:39:16.1300989+00:00", + "time": "2024-12-06T00:05:44.6847198+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" + "subject": "calling/callConnections/13002180-7018-445b-9392-ac437130669f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", + "source": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "participants": [ { "identifier": { "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" } }, "isMuted": false, @@ -60,9 +63,9 @@ { "identifier": { "rawId": "sanitized", - "kind": "phoneNumber", - "phoneNumber": { - "value": "sanitized" + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" } }, "isMuted": false, @@ -70,44 +73,52 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-6f46-4c23-be9d-2e7f062ffaab", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:39:16.1300989+00:00", + "time": "2024-12-06T00:05:44.7796026+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" + "subject": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", + "source": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-df51-4e90-a348-c1afd0559a7d", + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-6f46-4c23-be9d-2e7f062ffaab", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-03-08T21:39:16.2082231+00:00", + "time": "2024-12-06T00:05:44.8148451+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d" + "subject": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", + "source": "calling/callConnections/13002180-7018-445b-9392-ac437130669f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", "participants": [ { "identifier": { @@ -133,94 +144,115 @@ } ], "sequenceNumber": 1, - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-df51-4e90-a348-c1afd0559a7d", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "13002180-7018-445b-9392-ac437130669f", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-03-08T21:39:16.4454559+00:00", + "time": "2024-12-06T00:05:44.9413121+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d" + "subject": "calling/callConnections/13002180-7018-445b-9392-ac437130669f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", + "source": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab", "type": "Microsoft.Communication.SendDtmfTonesCompleted", "data": { - "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", + "version": "2024-09-01-preview", "operationContext": "ContinuousDtmfRecognitionSend", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "13002180-6f46-4c23-be9d-2e7f062ffaab", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.SendDtmfTonesCompleted" }, - "time": "2024-03-08T21:39:21.1954969+00:00", + "time": "2024-12-06T00:05:50.7577215+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" + "subject": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", + "source": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab", "type": "Microsoft.Communication.ContinuousDtmfRecognitionStopped", "data": { - "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", + "version": "2024-09-01-preview", "operationContext": "ContinuousDtmfRecognitionStop", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "13002180-6f46-4c23-be9d-2e7f062ffaab", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ContinuousDtmfRecognitionStopped" }, - "time": "2024-03-08T21:39:21.8830024+00:00", + "time": "2024-12-06T00:05:51.531779+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" + "subject": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", + "source": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "13002180-6f46-4c23-be9d-2e7f062ffaab", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-03-08T21:39:23.0548241+00:00", + "time": "2024-12-06T00:05:52.6592654+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" + "subject": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab" } ], [ { "id": "sanitized", - "source": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", + "source": "calling/callConnections/13002180-7018-445b-9392-ac437130669f", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", - "version": "2023-10-03-preview", - "callConnectionId": "421f0b00-df51-4e90-a348-c1afd0559a7d", + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 540000, + "message": "The conversation has ended" + }, + "callConnectionId": "13002180-7018-445b-9392-ac437130669f", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-03-08T21:39:23.2892567+00:00", + "time": "2024-12-06T00:05:52.8822711+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d" + "subject": "calling/callConnections/13002180-7018-445b-9392-ac437130669f" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/src/callConnection.ts b/sdk/communication/communication-call-automation/src/callConnection.ts index c7844e8a4d04..3ae3a101623b 100644 --- a/sdk/communication/communication-call-automation/src/callConnection.ts +++ b/sdk/communication/communication-call-automation/src/callConnection.ts @@ -158,6 +158,7 @@ export class CallConnection { ? communicationIdentifierConverter(result.identifier) : undefined, isMuted: result.isMuted, + isOnHold: result.isOnHold, }; return callParticipant; } diff --git a/sdk/communication/communication-call-automation/src/callRecording.ts b/sdk/communication/communication-call-automation/src/callRecording.ts index dcbf92e1ecab..b9919a99089c 100644 --- a/sdk/communication/communication-call-automation/src/callRecording.ts +++ b/sdk/communication/communication-call-automation/src/callRecording.ts @@ -81,27 +81,23 @@ export class CallRecording { ); }); } - if (options.callLocator && !options.callConnectionId) { + if (options.callLocator) { if (options.callLocator.kind === "groupCallLocator") { startCallRecordingRequest.callLocator = { groupCallId: options.callLocator.id, kind: "groupCallLocator", }; - } else if (options.callLocator.kind === "serverCallLocator") { - startCallRecordingRequest.callLocator = { - groupCallId: options.callLocator.id, - kind: "serverCallLocator", - }; } else if (options.callLocator.kind === "roomCallLocator") { startCallRecordingRequest.callLocator = { - groupCallId: options.callLocator.id, + roomId: options.callLocator.id, kind: "roomCallLocator", }; + } else { + startCallRecordingRequest.callLocator = { + serverCallId: options.callLocator.id, + kind: "serverCallLocator", + }; } - } else if (options.callConnectionId && !options.callLocator) { - startCallRecordingRequest.callConnectionId = options.callConnectionId; - } else { - throw "Only one of callLocator or callConnectionId to be used."; } const optionsInternal = { diff --git a/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts b/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts index 84b0b9e94ece..68a0c956cd2f 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts @@ -68,7 +68,7 @@ export class CallAutomationApiClient extends coreClient.ServiceClient { requestContentType: "application/json; charset=utf-8", }; - const packageDetails = `azsdk-js-communication-call-automation/1.3.0-beta.1`; + const packageDetails = `azsdk-js-communication-call-automation/1.4.0-beta.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/communication/communication-call-automation/test/utils/recordedClient.ts b/sdk/communication/communication-call-automation/test/utils/recordedClient.ts index 61c640504499..c4c00a2246cf 100644 --- a/sdk/communication/communication-call-automation/test/utils/recordedClient.ts +++ b/sdk/communication/communication-call-automation/test/utils/recordedClient.ts @@ -126,6 +126,7 @@ export const recorderOptions: RecorderStartOptions = { }, ], bodyKeySanitizers: [{ jsonPath: "$.accessToken.token", value: fakeToken }], + uriSanitizers: [{ regex: true, value: "https://endpoint", target: "https://([^/?]+)" }], }, removeCentralSanitizers: [ "AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section From 15d777846f756e94cc34f26b1891cd8e8646f895 Mon Sep 17 00:00:00 2001 From: Vinothini Dharmaraj Date: Fri, 6 Dec 2024 11:32:54 -0800 Subject: [PATCH 08/16] fixing the test --- .../communication-call-automation/assets.json | 2 +- ...a_participant_and_get_call_properties.json | 458 +++++------------ ...ipant_cancels_add_participant_request.json | 160 ++++-- ...tion_Live_Tests_List_all_participants.json | 96 +--- ...nection_Live_Tests_Mute_a_participant.json | 459 ++++++++++++------ ...ction_Live_Tests_Remove_a_participant.json | 201 +++++--- ...a_call,_start_recording,_and_hangs_up.json | 442 ++++++++++++----- ...t_Live_Tests_Create_a_call_and_hangup.json | 100 ++-- ...on_Main_Client_Live_Tests_Reject_call.json | 34 +- ...,_start_media_streaming,_and_hangs_up.json | 122 ++--- ...ll,_start_transcription,_and_hangs_up.json | 169 ++++--- ...ive_Tests_Cancel_all_media_operations.json | 136 +++--- ..._start_media_streaming,_and_hangs_up..json | 157 +++--- ...l,_start_transcription,_and_hangs_up..json | 145 +++--- ...sts_Hold_Unhold_participant_in_a_call.json | 222 ++++----- ..._Tests_Play_audio_to_all_participants.json | 152 +++--- ...ests_Play_audio_to_target_participant.json | 180 +++---- ...bined_text_and_file_sources_with_play.json | 248 +++++++--- ...ed_text_and_file_sources_with_playall.json | 128 ++--- ...le_file_sources_with_play_and_playall.json | 152 +++--- ..._Play_multiple_text_sources_with_play.json | 186 +++---- ...ay_multiple_text_sources_with_playall.json | 100 ++-- ...ive_Tests_Play_wrong_source_with_play.json | 216 ++++----- ..._Tests_Play_wrong_source_with_playall.json | 116 ++--- ...lient_Live_Tests_Trigger_DTMF_actions.json | 143 +++--- .../src/callMedia.ts | 4 +- .../test/utils/recordedClient.ts | 1 - 27 files changed, 2360 insertions(+), 2169 deletions(-) diff --git a/sdk/communication/communication-call-automation/assets.json b/sdk/communication/communication-call-automation/assets.json index ed9d8d95c2b2..2687b80c7474 100644 --- a/sdk/communication/communication-call-automation/assets.json +++ b/sdk/communication/communication-call-automation/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "js", "TagPrefix": "js/communication/communication-call-automation", - "Tag": "js/communication/communication-call-automation_e7387b6cc4" + "Tag": "js/communication/communication-call-automation_5a53c8ba6a" } diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json index 80b767c6b50d..78965637f67c 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json @@ -1,4 +1,28 @@ [ + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-863e-450b-b461-8bec05841263", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "listParticipantsAnswer", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "31002180-863e-450b-b461-8bec05841263", + "serverCallId": "sanitized", + "correlationId": "da2741b1-f197-4590-adff-5a7e98da2ea0", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:11:11.5713562+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-863e-450b-b461-8bec05841263" + } + ], { "to": { "kind": "communicationUser", @@ -17,36 +41,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18" }, [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd", + "source": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", - "operationContext": "addParticipantsCreateCall", + "operationContext": "addParticipantsAnswer", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "0f001d80-aae2-4fab-be21-ac58341ba5dd", + "callConnectionId": "10002180-e128-45ad-ab55-9d3ffb90c495", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:12.4679426+00:00", + "time": "2024-12-06T19:11:18.2689754+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd" + "subject": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495" } ], [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd", + "source": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -80,45 +104,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "0f001d80-aae2-4fab-be21-ac58341ba5dd", + "callConnectionId": "10002180-e128-45ad-ab55-9d3ffb90c495", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:12.489298+00:00", + "time": "2024-12-06T19:11:18.295562+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd" + "subject": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "addParticipantsAnswer", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "13002180-d63c-49be-8bb0-d9048f8d27eb", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T00:05:12.460193+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb", + "source": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -152,65 +152,45 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-d63c-49be-8bb0-d9048f8d27eb", + "callConnectionId": "10002180-7d7b-4d5a-8719-37602796cfa5", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:12.7992548+00:00", + "time": "2024-12-06T19:11:18.3405842+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb" + "subject": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5" } ], - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "sanitized" - }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-26fe-4ead-bcb8-4785921da1ed", + "source": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", - "operationContext": "addParticipantsAnswer2", + "operationContext": "addParticipantsCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-26fe-4ead-bcb8-4785921da1ed", + "callConnectionId": "10002180-7d7b-4d5a-8719-37602796cfa5", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:19.2542016+00:00", + "time": "2024-12-06T19:11:18.3668783+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-26fe-4ead-bcb8-4785921da1ed" + "subject": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5" } ], [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd", + "source": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -225,17 +205,6 @@ "isMuted": false, "isOnHold": false }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, { "identifier": { "rawId": "sanitized", @@ -248,59 +217,48 @@ "isOnHold": false } ], - "sequenceNumber": 4, + "sequenceNumber": 3, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "0f001d80-aae2-4fab-be21-ac58341ba5dd", + "callConnectionId": "10002180-e128-45ad-ab55-9d3ffb90c495", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:19.5166507+00:00", + "time": "2024-12-06T19:11:24.3673404+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd", - "type": "Microsoft.Communication.AddParticipantSucceeded", - "data": { - "participant": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "version": "2024-09-01-preview", - "operationContext": "addParticipants", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "0f001d80-aae2-4fab-be21-ac58341ba5dd", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" - }, - "time": "2024-12-06T00:05:19.5182102+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd" + "subject": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495" } ], + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18" + }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb", + "source": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -315,17 +273,6 @@ "isMuted": false, "isOnHold": false }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, { "identifier": { "rawId": "sanitized", @@ -338,146 +285,52 @@ "isOnHold": false } ], - "sequenceNumber": 4, + "sequenceNumber": 3, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-d63c-49be-8bb0-d9048f8d27eb", + "callConnectionId": "10002180-7d7b-4d5a-8719-37602796cfa5", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:19.5576497+00:00", + "time": "2024-12-06T19:11:24.4183479+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb" + "subject": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-26fe-4ead-bcb8-4785921da1ed", - "type": "Microsoft.Communication.ParticipantsUpdated", + "source": "calling/callConnections/31002180-f63c-463b-8bcf-77256e6a1fcd", + "type": "Microsoft.Communication.CallConnected", "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-26fe-4ead-bcb8-4785921da1ed", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T00:05:19.6533672+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-26fe-4ead-bcb8-4785921da1ed" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, + "operationContext": "addParticipantsAnswer2", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2024-09-01-preview", - "callConnectionId": "0f001d80-aae2-4fab-be21-ac58341ba5dd", + "callConnectionId": "31002180-f63c-463b-8bcf-77256e6a1fcd", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", + "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:19.8458113+00:00", + "time": "2024-12-06T19:11:26.665385+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd" + "subject": "calling/callConnections/31002180-f63c-463b-8bcf-77256e6a1fcd" } ], [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd", + "source": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -515,28 +368,28 @@ "isOnHold": false } ], - "sequenceNumber": 6, + "sequenceNumber": 4, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "0f001d80-aae2-4fab-be21-ac58341ba5dd", + "callConnectionId": "10002180-7d7b-4d5a-8719-37602796cfa5", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:20.2046149+00:00", + "time": "2024-12-06T19:11:27.0237573+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd" + "subject": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-26fe-4ead-bcb8-4785921da1ed", + "source": "calling/callConnections/31002180-f63c-463b-8bcf-77256e6a1fcd", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -574,140 +427,53 @@ "isOnHold": false } ], - "sequenceNumber": 8, + "sequenceNumber": 7, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-26fe-4ead-bcb8-4785921da1ed", + "callConnectionId": "31002180-f63c-463b-8bcf-77256e6a1fcd", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:20.1905941+00:00", + "time": "2024-12-06T19:11:27.1967841+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-26fe-4ead-bcb8-4785921da1ed" + "subject": "calling/callConnections/31002180-f63c-463b-8bcf-77256e6a1fcd" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb", - "type": "Microsoft.Communication.ParticipantsUpdated", + "source": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5", + "type": "Microsoft.Communication.AddParticipantSucceeded", "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false + "participant": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" } - ], - "sequenceNumber": 7, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-d63c-49be-8bb0-d9048f8d27eb", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T00:05:20.1100794+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-d63c-49be-8bb0-d9048f8d27eb" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 7, + "operationContext": "addParticipants", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2024-09-01-preview", - "callConnectionId": "0f001d80-aae2-4fab-be21-ac58341ba5dd", + "callConnectionId": "10002180-7d7b-4d5a-8719-37602796cfa5", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", + "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" }, - "time": "2024-12-06T00:05:20.5422323+00:00", + "time": "2024-12-06T19:11:27.0248496+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-aae2-4fab-be21-ac58341ba5dd" + "subject": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json index 7a7bbf3be12d..60f5075ceff6 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json @@ -17,12 +17,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf" }, [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-85ef-4732-85d0-7e85101864b9", + "source": "calling/callConnections/10002180-3103-4a36-9b56-11e59a1602e5", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "cancelAddCreateAnswer", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "10002180-3103-4a36-9b56-11e59a1602e5", + "serverCallId": "sanitized", + "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:12:02.8472978+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/10002180-3103-4a36-9b56-11e59a1602e5" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/10002180-3103-4a36-9b56-11e59a1602e5", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -56,21 +80,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "0f001d80-85ef-4732-85d0-7e85101864b9", + "callConnectionId": "10002180-3103-4a36-9b56-11e59a1602e5", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:53.0591015+00:00", + "time": "2024-12-06T19:12:02.8657044+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-85ef-4732-85d0-7e85101864b9" + "subject": "calling/callConnections/10002180-3103-4a36-9b56-11e59a1602e5" } ], [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-85ef-4732-85d0-7e85101864b9", + "source": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -80,45 +104,117 @@ "subCode": 0, "message": "" }, - "callConnectionId": "0f001d80-85ef-4732-85d0-7e85101864b9", + "callConnectionId": "31002180-cf9c-4504-b354-291a2bc9b2f1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:53.0793848+00:00", + "time": "2024-12-06T19:12:02.9241968+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-85ef-4732-85d0-7e85101864b9" + "subject": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-ca5c-4a80-976b-8d51e756484d", - "type": "Microsoft.Communication.CallConnected", + "source": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, "version": "2024-09-01-preview", - "operationContext": "cancelAddCreateAnswer", + "callConnectionId": "31002180-cf9c-4504-b354-291a2bc9b2f1", + "serverCallId": "sanitized", + "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T19:12:02.9195604+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/10002180-3103-4a36-9b56-11e59a1602e5", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 3, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-ca5c-4a80-976b-8d51e756484d", + "version": "2024-09-01-preview", + "callConnectionId": "10002180-3103-4a36-9b56-11e59a1602e5", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" + "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:53.0764011+00:00", + "time": "2024-12-06T19:12:06.536946+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-ca5c-4a80-976b-8d51e756484d" + "subject": "calling/callConnections/10002180-3103-4a36-9b56-11e59a1602e5" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-ca5c-4a80-976b-8d51e756484d", + "source": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -145,47 +241,47 @@ "isOnHold": false } ], - "sequenceNumber": 1, + "sequenceNumber": 3, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-ca5c-4a80-976b-8d51e756484d", + "callConnectionId": "31002180-cf9c-4504-b354-291a2bc9b2f1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:53.1062381+00:00", + "time": "2024-12-06T19:12:06.5949752+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-ca5c-4a80-976b-8d51e756484d" + "subject": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-85ef-4732-85d0-7e85101864b9", + "source": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1", "type": "Microsoft.Communication.CancelAddParticipantSucceeded", "data": { - "invitationId": "8389dae0-f9fa-4d99-867f-05561a468628", + "invitationId": "f1693cee-c6c2-4394-a7ab-429bef2b737c", "version": "2024-09-01-preview", "operationContext": "cancelOp", "resultInformation": { "code": 200, "subCode": 5300, - "message": "addParticipants failed for participant 8:acs:1bdaa2b9-9507-4542-bb64-a7b22c00a8d4_00000024-392b-3181-ec8d-084822008710. Underlying reason: The conversation has ended. DiagCode: 0#5300.@" + "message": "addParticipants failed for participant 8:acs:1bdaa2b9-9507-4542-bb64-a7b22c00a8d4_00000024-3d44-895a-2c8a-08482200526c. Underlying reason: The conversation has ended. DiagCode: 0#5300.@" }, - "callConnectionId": "0f001d80-85ef-4732-85d0-7e85101864b9", + "callConnectionId": "31002180-cf9c-4504-b354-291a2bc9b2f1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf", "publicEventType": "Microsoft.Communication.CancelAddParticipantSucceeded" }, - "time": "2024-12-06T00:05:58.0011362+00:00", + "time": "2024-12-06T19:12:07.8666753+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-85ef-4732-85d0-7e85101864b9" + "subject": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json index 9cc5b746dea3..8619732979f2 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json @@ -17,84 +17,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "da2741b1-f197-4590-adff-5a7e98da2ea0" }, [ { "id": "sanitized", - "source": "calling/callConnections/13001d80-07b1-4ce3-8dd4-9252ad0d7991", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "13001d80-07b1-4ce3-8dd4-9252ad0d7991", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T00:05:04.9207632+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13001d80-07b1-4ce3-8dd4-9252ad0d7991" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13001d80-07b1-4ce3-8dd4-9252ad0d7991", + "source": "calling/callConnections/31001f80-165d-4dd5-9b77-2afa26f5e937", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", - "operationContext": "listParticipantsAnswer", + "operationContext": "listParticipantsCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13001d80-07b1-4ce3-8dd4-9252ad0d7991", + "callConnectionId": "31001f80-165d-4dd5-9b77-2afa26f5e937", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "da2741b1-f197-4590-adff-5a7e98da2ea0", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:04.9797928+00:00", + "time": "2024-12-06T19:11:11.5427264+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13001d80-07b1-4ce3-8dd4-9252ad0d7991" + "subject": "calling/callConnections/31001f80-165d-4dd5-9b77-2afa26f5e937" } ], [ { "id": "sanitized", - "source": "calling/callConnections/2c001d80-b9cc-4b25-a467-d0f5b57ef2cb", + "source": "calling/callConnections/31001f80-165d-4dd5-9b77-2afa26f5e937", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -128,39 +80,15 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "2c001d80-b9cc-4b25-a467-d0f5b57ef2cb", + "callConnectionId": "31001f80-165d-4dd5-9b77-2afa26f5e937", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "da2741b1-f197-4590-adff-5a7e98da2ea0", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:04.9240407+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/2c001d80-b9cc-4b25-a467-d0f5b57ef2cb" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/2c001d80-b9cc-4b25-a467-d0f5b57ef2cb", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "listParticipantsCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "2c001d80-b9cc-4b25-a467-d0f5b57ef2cb", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T00:05:05.0259865+00:00", + "time": "2024-12-06T19:11:11.628805+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/2c001d80-b9cc-4b25-a467-d0f5b57ef2cb" + "subject": "calling/callConnections/31001f80-165d-4dd5-9b77-2afa26f5e937" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json index 238e8913e2ee..f55a4418614c 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json @@ -17,12 +17,35 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", + "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", + "serverCallId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:11:44.0524965+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -56,21 +79,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", + "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:34.7926515+00:00", + "time": "2024-12-06T19:11:44.0597747+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" + "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", + "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -104,21 +127,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", + "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:34.7871198+00:00", + "time": "2024-12-06T19:11:44.0590334+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" + "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", + "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -127,38 +150,63 @@ "subCode": 0, "message": "" }, - "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", + "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:34.9168728+00:00", + "time": "2024-12-06T19:11:44.092247+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" + "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", - "type": "Microsoft.Communication.CallConnected", + "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "version": "2024-09-01-preview", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 3, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", + "version": "2024-09-01-preview", + "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:34.92599+00:00", + "time": "2024-12-06T19:11:50.68597+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" + "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" } ], { @@ -179,12 +227,60 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", + "serverCallId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T19:11:50.711748+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -193,21 +289,21 @@ "subCode": 0, "message": "" }, - "callConnectionId": "13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:42.0992081+00:00", + "time": "2024-12-06T19:11:52.7075499+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f" + "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", + "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", "type": "Microsoft.Communication.AddParticipantSucceeded", "data": { "participant": { @@ -224,21 +320,21 @@ "subCode": 0, "message": "" }, - "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", + "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" }, - "time": "2024-12-06T00:05:42.4447277+00:00", + "time": "2024-12-06T19:11:52.9626101+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" + "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -276,28 +372,28 @@ "isOnHold": false } ], - "sequenceNumber": 5, + "sequenceNumber": 6, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:42.4630348+00:00", + "time": "2024-12-06T19:11:53.1318586+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f" + "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", + "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -342,21 +438,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", + "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:42.4413869+00:00", + "time": "2024-12-06T19:11:52.9626101+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" + "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", + "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -401,21 +497,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", + "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:42.4313671+00:00", + "time": "2024-12-06T19:11:52.9711536+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" + "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -460,21 +556,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:43.0270789+00:00", + "time": "2024-12-06T19:11:53.6938814+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f" + "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", + "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -519,21 +615,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", + "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:42.9894286+00:00", + "time": "2024-12-06T19:11:53.5327787+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" + "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", + "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -571,28 +667,28 @@ "isOnHold": false } ], - "sequenceNumber": 6, + "sequenceNumber": 7, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", + "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:43.0045061+00:00", + "time": "2024-12-06T19:11:53.5404271+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" + "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", + "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -630,28 +726,28 @@ "isOnHold": false } ], - "sequenceNumber": 7, + "sequenceNumber": 6, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", + "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:43.5521867+00:00", + "time": "2024-12-06T19:11:54.0710977+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" + "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -689,28 +785,28 @@ "isOnHold": false } ], - "sequenceNumber": 7, + "sequenceNumber": 9, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:43.5914335+00:00", + "time": "2024-12-06T19:11:54.2630702+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f" + "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", + "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -748,28 +844,28 @@ "isOnHold": false } ], - "sequenceNumber": 6, + "sequenceNumber": 8, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", + "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:43.5680718+00:00", + "time": "2024-12-06T19:11:54.0878087+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" + "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", + "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -807,28 +903,28 @@ "isOnHold": false } ], - "sequenceNumber": 7, + "sequenceNumber": 8, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", + "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:44.1198163+00:00", + "time": "2024-12-06T19:11:54.6451177+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" + "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", + "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -866,28 +962,28 @@ "isOnHold": false } ], - "sequenceNumber": 8, + "sequenceNumber": 9, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", + "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:44.0938348+00:00", + "time": "2024-12-06T19:11:54.8206465+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" + "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -925,28 +1021,28 @@ "isOnHold": false } ], - "sequenceNumber": 8, + "sequenceNumber": 9, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:44.2644654+00:00", + "time": "2024-12-06T19:11:54.6291888+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f" + "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", + "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -984,28 +1080,28 @@ "isOnHold": false } ], - "sequenceNumber": 8, + "sequenceNumber": 11, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", + "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:44.6529905+00:00", + "time": "2024-12-06T19:11:55.2020003+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" + "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", + "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -1043,28 +1139,28 @@ "isOnHold": false } ], - "sequenceNumber": 8, + "sequenceNumber": 9, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", + "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:44.6552765+00:00", + "time": "2024-12-06T19:11:55.3811225+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" + "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -1109,21 +1205,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:44.9970108+00:00", + "time": "2024-12-06T19:11:55.207819+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f" + "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", + "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -1161,28 +1257,87 @@ "isOnHold": false } ], - "sequenceNumber": 9, + "sequenceNumber": 11, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", + "serverCallId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T19:11:55.890425+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 12, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", + "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:45.1981365+00:00", + "time": "2024-12-06T19:11:56.0386139+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" + "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", + "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -1227,21 +1382,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", + "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:45.2284077+00:00", + "time": "2024-12-06T19:11:55.8967911+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" + "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -1275,32 +1430,32 @@ "id": "sanitized" } }, - "isMuted": true, + "isMuted": false, "isOnHold": false } ], - "sequenceNumber": 10, + "sequenceNumber": 11, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-3106-4bd4-9c8e-90dcfd4e6d6f", + "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:45.5642074+00:00", + "time": "2024-12-06T19:11:56.4335926+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-3106-4bd4-9c8e-90dcfd4e6d6f" + "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399", + "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -1334,32 +1489,32 @@ "id": "sanitized" } }, - "isMuted": true, + "isMuted": false, "isOnHold": false } ], - "sequenceNumber": 10, + "sequenceNumber": 12, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-eb32-44b4-8dfa-c23c664e5399", + "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:45.7650329+00:00", + "time": "2024-12-06T19:11:56.4461145+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-eb32-44b4-8dfa-c23c664e5399" + "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d", + "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -1393,26 +1548,26 @@ "id": "sanitized" } }, - "isMuted": true, + "isMuted": false, "isOnHold": false } ], - "sequenceNumber": 10, + "sequenceNumber": 12, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-cc91-412f-b903-22cd063aa13d", + "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:45.7806707+00:00", + "time": "2024-12-06T19:11:56.5817636+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-cc91-412f-b903-22cd063aa13d" + "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json index 84eefd5a3fd7..6fd86f0e1ff2 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json @@ -1,4 +1,63 @@ [ + [ + { + "id": "sanitized", + "source": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 4, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "10002180-e128-45ad-ab55-9d3ffb90c495", + "serverCallId": "sanitized", + "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T19:11:27.0237573+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495" + } + ], { "to": { "kind": "communicationUser", @@ -17,12 +76,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7727-41a3-a81e-654630cf7bfd", + "source": "calling/callConnections/31002180-742d-4b6e-bb05-cdff117c8109", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "removeParticipantsAnswer", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "31002180-742d-4b6e-bb05-cdff117c8109", + "serverCallId": "sanitized", + "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:11:33.8979058+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-742d-4b6e-bb05-cdff117c8109" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -56,21 +139,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-7727-41a3-a81e-654630cf7bfd", + "callConnectionId": "31002180-0338-4c1d-a127-4037e54709dd", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:26.3917333+00:00", + "time": "2024-12-06T19:11:33.9117421+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7727-41a3-a81e-654630cf7bfd" + "subject": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383", + "source": "calling/callConnections/31002180-742d-4b6e-bb05-cdff117c8109", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -104,93 +187,76 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-a1a3-4b74-bd2a-1413102f6383", + "callConnectionId": "31002180-742d-4b6e-bb05-cdff117c8109", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:26.3917333+00:00", + "time": "2024-12-06T19:11:33.9117421+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383" + "subject": "calling/callConnections/31002180-742d-4b6e-bb05-cdff117c8109" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7727-41a3-a81e-654630cf7bfd", + "source": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", - "operationContext": "removeParticipantsAnswer", + "operationContext": "removeParticipantCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-7727-41a3-a81e-654630cf7bfd", + "callConnectionId": "31002180-0338-4c1d-a127-4037e54709dd", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:26.5439484+00:00", + "time": "2024-12-06T19:11:33.9517901+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7727-41a3-a81e-654630cf7bfd" + "subject": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383", - "type": "Microsoft.Communication.CallConnected", + "source": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd", + "type": "Microsoft.Communication.RemoveParticipantSucceeded", "data": { + "participant": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, "version": "2024-09-01-preview", - "operationContext": "removeParticipantCreateCall", + "operationContext": "removeParticipants", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-a1a3-4b74-bd2a-1413102f6383", + "callConnectionId": "31002180-0338-4c1d-a127-4037e54709dd", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T00:05:26.5699098+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "removeParticipantCreateCall", - "resultInformation": { - "code": 200, - "subCode": 5002, - "message": "The conversation has ended. DiagCode: 0#5002.@" - }, - "callConnectionId": "13002180-a1a3-4b74-bd2a-1413102f6383", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallDisconnected" + "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e", + "publicEventType": "Microsoft.Communication.RemoveParticipantSucceeded" }, - "time": "2024-12-06T00:05:28.3382633+00:00", + "time": "2024-12-06T19:11:36.4638303+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383" + "subject": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7727-41a3-a81e-654630cf7bfd", + "source": "calling/callConnections/31002180-742d-4b6e-bb05-cdff117c8109", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -200,46 +266,39 @@ "subCode": 5300, "message": "The conversation has ended. DiagCode: 0#5300.@" }, - "callConnectionId": "13002180-7727-41a3-a81e-654630cf7bfd", + "callConnectionId": "31002180-742d-4b6e-bb05-cdff117c8109", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:05:28.3301293+00:00", + "time": "2024-12-06T19:11:36.6391738+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7727-41a3-a81e-654630cf7bfd" + "subject": "calling/callConnections/31002180-742d-4b6e-bb05-cdff117c8109" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383", - "type": "Microsoft.Communication.RemoveParticipantSucceeded", + "source": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd", + "type": "Microsoft.Communication.CallDisconnected", "data": { - "participant": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, "version": "2024-09-01-preview", - "operationContext": "removeParticipants", + "operationContext": "removeParticipantCreateCall", "resultInformation": { "code": 200, - "subCode": 0, - "message": "" + "subCode": 5002, + "message": "The conversation has ended. DiagCode: 0#5002.@" }, - "callConnectionId": "13002180-a1a3-4b74-bd2a-1413102f6383", + "callConnectionId": "31002180-0338-4c1d-a127-4037e54709dd", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.RemoveParticipantSucceeded" + "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e", + "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:05:28.3301293+00:00", + "time": "2024-12-06T19:11:36.8379484+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a1a3-4b74-bd2a-1413102f6383" + "subject": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json index 7a96254eb421..f3aa2064f770 100644 --- a/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json +++ b/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json @@ -17,12 +17,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c" }, [ { "id": "sanitized", - "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", + "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "recordingAnswer", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", + "serverCallId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:11:09.9413516+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -32,21 +56,21 @@ "subCode": 0, "message": "" }, - "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", + "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:05.716136+00:00", + "time": "2024-12-06T19:11:10.0028498+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" + "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", + "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -80,45 +104,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", + "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:05.7332342+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "recordingAnswer", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "13002180-a412-49ee-96dc-449687ffd65b", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T00:05:05.6821771+00:00", + "time": "2024-12-06T19:11:10.0559538+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b" + "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b", + "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -152,21 +152,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-a412-49ee-96dc-449687ffd65b", + "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:06.0327036+00:00", + "time": "2024-12-06T19:11:10.0593126+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b" + "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", + "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", "type": "Microsoft.Communication.PlayStarted", "data": { "version": "2024-09-01-preview", @@ -176,21 +176,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", + "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.PlayStarted" }, - "time": "2024-12-06T00:05:07.3307845+00:00", + "time": "2024-12-06T19:11:12.0207901+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" + "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", + "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -224,21 +224,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", + "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:10.7681729+00:00", + "time": "2024-12-06T19:11:15.2156717+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" + "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b", + "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -272,25 +272,25 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-a412-49ee-96dc-449687ffd65b", + "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:10.8067657+00:00", + "time": "2024-12-06T19:11:15.2326599+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b" + "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" } ], [ { "id": "sanitized", - "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qYW9ZTVRJaHVFV0xEMDhMa3ZoTFJBP2k9MTAtNjAtMTMtMjQ1JmU9NjM4NjczMDE4NzE5NjIxMTEy/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ/RecordingStateChanged", + "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9nTnNLOHVDeTEwLVlMZGd2emgzNXV3P2k9MTAtNjAtNS0xNzUmZT02Mzg2NzEzMDMzMjQ3MDU3MjM=/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ/RecordingStateChanged", "type": "Microsoft.Communication.RecordingStateChanged", "data": { - "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qYW9ZTVRJaHVFV0xEMDhMa3ZoTFJBP2k9MTAtNjAtMTMtMjQ1JmU9NjM4NjczMDE4NzE5NjIxMTEy/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ/RecordingStateChanged", - "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ", + "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9nTnNLOHVDeTEwLVlMZGd2emgzNXV3P2k9MTAtNjAtNS0xNzUmZT02Mzg2NzEzMDMzMjQ3MDU3MjM=/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ/RecordingStateChanged", + "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ", "state": "inactive", "startDateTime": "0001-01-01T00:00:00+00:00", "recordingKind": "azureCommunicationServices", @@ -300,21 +300,49 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-7d82-46d8-ac91-c3ae7c10cc8f", + "callConnectionId": "10002180-9950-4dce-8148-548ba8545261", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.RecordingStateChanged" }, - "time": "2024-12-06T00:05:10.8874261+00:00", + "time": "2024-12-06T19:11:15.3196531+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qYW9ZTVRJaHVFV0xEMDhMa3ZoTFJBP2k9MTAtNjAtMTMtMjQ1JmU9NjM4NjczMDE4NzE5NjIxMTEy/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ/RecordingStateChanged" + "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9nTnNLOHVDeTEwLVlMZGd2emgzNXV3P2k9MTAtNjAtNS0xNzUmZT02Mzg2NzEzMDMzMjQ3MDU3MjM=/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ/RecordingStateChanged" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", + "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9nTnNLOHVDeTEwLVlMZGd2emgzNXV3P2k9MTAtNjAtNS0xNzUmZT02Mzg2NzEzMDMzMjQ3MDU3MjM=/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ/RecordingStateChanged", + "type": "Microsoft.Communication.RecordingStateChanged", + "data": { + "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9nTnNLOHVDeTEwLVlMZGd2emgzNXV3P2k9MTAtNjAtNS0xNzUmZT02Mzg2NzEzMDMzMjQ3MDU3MjM=/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ/RecordingStateChanged", + "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ", + "state": "active", + "startDateTime": "2024-12-06T19:11:14.8385187+00:00", + "recordingKind": "azureCommunicationServices", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "10002180-9950-4dce-8148-548ba8545261", + "serverCallId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", + "publicEventType": "Microsoft.Communication.RecordingStateChanged" + }, + "time": "2024-12-06T19:11:15.4468248+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9nTnNLOHVDeTEwLVlMZGd2emgzNXV3P2k9MTAtNjAtNS0xNzUmZT02Mzg2NzEzMDMzMjQ3MDU3MjM=/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ/RecordingStateChanged" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -348,49 +376,69 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", + "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:11.1536211+00:00", + "time": "2024-12-06T19:11:15.6114632+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" + "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" } ], [ { "id": "sanitized", - "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qYW9ZTVRJaHVFV0xEMDhMa3ZoTFJBP2k9MTAtNjAtMTMtMjQ1JmU9NjM4NjczMDE4NzE5NjIxMTEy/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ/RecordingStateChanged", - "type": "Microsoft.Communication.RecordingStateChanged", + "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qYW9ZTVRJaHVFV0xEMDhMa3ZoTFJBP2k9MTAtNjAtMTMtMjQ1JmU9NjM4NjczMDE4NzE5NjIxMTEy/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ/RecordingStateChanged", - "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ", - "state": "active", - "startDateTime": "2024-12-06T00:05:10.4917721+00:00", - "recordingKind": "azureCommunicationServices", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-7d82-46d8-ac91-c3ae7c10cc8f", + "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.RecordingStateChanged" + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:11.012734+00:00", + "time": "2024-12-06T19:11:15.6622609+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qYW9ZTVRJaHVFV0xEMDhMa3ZoTFJBP2k9MTAtNjAtMTMtMjQ1JmU9NjM4NjczMDE4NzE5NjIxMTEy/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMzAwMjE4MC03ZDgyLTQ2ZDgtYWM5MS1jM2FlN2MxMGNjOGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIxNGM0MjczZi0xZmE4LTQyZmMtYTM3Zi05NTQ4NWU2N2Y2ZWUifQ/RecordingStateChanged" + "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", + "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -417,28 +465,28 @@ "isOnHold": false } ], - "sequenceNumber": 5, + "sequenceNumber": 6, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", + "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:11.4934388+00:00", + "time": "2024-12-06T19:11:16.019882+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" + "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b", + "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -465,28 +513,28 @@ "isOnHold": false } ], - "sequenceNumber": 4, + "sequenceNumber": 5, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-a412-49ee-96dc-449687ffd65b", + "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:11.3592288+00:00", + "time": "2024-12-06T19:11:16.0611013+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b" + "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", + "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", "type": "Microsoft.Communication.PlayCompleted", "data": { "version": "2024-09-01-preview", @@ -496,21 +544,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", + "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-12-06T00:05:11.6807887+00:00", + "time": "2024-12-06T19:11:16.396919+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" + "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", + "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -544,21 +592,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", + "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:11.8277042+00:00", + "time": "2024-12-06T19:11:16.4137972+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" + "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b", + "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -585,28 +633,28 @@ "isOnHold": false } ], - "sequenceNumber": 5, + "sequenceNumber": 8, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-a412-49ee-96dc-449687ffd65b", + "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:11.913196+00:00", + "time": "2024-12-06T19:11:16.4599596+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b" + "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143", + "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -633,28 +681,28 @@ "isOnHold": false } ], - "sequenceNumber": 7, + "sequenceNumber": 8, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13001d80-f858-4de9-b515-259a910eb143", + "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:12.1713336+00:00", + "time": "2024-12-06T19:11:16.8668389+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13001d80-f858-4de9-b515-259a910eb143" + "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b", + "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -681,28 +729,172 @@ "isOnHold": false } ], - "sequenceNumber": 6, + "sequenceNumber": 8, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", + "serverCallId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T19:11:16.8668389+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 8, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", + "serverCallId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T19:11:17.2532724+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 8, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", + "serverCallId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T19:11:17.2559068+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 9, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-a412-49ee-96dc-449687ffd65b", + "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:12.460193+00:00", + "time": "2024-12-06T19:11:17.6814179+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b" + "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b", + "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -729,22 +921,22 @@ "isOnHold": false } ], - "sequenceNumber": 7, + "sequenceNumber": 9, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-a412-49ee-96dc-449687ffd65b", + "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:13.1268685+00:00", + "time": "2024-12-06T19:11:17.6975425+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a412-49ee-96dc-449687ffd65b" + "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json index 4cee5a387226..9df633d0023d 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json @@ -17,12 +17,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "fe401eb3-daf8-4290-807a-391e5e4b900c" }, [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-a539-44b4-9fbd-15ea04f58239", + "source": "calling/callConnections/0e001f80-3c47-498e-8804-4363815e26d5", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "operationContextCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "0e001f80-3c47-498e-8804-4363815e26d5", + "serverCallId": "sanitized", + "correlationId": "fe401eb3-daf8-4290-807a-391e5e4b900c", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:11:10.9589818+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/0e001f80-3c47-498e-8804-4363815e26d5" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/0e001f80-3c47-498e-8804-4363815e26d5", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -56,21 +80,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "0f001d80-a539-44b4-9fbd-15ea04f58239", + "callConnectionId": "0e001f80-3c47-498e-8804-4363815e26d5", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "fe401eb3-daf8-4290-807a-391e5e4b900c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:05.2840967+00:00", + "time": "2024-12-06T19:11:10.9700589+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-a539-44b4-9fbd-15ea04f58239" + "subject": "calling/callConnections/0e001f80-3c47-498e-8804-4363815e26d5" } ], [ { "id": "sanitized", - "source": "calling/callConnections/2f001d80-1cea-420b-a209-4dee207ce06b", + "source": "calling/callConnections/10002180-0c68-481c-abe2-c96ea4b165f5", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -80,21 +104,21 @@ "subCode": 0, "message": "" }, - "callConnectionId": "2f001d80-1cea-420b-a209-4dee207ce06b", + "callConnectionId": "10002180-0c68-481c-abe2-c96ea4b165f5", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "fe401eb3-daf8-4290-807a-391e5e4b900c", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:05.2697105+00:00", + "time": "2024-12-06T19:11:10.9145413+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/2f001d80-1cea-420b-a209-4dee207ce06b" + "subject": "calling/callConnections/10002180-0c68-481c-abe2-c96ea4b165f5" } ], [ { "id": "sanitized", - "source": "calling/callConnections/2f001d80-1cea-420b-a209-4dee207ce06b", + "source": "calling/callConnections/10002180-0c68-481c-abe2-c96ea4b165f5", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -128,45 +152,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "2f001d80-1cea-420b-a209-4dee207ce06b", + "callConnectionId": "10002180-0c68-481c-abe2-c96ea4b165f5", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "fe401eb3-daf8-4290-807a-391e5e4b900c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:05.2849805+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/2f001d80-1cea-420b-a209-4dee207ce06b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/0f001d80-a539-44b4-9fbd-15ea04f58239", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "operationContextCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "0f001d80-a539-44b4-9fbd-15ea04f58239", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T00:05:05.3760872+00:00", + "time": "2024-12-06T19:11:11.1555412+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-a539-44b4-9fbd-15ea04f58239" + "subject": "calling/callConnections/10002180-0c68-481c-abe2-c96ea4b165f5" } ], [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-a539-44b4-9fbd-15ea04f58239", + "source": "calling/callConnections/0e001f80-3c47-498e-8804-4363815e26d5", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -176,21 +176,21 @@ "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "0f001d80-a539-44b4-9fbd-15ea04f58239", + "callConnectionId": "0e001f80-3c47-498e-8804-4363815e26d5", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "fe401eb3-daf8-4290-807a-391e5e4b900c", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:05:06.6025618+00:00", + "time": "2024-12-06T19:11:12.5475073+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-a539-44b4-9fbd-15ea04f58239" + "subject": "calling/callConnections/0e001f80-3c47-498e-8804-4363815e26d5" } ], [ { "id": "sanitized", - "source": "calling/callConnections/2f001d80-1cea-420b-a209-4dee207ce06b", + "source": "calling/callConnections/10002180-0c68-481c-abe2-c96ea4b165f5", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -200,15 +200,15 @@ "subCode": 5001, "message": "This conversation has ended.. DiagCode: 0#5001.@" }, - "callConnectionId": "2f001d80-1cea-420b-a209-4dee207ce06b", + "callConnectionId": "10002180-0c68-481c-abe2-c96ea4b165f5", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "fe401eb3-daf8-4290-807a-391e5e4b900c", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:05:06.7146442+00:00", + "time": "2024-12-06T19:11:12.6584878+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/2f001d80-1cea-420b-a209-4dee207ce06b" + "subject": "calling/callConnections/10002180-0c68-481c-abe2-c96ea4b165f5" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json index e8ab687e40fb..23a41148a722 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json @@ -17,53 +17,53 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "f400cbb1-3c2e-473e-88a0-9cd7068f81a1" }, [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-4e53-4ef1-9cfc-4f4177996c61", + "source": "calling/callConnections/10002180-bdb6-4535-a53d-8c864a46c3af", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", "operationContext": "operationContextRejectCall", "resultInformation": { - "code": 200, - "subCode": 5002, - "message": "The conversation has ended. DiagCode: 0#5002.@" + "code": 603, + "subCode": 0, + "message": "Decline. DiagCode: 603#0.@" }, - "callConnectionId": "0f001d80-4e53-4ef1-9cfc-4f4177996c61", + "callConnectionId": "10002180-bdb6-4535-a53d-8c864a46c3af", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "f400cbb1-3c2e-473e-88a0-9cd7068f81a1", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:05:11.7145761+00:00", + "time": "2024-12-06T19:11:18.9036677+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-4e53-4ef1-9cfc-4f4177996c61" + "subject": "calling/callConnections/10002180-bdb6-4535-a53d-8c864a46c3af" } ], [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-4e53-4ef1-9cfc-4f4177996c61", + "source": "calling/callConnections/10002180-bdb6-4535-a53d-8c864a46c3af", "type": "Microsoft.Communication.CreateCallFailed", "data": { "version": "2024-09-01-preview", "resultInformation": { - "code": 200, - "subCode": 5002, - "message": "The conversation has ended. DiagCode: 0#5002.@" + "code": 603, + "subCode": 0, + "message": "Decline. DiagCode: 603#0.@" }, - "callConnectionId": "0f001d80-4e53-4ef1-9cfc-4f4177996c61", + "callConnectionId": "10002180-bdb6-4535-a53d-8c864a46c3af", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "f400cbb1-3c2e-473e-88a0-9cd7068f81a1", "publicEventType": "Microsoft.Communication.CreateCallFailed" }, - "time": "2024-12-06T00:05:11.7145761+00:00", + "time": "2024-12-06T19:11:18.9031127+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-4e53-4ef1-9cfc-4f4177996c61" + "subject": "calling/callConnections/10002180-bdb6-4535-a53d-8c864a46c3af" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json index b83f531bbc75..407211280935 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json @@ -17,12 +17,35 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "source": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "31002180-a803-4a18-b2e8-8dbf2662b941", + "serverCallId": "sanitized", + "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:12:19.6167894+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -56,21 +79,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "callConnectionId": "31002180-a803-4a18-b2e8-8dbf2662b941", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:06:12.0409592+00:00", + "time": "2024-12-06T19:12:19.6440228+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969" + "subject": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-3c23-4d70-ab07-efc4ff50c62b", + "source": "calling/callConnections/31002180-0315-443e-bb63-611b1d43942b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -104,44 +127,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-3c23-4d70-ab07-efc4ff50c62b", + "callConnectionId": "31002180-0315-443e-bb63-611b1d43942b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:06:12.0656694+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-3c23-4d70-ab07-efc4ff50c62b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "13002180-b89b-4f20-bb2d-e3dbe9b2d969", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T00:06:12.0758731+00:00", + "time": "2024-12-06T19:12:19.6952647+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969" + "subject": "calling/callConnections/31002180-0315-443e-bb63-611b1d43942b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-3c23-4d70-ab07-efc4ff50c62b", + "source": "calling/callConnections/31002180-0315-443e-bb63-611b1d43942b", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -150,21 +150,21 @@ "subCode": 0, "message": "" }, - "callConnectionId": "13002180-3c23-4d70-ab07-efc4ff50c62b", + "callConnectionId": "31002180-0315-443e-bb63-611b1d43942b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:06:12.1586882+00:00", + "time": "2024-12-06T19:12:19.6985007+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-3c23-4d70-ab07-efc4ff50c62b" + "subject": "calling/callConnections/31002180-0315-443e-bb63-611b1d43942b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "source": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941", "type": "Microsoft.Communication.MediaStreamingStarted", "data": { "mediaStreamingUpdate": { @@ -178,21 +178,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "callConnectionId": "31002180-a803-4a18-b2e8-8dbf2662b941", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", "publicEventType": "Microsoft.Communication.MediaStreamingStarted" }, - "time": "2024-12-06T00:06:14.0328883+00:00", + "time": "2024-12-06T19:12:21.7320892+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969" + "subject": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "source": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941", "type": "Microsoft.Communication.MediaStreamingStopped", "data": { "mediaStreamingUpdate": { @@ -206,21 +206,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "callConnectionId": "31002180-a803-4a18-b2e8-8dbf2662b941", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", "publicEventType": "Microsoft.Communication.MediaStreamingStopped" }, - "time": "2024-12-06T00:06:15.1939077+00:00", + "time": "2024-12-06T19:12:22.8882744+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969" + "subject": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "source": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -229,38 +229,38 @@ "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-b89b-4f20-bb2d-e3dbe9b2d969", + "callConnectionId": "31002180-a803-4a18-b2e8-8dbf2662b941", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:06:16.2757211+00:00", + "time": "2024-12-06T19:12:24.1634497+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-b89b-4f20-bb2d-e3dbe9b2d969" + "subject": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-3c23-4d70-ab07-efc4ff50c62b", + "source": "calling/callConnections/31002180-0315-443e-bb63-611b1d43942b", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", "resultInformation": { "code": 200, - "subCode": 5001, - "message": "This conversation has ended.. DiagCode: 0#5001.@" + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-3c23-4d70-ab07-efc4ff50c62b", + "callConnectionId": "31002180-0315-443e-bb63-611b1d43942b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:06:16.2981893+00:00", + "time": "2024-12-06T19:12:24.2544362+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-3c23-4d70-ab07-efc4ff50c62b" + "subject": "calling/callConnections/31002180-0315-443e-bb63-611b1d43942b" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json index 6b300dc1cdd3..461ab49627c6 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json @@ -1,4 +1,27 @@ [ + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-46a2-48a5-a923-963348acba53", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 540000, + "message": "The conversation has ended" + }, + "callConnectionId": "31002180-46a2-48a5-a923-963348acba53", + "serverCallId": "sanitized", + "correlationId": "9f8943db-989c-4778-a8e1-7230344cb93b", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T19:14:56.0082776+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-46a2-48a5-a923-963348acba53" + } + ], { "to": { "kind": "communicationUser", @@ -17,60 +40,35 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-fe33-40a1-8d85-b3562f602e71", - "type": "Microsoft.Communication.ParticipantsUpdated", + "source": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453", + "type": "Microsoft.Communication.CallConnected", "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, + "version": "2024-09-01-preview", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2024-09-01-preview", - "callConnectionId": "13002180-fe33-40a1-8d85-b3562f602e71", + "callConnectionId": "31002180-fc40-46de-b5d9-6152ab0b8453", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", + "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:08:47.8634828+00:00", + "time": "2024-12-06T19:15:03.9750004+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-fe33-40a1-8d85-b3562f602e71" + "subject": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7", + "source": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -104,21 +102,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-95e4-491c-af2c-2a53f377d2c7", + "callConnectionId": "31002180-fc40-46de-b5d9-6152ab0b8453", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:47.8569173+00:00", + "time": "2024-12-06T19:15:03.9927884+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7" + "subject": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7", + "source": "calling/callConnections/31002180-0672-4a50-9b72-a6af5c99b2f3", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -127,44 +125,69 @@ "subCode": 0, "message": "" }, - "callConnectionId": "13002180-95e4-491c-af2c-2a53f377d2c7", + "callConnectionId": "31002180-0672-4a50-9b72-a6af5c99b2f3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:08:47.9193246+00:00", + "time": "2024-12-06T19:15:04.0394929+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7" + "subject": "calling/callConnections/31002180-0672-4a50-9b72-a6af5c99b2f3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-fe33-40a1-8d85-b3562f602e71", - "type": "Microsoft.Communication.CallConnected", + "source": "calling/callConnections/31002180-0672-4a50-9b72-a6af5c99b2f3", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "version": "2024-09-01-preview", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-fe33-40a1-8d85-b3562f602e71", + "version": "2024-09-01-preview", + "callConnectionId": "31002180-0672-4a50-9b72-a6af5c99b2f3", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" + "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:47.9508638+00:00", + "time": "2024-12-06T19:15:04.04272+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-fe33-40a1-8d85-b3562f602e71" + "subject": "calling/callConnections/31002180-0672-4a50-9b72-a6af5c99b2f3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7", + "source": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453", "type": "Microsoft.Communication.TranscriptionStarted", "data": { "transcriptionUpdate": { @@ -172,27 +195,26 @@ "transcriptionStatusDetails": "subscriptionStarted" }, "version": "2024-09-01-preview", - "operationContext": "a4d704a3-f98e-475d-b2a3-00c94bad0cab", "resultInformation": { "code": 200, "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-95e4-491c-af2c-2a53f377d2c7", + "callConnectionId": "31002180-fc40-46de-b5d9-6152ab0b8453", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", "publicEventType": "Microsoft.Communication.TranscriptionStarted" }, - "time": "2024-12-06T00:08:50.2798502+00:00", + "time": "2024-12-06T19:15:07.4651374+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7" + "subject": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7", + "source": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453", "type": "Microsoft.Communication.TranscriptionStopped", "data": { "transcriptionUpdate": { @@ -200,27 +222,26 @@ "transcriptionStatusDetails": "subscriptionStopped" }, "version": "2024-09-01-preview", - "operationContext": "1099a570-40ae-4da7-b29f-6e0b0aad8914", "resultInformation": { "code": 200, "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-95e4-491c-af2c-2a53f377d2c7", + "callConnectionId": "31002180-fc40-46de-b5d9-6152ab0b8453", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", "publicEventType": "Microsoft.Communication.TranscriptionStopped" }, - "time": "2024-12-06T00:08:53.8627134+00:00", + "time": "2024-12-06T19:15:10.9034115+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7" + "subject": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7", + "source": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -229,21 +250,21 @@ "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-95e4-491c-af2c-2a53f377d2c7", + "callConnectionId": "31002180-fc40-46de-b5d9-6152ab0b8453", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:08:53.9281837+00:00", + "time": "2024-12-06T19:15:11.3141859+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-95e4-491c-af2c-2a53f377d2c7" + "subject": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-fe33-40a1-8d85-b3562f602e71", + "source": "calling/callConnections/31002180-0672-4a50-9b72-a6af5c99b2f3", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -252,15 +273,15 @@ "subCode": 5001, "message": "This conversation has ended.. DiagCode: 0#5001.@" }, - "callConnectionId": "13002180-fe33-40a1-8d85-b3562f602e71", + "callConnectionId": "31002180-0672-4a50-9b72-a6af5c99b2f3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:08:53.9480856+00:00", + "time": "2024-12-06T19:15:11.4095357+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-fe33-40a1-8d85-b3562f602e71" + "subject": "calling/callConnections/31002180-0672-4a50-9b72-a6af5c99b2f3" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json index 8e57a250fec2..db7f155c9b82 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json @@ -17,60 +17,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695", - "type": "Microsoft.Communication.ParticipantsUpdated", + "source": "calling/callConnections/10002180-a746-4667-99e9-058c2a1a7e93", + "type": "Microsoft.Communication.CallConnected", "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, + "version": "2024-09-01-preview", + "operationContext": "CancelMediaAnswer", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2024-09-01-preview", - "callConnectionId": "13002180-dd4f-48af-b025-034c8820d695", + "callConnectionId": "10002180-a746-4667-99e9-058c2a1a7e93", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd", + "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:33.9505349+00:00", + "time": "2024-12-06T19:11:41.3530219+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695" + "subject": "calling/callConnections/10002180-a746-4667-99e9-058c2a1a7e93" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-75ab-40a9-8181-d09931d8a303", + "source": "calling/callConnections/10002180-a746-4667-99e9-058c2a1a7e93", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -104,21 +80,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-75ab-40a9-8181-d09931d8a303", + "callConnectionId": "10002180-a746-4667-99e9-058c2a1a7e93", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:33.9505349+00:00", + "time": "2024-12-06T19:11:41.3723362+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-75ab-40a9-8181-d09931d8a303" + "subject": "calling/callConnections/10002180-a746-4667-99e9-058c2a1a7e93" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695", + "source": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -128,45 +104,69 @@ "subCode": 0, "message": "" }, - "callConnectionId": "13002180-dd4f-48af-b025-034c8820d695", + "callConnectionId": "10002180-7c67-4552-8989-c14bc1c3a199", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:34.0838419+00:00", + "time": "2024-12-06T19:11:41.4187616+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695" + "subject": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-75ab-40a9-8181-d09931d8a303", - "type": "Microsoft.Communication.CallConnected", + "source": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "version": "2024-09-01-preview", - "operationContext": "CancelMediaAnswer", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-75ab-40a9-8181-d09931d8a303", + "version": "2024-09-01-preview", + "callConnectionId": "10002180-7c67-4552-8989-c14bc1c3a199", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" + "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:34.1071778+00:00", + "time": "2024-12-06T19:11:41.4288657+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-75ab-40a9-8181-d09931d8a303" + "subject": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695", + "source": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199", "type": "Microsoft.Communication.PlayCanceled", "data": { "version": "2024-09-01-preview", @@ -176,21 +176,21 @@ "subCode": 8508, "message": "Action falied, the operation was cancelled." }, - "callConnectionId": "13002180-dd4f-48af-b025-034c8820d695", + "callConnectionId": "10002180-7c67-4552-8989-c14bc1c3a199", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd", "publicEventType": "Microsoft.Communication.PlayCanceled" }, - "time": "2024-12-06T00:05:36.0759169+00:00", + "time": "2024-12-06T19:11:43.2805939+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695" + "subject": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695", + "source": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -200,21 +200,21 @@ "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-dd4f-48af-b025-034c8820d695", + "callConnectionId": "10002180-7c67-4552-8989-c14bc1c3a199", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:05:37.2177462+00:00", + "time": "2024-12-06T19:11:44.4625498+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-dd4f-48af-b025-034c8820d695" + "subject": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-75ab-40a9-8181-d09931d8a303", + "source": "calling/callConnections/10002180-a746-4667-99e9-058c2a1a7e93", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -224,15 +224,15 @@ "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-75ab-40a9-8181-d09931d8a303", + "callConnectionId": "10002180-a746-4667-99e9-058c2a1a7e93", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:05:37.2382208+00:00", + "time": "2024-12-06T19:11:44.5521468+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-75ab-40a9-8181-d09931d8a303" + "subject": "calling/callConnections/10002180-a746-4667-99e9-058c2a1a7e93" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json index d88c5eb74813..5c2ba70181a0 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json @@ -1,4 +1,27 @@ [ + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-5338-489c-a9a2-c136b9bfd931", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 540000, + "message": "The conversation has ended" + }, + "callConnectionId": "31002180-5338-489c-a9a2-c136b9bfd931", + "serverCallId": "sanitized", + "correlationId": "c2c3c1c2-1296-4919-8707-69d8dd9a5b73", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-06T19:11:59.2212269+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-5338-489c-a9a2-c136b9bfd931" + } + ], { "to": { "kind": "phoneNumber", @@ -17,12 +40,35 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "44c0e3aa-f9e7-4340-8d61-ff03f0cdb794" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-9fba-4778-bd14-900b6f2c6de3", + "source": "calling/callConnections/31002180-100e-4603-8fd1-4c330da10991", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "31002180-100e-4603-8fd1-4c330da10991", + "serverCallId": "sanitized", + "correlationId": "44c0e3aa-f9e7-4340-8d61-ff03f0cdb794", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:12:07.8178382+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-100e-4603-8fd1-4c330da10991" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -56,21 +102,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-9fba-4778-bd14-900b6f2c6de3", + "callConnectionId": "31002180-af6f-4c45-9216-d3c957bc0b35", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "1cfd207b-daa7-4ff0-ae92-1e066bb4f9f0", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:06:00.5595801+00:00", + "time": "2024-12-06T19:12:07.9176277+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-9fba-4778-bd14-900b6f2c6de3" + "subject": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-9fba-4778-bd14-900b6f2c6de3", + "source": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -79,30 +125,30 @@ "subCode": 0, "message": "" }, - "callConnectionId": "13002180-9fba-4778-bd14-900b6f2c6de3", + "callConnectionId": "31002180-af6f-4c45-9216-d3c957bc0b35", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "1cfd207b-daa7-4ff0-ae92-1e066bb4f9f0", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:06:00.5494509+00:00", + "time": "2024-12-06T19:12:07.9176277+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-9fba-4778-bd14-900b6f2c6de3" + "subject": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f", + "source": "calling/callConnections/31002180-100e-4603-8fd1-4c330da10991", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ { "identifier": { "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" } }, "isMuted": false, @@ -111,9 +157,9 @@ { "identifier": { "rawId": "sanitized", - "kind": "phoneNumber", - "phoneNumber": { - "value": "sanitized" + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" } }, "isMuted": false, @@ -127,44 +173,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-320b-459a-bb09-5a3f65371c0f", + "callConnectionId": "31002180-100e-4603-8fd1-4c330da10991", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44c0e3aa-f9e7-4340-8d61-ff03f0cdb794", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:06:00.6577179+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "13002180-320b-459a-bb09-5a3f65371c0f", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T00:06:00.7508249+00:00", + "time": "2024-12-06T19:12:08.1522919+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f" + "subject": "calling/callConnections/31002180-100e-4603-8fd1-4c330da10991" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f", + "source": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35", "type": "Microsoft.Communication.MediaStreamingStarted", "data": { "mediaStreamingUpdate": { @@ -178,21 +201,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-320b-459a-bb09-5a3f65371c0f", + "callConnectionId": "31002180-af6f-4c45-9216-d3c957bc0b35", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "1cfd207b-daa7-4ff0-ae92-1e066bb4f9f0", "publicEventType": "Microsoft.Communication.MediaStreamingStarted" }, - "time": "2024-12-06T00:06:03.0773665+00:00", + "time": "2024-12-06T19:12:10.4971801+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f" + "subject": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f", + "source": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35", "type": "Microsoft.Communication.MediaStreamingStopped", "data": { "mediaStreamingUpdate": { @@ -206,21 +229,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-320b-459a-bb09-5a3f65371c0f", + "callConnectionId": "31002180-af6f-4c45-9216-d3c957bc0b35", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "1cfd207b-daa7-4ff0-ae92-1e066bb4f9f0", "publicEventType": "Microsoft.Communication.MediaStreamingStopped" }, - "time": "2024-12-06T00:06:04.310534+00:00", + "time": "2024-12-06T19:12:11.6920793+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f" + "subject": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f", + "source": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -229,38 +252,38 @@ "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-320b-459a-bb09-5a3f65371c0f", + "callConnectionId": "31002180-af6f-4c45-9216-d3c957bc0b35", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "1cfd207b-daa7-4ff0-ae92-1e066bb4f9f0", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:06:05.4260681+00:00", + "time": "2024-12-06T19:12:12.9662279+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-320b-459a-bb09-5a3f65371c0f" + "subject": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-9fba-4778-bd14-900b6f2c6de3", + "source": "calling/callConnections/31002180-100e-4603-8fd1-4c330da10991", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", "resultInformation": { "code": 200, - "subCode": 5002, - "message": "The conversation has ended. DiagCode: 0#5002.@" + "subCode": 540000, + "message": "The conversation has ended" }, - "callConnectionId": "13002180-9fba-4778-bd14-900b6f2c6de3", + "callConnectionId": "31002180-100e-4603-8fd1-4c330da10991", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "44c0e3aa-f9e7-4340-8d61-ff03f0cdb794", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:06:05.6149699+00:00", + "time": "2024-12-06T19:12:13.183092+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-9fba-4778-bd14-900b6f2c6de3" + "subject": "calling/callConnections/31002180-100e-4603-8fd1-4c330da10991" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json index 7c2f56acb283..acba9fb37807 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json @@ -17,12 +17,35 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "9f8943db-989c-4778-a8e1-7230344cb93b" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215", + "source": "calling/callConnections/31002180-46a2-48a5-a923-963348acba53", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "31002180-46a2-48a5-a923-963348acba53", + "serverCallId": "sanitized", + "correlationId": "9f8943db-989c-4778-a8e1-7230344cb93b", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:14:48.998931+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-46a2-48a5-a923-963348acba53" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -56,44 +79,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-9ae3-4b9a-9709-ba26461e7215", + "callConnectionId": "31002180-1386-4e17-b88d-b8b4b02749df", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "56eeb2f9-3e18-435e-b91d-3f1c87d43f84", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:35.0915528+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-7a98-4c37-abb1-8c11ae2b7cc9", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "13002180-7a98-4c37-abb1-8c11ae2b7cc9", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T00:08:35.1471044+00:00", + "time": "2024-12-06T19:14:49.2516361+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7a98-4c37-abb1-8c11ae2b7cc9" + "subject": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215", + "source": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -102,30 +102,30 @@ "subCode": 0, "message": "" }, - "callConnectionId": "13002180-9ae3-4b9a-9709-ba26461e7215", + "callConnectionId": "31002180-1386-4e17-b88d-b8b4b02749df", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "56eeb2f9-3e18-435e-b91d-3f1c87d43f84", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:08:35.1602681+00:00", + "time": "2024-12-06T19:14:49.246982+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215" + "subject": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7a98-4c37-abb1-8c11ae2b7cc9", + "source": "calling/callConnections/31002180-46a2-48a5-a923-963348acba53", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ { "identifier": { "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" } }, "isMuted": false, @@ -134,9 +134,9 @@ { "identifier": { "rawId": "sanitized", - "kind": "phoneNumber", - "phoneNumber": { - "value": "sanitized" + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" } }, "isMuted": false, @@ -150,21 +150,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-7a98-4c37-abb1-8c11ae2b7cc9", + "callConnectionId": "31002180-46a2-48a5-a923-963348acba53", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "9f8943db-989c-4778-a8e1-7230344cb93b", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:35.4241759+00:00", + "time": "2024-12-06T19:14:49.2516361+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7a98-4c37-abb1-8c11ae2b7cc9" + "subject": "calling/callConnections/31002180-46a2-48a5-a923-963348acba53" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215", + "source": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df", "type": "Microsoft.Communication.TranscriptionStarted", "data": { "transcriptionUpdate": { @@ -172,27 +172,26 @@ "transcriptionStatusDetails": "subscriptionStarted" }, "version": "2024-09-01-preview", - "operationContext": "bbc7aa49-ebb4-4b56-8971-165b70672bd2", "resultInformation": { "code": 200, "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-9ae3-4b9a-9709-ba26461e7215", + "callConnectionId": "31002180-1386-4e17-b88d-b8b4b02749df", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "56eeb2f9-3e18-435e-b91d-3f1c87d43f84", "publicEventType": "Microsoft.Communication.TranscriptionStarted" }, - "time": "2024-12-06T00:08:37.5825672+00:00", + "time": "2024-12-06T19:14:52.3296797+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215" + "subject": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215", + "source": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df", "type": "Microsoft.Communication.TranscriptionStopped", "data": { "transcriptionUpdate": { @@ -200,27 +199,26 @@ "transcriptionStatusDetails": "subscriptionStopped" }, "version": "2024-09-01-preview", - "operationContext": "ef703f42-4eb5-4d96-9225-1894043498af", "resultInformation": { "code": 200, "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-9ae3-4b9a-9709-ba26461e7215", + "callConnectionId": "31002180-1386-4e17-b88d-b8b4b02749df", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "56eeb2f9-3e18-435e-b91d-3f1c87d43f84", "publicEventType": "Microsoft.Communication.TranscriptionStopped" }, - "time": "2024-12-06T00:08:41.2198326+00:00", + "time": "2024-12-06T19:14:55.5266208+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215" + "subject": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215", + "source": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -229,38 +227,15 @@ "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-9ae3-4b9a-9709-ba26461e7215", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T00:08:41.3017522+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-9ae3-4b9a-9709-ba26461e7215" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-7a98-4c37-abb1-8c11ae2b7cc9", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 540000, - "message": "The conversation has ended" - }, - "callConnectionId": "13002180-7a98-4c37-abb1-8c11ae2b7cc9", + "callConnectionId": "31002180-1386-4e17-b88d-b8b4b02749df", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "56eeb2f9-3e18-435e-b91d-3f1c87d43f84", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:08:41.6010457+00:00", + "time": "2024-12-06T19:14:55.806309+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7a98-4c37-abb1-8c11ae2b7cc9" + "subject": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json index 45c64bdab830..c77d436c31c8 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json @@ -17,60 +17,35 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b", - "type": "Microsoft.Communication.ParticipantsUpdated", + "source": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b", + "type": "Microsoft.Communication.CallConnected", "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, + "version": "2024-09-01-preview", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2024-09-01-preview", - "callConnectionId": "13002180-7334-471c-a4cf-c7a74ff2716b", + "callConnectionId": "31002180-e3f6-4162-8814-1c085d653d7b", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", + "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:08:15.2761749+00:00", + "time": "2024-12-06T19:14:28.3995659+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b" + "subject": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "source": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -104,21 +79,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "callConnectionId": "31002180-e3f6-4162-8814-1c085d653d7b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:15.2807968+00:00", + "time": "2024-12-06T19:14:28.4220096+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + "subject": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b", + "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -127,44 +102,69 @@ "subCode": 0, "message": "" }, - "callConnectionId": "13002180-7334-471c-a4cf-c7a74ff2716b", + "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:08:15.3186518+00:00", + "time": "2024-12-06T19:14:28.471071+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b" + "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", - "type": "Microsoft.Communication.CallConnected", + "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "version": "2024-09-01-preview", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "version": "2024-09-01-preview", + "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:15.406754+00:00", + "time": "2024-12-06T19:14:28.475711+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b", + "source": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -191,28 +191,28 @@ "isOnHold": true } ], - "sequenceNumber": 3, + "sequenceNumber": 4, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-7334-471c-a4cf-c7a74ff2716b", + "callConnectionId": "31002180-e3f6-4162-8814-1c085d653d7b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:18.4627501+00:00", + "time": "2024-12-06T19:14:31.9510691+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b" + "subject": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -239,28 +239,28 @@ "isOnHold": true } ], - "sequenceNumber": 3, + "sequenceNumber": 4, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:18.4627501+00:00", + "time": "2024-12-06T19:14:31.9510691+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "source": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -294,21 +294,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "callConnectionId": "31002180-e3f6-4162-8814-1c085d653d7b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:21.9165141+00:00", + "time": "2024-12-06T19:14:35.5655949+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + "subject": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b", + "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -342,21 +342,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-7334-471c-a4cf-c7a74ff2716b", + "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:21.9190769+00:00", + "time": "2024-12-06T19:14:35.5655949+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b" + "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b", + "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -383,28 +383,28 @@ "isOnHold": true } ], - "sequenceNumber": 7, + "sequenceNumber": 8, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-7334-471c-a4cf-c7a74ff2716b", + "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:25.8936788+00:00", + "time": "2024-12-06T19:14:39.8093483+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b" + "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "source": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -431,28 +431,28 @@ "isOnHold": true } ], - "sequenceNumber": 7, + "sequenceNumber": 8, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "callConnectionId": "31002180-e3f6-4162-8814-1c085d653d7b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:25.8936788+00:00", + "time": "2024-12-06T19:14:39.8093483+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + "subject": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", "type": "Microsoft.Communication.HoldFailed", "data": { "version": "2024-09-01-preview", @@ -462,21 +462,21 @@ "subCode": 8535, "message": "Action failed, file format is invalid." }, - "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", "publicEventType": "Microsoft.Communication.HoldFailed" }, - "time": "2024-12-06T00:08:26.5854975+00:00", + "time": "2024-12-06T19:14:40.2289921+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b", + "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -510,21 +510,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-7334-471c-a4cf-c7a74ff2716b", + "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:26.6001256+00:00", + "time": "2024-12-06T19:14:40.3683174+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b" + "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "source": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -558,21 +558,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "callConnectionId": "31002180-e3f6-4162-8814-1c085d653d7b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:26.5854975+00:00", + "time": "2024-12-06T19:14:40.3683174+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + "subject": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911", + "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -581,21 +581,21 @@ "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-a946-486a-8c6f-58a6b1231911", + "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:08:27.2030081+00:00", + "time": "2024-12-06T19:14:41.2237422+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-a946-486a-8c6f-58a6b1231911" + "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b", + "source": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -604,15 +604,15 @@ "subCode": 5001, "message": "This conversation has ended.. DiagCode: 0#5001.@" }, - "callConnectionId": "13002180-7334-471c-a4cf-c7a74ff2716b", + "callConnectionId": "31002180-e3f6-4162-8814-1c085d653d7b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:08:27.2266799+00:00", + "time": "2024-12-06T19:14:41.3220322+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7334-471c-a4cf-c7a74ff2716b" + "subject": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json index 0682fdb1f7eb..018cce7828cc 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json @@ -17,60 +17,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b", - "type": "Microsoft.Communication.ParticipantsUpdated", + "source": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785", + "type": "Microsoft.Communication.CallConnected", "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, + "version": "2024-09-01-preview", + "operationContext": "playToAllCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2024-09-01-preview", - "callConnectionId": "13002180-b2d6-49e5-889e-25910e3c1f3b", + "callConnectionId": "31002180-b559-4842-87dd-d717405cf785", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", + "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:19.9700746+00:00", + "time": "2024-12-06T19:11:28.2145947+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b" + "subject": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-4a3c-4b76-b572-490b32b0496d", + "source": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -104,69 +80,93 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-4a3c-4b76-b572-490b32b0496d", + "callConnectionId": "31002180-b559-4842-87dd-d717405cf785", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:19.9700746+00:00", + "time": "2024-12-06T19:11:28.2198867+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-4a3c-4b76-b572-490b32b0496d" + "subject": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b", + "source": "calling/callConnections/31002180-bdb3-4fd1-a9d7-47a1b7036f4d", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", - "operationContext": "playToAllCreateCall", + "operationContext": "playToAllAnswer", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-b2d6-49e5-889e-25910e3c1f3b", + "callConnectionId": "31002180-bdb3-4fd1-a9d7-47a1b7036f4d", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:20.0674025+00:00", + "time": "2024-12-06T19:11:28.2023945+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b" + "subject": "calling/callConnections/31002180-bdb3-4fd1-a9d7-47a1b7036f4d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-4a3c-4b76-b572-490b32b0496d", - "type": "Microsoft.Communication.CallConnected", + "source": "calling/callConnections/31002180-bdb3-4fd1-a9d7-47a1b7036f4d", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "version": "2024-09-01-preview", - "operationContext": "playToAllAnswer", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-4a3c-4b76-b572-490b32b0496d", + "version": "2024-09-01-preview", + "callConnectionId": "31002180-bdb3-4fd1-a9d7-47a1b7036f4d", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" + "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:20.0506484+00:00", + "time": "2024-12-06T19:11:28.2062694+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-4a3c-4b76-b572-490b32b0496d" + "subject": "calling/callConnections/31002180-bdb3-4fd1-a9d7-47a1b7036f4d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b", + "source": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785", "type": "Microsoft.Communication.PlayStarted", "data": { "version": "2024-09-01-preview", @@ -176,21 +176,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-b2d6-49e5-889e-25910e3c1f3b", + "callConnectionId": "31002180-b559-4842-87dd-d717405cf785", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", "publicEventType": "Microsoft.Communication.PlayStarted" }, - "time": "2024-12-06T00:05:22.1173156+00:00", + "time": "2024-12-06T19:11:29.7102108+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b" + "subject": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b", + "source": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785", "type": "Microsoft.Communication.PlayCompleted", "data": { "version": "2024-09-01-preview", @@ -200,21 +200,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-b2d6-49e5-889e-25910e3c1f3b", + "callConnectionId": "31002180-b559-4842-87dd-d717405cf785", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-12-06T00:05:26.3304497+00:00", + "time": "2024-12-06T19:11:33.9302713+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b" + "subject": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b", + "source": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -224,39 +224,39 @@ "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-b2d6-49e5-889e-25910e3c1f3b", + "callConnectionId": "31002180-b559-4842-87dd-d717405cf785", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:05:27.1897677+00:00", + "time": "2024-12-06T19:11:34.9670176+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-b2d6-49e5-889e-25910e3c1f3b" + "subject": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-4a3c-4b76-b572-490b32b0496d", + "source": "calling/callConnections/31002180-bdb3-4fd1-a9d7-47a1b7036f4d", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", "operationContext": "playToAllAnswer", "resultInformation": { "code": 200, - "subCode": 5001, - "message": "This conversation has ended.. DiagCode: 0#5001.@" + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-4a3c-4b76-b572-490b32b0496d", + "callConnectionId": "31002180-bdb3-4fd1-a9d7-47a1b7036f4d", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:05:27.2157229+00:00", + "time": "2024-12-06T19:11:35.047874+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-4a3c-4b76-b572-490b32b0496d" + "subject": "calling/callConnections/31002180-bdb3-4fd1-a9d7-47a1b7036f4d" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json index 12d9e333712b..fd24c4302ab7 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json @@ -17,12 +17,12 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c" }, [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249", + "source": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -32,21 +32,45 @@ "subCode": 0, "message": "" }, - "callConnectionId": "0f001d80-40ec-4fe6-ae5a-6e30bd767249", + "callConnectionId": "08001f80-b254-40a7-bba8-a2ea8fb5f6c3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:05.0790562+00:00", + "time": "2024-12-06T19:11:10.8580029+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249" + "subject": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7", + "source": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playAudioCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "09001f80-65b0-4afe-b8dc-666804f66ed7", + "serverCallId": "sanitized", + "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:11:10.9000495+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -80,21 +104,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "2f001d80-e2ec-41dd-83fc-16b0173920e7", + "callConnectionId": "09001f80-65b0-4afe-b8dc-666804f66ed7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:05.0666229+00:00", + "time": "2024-12-06T19:11:10.9639351+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7" + "subject": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249", + "source": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -128,45 +152,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "0f001d80-40ec-4fe6-ae5a-6e30bd767249", + "callConnectionId": "08001f80-b254-40a7-bba8-a2ea8fb5f6c3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:05.050761+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playAudioCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "2f001d80-e2ec-41dd-83fc-16b0173920e7", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T00:05:05.1749713+00:00", + "time": "2024-12-06T19:11:10.9744443+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7" + "subject": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7", + "source": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -179,7 +179,7 @@ } }, "isMuted": false, - "isOnHold": true + "isOnHold": false }, { "identifier": { @@ -190,7 +190,7 @@ } }, "isMuted": false, - "isOnHold": false + "isOnHold": true } ], "sequenceNumber": 3, @@ -200,21 +200,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "2f001d80-e2ec-41dd-83fc-16b0173920e7", + "callConnectionId": "09001f80-65b0-4afe-b8dc-666804f66ed7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:08.2932013+00:00", + "time": "2024-12-06T19:11:14.9760482+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7" + "subject": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249", + "source": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -227,7 +227,7 @@ } }, "isMuted": false, - "isOnHold": true + "isOnHold": false }, { "identifier": { @@ -238,7 +238,7 @@ } }, "isMuted": false, - "isOnHold": false + "isOnHold": true } ], "sequenceNumber": 3, @@ -248,21 +248,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "0f001d80-40ec-4fe6-ae5a-6e30bd767249", + "callConnectionId": "08001f80-b254-40a7-bba8-a2ea8fb5f6c3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:08.2879261+00:00", + "time": "2024-12-06T19:11:14.965581+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249" + "subject": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7", + "source": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7", "type": "Microsoft.Communication.PlayStarted", "data": { "version": "2024-09-01-preview", @@ -272,21 +272,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "2f001d80-e2ec-41dd-83fc-16b0173920e7", + "callConnectionId": "09001f80-65b0-4afe-b8dc-666804f66ed7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", "publicEventType": "Microsoft.Communication.PlayStarted" }, - "time": "2024-12-06T00:05:08.7934082+00:00", + "time": "2024-12-06T19:11:15.6370648+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7" + "subject": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7", + "source": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7", "type": "Microsoft.Communication.PlayCompleted", "data": { "version": "2024-09-01-preview", @@ -296,21 +296,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "2f001d80-e2ec-41dd-83fc-16b0173920e7", + "callConnectionId": "09001f80-65b0-4afe-b8dc-666804f66ed7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-12-06T00:05:13.024456+00:00", + "time": "2024-12-06T19:11:19.9396713+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7" + "subject": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249", + "source": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -344,21 +344,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "0f001d80-40ec-4fe6-ae5a-6e30bd767249", + "callConnectionId": "08001f80-b254-40a7-bba8-a2ea8fb5f6c3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:13.0314768+00:00", + "time": "2024-12-06T19:11:19.9868297+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249" + "subject": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7", + "source": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -392,63 +392,63 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "2f001d80-e2ec-41dd-83fc-16b0173920e7", + "callConnectionId": "09001f80-65b0-4afe-b8dc-666804f66ed7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:13.0467302+00:00", + "time": "2024-12-06T19:11:19.9640877+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7" + "subject": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249", + "source": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", - "operationContext": "playAudioAnswer", + "operationContext": "playAudioCreateCall", "resultInformation": { "code": 200, - "subCode": 5010, - "message": "This conversation has ended as only one participant was remaining in the conversation.. DiagCode: 0#5010.@" + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "0f001d80-40ec-4fe6-ae5a-6e30bd767249", + "callConnectionId": "09001f80-65b0-4afe-b8dc-666804f66ed7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:05:13.7561328+00:00", + "time": "2024-12-06T19:11:21.4415138+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0f001d80-40ec-4fe6-ae5a-6e30bd767249" + "subject": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7", + "source": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", - "operationContext": "playAudioCreateCall", + "operationContext": "playAudioAnswer", "resultInformation": { "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" + "subCode": 5001, + "message": "This conversation has ended.. DiagCode: 0#5001.@" }, - "callConnectionId": "2f001d80-e2ec-41dd-83fc-16b0173920e7", + "callConnectionId": "08001f80-b254-40a7-bba8-a2ea8fb5f6c3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:05:13.7736684+00:00", + "time": "2024-12-06T19:11:21.4702483+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/2f001d80-e2ec-41dd-83fc-16b0173920e7" + "subject": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json index 57828b61a467..5fb804a10130 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json @@ -17,60 +17,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-edb3-4a22-a137-fa77ba5c179f", - "type": "Microsoft.Communication.ParticipantsUpdated", + "source": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669", + "type": "Microsoft.Communication.CallConnected", "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2024-09-01-preview", - "callConnectionId": "13002180-edb3-4a22-a137-fa77ba5c179f", + "callConnectionId": "31002180-c513-4513-b197-109ccecd0669", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", + "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:07:35.2153281+00:00", + "time": "2024-12-06T19:13:48.5567826+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-edb3-4a22-a137-fa77ba5c179f" + "subject": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb", + "source": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -104,69 +80,93 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-e0ea-4600-aa72-f3b662b40eeb", + "callConnectionId": "31002180-c513-4513-b197-109ccecd0669", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:35.2227448+00:00", + "time": "2024-12-06T19:13:48.5841131+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb" + "subject": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-edb3-4a22-a137-fa77ba5c179f", + "source": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", + "operationContext": "playMultipleSourcesCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-edb3-4a22-a137-fa77ba5c179f", + "callConnectionId": "31002180-8d66-4765-bac7-d383585f9baf", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:07:35.2982395+00:00", + "time": "2024-12-06T19:13:48.6338367+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-edb3-4a22-a137-fa77ba5c179f" + "subject": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb", - "type": "Microsoft.Communication.CallConnected", + "source": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-e0ea-4600-aa72-f3b662b40eeb", + "version": "2024-09-01-preview", + "callConnectionId": "31002180-8d66-4765-bac7-d383585f9baf", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" + "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:35.3403213+00:00", + "time": "2024-12-06T19:13:48.6331591+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb" + "subject": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb", + "source": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -193,28 +193,28 @@ "isOnHold": false } ], - "sequenceNumber": 3, + "sequenceNumber": 4, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-e0ea-4600-aa72-f3b662b40eeb", + "callConnectionId": "31002180-8d66-4765-bac7-d383585f9baf", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:38.5807846+00:00", + "time": "2024-12-06T19:13:52.5719272+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb" + "subject": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-edb3-4a22-a137-fa77ba5c179f", + "source": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -241,28 +241,28 @@ "isOnHold": false } ], - "sequenceNumber": 3, + "sequenceNumber": 4, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-edb3-4a22-a137-fa77ba5c179f", + "callConnectionId": "31002180-c513-4513-b197-109ccecd0669", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:38.5807846+00:00", + "time": "2024-12-06T19:13:52.5719272+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-edb3-4a22-a137-fa77ba5c179f" + "subject": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb", + "source": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf", "type": "Microsoft.Communication.PlayStarted", "data": { "version": "2024-09-01-preview", @@ -272,21 +272,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-e0ea-4600-aa72-f3b662b40eeb", + "callConnectionId": "31002180-8d66-4765-bac7-d383585f9baf", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", "publicEventType": "Microsoft.Communication.PlayStarted" }, - "time": "2024-12-06T00:07:38.872403+00:00", + "time": "2024-12-06T19:13:53.0248695+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb" + "subject": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb", + "source": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf", "type": "Microsoft.Communication.PlayCompleted", "data": { "version": "2024-09-01-preview", @@ -296,15 +296,111 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-e0ea-4600-aa72-f3b662b40eeb", + "callConnectionId": "31002180-8d66-4765-bac7-d383585f9baf", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-12-06T00:07:45.2655355+00:00", + "time": "2024-12-06T19:13:59.4169886+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "31002180-c513-4513-b197-109ccecd0669", + "serverCallId": "sanitized", + "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T19:13:59.4396675+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "31002180-8d66-4765-bac7-d383585f9baf", + "serverCallId": "sanitized", + "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-06T19:13:59.4396675+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb" + "subject": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json index f57ec5fb8a39..ce442a3b19a6 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json @@ -17,60 +17,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "c24bc3a2-b7e8-4b32-a0c9-a10c08315df4" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77", - "type": "Microsoft.Communication.ParticipantsUpdated", + "source": "calling/callConnections/31002180-a04e-4ad8-90bf-13ff95a8c76d", + "type": "Microsoft.Communication.CallConnected", "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2024-09-01-preview", - "callConnectionId": "13002180-393f-44d6-9c44-7886beae0e77", + "callConnectionId": "31002180-a04e-4ad8-90bf-13ff95a8c76d", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + "correlationId": "c24bc3a2-b7e8-4b32-a0c9-a10c08315df4", + "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:07:20.8642414+00:00", + "time": "2024-12-06T19:13:33.9090383+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77" + "subject": "calling/callConnections/31002180-a04e-4ad8-90bf-13ff95a8c76d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-dafa-46fd-b4c1-64fc8d8290cb", + "source": "calling/callConnections/31002180-a04e-4ad8-90bf-13ff95a8c76d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -104,69 +80,93 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-dafa-46fd-b4c1-64fc8d8290cb", + "callConnectionId": "31002180-a04e-4ad8-90bf-13ff95a8c76d", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "c24bc3a2-b7e8-4b32-a0c9-a10c08315df4", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:20.8704355+00:00", + "time": "2024-12-06T19:13:33.9327558+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-dafa-46fd-b4c1-64fc8d8290cb" + "subject": "calling/callConnections/31002180-a04e-4ad8-90bf-13ff95a8c76d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-dafa-46fd-b4c1-64fc8d8290cb", + "source": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", + "operationContext": "playMultipleSourcesCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-dafa-46fd-b4c1-64fc8d8290cb", + "callConnectionId": "31002180-fef3-4003-8137-d30518469a75", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "c24bc3a2-b7e8-4b32-a0c9-a10c08315df4", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:07:20.9512253+00:00", + "time": "2024-12-06T19:13:33.9729419+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-dafa-46fd-b4c1-64fc8d8290cb" + "subject": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77", - "type": "Microsoft.Communication.CallConnected", + "source": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-393f-44d6-9c44-7886beae0e77", + "version": "2024-09-01-preview", + "callConnectionId": "31002180-fef3-4003-8137-d30518469a75", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" + "correlationId": "c24bc3a2-b7e8-4b32-a0c9-a10c08315df4", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:21.0442499+00:00", + "time": "2024-12-06T19:13:33.9811207+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77" + "subject": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77", + "source": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75", "type": "Microsoft.Communication.PlayStarted", "data": { "version": "2024-09-01-preview", @@ -176,21 +176,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-393f-44d6-9c44-7886beae0e77", + "callConnectionId": "31002180-fef3-4003-8137-d30518469a75", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "c24bc3a2-b7e8-4b32-a0c9-a10c08315df4", "publicEventType": "Microsoft.Communication.PlayStarted" }, - "time": "2024-12-06T00:07:22.7451093+00:00", + "time": "2024-12-06T19:13:35.7607367+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77" + "subject": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77", + "source": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75", "type": "Microsoft.Communication.PlayCompleted", "data": { "version": "2024-09-01-preview", @@ -200,15 +200,15 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-393f-44d6-9c44-7886beae0e77", + "callConnectionId": "31002180-fef3-4003-8137-d30518469a75", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "c24bc3a2-b7e8-4b32-a0c9-a10c08315df4", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-12-06T00:07:29.0300817+00:00", + "time": "2024-12-06T19:13:42.0191048+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-393f-44d6-9c44-7886beae0e77" + "subject": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json index f3c49c538035..73363505cc54 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json @@ -17,60 +17,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "944dfe60-ee87-4a4d-a0a2-b3c5b9e4f06e" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3", - "type": "Microsoft.Communication.ParticipantsUpdated", + "source": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3", + "type": "Microsoft.Communication.CallConnected", "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2024-09-01-preview", - "callConnectionId": "13002180-67f1-4629-b471-52aa50f466d3", + "callConnectionId": "31002180-cced-4297-aa5c-0178df078cd3", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + "correlationId": "944dfe60-ee87-4a4d-a0a2-b3c5b9e4f06e", + "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:06:22.5846458+00:00", + "time": "2024-12-06T19:12:31.5701947+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3" + "subject": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-d264-45d0-94cd-0c395b8f2479", + "source": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -104,111 +80,135 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-d264-45d0-94cd-0c395b8f2479", + "callConnectionId": "31002180-cced-4297-aa5c-0178df078cd3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "944dfe60-ee87-4a4d-a0a2-b3c5b9e4f06e", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:06:22.5846458+00:00", + "time": "2024-12-06T19:12:31.5701947+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-d264-45d0-94cd-0c395b8f2479" + "subject": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-d264-45d0-94cd-0c395b8f2479", - "type": "Microsoft.Communication.CallConnected", + "source": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3", + "type": "Microsoft.Communication.PlayStarted", "data": { "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", + "operationContext": "multipleFileSourceContext", "resultInformation": { "code": 200, "subCode": 0, - "message": "" + "message": "Action completed successfully." }, - "callConnectionId": "13002180-d264-45d0-94cd-0c395b8f2479", + "callConnectionId": "31002180-cced-4297-aa5c-0178df078cd3", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" + "correlationId": "944dfe60-ee87-4a4d-a0a2-b3c5b9e4f06e", + "publicEventType": "Microsoft.Communication.PlayStarted" }, - "time": "2024-12-06T00:06:22.5948185+00:00", + "time": "2024-12-06T19:12:33.4734353+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-d264-45d0-94cd-0c395b8f2479" + "subject": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3", - "type": "Microsoft.Communication.CallConnected", + "source": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3", + "type": "Microsoft.Communication.PlayCompleted", "data": { "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", + "operationContext": "multipleFileSourceContext", "resultInformation": { "code": 200, "subCode": 0, - "message": "" + "message": "Action completed successfully." }, - "callConnectionId": "13002180-67f1-4629-b471-52aa50f466d3", + "callConnectionId": "31002180-cced-4297-aa5c-0178df078cd3", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" + "correlationId": "944dfe60-ee87-4a4d-a0a2-b3c5b9e4f06e", + "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-12-06T00:06:22.6894703+00:00", + "time": "2024-12-06T19:12:46.2461001+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3" + "subject": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3", - "type": "Microsoft.Communication.PlayStarted", + "source": "calling/callConnections/31002180-754b-4047-a097-9a2963087c8b", + "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", - "operationContext": "multipleFileSourceContext", + "operationContext": "playMultipleSourcesAnswerCall", "resultInformation": { "code": 200, "subCode": 0, - "message": "Action completed successfully." + "message": "" }, - "callConnectionId": "13002180-67f1-4629-b471-52aa50f466d3", + "callConnectionId": "31002180-754b-4047-a097-9a2963087c8b", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.PlayStarted" + "correlationId": "944dfe60-ee87-4a4d-a0a2-b3c5b9e4f06e", + "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:06:24.3477214+00:00", + "time": "2024-12-06T19:12:50.4563629+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3" + "subject": "calling/callConnections/31002180-754b-4047-a097-9a2963087c8b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3", - "type": "Microsoft.Communication.PlayCompleted", + "source": "calling/callConnections/31002180-754b-4047-a097-9a2963087c8b", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "version": "2024-09-01-preview", - "operationContext": "multipleFileSourceContext", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, "resultInformation": { "code": 200, "subCode": 0, - "message": "Action completed successfully." + "message": "" }, - "callConnectionId": "13002180-67f1-4629-b471-52aa50f466d3", + "version": "2024-09-01-preview", + "callConnectionId": "31002180-754b-4047-a097-9a2963087c8b", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.PlayCompleted" + "correlationId": "944dfe60-ee87-4a4d-a0a2-b3c5b9e4f06e", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:06:37.1149221+00:00", + "time": "2024-12-06T19:12:50.4625092+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-67f1-4629-b471-52aa50f466d3" + "subject": "calling/callConnections/31002180-754b-4047-a097-9a2963087c8b" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json index e3d62b53181e..ffc64293a6ed 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json @@ -17,12 +17,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb", + "source": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "31002180-913c-433c-ac7b-67ce853ef7ab", + "serverCallId": "sanitized", + "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:13:14.6916076+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -56,21 +80,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-6fe8-49aa-8025-ad192b4f7dcb", + "callConnectionId": "31002180-913c-433c-ac7b-67ce853ef7ab", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:00.3510906+00:00", + "time": "2024-12-06T19:13:14.7192804+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb" + "subject": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1", + "source": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -104,45 +128,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-187b-47fb-88c5-539d40e79dd1", + "callConnectionId": "31002180-7036-475b-82fd-77f7f0094309", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:00.3510906+00:00", + "time": "2024-12-06T19:13:14.7664605+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1" + "subject": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "13002180-6fe8-49aa-8025-ad192b4f7dcb", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T00:07:00.4082555+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1", + "source": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -152,21 +152,21 @@ "subCode": 0, "message": "" }, - "callConnectionId": "13002180-187b-47fb-88c5-539d40e79dd1", + "callConnectionId": "31002180-7036-475b-82fd-77f7f0094309", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:07:00.4805571+00:00", + "time": "2024-12-06T19:13:14.7664605+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1" + "subject": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1", + "source": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -179,7 +179,7 @@ } }, "isMuted": false, - "isOnHold": true + "isOnHold": false }, { "identifier": { @@ -190,7 +190,7 @@ } }, "isMuted": false, - "isOnHold": false + "isOnHold": true } ], "sequenceNumber": 4, @@ -200,21 +200,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-187b-47fb-88c5-539d40e79dd1", + "callConnectionId": "31002180-913c-433c-ac7b-67ce853ef7ab", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:07.6143568+00:00", + "time": "2024-12-06T19:13:18.5713321+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1" + "subject": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb", + "source": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -227,7 +227,7 @@ } }, "isMuted": false, - "isOnHold": true + "isOnHold": false }, { "identifier": { @@ -238,7 +238,7 @@ } }, "isMuted": false, - "isOnHold": false + "isOnHold": true } ], "sequenceNumber": 4, @@ -248,21 +248,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-6fe8-49aa-8025-ad192b4f7dcb", + "callConnectionId": "31002180-7036-475b-82fd-77f7f0094309", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:07.6143568+00:00", + "time": "2024-12-06T19:13:18.5713321+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb" + "subject": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1", + "source": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309", "type": "Microsoft.Communication.PlayStarted", "data": { "version": "2024-09-01-preview", @@ -272,21 +272,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-187b-47fb-88c5-539d40e79dd1", + "callConnectionId": "31002180-7036-475b-82fd-77f7f0094309", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", "publicEventType": "Microsoft.Communication.PlayStarted" }, - "time": "2024-12-06T00:07:08.5705081+00:00", + "time": "2024-12-06T19:13:19.5204043+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1" + "subject": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1", + "source": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309", "type": "Microsoft.Communication.PlayCompleted", "data": { "version": "2024-09-01-preview", @@ -296,69 +296,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-187b-47fb-88c5-539d40e79dd1", + "callConnectionId": "31002180-7036-475b-82fd-77f7f0094309", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-12-06T00:07:15.5016196+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "13002180-6fe8-49aa-8025-ad192b4f7dcb", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T00:07:15.5321576+00:00", + "time": "2024-12-06T19:13:26.2027769+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-6fe8-49aa-8025-ad192b4f7dcb" + "subject": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1", + "source": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -392,15 +344,15 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-187b-47fb-88c5-539d40e79dd1", + "callConnectionId": "31002180-913c-433c-ac7b-67ce853ef7ab", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:15.5321576+00:00", + "time": "2024-12-06T19:13:26.2350067+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-187b-47fb-88c5-539d40e79dd1" + "subject": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json index 140721a78acc..4a11bf7bb13f 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json @@ -17,12 +17,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "c7761ea4-bf84-4d5f-8a82-ff95efe837b2" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-8030-46f7-b171-f030bedd85f7", + "source": "calling/callConnections/31002180-3c1a-4853-96a4-3d1aacf2fe6d", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "31002180-3c1a-4853-96a4-3d1aacf2fe6d", + "serverCallId": "sanitized", + "correlationId": "c7761ea4-bf84-4d5f-8a82-ff95efe837b2", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:12:58.6176593+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-3c1a-4853-96a4-3d1aacf2fe6d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-3c1a-4853-96a4-3d1aacf2fe6d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -56,21 +80,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-8030-46f7-b171-f030bedd85f7", + "callConnectionId": "31002180-3c1a-4853-96a4-3d1aacf2fe6d", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "c7761ea4-bf84-4d5f-8a82-ff95efe837b2", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:06:45.9635309+00:00", + "time": "2024-12-06T19:12:58.6330237+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-8030-46f7-b171-f030bedd85f7" + "subject": "calling/callConnections/31002180-3c1a-4853-96a4-3d1aacf2fe6d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "source": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -104,45 +128,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "callConnectionId": "31002180-7585-4805-94a4-954ad90a1c45", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "c7761ea4-bf84-4d5f-8a82-ff95efe837b2", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:06:45.9707418+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-8030-46f7-b171-f030bedd85f7", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "13002180-8030-46f7-b171-f030bedd85f7", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T00:06:45.9808832+00:00", + "time": "2024-12-06T19:12:58.6856707+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-8030-46f7-b171-f030bedd85f7" + "subject": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "source": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -152,21 +152,21 @@ "subCode": 0, "message": "" }, - "callConnectionId": "13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "callConnectionId": "31002180-7585-4805-94a4-954ad90a1c45", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "c7761ea4-bf84-4d5f-8a82-ff95efe837b2", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:06:46.0775303+00:00", + "time": "2024-12-06T19:12:58.6856707+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb" + "subject": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "source": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45", "type": "Microsoft.Communication.PlayStarted", "data": { "version": "2024-09-01-preview", @@ -176,21 +176,21 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "callConnectionId": "31002180-7585-4805-94a4-954ad90a1c45", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "c7761ea4-bf84-4d5f-8a82-ff95efe837b2", "publicEventType": "Microsoft.Communication.PlayStarted" }, - "time": "2024-12-06T00:06:48.1302443+00:00", + "time": "2024-12-06T19:13:00.9870259+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb" + "subject": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "source": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45", "type": "Microsoft.Communication.PlayCompleted", "data": { "version": "2024-09-01-preview", @@ -200,15 +200,15 @@ "subCode": 0, "message": "Action completed successfully." }, - "callConnectionId": "13002180-7d4d-4dbb-b94d-15fb292fb7bb", + "callConnectionId": "31002180-7585-4805-94a4-954ad90a1c45", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "c7761ea4-bf84-4d5f-8a82-ff95efe837b2", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-12-06T00:06:54.6937262+00:00", + "time": "2024-12-06T19:13:07.5207038+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7d4d-4dbb-b94d-15fb292fb7bb" + "subject": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json index 215f2bdc2e5c..effbe55cb277 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json @@ -1,52 +1,4 @@ [ - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "13002180-e0ea-4600-aa72-f3b662b40eeb", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T00:07:45.2874061+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-e0ea-4600-aa72-f3b662b40eeb" - } - ], { "to": { "kind": "communicationUser", @@ -65,12 +17,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d", + "source": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "31002180-4123-49ce-a1e5-fa2c55b6e249", + "serverCallId": "sanitized", + "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:14:06.6586825+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -104,45 +80,45 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-ea9e-4007-bd66-0095aefacf8d", + "callConnectionId": "31002180-4123-49ce-a1e5-fa2c55b6e249", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:51.0924591+00:00", + "time": "2024-12-06T19:14:06.6968212+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d" + "subject": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d", + "source": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", + "operationContext": "playMultipleSourcesCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-ea9e-4007-bd66-0095aefacf8d", + "callConnectionId": "31002180-cef3-4881-9780-4c9e79dcf5a1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:07:51.1645801+00:00", + "time": "2024-12-06T19:14:06.7375817+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d" + "subject": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3", + "source": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -176,45 +152,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-de4d-4fb4-af75-e3fafcde7ff3", + "callConnectionId": "31002180-cef3-4881-9780-4c9e79dcf5a1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:51.1027003+00:00", + "time": "2024-12-06T19:14:06.7375817+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3" + "subject": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "13002180-de4d-4fb4-af75-e3fafcde7ff3", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T00:07:51.2349163+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3", + "source": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -241,28 +193,28 @@ "isOnHold": false } ], - "sequenceNumber": 4, + "sequenceNumber": 3, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-de4d-4fb4-af75-e3fafcde7ff3", + "callConnectionId": "31002180-cef3-4881-9780-4c9e79dcf5a1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:57.3261868+00:00", + "time": "2024-12-06T19:14:09.9949968+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3" + "subject": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d", + "source": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -289,28 +241,28 @@ "isOnHold": false } ], - "sequenceNumber": 4, + "sequenceNumber": 3, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-ea9e-4007-bd66-0095aefacf8d", + "callConnectionId": "31002180-4123-49ce-a1e5-fa2c55b6e249", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:57.3307023+00:00", + "time": "2024-12-06T19:14:09.9949968+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d" + "subject": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3", + "source": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1", "type": "Microsoft.Communication.PlayFailed", "data": { "failedPlaySourceIndex": 0, @@ -321,21 +273,21 @@ "subCode": 8535, "message": "Action failed, file format is invalid." }, - "callConnectionId": "13002180-de4d-4fb4-af75-e3fafcde7ff3", + "callConnectionId": "31002180-cef3-4881-9780-4c9e79dcf5a1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", "publicEventType": "Microsoft.Communication.PlayFailed" }, - "time": "2024-12-06T00:07:58.828633+00:00", + "time": "2024-12-06T19:14:10.3282823+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3" + "subject": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d", + "source": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -369,21 +321,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-ea9e-4007-bd66-0095aefacf8d", + "callConnectionId": "31002180-4123-49ce-a1e5-fa2c55b6e249", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:58.8450435+00:00", + "time": "2024-12-06T19:14:10.5654844+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d" + "subject": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3", + "source": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -417,63 +369,63 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-de4d-4fb4-af75-e3fafcde7ff3", + "callConnectionId": "31002180-cef3-4881-9780-4c9e79dcf5a1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:07:58.8450435+00:00", + "time": "2024-12-06T19:14:10.5654844+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3" + "subject": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d", + "source": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", + "operationContext": "playMultipleSourcesCreateCall", "resultInformation": { "code": 200, - "subCode": 5001, - "message": "This conversation has ended.. DiagCode: 0#5001.@" + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-ea9e-4007-bd66-0095aefacf8d", + "callConnectionId": "31002180-cef3-4881-9780-4c9e79dcf5a1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:08:00.053009+00:00", + "time": "2024-12-06T19:14:11.4950744+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-ea9e-4007-bd66-0095aefacf8d" + "subject": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3", + "source": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", + "operationContext": "playMultipleSourcesAnswerCall", "resultInformation": { "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" + "subCode": 5001, + "message": "This conversation has ended.. DiagCode: 0#5001.@" }, - "callConnectionId": "13002180-de4d-4fb4-af75-e3fafcde7ff3", + "callConnectionId": "31002180-4123-49ce-a1e5-fa2c55b6e249", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:08:00.033236+00:00", + "time": "2024-12-06T19:14:11.5954464+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-de4d-4fb4-af75-e3fafcde7ff3" + "subject": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json index 0869c2c38ab9..d83063c5bbf7 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json @@ -17,12 +17,36 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-abea-4eed-ae40-0c7e98073bdb", + "source": "calling/callConnections/31002180-bc0d-4ebc-a214-ffd0cc2e50a1", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "31002180-bc0d-4ebc-a214-ffd0cc2e50a1", + "serverCallId": "sanitized", + "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:14:18.0525192+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-bc0d-4ebc-a214-ffd0cc2e50a1" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-bc0d-4ebc-a214-ffd0cc2e50a1", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -56,45 +80,45 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-abea-4eed-ae40-0c7e98073bdb", + "callConnectionId": "31002180-bc0d-4ebc-a214-ffd0cc2e50a1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:06.7428387+00:00", + "time": "2024-12-06T19:14:18.0765901+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-abea-4eed-ae40-0c7e98073bdb" + "subject": "calling/callConnections/31002180-bc0d-4ebc-a214-ffd0cc2e50a1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-abea-4eed-ae40-0c7e98073bdb", + "source": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", + "operationContext": "playMultipleSourcesCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "callConnectionId": "13002180-abea-4eed-ae40-0c7e98073bdb", + "callConnectionId": "31002180-155e-4a17-9c4f-a0612a9c7519", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:08:06.753972+00:00", + "time": "2024-12-06T19:14:18.0928122+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-abea-4eed-ae40-0c7e98073bdb" + "subject": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d", + "source": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -128,45 +152,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-69cd-4fb1-87c6-980cf5cd894d", + "callConnectionId": "31002180-155e-4a17-9c4f-a0612a9c7519", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:08:06.7616963+00:00", + "time": "2024-12-06T19:14:18.097802+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d" + "subject": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "13002180-69cd-4fb1-87c6-980cf5cd894d", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T00:08:06.8414319+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d", + "source": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519", "type": "Microsoft.Communication.PlayFailed", "data": { "failedPlaySourceIndex": 0, @@ -177,21 +177,21 @@ "subCode": 8535, "message": "Action failed, file format is invalid." }, - "callConnectionId": "13002180-69cd-4fb1-87c6-980cf5cd894d", + "callConnectionId": "31002180-155e-4a17-9c4f-a0612a9c7519", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953", "publicEventType": "Microsoft.Communication.PlayFailed" }, - "time": "2024-12-06T00:08:08.5008027+00:00", + "time": "2024-12-06T19:14:19.546701+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d" + "subject": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d", + "source": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -201,39 +201,39 @@ "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-69cd-4fb1-87c6-980cf5cd894d", + "callConnectionId": "31002180-155e-4a17-9c4f-a0612a9c7519", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:08:09.3167912+00:00", + "time": "2024-12-06T19:14:20.7221951+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-69cd-4fb1-87c6-980cf5cd894d" + "subject": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-abea-4eed-ae40-0c7e98073bdb", + "source": "calling/callConnections/31002180-bc0d-4ebc-a214-ffd0cc2e50a1", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", "operationContext": "playMultipleSourcesAnswerCall", "resultInformation": { "code": 200, - "subCode": 5001, - "message": "This conversation has ended.. DiagCode: 0#5001.@" + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-abea-4eed-ae40-0c7e98073bdb", + "callConnectionId": "31002180-bc0d-4ebc-a214-ffd0cc2e50a1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:08:09.3314069+00:00", + "time": "2024-12-06T19:14:20.8133423+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-abea-4eed-ae40-0c7e98073bdb" + "subject": "calling/callConnections/31002180-bc0d-4ebc-a214-ffd0cc2e50a1" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json index 2ab17d02e2a6..25dbab97771e 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json @@ -17,35 +17,12 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "c2c3c1c2-1296-4919-8707-69d8dd9a5b73" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7018-445b-9392-ac437130669f", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "13002180-7018-445b-9392-ac437130669f", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T00:05:44.6847198+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7018-445b-9392-ac437130669f" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab", + "source": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ @@ -79,21 +56,44 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-6f46-4c23-be9d-2e7f062ffaab", + "callConnectionId": "31002180-5c0e-4796-8b21-4c8a286f4a31", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "e3eb73b1-9dff-407d-b03c-44a646d1e578", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:44.7796026+00:00", + "time": "2024-12-06T19:11:51.4283155+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/31002180-5338-489c-a9a2-c136b9bfd931", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "31002180-5338-489c-a9a2-c136b9bfd931", + "serverCallId": "sanitized", + "correlationId": "c2c3c1c2-1296-4919-8707-69d8dd9a5b73", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-06T19:11:51.4377093+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab" + "subject": "calling/callConnections/31002180-5338-489c-a9a2-c136b9bfd931" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab", + "source": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31", "type": "Microsoft.Communication.CallConnected", "data": { "version": "2024-09-01-preview", @@ -102,30 +102,30 @@ "subCode": 0, "message": "" }, - "callConnectionId": "13002180-6f46-4c23-be9d-2e7f062ffaab", + "callConnectionId": "31002180-5c0e-4796-8b21-4c8a286f4a31", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "e3eb73b1-9dff-407d-b03c-44a646d1e578", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-06T00:05:44.8148451+00:00", + "time": "2024-12-06T19:11:51.5163512+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab" + "subject": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-7018-445b-9392-ac437130669f", + "source": "calling/callConnections/31002180-5338-489c-a9a2-c136b9bfd931", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { "participants": [ { "identifier": { "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" } }, "isMuted": false, @@ -134,9 +134,9 @@ { "identifier": { "rawId": "sanitized", - "kind": "phoneNumber", - "phoneNumber": { - "value": "sanitized" + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" } }, "isMuted": false, @@ -150,21 +150,21 @@ "message": "" }, "version": "2024-09-01-preview", - "callConnectionId": "13002180-7018-445b-9392-ac437130669f", + "callConnectionId": "31002180-5338-489c-a9a2-c136b9bfd931", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "c2c3c1c2-1296-4919-8707-69d8dd9a5b73", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-06T00:05:44.9413121+00:00", + "time": "2024-12-06T19:11:51.7215239+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7018-445b-9392-ac437130669f" + "subject": "calling/callConnections/31002180-5338-489c-a9a2-c136b9bfd931" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab", + "source": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31", "type": "Microsoft.Communication.SendDtmfTonesCompleted", "data": { "version": "2024-09-01-preview", @@ -174,21 +174,21 @@ "subCode": 0, "message": "" }, - "callConnectionId": "13002180-6f46-4c23-be9d-2e7f062ffaab", + "callConnectionId": "31002180-5c0e-4796-8b21-4c8a286f4a31", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "e3eb73b1-9dff-407d-b03c-44a646d1e578", "publicEventType": "Microsoft.Communication.SendDtmfTonesCompleted" }, - "time": "2024-12-06T00:05:50.7577215+00:00", + "time": "2024-12-06T19:11:56.7427383+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab" + "subject": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab", + "source": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31", "type": "Microsoft.Communication.ContinuousDtmfRecognitionStopped", "data": { "version": "2024-09-01-preview", @@ -198,21 +198,21 @@ "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-6f46-4c23-be9d-2e7f062ffaab", + "callConnectionId": "31002180-5c0e-4796-8b21-4c8a286f4a31", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "e3eb73b1-9dff-407d-b03c-44a646d1e578", "publicEventType": "Microsoft.Communication.ContinuousDtmfRecognitionStopped" }, - "time": "2024-12-06T00:05:51.531779+00:00", + "time": "2024-12-06T19:11:57.7159089+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab" + "subject": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab", + "source": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31", "type": "Microsoft.Communication.CallDisconnected", "data": { "version": "2024-09-01-preview", @@ -221,38 +221,15 @@ "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "callConnectionId": "13002180-6f46-4c23-be9d-2e7f062ffaab", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T00:05:52.6592654+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-6f46-4c23-be9d-2e7f062ffaab" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/13002180-7018-445b-9392-ac437130669f", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 540000, - "message": "The conversation has ended" - }, - "callConnectionId": "13002180-7018-445b-9392-ac437130669f", + "callConnectionId": "31002180-5c0e-4796-8b21-4c8a286f4a31", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "e3eb73b1-9dff-407d-b03c-44a646d1e578", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-06T00:05:52.8822711+00:00", + "time": "2024-12-06T19:11:58.9897927+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002180-7018-445b-9392-ac437130669f" + "subject": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/src/callMedia.ts b/sdk/communication/communication-call-automation/src/callMedia.ts index 2d46deabd4f8..65f82b18d73a 100644 --- a/sdk/communication/communication-call-automation/src/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/callMedia.ts @@ -682,7 +682,7 @@ export class CallMedia { public async startTranscription(options: StartTranscriptionOptions = {}): Promise { const startTranscriptionRequest: StartTranscriptionRequest = { locale: options.locale, - operationContext: options.operationContext ? options.operationContext : randomUUID(), + operationContext: options.operationContext, speechRecognitionModelEndpointId: options.speechRecognitionModelEndpointId, operationCallbackUri: options.operationCallbackUrl, }; @@ -695,7 +695,7 @@ export class CallMedia { */ public async stopTranscription(options: StopTranscriptionOptions = {}): Promise { const stopTranscriptionRequest: StopTranscriptionRequest = { - operationContext: options.operationContext ? options.operationContext : randomUUID(), + operationContext: options.operationContext, operationCallbackUri: options.operationCallbackUrl, }; return this.callMedia.stopTranscription(this.callConnectionId, stopTranscriptionRequest, {}); diff --git a/sdk/communication/communication-call-automation/test/utils/recordedClient.ts b/sdk/communication/communication-call-automation/test/utils/recordedClient.ts index c4c00a2246cf..39c30e749367 100644 --- a/sdk/communication/communication-call-automation/test/utils/recordedClient.ts +++ b/sdk/communication/communication-call-automation/test/utils/recordedClient.ts @@ -288,7 +288,6 @@ export function persistEvents(testName: string): void { "id", "incomingCallContext", "value", - "correlationId", "serverCallId", ]); sanitizedEvents.push(jsonData); From d7ce63e5a21cb0cbbbb9fa3d930632c180732548 Mon Sep 17 00:00:00 2001 From: Vinothini Dharmaraj Date: Fri, 6 Dec 2024 12:12:55 -0800 Subject: [PATCH 09/16] fixing the analyze --- .../test/utils/recordedClient.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sdk/communication/communication-call-automation/test/utils/recordedClient.ts b/sdk/communication/communication-call-automation/test/utils/recordedClient.ts index 39c30e749367..ed612cd38af7 100644 --- a/sdk/communication/communication-call-automation/test/utils/recordedClient.ts +++ b/sdk/communication/communication-call-automation/test/utils/recordedClient.ts @@ -283,13 +283,7 @@ export function persistEvents(testName: string): void { const sanitizedEvents: any[] = []; for (const event of eventsToPersist) { const jsonData = JSON.parse(event); - sanitizeObject(jsonData, [ - "rawId", - "id", - "incomingCallContext", - "value", - "serverCallId", - ]); + sanitizeObject(jsonData, ["rawId", "id", "incomingCallContext", "value", "serverCallId"]); sanitizedEvents.push(jsonData); } From f76538f11b0e3902a4c07d46547efb942737fb37 Mon Sep 17 00:00:00 2001 From: Vinothini Dharmaraj Date: Tue, 10 Dec 2024 10:08:15 -0800 Subject: [PATCH 10/16] Addressing the comments --- .../communication-call-automation/assets.json | 2 +- .../package.json | 16 + ...a_participant_and_get_call_properties.json | 479 ----- ...ipant_cancels_add_participant_request.json | 287 --- ...tion_Live_Tests_List_all_participants.json | 94 - ...nection_Live_Tests_Mute_a_participant.json | 1573 ----------------- ...ction_Live_Tests_Remove_a_participant.json | 304 ---- ...a_call,_start_recording,_and_hangs_up.json | 942 ---------- ...t_Live_Tests_Create_a_call_and_hangup.json | 214 --- ...on_Main_Client_Live_Tests_Reject_call.json | 69 - ...,_start_media_streaming,_and_hangs_up.json | 266 --- ...ll,_start_transcription,_and_hangs_up.json | 287 --- ...ive_Tests_Cancel_all_media_operations.json | 238 --- ..._start_media_streaming,_and_hangs_up..json | 289 --- ...l,_start_transcription,_and_hangs_up..json | 241 --- ...sts_Hold_Unhold_participant_in_a_call.json | 618 ------- ..._Tests_Play_audio_to_all_participants.json | 262 --- ...ests_Play_audio_to_target_participant.json | 454 ----- ...bined_text_and_file_sources_with_play.json | 406 ----- ...ed_text_and_file_sources_with_playall.json | 214 --- ...le_file_sources_with_play_and_playall.json | 214 --- ..._Play_multiple_text_sources_with_play.json | 358 ---- ...ay_multiple_text_sources_with_playall.json | 214 --- ...ive_Tests_Play_wrong_source_with_play.json | 431 ----- ..._Tests_Play_wrong_source_with_playall.json | 239 --- ...lient_Live_Tests_Trigger_DTMF_actions.json | 235 --- .../src/models/constants.ts | 2 +- 27 files changed, 18 insertions(+), 8930 deletions(-) delete mode 100644 sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json delete mode 100644 sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json delete mode 100644 sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json delete mode 100644 sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json delete mode 100644 sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json delete mode 100644 sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json delete mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json diff --git a/sdk/communication/communication-call-automation/assets.json b/sdk/communication/communication-call-automation/assets.json index 2687b80c7474..17d794a2fcdb 100644 --- a/sdk/communication/communication-call-automation/assets.json +++ b/sdk/communication/communication-call-automation/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "js", "TagPrefix": "js/communication/communication-call-automation", - "Tag": "js/communication/communication-call-automation_5a53c8ba6a" + "Tag": "js/communication/communication-call-automation_3fe8454b16" } diff --git a/sdk/communication/communication-call-automation/package.json b/sdk/communication/communication-call-automation/package.json index 44360955bc0c..458f5c1e45a7 100644 --- a/sdk/communication/communication-call-automation/package.json +++ b/sdk/communication/communication-call-automation/package.json @@ -102,6 +102,22 @@ "typescript": "~5.6.2", "vitest": "^2.1.5" }, + "//metadata": { + "constantPaths": [ + { + "path": "src/models/constants.ts", + "prefix": "packageVersion" + }, + { + "path": "src/generated/src/callAutomationApiClient.ts", + "prefix": "packageDetails" + }, + { + "path": "swagger/README.md", + "prefix": "package-version" + } + ] + }, "type": "module", "tshy": { "exports": { diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json deleted file mode 100644 index 78965637f67c..000000000000 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json +++ /dev/null @@ -1,479 +0,0 @@ -[ - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-863e-450b-b461-8bec05841263", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "listParticipantsAnswer", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-863e-450b-b461-8bec05841263", - "serverCallId": "sanitized", - "correlationId": "da2741b1-f197-4590-adff-5a7e98da2ea0", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:11.5713562+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-863e-450b-b461-8bec05841263" - } - ], - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "addParticipantsAnswer", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "10002180-e128-45ad-ab55-9d3ffb90c495", - "serverCallId": "sanitized", - "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:18.2689754+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-e128-45ad-ab55-9d3ffb90c495", - "serverCallId": "sanitized", - "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:18.295562+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-7d7b-4d5a-8719-37602796cfa5", - "serverCallId": "sanitized", - "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:18.3405842+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "addParticipantsCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "10002180-7d7b-4d5a-8719-37602796cfa5", - "serverCallId": "sanitized", - "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:18.3668783+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 3, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-e128-45ad-ab55-9d3ffb90c495", - "serverCallId": "sanitized", - "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:24.3673404+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495" - } - ], - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 3, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-7d7b-4d5a-8719-37602796cfa5", - "serverCallId": "sanitized", - "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:24.4183479+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-f63c-463b-8bcf-77256e6a1fcd", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "addParticipantsAnswer2", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-f63c-463b-8bcf-77256e6a1fcd", - "serverCallId": "sanitized", - "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:26.665385+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-f63c-463b-8bcf-77256e6a1fcd" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 4, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-7d7b-4d5a-8719-37602796cfa5", - "serverCallId": "sanitized", - "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:27.0237573+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-f63c-463b-8bcf-77256e6a1fcd", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 7, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-f63c-463b-8bcf-77256e6a1fcd", - "serverCallId": "sanitized", - "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:27.1967841+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-f63c-463b-8bcf-77256e6a1fcd" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5", - "type": "Microsoft.Communication.AddParticipantSucceeded", - "data": { - "participant": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "version": "2024-09-01-preview", - "operationContext": "addParticipants", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "10002180-7d7b-4d5a-8719-37602796cfa5", - "serverCallId": "sanitized", - "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", - "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" - }, - "time": "2024-12-06T19:11:27.0248496+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-7d7b-4d5a-8719-37602796cfa5" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json deleted file mode 100644 index 60f5075ceff6..000000000000 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json +++ /dev/null @@ -1,287 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-3103-4a36-9b56-11e59a1602e5", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "cancelAddCreateAnswer", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "10002180-3103-4a36-9b56-11e59a1602e5", - "serverCallId": "sanitized", - "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:12:02.8472978+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-3103-4a36-9b56-11e59a1602e5" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-3103-4a36-9b56-11e59a1602e5", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-3103-4a36-9b56-11e59a1602e5", - "serverCallId": "sanitized", - "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:12:02.8657044+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-3103-4a36-9b56-11e59a1602e5" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "cancelAddCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-cf9c-4504-b354-291a2bc9b2f1", - "serverCallId": "sanitized", - "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:12:02.9241968+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-cf9c-4504-b354-291a2bc9b2f1", - "serverCallId": "sanitized", - "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:12:02.9195604+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-3103-4a36-9b56-11e59a1602e5", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 3, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-3103-4a36-9b56-11e59a1602e5", - "serverCallId": "sanitized", - "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:12:06.536946+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-3103-4a36-9b56-11e59a1602e5" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 3, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-cf9c-4504-b354-291a2bc9b2f1", - "serverCallId": "sanitized", - "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:12:06.5949752+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1", - "type": "Microsoft.Communication.CancelAddParticipantSucceeded", - "data": { - "invitationId": "f1693cee-c6c2-4394-a7ab-429bef2b737c", - "version": "2024-09-01-preview", - "operationContext": "cancelOp", - "resultInformation": { - "code": 200, - "subCode": 5300, - "message": "addParticipants failed for participant 8:acs:1bdaa2b9-9507-4542-bb64-a7b22c00a8d4_00000024-3d44-895a-2c8a-08482200526c. Underlying reason: The conversation has ended. DiagCode: 0#5300.@" - }, - "callConnectionId": "31002180-cf9c-4504-b354-291a2bc9b2f1", - "serverCallId": "sanitized", - "correlationId": "bb8cc718-95ac-4e41-a8c4-441c995e89cf", - "publicEventType": "Microsoft.Communication.CancelAddParticipantSucceeded" - }, - "time": "2024-12-06T19:12:07.8666753+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-cf9c-4504-b354-291a2bc9b2f1" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json deleted file mode 100644 index 8619732979f2..000000000000 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json +++ /dev/null @@ -1,94 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "da2741b1-f197-4590-adff-5a7e98da2ea0" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31001f80-165d-4dd5-9b77-2afa26f5e937", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "listParticipantsCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31001f80-165d-4dd5-9b77-2afa26f5e937", - "serverCallId": "sanitized", - "correlationId": "da2741b1-f197-4590-adff-5a7e98da2ea0", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:11.5427264+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31001f80-165d-4dd5-9b77-2afa26f5e937" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31001f80-165d-4dd5-9b77-2afa26f5e937", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31001f80-165d-4dd5-9b77-2afa26f5e937", - "serverCallId": "sanitized", - "correlationId": "da2741b1-f197-4590-adff-5a7e98da2ea0", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:11.628805+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31001f80-165d-4dd5-9b77-2afa26f5e937" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json deleted file mode 100644 index f55a4418614c..000000000000 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json +++ /dev/null @@ -1,1573 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:44.0524965+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:44.0597747+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:44.0590334+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:44.092247+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 3, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:50.68597+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" - } - ], - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 3, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:50.711748+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:52.7075499+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", - "type": "Microsoft.Communication.AddParticipantSucceeded", - "data": { - "participant": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "version": "2024-09-01-preview", - "operationContext": "addParticipant", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" - }, - "time": "2024-12-06T19:11:52.9626101+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 6, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:53.1318586+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 4, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:52.9626101+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 4, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:52.9711536+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 6, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:53.6938814+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 6, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:53.5327787+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 7, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:53.5404271+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 6, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:54.0710977+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 9, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:54.2630702+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 8, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:54.0878087+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 8, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:54.6451177+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 9, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:54.8206465+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 9, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:54.6291888+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 11, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:55.2020003+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 9, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:55.3811225+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 9, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:55.207819+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 11, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:55.890425+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 12, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:56.0386139+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 9, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:55.8967911+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 11, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-1911-4ac0-a3ea-36e4f1ca3d19", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:56.4335926+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1911-4ac0-a3ea-36e4f1ca3d19" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 12, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-9f3a-464d-9818-86feeca1830b", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:56.4461145+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-9f3a-464d-9818-86feeca1830b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 12, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-7bff-4ef3-a084-cde3995f9d17", - "serverCallId": "sanitized", - "correlationId": "d3e9db61-def8-45cc-972a-bbbc4088bc49", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:56.5817636+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7bff-4ef3-a084-cde3995f9d17" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json deleted file mode 100644 index 6fd86f0e1ff2..000000000000 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json +++ /dev/null @@ -1,304 +0,0 @@ -[ - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 4, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-e128-45ad-ab55-9d3ffb90c495", - "serverCallId": "sanitized", - "correlationId": "b2a708e7-cd7e-43a9-8289-d3577a8a3b18", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:27.0237573+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-e128-45ad-ab55-9d3ffb90c495" - } - ], - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-742d-4b6e-bb05-cdff117c8109", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "removeParticipantsAnswer", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-742d-4b6e-bb05-cdff117c8109", - "serverCallId": "sanitized", - "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:33.8979058+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-742d-4b6e-bb05-cdff117c8109" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-0338-4c1d-a127-4037e54709dd", - "serverCallId": "sanitized", - "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:33.9117421+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-742d-4b6e-bb05-cdff117c8109", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-742d-4b6e-bb05-cdff117c8109", - "serverCallId": "sanitized", - "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:33.9117421+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-742d-4b6e-bb05-cdff117c8109" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "removeParticipantCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-0338-4c1d-a127-4037e54709dd", - "serverCallId": "sanitized", - "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:33.9517901+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd", - "type": "Microsoft.Communication.RemoveParticipantSucceeded", - "data": { - "participant": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "version": "2024-09-01-preview", - "operationContext": "removeParticipants", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-0338-4c1d-a127-4037e54709dd", - "serverCallId": "sanitized", - "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e", - "publicEventType": "Microsoft.Communication.RemoveParticipantSucceeded" - }, - "time": "2024-12-06T19:11:36.4638303+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-742d-4b6e-bb05-cdff117c8109", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "removeParticipantsAnswer", - "resultInformation": { - "code": 200, - "subCode": 5300, - "message": "The conversation has ended. DiagCode: 0#5300.@" - }, - "callConnectionId": "31002180-742d-4b6e-bb05-cdff117c8109", - "serverCallId": "sanitized", - "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:11:36.6391738+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-742d-4b6e-bb05-cdff117c8109" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "removeParticipantCreateCall", - "resultInformation": { - "code": 200, - "subCode": 5002, - "message": "The conversation has ended. DiagCode: 0#5002.@" - }, - "callConnectionId": "31002180-0338-4c1d-a127-4037e54709dd", - "serverCallId": "sanitized", - "correlationId": "09d3f3c9-b646-48ca-8cd7-b60175cbc32e", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:11:36.8379484+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-0338-4c1d-a127-4037e54709dd" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json deleted file mode 100644 index f3aa2064f770..000000000000 --- a/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json +++ /dev/null @@ -1,942 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "recordingAnswer", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:09.9413516+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "recordingCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:10.0028498+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:10.0559538+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:10.0593126+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", - "type": "Microsoft.Communication.PlayStarted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "recordingPlay", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.PlayStarted" - }, - "time": "2024-12-06T19:11:12.0207901+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 3, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:15.2156717+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 3, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:15.2326599+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9nTnNLOHVDeTEwLVlMZGd2emgzNXV3P2k9MTAtNjAtNS0xNzUmZT02Mzg2NzEzMDMzMjQ3MDU3MjM=/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ/RecordingStateChanged", - "type": "Microsoft.Communication.RecordingStateChanged", - "data": { - "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9nTnNLOHVDeTEwLVlMZGd2emgzNXV3P2k9MTAtNjAtNS0xNzUmZT02Mzg2NzEzMDMzMjQ3MDU3MjM=/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ/RecordingStateChanged", - "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ", - "state": "inactive", - "startDateTime": "0001-01-01T00:00:00+00:00", - "recordingKind": "azureCommunicationServices", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-9950-4dce-8148-548ba8545261", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.RecordingStateChanged" - }, - "time": "2024-12-06T19:11:15.3196531+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9nTnNLOHVDeTEwLVlMZGd2emgzNXV3P2k9MTAtNjAtNS0xNzUmZT02Mzg2NzEzMDMzMjQ3MDU3MjM=/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ/RecordingStateChanged" - } - ], - [ - { - "id": "sanitized", - "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9nTnNLOHVDeTEwLVlMZGd2emgzNXV3P2k9MTAtNjAtNS0xNzUmZT02Mzg2NzEzMDMzMjQ3MDU3MjM=/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ/RecordingStateChanged", - "type": "Microsoft.Communication.RecordingStateChanged", - "data": { - "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9nTnNLOHVDeTEwLVlMZGd2emgzNXV3P2k9MTAtNjAtNS0xNzUmZT02Mzg2NzEzMDMzMjQ3MDU3MjM=/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ/RecordingStateChanged", - "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ", - "state": "active", - "startDateTime": "2024-12-06T19:11:14.8385187+00:00", - "recordingKind": "azureCommunicationServices", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-9950-4dce-8148-548ba8545261", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.RecordingStateChanged" - }, - "time": "2024-12-06T19:11:15.4468248+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9nTnNLOHVDeTEwLVlMZGd2emgzNXV3P2k9MTAtNjAtNS0xNzUmZT02Mzg2NzEzMDMzMjQ3MDU3MjM=/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxMDAwMjE4MC05OTUwLTRkY2UtODE0OC01NDhiYTg1NDUyNjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyMGZmNjY3My1jOTIzLTRhZTktOTU1MC0zMmU3OTBjOTg4NzkifQ/RecordingStateChanged" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 4, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:15.6114632+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:15.6622609+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 6, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:16.019882+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:16.0611013+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", - "type": "Microsoft.Communication.PlayCompleted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "recordingPlay", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.PlayCompleted" - }, - "time": "2024-12-06T19:11:16.396919+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 6, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:16.4137972+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 8, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:16.4599596+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 8, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:16.8668389+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 8, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:16.8668389+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 8, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:17.2532724+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 8, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:17.2559068+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 9, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-dcf1-4180-978f-046a163f0739", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:17.6814179+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-dcf1-4180-978f-046a163f0739" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 9, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-2a8b-4ba1-8c2e-80a556e2b7b7", - "serverCallId": "sanitized", - "correlationId": "44b53519-a7c2-401c-b3f7-2c3d062bbd4c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:17.6975425+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-2a8b-4ba1-8c2e-80a556e2b7b7" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json deleted file mode 100644 index 9df633d0023d..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json +++ /dev/null @@ -1,214 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "fe401eb3-daf8-4290-807a-391e5e4b900c" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/0e001f80-3c47-498e-8804-4363815e26d5", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "operationContextCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "0e001f80-3c47-498e-8804-4363815e26d5", - "serverCallId": "sanitized", - "correlationId": "fe401eb3-daf8-4290-807a-391e5e4b900c", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:10.9589818+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/0e001f80-3c47-498e-8804-4363815e26d5" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/0e001f80-3c47-498e-8804-4363815e26d5", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "0e001f80-3c47-498e-8804-4363815e26d5", - "serverCallId": "sanitized", - "correlationId": "fe401eb3-daf8-4290-807a-391e5e4b900c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:10.9700589+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/0e001f80-3c47-498e-8804-4363815e26d5" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-0c68-481c-abe2-c96ea4b165f5", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "operationContextAnswerCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "10002180-0c68-481c-abe2-c96ea4b165f5", - "serverCallId": "sanitized", - "correlationId": "fe401eb3-daf8-4290-807a-391e5e4b900c", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:10.9145413+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-0c68-481c-abe2-c96ea4b165f5" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-0c68-481c-abe2-c96ea4b165f5", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-0c68-481c-abe2-c96ea4b165f5", - "serverCallId": "sanitized", - "correlationId": "fe401eb3-daf8-4290-807a-391e5e4b900c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:11.1555412+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-0c68-481c-abe2-c96ea4b165f5" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/0e001f80-3c47-498e-8804-4363815e26d5", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "operationContextCreateCall", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "0e001f80-3c47-498e-8804-4363815e26d5", - "serverCallId": "sanitized", - "correlationId": "fe401eb3-daf8-4290-807a-391e5e4b900c", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:11:12.5475073+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/0e001f80-3c47-498e-8804-4363815e26d5" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-0c68-481c-abe2-c96ea4b165f5", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "operationContextAnswerCall", - "resultInformation": { - "code": 200, - "subCode": 5001, - "message": "This conversation has ended.. DiagCode: 0#5001.@" - }, - "callConnectionId": "10002180-0c68-481c-abe2-c96ea4b165f5", - "serverCallId": "sanitized", - "correlationId": "fe401eb3-daf8-4290-807a-391e5e4b900c", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:11:12.6584878+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-0c68-481c-abe2-c96ea4b165f5" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json deleted file mode 100644 index 23a41148a722..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json +++ /dev/null @@ -1,69 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "f400cbb1-3c2e-473e-88a0-9cd7068f81a1" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-bdb6-4535-a53d-8c864a46c3af", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "operationContextRejectCall", - "resultInformation": { - "code": 603, - "subCode": 0, - "message": "Decline. DiagCode: 603#0.@" - }, - "callConnectionId": "10002180-bdb6-4535-a53d-8c864a46c3af", - "serverCallId": "sanitized", - "correlationId": "f400cbb1-3c2e-473e-88a0-9cd7068f81a1", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:11:18.9036677+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-bdb6-4535-a53d-8c864a46c3af" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-bdb6-4535-a53d-8c864a46c3af", - "type": "Microsoft.Communication.CreateCallFailed", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 603, - "subCode": 0, - "message": "Decline. DiagCode: 603#0.@" - }, - "callConnectionId": "10002180-bdb6-4535-a53d-8c864a46c3af", - "serverCallId": "sanitized", - "correlationId": "f400cbb1-3c2e-473e-88a0-9cd7068f81a1", - "publicEventType": "Microsoft.Communication.CreateCallFailed" - }, - "time": "2024-12-06T19:11:18.9031127+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-bdb6-4535-a53d-8c864a46c3af" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json deleted file mode 100644 index 407211280935..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json +++ /dev/null @@ -1,266 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-a803-4a18-b2e8-8dbf2662b941", - "serverCallId": "sanitized", - "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:12:19.6167894+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-a803-4a18-b2e8-8dbf2662b941", - "serverCallId": "sanitized", - "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:12:19.6440228+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-0315-443e-bb63-611b1d43942b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-0315-443e-bb63-611b1d43942b", - "serverCallId": "sanitized", - "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:12:19.6952647+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-0315-443e-bb63-611b1d43942b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-0315-443e-bb63-611b1d43942b", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-0315-443e-bb63-611b1d43942b", - "serverCallId": "sanitized", - "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:12:19.6985007+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-0315-443e-bb63-611b1d43942b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941", - "type": "Microsoft.Communication.MediaStreamingStarted", - "data": { - "mediaStreamingUpdate": { - "contentType": "Audio", - "mediaStreamingStatus": "mediaStreamingStarted", - "mediaStreamingStatusDetails": "subscriptionStarted" - }, - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-a803-4a18-b2e8-8dbf2662b941", - "serverCallId": "sanitized", - "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", - "publicEventType": "Microsoft.Communication.MediaStreamingStarted" - }, - "time": "2024-12-06T19:12:21.7320892+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941", - "type": "Microsoft.Communication.MediaStreamingStopped", - "data": { - "mediaStreamingUpdate": { - "contentType": "Audio", - "mediaStreamingStatus": "mediaStreamingStopped", - "mediaStreamingStatusDetails": "subscriptionStopped" - }, - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-a803-4a18-b2e8-8dbf2662b941", - "serverCallId": "sanitized", - "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", - "publicEventType": "Microsoft.Communication.MediaStreamingStopped" - }, - "time": "2024-12-06T19:12:22.8882744+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "31002180-a803-4a18-b2e8-8dbf2662b941", - "serverCallId": "sanitized", - "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:12:24.1634497+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-a803-4a18-b2e8-8dbf2662b941" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-0315-443e-bb63-611b1d43942b", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "31002180-0315-443e-bb63-611b1d43942b", - "serverCallId": "sanitized", - "correlationId": "4e63cd78-0214-4239-ad8a-0306af02b50f", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:12:24.2544362+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-0315-443e-bb63-611b1d43942b" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json deleted file mode 100644 index 461ab49627c6..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json +++ /dev/null @@ -1,287 +0,0 @@ -[ - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-46a2-48a5-a923-963348acba53", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 540000, - "message": "The conversation has ended" - }, - "callConnectionId": "31002180-46a2-48a5-a923-963348acba53", - "serverCallId": "sanitized", - "correlationId": "9f8943db-989c-4778-a8e1-7230344cb93b", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:14:56.0082776+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-46a2-48a5-a923-963348acba53" - } - ], - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-fc40-46de-b5d9-6152ab0b8453", - "serverCallId": "sanitized", - "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:15:03.9750004+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-fc40-46de-b5d9-6152ab0b8453", - "serverCallId": "sanitized", - "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:15:03.9927884+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-0672-4a50-9b72-a6af5c99b2f3", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-0672-4a50-9b72-a6af5c99b2f3", - "serverCallId": "sanitized", - "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:15:04.0394929+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-0672-4a50-9b72-a6af5c99b2f3" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-0672-4a50-9b72-a6af5c99b2f3", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-0672-4a50-9b72-a6af5c99b2f3", - "serverCallId": "sanitized", - "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:15:04.04272+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-0672-4a50-9b72-a6af5c99b2f3" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453", - "type": "Microsoft.Communication.TranscriptionStarted", - "data": { - "transcriptionUpdate": { - "transcriptionStatus": "transcriptionStarted", - "transcriptionStatusDetails": "subscriptionStarted" - }, - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-fc40-46de-b5d9-6152ab0b8453", - "serverCallId": "sanitized", - "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", - "publicEventType": "Microsoft.Communication.TranscriptionStarted" - }, - "time": "2024-12-06T19:15:07.4651374+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453", - "type": "Microsoft.Communication.TranscriptionStopped", - "data": { - "transcriptionUpdate": { - "transcriptionStatus": "transcriptionStopped", - "transcriptionStatusDetails": "subscriptionStopped" - }, - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-fc40-46de-b5d9-6152ab0b8453", - "serverCallId": "sanitized", - "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", - "publicEventType": "Microsoft.Communication.TranscriptionStopped" - }, - "time": "2024-12-06T19:15:10.9034115+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "31002180-fc40-46de-b5d9-6152ab0b8453", - "serverCallId": "sanitized", - "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:15:11.3141859+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-fc40-46de-b5d9-6152ab0b8453" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-0672-4a50-9b72-a6af5c99b2f3", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 5001, - "message": "This conversation has ended.. DiagCode: 0#5001.@" - }, - "callConnectionId": "31002180-0672-4a50-9b72-a6af5c99b2f3", - "serverCallId": "sanitized", - "correlationId": "f8adbca4-efc4-438f-93f5-633f62723b30", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:15:11.4095357+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-0672-4a50-9b72-a6af5c99b2f3" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json deleted file mode 100644 index db7f155c9b82..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json +++ /dev/null @@ -1,238 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-a746-4667-99e9-058c2a1a7e93", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "CancelMediaAnswer", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "10002180-a746-4667-99e9-058c2a1a7e93", - "serverCallId": "sanitized", - "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:41.3530219+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-a746-4667-99e9-058c2a1a7e93" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-a746-4667-99e9-058c2a1a7e93", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-a746-4667-99e9-058c2a1a7e93", - "serverCallId": "sanitized", - "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:41.3723362+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-a746-4667-99e9-058c2a1a7e93" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "CancelMediaCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "10002180-7c67-4552-8989-c14bc1c3a199", - "serverCallId": "sanitized", - "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:41.4187616+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "10002180-7c67-4552-8989-c14bc1c3a199", - "serverCallId": "sanitized", - "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:41.4288657+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199", - "type": "Microsoft.Communication.PlayCanceled", - "data": { - "version": "2024-09-01-preview", - "operationContext": "CancelplayToAllAudio", - "resultInformation": { - "code": 400, - "subCode": 8508, - "message": "Action falied, the operation was cancelled." - }, - "callConnectionId": "10002180-7c67-4552-8989-c14bc1c3a199", - "serverCallId": "sanitized", - "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd", - "publicEventType": "Microsoft.Communication.PlayCanceled" - }, - "time": "2024-12-06T19:11:43.2805939+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "CancelMediaCreateCall", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "10002180-7c67-4552-8989-c14bc1c3a199", - "serverCallId": "sanitized", - "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:11:44.4625498+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-7c67-4552-8989-c14bc1c3a199" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/10002180-a746-4667-99e9-058c2a1a7e93", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "CancelMediaAnswer", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "10002180-a746-4667-99e9-058c2a1a7e93", - "serverCallId": "sanitized", - "correlationId": "f0407b4d-4cfd-464b-9033-f890469b4acd", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:11:44.5521468+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/10002180-a746-4667-99e9-058c2a1a7e93" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json deleted file mode 100644 index 5c2ba70181a0..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json +++ /dev/null @@ -1,289 +0,0 @@ -[ - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-5338-489c-a9a2-c136b9bfd931", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 540000, - "message": "The conversation has ended" - }, - "callConnectionId": "31002180-5338-489c-a9a2-c136b9bfd931", - "serverCallId": "sanitized", - "correlationId": "c2c3c1c2-1296-4919-8707-69d8dd9a5b73", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:11:59.2212269+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-5338-489c-a9a2-c136b9bfd931" - } - ], - { - "to": { - "kind": "phoneNumber", - "rawId": "sanitized", - "phoneNumber": { - "value": "sanitized" - } - }, - "from": { - "kind": "phoneNumber", - "rawId": "sanitized", - "phoneNumber": { - "value": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "44c0e3aa-f9e7-4340-8d61-ff03f0cdb794" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-100e-4603-8fd1-4c330da10991", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-100e-4603-8fd1-4c330da10991", - "serverCallId": "sanitized", - "correlationId": "44c0e3aa-f9e7-4340-8d61-ff03f0cdb794", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:12:07.8178382+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-100e-4603-8fd1-4c330da10991" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "phoneNumber", - "phoneNumber": { - "value": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-af6f-4c45-9216-d3c957bc0b35", - "serverCallId": "sanitized", - "correlationId": "1cfd207b-daa7-4ff0-ae92-1e066bb4f9f0", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:12:07.9176277+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-af6f-4c45-9216-d3c957bc0b35", - "serverCallId": "sanitized", - "correlationId": "1cfd207b-daa7-4ff0-ae92-1e066bb4f9f0", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:12:07.9176277+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-100e-4603-8fd1-4c330da10991", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "phoneNumber", - "phoneNumber": { - "value": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-100e-4603-8fd1-4c330da10991", - "serverCallId": "sanitized", - "correlationId": "44c0e3aa-f9e7-4340-8d61-ff03f0cdb794", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:12:08.1522919+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-100e-4603-8fd1-4c330da10991" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35", - "type": "Microsoft.Communication.MediaStreamingStarted", - "data": { - "mediaStreamingUpdate": { - "contentType": "Audio", - "mediaStreamingStatus": "mediaStreamingStarted", - "mediaStreamingStatusDetails": "subscriptionStarted" - }, - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-af6f-4c45-9216-d3c957bc0b35", - "serverCallId": "sanitized", - "correlationId": "1cfd207b-daa7-4ff0-ae92-1e066bb4f9f0", - "publicEventType": "Microsoft.Communication.MediaStreamingStarted" - }, - "time": "2024-12-06T19:12:10.4971801+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35", - "type": "Microsoft.Communication.MediaStreamingStopped", - "data": { - "mediaStreamingUpdate": { - "contentType": "Audio", - "mediaStreamingStatus": "mediaStreamingStopped", - "mediaStreamingStatusDetails": "subscriptionStopped" - }, - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-af6f-4c45-9216-d3c957bc0b35", - "serverCallId": "sanitized", - "correlationId": "1cfd207b-daa7-4ff0-ae92-1e066bb4f9f0", - "publicEventType": "Microsoft.Communication.MediaStreamingStopped" - }, - "time": "2024-12-06T19:12:11.6920793+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "31002180-af6f-4c45-9216-d3c957bc0b35", - "serverCallId": "sanitized", - "correlationId": "1cfd207b-daa7-4ff0-ae92-1e066bb4f9f0", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:12:12.9662279+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-af6f-4c45-9216-d3c957bc0b35" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-100e-4603-8fd1-4c330da10991", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 540000, - "message": "The conversation has ended" - }, - "callConnectionId": "31002180-100e-4603-8fd1-4c330da10991", - "serverCallId": "sanitized", - "correlationId": "44c0e3aa-f9e7-4340-8d61-ff03f0cdb794", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:12:13.183092+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-100e-4603-8fd1-4c330da10991" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json deleted file mode 100644 index acba9fb37807..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json +++ /dev/null @@ -1,241 +0,0 @@ -[ - { - "to": { - "kind": "phoneNumber", - "rawId": "sanitized", - "phoneNumber": { - "value": "sanitized" - } - }, - "from": { - "kind": "phoneNumber", - "rawId": "sanitized", - "phoneNumber": { - "value": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "9f8943db-989c-4778-a8e1-7230344cb93b" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-46a2-48a5-a923-963348acba53", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-46a2-48a5-a923-963348acba53", - "serverCallId": "sanitized", - "correlationId": "9f8943db-989c-4778-a8e1-7230344cb93b", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:14:48.998931+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-46a2-48a5-a923-963348acba53" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "phoneNumber", - "phoneNumber": { - "value": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-1386-4e17-b88d-b8b4b02749df", - "serverCallId": "sanitized", - "correlationId": "56eeb2f9-3e18-435e-b91d-3f1c87d43f84", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:49.2516361+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-1386-4e17-b88d-b8b4b02749df", - "serverCallId": "sanitized", - "correlationId": "56eeb2f9-3e18-435e-b91d-3f1c87d43f84", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:14:49.246982+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-46a2-48a5-a923-963348acba53", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "phoneNumber", - "phoneNumber": { - "value": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-46a2-48a5-a923-963348acba53", - "serverCallId": "sanitized", - "correlationId": "9f8943db-989c-4778-a8e1-7230344cb93b", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:49.2516361+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-46a2-48a5-a923-963348acba53" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df", - "type": "Microsoft.Communication.TranscriptionStarted", - "data": { - "transcriptionUpdate": { - "transcriptionStatus": "transcriptionStarted", - "transcriptionStatusDetails": "subscriptionStarted" - }, - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-1386-4e17-b88d-b8b4b02749df", - "serverCallId": "sanitized", - "correlationId": "56eeb2f9-3e18-435e-b91d-3f1c87d43f84", - "publicEventType": "Microsoft.Communication.TranscriptionStarted" - }, - "time": "2024-12-06T19:14:52.3296797+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df", - "type": "Microsoft.Communication.TranscriptionStopped", - "data": { - "transcriptionUpdate": { - "transcriptionStatus": "transcriptionStopped", - "transcriptionStatusDetails": "subscriptionStopped" - }, - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-1386-4e17-b88d-b8b4b02749df", - "serverCallId": "sanitized", - "correlationId": "56eeb2f9-3e18-435e-b91d-3f1c87d43f84", - "publicEventType": "Microsoft.Communication.TranscriptionStopped" - }, - "time": "2024-12-06T19:14:55.5266208+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "31002180-1386-4e17-b88d-b8b4b02749df", - "serverCallId": "sanitized", - "correlationId": "56eeb2f9-3e18-435e-b91d-3f1c87d43f84", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:14:55.806309+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-1386-4e17-b88d-b8b4b02749df" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json deleted file mode 100644 index c77d436c31c8..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json +++ /dev/null @@ -1,618 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-e3f6-4162-8814-1c085d653d7b", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:14:28.3995659+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-e3f6-4162-8814-1c085d653d7b", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:28.4220096+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:14:28.471071+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:28.475711+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": true - } - ], - "sequenceNumber": 4, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-e3f6-4162-8814-1c085d653d7b", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:31.9510691+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": true - } - ], - "sequenceNumber": 4, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:31.9510691+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-e3f6-4162-8814-1c085d653d7b", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:35.5655949+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:35.5655949+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": true - } - ], - "sequenceNumber": 8, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:39.8093483+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": true - } - ], - "sequenceNumber": 8, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-e3f6-4162-8814-1c085d653d7b", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:39.8093483+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", - "type": "Microsoft.Communication.HoldFailed", - "data": { - "version": "2024-09-01-preview", - "operationContext": "holdFailedContext", - "resultInformation": { - "code": 400, - "subCode": 8535, - "message": "Action failed, file format is invalid." - }, - "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.HoldFailed" - }, - "time": "2024-12-06T19:14:40.2289921+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 9, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:40.3683174+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 9, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-e3f6-4162-8814-1c085d653d7b", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:40.3683174+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "31002180-77fe-4f48-b93c-b4e43a2314ef", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:14:41.2237422+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-77fe-4f48-b93c-b4e43a2314ef" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 5001, - "message": "This conversation has ended.. DiagCode: 0#5001.@" - }, - "callConnectionId": "31002180-e3f6-4162-8814-1c085d653d7b", - "serverCallId": "sanitized", - "correlationId": "ce38218d-f5f1-4c70-93ad-a768b4403800", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:14:41.3220322+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-e3f6-4162-8814-1c085d653d7b" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json deleted file mode 100644 index 018cce7828cc..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json +++ /dev/null @@ -1,262 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playToAllCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-b559-4842-87dd-d717405cf785", - "serverCallId": "sanitized", - "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:28.2145947+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-b559-4842-87dd-d717405cf785", - "serverCallId": "sanitized", - "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:28.2198867+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-bdb3-4fd1-a9d7-47a1b7036f4d", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playToAllAnswer", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-bdb3-4fd1-a9d7-47a1b7036f4d", - "serverCallId": "sanitized", - "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:28.2023945+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-bdb3-4fd1-a9d7-47a1b7036f4d" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-bdb3-4fd1-a9d7-47a1b7036f4d", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-bdb3-4fd1-a9d7-47a1b7036f4d", - "serverCallId": "sanitized", - "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:28.2062694+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-bdb3-4fd1-a9d7-47a1b7036f4d" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785", - "type": "Microsoft.Communication.PlayStarted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playToAllAudio", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-b559-4842-87dd-d717405cf785", - "serverCallId": "sanitized", - "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", - "publicEventType": "Microsoft.Communication.PlayStarted" - }, - "time": "2024-12-06T19:11:29.7102108+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785", - "type": "Microsoft.Communication.PlayCompleted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playToAllAudio", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-b559-4842-87dd-d717405cf785", - "serverCallId": "sanitized", - "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", - "publicEventType": "Microsoft.Communication.PlayCompleted" - }, - "time": "2024-12-06T19:11:33.9302713+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playToAllCreateCall", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "31002180-b559-4842-87dd-d717405cf785", - "serverCallId": "sanitized", - "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:11:34.9670176+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-b559-4842-87dd-d717405cf785" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-bdb3-4fd1-a9d7-47a1b7036f4d", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playToAllAnswer", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "31002180-bdb3-4fd1-a9d7-47a1b7036f4d", - "serverCallId": "sanitized", - "correlationId": "5e60e4d8-b410-4774-a633-c1f3a7acaddc", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:11:35.047874+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-bdb3-4fd1-a9d7-47a1b7036f4d" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json deleted file mode 100644 index fd24c4302ab7..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json +++ /dev/null @@ -1,454 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playAudioAnswer", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "08001f80-b254-40a7-bba8-a2ea8fb5f6c3", - "serverCallId": "sanitized", - "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:10.8580029+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playAudioCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "09001f80-65b0-4afe-b8dc-666804f66ed7", - "serverCallId": "sanitized", - "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:10.9000495+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "09001f80-65b0-4afe-b8dc-666804f66ed7", - "serverCallId": "sanitized", - "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:10.9639351+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-b254-40a7-bba8-a2ea8fb5f6c3", - "serverCallId": "sanitized", - "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:10.9744443+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": true - } - ], - "sequenceNumber": 3, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "09001f80-65b0-4afe-b8dc-666804f66ed7", - "serverCallId": "sanitized", - "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:14.9760482+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": true - } - ], - "sequenceNumber": 3, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-b254-40a7-bba8-a2ea8fb5f6c3", - "serverCallId": "sanitized", - "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:14.965581+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7", - "type": "Microsoft.Communication.PlayStarted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playAudio", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "09001f80-65b0-4afe-b8dc-666804f66ed7", - "serverCallId": "sanitized", - "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", - "publicEventType": "Microsoft.Communication.PlayStarted" - }, - "time": "2024-12-06T19:11:15.6370648+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7", - "type": "Microsoft.Communication.PlayCompleted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playAudio", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "09001f80-65b0-4afe-b8dc-666804f66ed7", - "serverCallId": "sanitized", - "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", - "publicEventType": "Microsoft.Communication.PlayCompleted" - }, - "time": "2024-12-06T19:11:19.9396713+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "08001f80-b254-40a7-bba8-a2ea8fb5f6c3", - "serverCallId": "sanitized", - "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:19.9868297+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "09001f80-65b0-4afe-b8dc-666804f66ed7", - "serverCallId": "sanitized", - "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:19.9640877+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playAudioCreateCall", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "09001f80-65b0-4afe-b8dc-666804f66ed7", - "serverCallId": "sanitized", - "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:11:21.4415138+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/09001f80-65b0-4afe-b8dc-666804f66ed7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playAudioAnswer", - "resultInformation": { - "code": 200, - "subCode": 5001, - "message": "This conversation has ended.. DiagCode: 0#5001.@" - }, - "callConnectionId": "08001f80-b254-40a7-bba8-a2ea8fb5f6c3", - "serverCallId": "sanitized", - "correlationId": "6615fd5a-87d2-478a-a2f2-39089686ed2c", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:11:21.4702483+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/08001f80-b254-40a7-bba8-a2ea8fb5f6c3" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json deleted file mode 100644 index 5fb804a10130..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json +++ /dev/null @@ -1,406 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-c513-4513-b197-109ccecd0669", - "serverCallId": "sanitized", - "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:13:48.5567826+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-c513-4513-b197-109ccecd0669", - "serverCallId": "sanitized", - "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:13:48.5841131+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-8d66-4765-bac7-d383585f9baf", - "serverCallId": "sanitized", - "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:13:48.6338367+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-8d66-4765-bac7-d383585f9baf", - "serverCallId": "sanitized", - "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:13:48.6331591+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": true - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 4, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-8d66-4765-bac7-d383585f9baf", - "serverCallId": "sanitized", - "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:13:52.5719272+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": true - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 4, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-c513-4513-b197-109ccecd0669", - "serverCallId": "sanitized", - "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:13:52.5719272+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf", - "type": "Microsoft.Communication.PlayStarted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "multipleSourceToTargetContext", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-8d66-4765-bac7-d383585f9baf", - "serverCallId": "sanitized", - "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", - "publicEventType": "Microsoft.Communication.PlayStarted" - }, - "time": "2024-12-06T19:13:53.0248695+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf", - "type": "Microsoft.Communication.PlayCompleted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "multipleSourceToTargetContext", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-8d66-4765-bac7-d383585f9baf", - "serverCallId": "sanitized", - "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", - "publicEventType": "Microsoft.Communication.PlayCompleted" - }, - "time": "2024-12-06T19:13:59.4169886+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-c513-4513-b197-109ccecd0669", - "serverCallId": "sanitized", - "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:13:59.4396675+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-c513-4513-b197-109ccecd0669" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-8d66-4765-bac7-d383585f9baf", - "serverCallId": "sanitized", - "correlationId": "ee26e362-bf09-4a91-919f-5929ec709b09", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:13:59.4396675+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-8d66-4765-bac7-d383585f9baf" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json deleted file mode 100644 index ce442a3b19a6..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json +++ /dev/null @@ -1,214 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "c24bc3a2-b7e8-4b32-a0c9-a10c08315df4" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-a04e-4ad8-90bf-13ff95a8c76d", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-a04e-4ad8-90bf-13ff95a8c76d", - "serverCallId": "sanitized", - "correlationId": "c24bc3a2-b7e8-4b32-a0c9-a10c08315df4", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:13:33.9090383+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-a04e-4ad8-90bf-13ff95a8c76d" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-a04e-4ad8-90bf-13ff95a8c76d", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-a04e-4ad8-90bf-13ff95a8c76d", - "serverCallId": "sanitized", - "correlationId": "c24bc3a2-b7e8-4b32-a0c9-a10c08315df4", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:13:33.9327558+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-a04e-4ad8-90bf-13ff95a8c76d" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-fef3-4003-8137-d30518469a75", - "serverCallId": "sanitized", - "correlationId": "c24bc3a2-b7e8-4b32-a0c9-a10c08315df4", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:13:33.9729419+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-fef3-4003-8137-d30518469a75", - "serverCallId": "sanitized", - "correlationId": "c24bc3a2-b7e8-4b32-a0c9-a10c08315df4", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:13:33.9811207+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75", - "type": "Microsoft.Communication.PlayStarted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "multipleSourceContext", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-fef3-4003-8137-d30518469a75", - "serverCallId": "sanitized", - "correlationId": "c24bc3a2-b7e8-4b32-a0c9-a10c08315df4", - "publicEventType": "Microsoft.Communication.PlayStarted" - }, - "time": "2024-12-06T19:13:35.7607367+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75", - "type": "Microsoft.Communication.PlayCompleted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "multipleSourceContext", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-fef3-4003-8137-d30518469a75", - "serverCallId": "sanitized", - "correlationId": "c24bc3a2-b7e8-4b32-a0c9-a10c08315df4", - "publicEventType": "Microsoft.Communication.PlayCompleted" - }, - "time": "2024-12-06T19:13:42.0191048+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-fef3-4003-8137-d30518469a75" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json deleted file mode 100644 index 73363505cc54..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json +++ /dev/null @@ -1,214 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "944dfe60-ee87-4a4d-a0a2-b3c5b9e4f06e" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-cced-4297-aa5c-0178df078cd3", - "serverCallId": "sanitized", - "correlationId": "944dfe60-ee87-4a4d-a0a2-b3c5b9e4f06e", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:12:31.5701947+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-cced-4297-aa5c-0178df078cd3", - "serverCallId": "sanitized", - "correlationId": "944dfe60-ee87-4a4d-a0a2-b3c5b9e4f06e", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:12:31.5701947+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3", - "type": "Microsoft.Communication.PlayStarted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "multipleFileSourceContext", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-cced-4297-aa5c-0178df078cd3", - "serverCallId": "sanitized", - "correlationId": "944dfe60-ee87-4a4d-a0a2-b3c5b9e4f06e", - "publicEventType": "Microsoft.Communication.PlayStarted" - }, - "time": "2024-12-06T19:12:33.4734353+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3", - "type": "Microsoft.Communication.PlayCompleted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "multipleFileSourceContext", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-cced-4297-aa5c-0178df078cd3", - "serverCallId": "sanitized", - "correlationId": "944dfe60-ee87-4a4d-a0a2-b3c5b9e4f06e", - "publicEventType": "Microsoft.Communication.PlayCompleted" - }, - "time": "2024-12-06T19:12:46.2461001+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-cced-4297-aa5c-0178df078cd3" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-754b-4047-a097-9a2963087c8b", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-754b-4047-a097-9a2963087c8b", - "serverCallId": "sanitized", - "correlationId": "944dfe60-ee87-4a4d-a0a2-b3c5b9e4f06e", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:12:50.4563629+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-754b-4047-a097-9a2963087c8b" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-754b-4047-a097-9a2963087c8b", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-754b-4047-a097-9a2963087c8b", - "serverCallId": "sanitized", - "correlationId": "944dfe60-ee87-4a4d-a0a2-b3c5b9e4f06e", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:12:50.4625092+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-754b-4047-a097-9a2963087c8b" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json deleted file mode 100644 index ffc64293a6ed..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json +++ /dev/null @@ -1,358 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-913c-433c-ac7b-67ce853ef7ab", - "serverCallId": "sanitized", - "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:13:14.6916076+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-913c-433c-ac7b-67ce853ef7ab", - "serverCallId": "sanitized", - "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:13:14.7192804+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-7036-475b-82fd-77f7f0094309", - "serverCallId": "sanitized", - "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:13:14.7664605+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-7036-475b-82fd-77f7f0094309", - "serverCallId": "sanitized", - "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:13:14.7664605+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": true - } - ], - "sequenceNumber": 4, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-913c-433c-ac7b-67ce853ef7ab", - "serverCallId": "sanitized", - "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:13:18.5713321+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": true - } - ], - "sequenceNumber": 4, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-7036-475b-82fd-77f7f0094309", - "serverCallId": "sanitized", - "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:13:18.5713321+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309", - "type": "Microsoft.Communication.PlayStarted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "multipleTextSourceToTargetContext", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-7036-475b-82fd-77f7f0094309", - "serverCallId": "sanitized", - "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", - "publicEventType": "Microsoft.Communication.PlayStarted" - }, - "time": "2024-12-06T19:13:19.5204043+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309", - "type": "Microsoft.Communication.PlayCompleted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "multipleTextSourceToTargetContext", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-7036-475b-82fd-77f7f0094309", - "serverCallId": "sanitized", - "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", - "publicEventType": "Microsoft.Communication.PlayCompleted" - }, - "time": "2024-12-06T19:13:26.2027769+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7036-475b-82fd-77f7f0094309" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-913c-433c-ac7b-67ce853ef7ab", - "serverCallId": "sanitized", - "correlationId": "9f3158a0-19c8-4473-ad25-4c982c4c25e6", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:13:26.2350067+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-913c-433c-ac7b-67ce853ef7ab" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json deleted file mode 100644 index 4a11bf7bb13f..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json +++ /dev/null @@ -1,214 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "c7761ea4-bf84-4d5f-8a82-ff95efe837b2" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-3c1a-4853-96a4-3d1aacf2fe6d", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-3c1a-4853-96a4-3d1aacf2fe6d", - "serverCallId": "sanitized", - "correlationId": "c7761ea4-bf84-4d5f-8a82-ff95efe837b2", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:12:58.6176593+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-3c1a-4853-96a4-3d1aacf2fe6d" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-3c1a-4853-96a4-3d1aacf2fe6d", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-3c1a-4853-96a4-3d1aacf2fe6d", - "serverCallId": "sanitized", - "correlationId": "c7761ea4-bf84-4d5f-8a82-ff95efe837b2", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:12:58.6330237+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-3c1a-4853-96a4-3d1aacf2fe6d" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-7585-4805-94a4-954ad90a1c45", - "serverCallId": "sanitized", - "correlationId": "c7761ea4-bf84-4d5f-8a82-ff95efe837b2", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:12:58.6856707+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-7585-4805-94a4-954ad90a1c45", - "serverCallId": "sanitized", - "correlationId": "c7761ea4-bf84-4d5f-8a82-ff95efe837b2", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:12:58.6856707+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45", - "type": "Microsoft.Communication.PlayStarted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "multipleTextSourceContext", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-7585-4805-94a4-954ad90a1c45", - "serverCallId": "sanitized", - "correlationId": "c7761ea4-bf84-4d5f-8a82-ff95efe837b2", - "publicEventType": "Microsoft.Communication.PlayStarted" - }, - "time": "2024-12-06T19:13:00.9870259+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45", - "type": "Microsoft.Communication.PlayCompleted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "multipleTextSourceContext", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "Action completed successfully." - }, - "callConnectionId": "31002180-7585-4805-94a4-954ad90a1c45", - "serverCallId": "sanitized", - "correlationId": "c7761ea4-bf84-4d5f-8a82-ff95efe837b2", - "publicEventType": "Microsoft.Communication.PlayCompleted" - }, - "time": "2024-12-06T19:13:07.5207038+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-7585-4805-94a4-954ad90a1c45" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json deleted file mode 100644 index effbe55cb277..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json +++ /dev/null @@ -1,431 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-4123-49ce-a1e5-fa2c55b6e249", - "serverCallId": "sanitized", - "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:14:06.6586825+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-4123-49ce-a1e5-fa2c55b6e249", - "serverCallId": "sanitized", - "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:06.6968212+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-cef3-4881-9780-4c9e79dcf5a1", - "serverCallId": "sanitized", - "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:14:06.7375817+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-cef3-4881-9780-4c9e79dcf5a1", - "serverCallId": "sanitized", - "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:06.7375817+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": true - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 3, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-cef3-4881-9780-4c9e79dcf5a1", - "serverCallId": "sanitized", - "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:09.9949968+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": true - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 3, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-4123-49ce-a1e5-fa2c55b6e249", - "serverCallId": "sanitized", - "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:09.9949968+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1", - "type": "Microsoft.Communication.PlayFailed", - "data": { - "failedPlaySourceIndex": 0, - "version": "2024-09-01-preview", - "operationContext": "playFailContext", - "resultInformation": { - "code": 400, - "subCode": 8535, - "message": "Action failed, file format is invalid." - }, - "callConnectionId": "31002180-cef3-4881-9780-4c9e79dcf5a1", - "serverCallId": "sanitized", - "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", - "publicEventType": "Microsoft.Communication.PlayFailed" - }, - "time": "2024-12-06T19:14:10.3282823+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-4123-49ce-a1e5-fa2c55b6e249", - "serverCallId": "sanitized", - "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:10.5654844+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 5, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-cef3-4881-9780-4c9e79dcf5a1", - "serverCallId": "sanitized", - "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:10.5654844+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "31002180-cef3-4881-9780-4c9e79dcf5a1", - "serverCallId": "sanitized", - "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:14:11.4950744+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-cef3-4881-9780-4c9e79dcf5a1" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", - "resultInformation": { - "code": 200, - "subCode": 5001, - "message": "This conversation has ended.. DiagCode: 0#5001.@" - }, - "callConnectionId": "31002180-4123-49ce-a1e5-fa2c55b6e249", - "serverCallId": "sanitized", - "correlationId": "2312536f-73ea-4fb4-b19d-c7fcc335f523", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:14:11.5954464+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-4123-49ce-a1e5-fa2c55b6e249" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json deleted file mode 100644 index d83063c5bbf7..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json +++ /dev/null @@ -1,239 +0,0 @@ -[ - { - "to": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "from": { - "kind": "communicationUser", - "rawId": "sanitized", - "communicationUser": { - "id": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-bc0d-4ebc-a214-ffd0cc2e50a1", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-bc0d-4ebc-a214-ffd0cc2e50a1", - "serverCallId": "sanitized", - "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:14:18.0525192+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-bc0d-4ebc-a214-ffd0cc2e50a1" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-bc0d-4ebc-a214-ffd0cc2e50a1", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-bc0d-4ebc-a214-ffd0cc2e50a1", - "serverCallId": "sanitized", - "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:18.0765901+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-bc0d-4ebc-a214-ffd0cc2e50a1" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-155e-4a17-9c4f-a0612a9c7519", - "serverCallId": "sanitized", - "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:14:18.0928122+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-155e-4a17-9c4f-a0612a9c7519", - "serverCallId": "sanitized", - "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:14:18.097802+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519", - "type": "Microsoft.Communication.PlayFailed", - "data": { - "failedPlaySourceIndex": 0, - "version": "2024-09-01-preview", - "operationContext": "playFailContext", - "resultInformation": { - "code": 400, - "subCode": 8535, - "message": "Action failed, file format is invalid." - }, - "callConnectionId": "31002180-155e-4a17-9c4f-a0612a9c7519", - "serverCallId": "sanitized", - "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953", - "publicEventType": "Microsoft.Communication.PlayFailed" - }, - "time": "2024-12-06T19:14:19.546701+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesCreateCall", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "31002180-155e-4a17-9c4f-a0612a9c7519", - "serverCallId": "sanitized", - "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:14:20.7221951+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-155e-4a17-9c4f-a0612a9c7519" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-bc0d-4ebc-a214-ffd0cc2e50a1", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "operationContext": "playMultipleSourcesAnswerCall", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "31002180-bc0d-4ebc-a214-ffd0cc2e50a1", - "serverCallId": "sanitized", - "correlationId": "42adf3c6-cf1a-4fd4-b689-86b3e85e4953", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:14:20.8133423+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-bc0d-4ebc-a214-ffd0cc2e50a1" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json deleted file mode 100644 index 25dbab97771e..000000000000 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json +++ /dev/null @@ -1,235 +0,0 @@ -[ - { - "to": { - "kind": "phoneNumber", - "rawId": "sanitized", - "phoneNumber": { - "value": "sanitized" - } - }, - "from": { - "kind": "phoneNumber", - "rawId": "sanitized", - "phoneNumber": { - "value": "sanitized" - } - }, - "serverCallId": "sanitized", - "callerDisplayName": "", - "incomingCallContext": "sanitized", - "correlationId": "c2c3c1c2-1296-4919-8707-69d8dd9a5b73" - }, - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "phoneNumber", - "phoneNumber": { - "value": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-5c0e-4796-8b21-4c8a286f4a31", - "serverCallId": "sanitized", - "correlationId": "e3eb73b1-9dff-407d-b03c-44a646d1e578", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:51.4283155+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-5338-489c-a9a2-c136b9bfd931", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-5338-489c-a9a2-c136b9bfd931", - "serverCallId": "sanitized", - "correlationId": "c2c3c1c2-1296-4919-8707-69d8dd9a5b73", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:51.4377093+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-5338-489c-a9a2-c136b9bfd931" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31", - "type": "Microsoft.Communication.CallConnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-5c0e-4796-8b21-4c8a286f4a31", - "serverCallId": "sanitized", - "correlationId": "e3eb73b1-9dff-407d-b03c-44a646d1e578", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-06T19:11:51.5163512+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-5338-489c-a9a2-c136b9bfd931", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "phoneNumber", - "phoneNumber": { - "value": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2024-09-01-preview", - "callConnectionId": "31002180-5338-489c-a9a2-c136b9bfd931", - "serverCallId": "sanitized", - "correlationId": "c2c3c1c2-1296-4919-8707-69d8dd9a5b73", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-12-06T19:11:51.7215239+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-5338-489c-a9a2-c136b9bfd931" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31", - "type": "Microsoft.Communication.SendDtmfTonesCompleted", - "data": { - "version": "2024-09-01-preview", - "operationContext": "ContinuousDtmfRecognitionSend", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "callConnectionId": "31002180-5c0e-4796-8b21-4c8a286f4a31", - "serverCallId": "sanitized", - "correlationId": "e3eb73b1-9dff-407d-b03c-44a646d1e578", - "publicEventType": "Microsoft.Communication.SendDtmfTonesCompleted" - }, - "time": "2024-12-06T19:11:56.7427383+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31", - "type": "Microsoft.Communication.ContinuousDtmfRecognitionStopped", - "data": { - "version": "2024-09-01-preview", - "operationContext": "ContinuousDtmfRecognitionStop", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "31002180-5c0e-4796-8b21-4c8a286f4a31", - "serverCallId": "sanitized", - "correlationId": "e3eb73b1-9dff-407d-b03c-44a646d1e578", - "publicEventType": "Microsoft.Communication.ContinuousDtmfRecognitionStopped" - }, - "time": "2024-12-06T19:11:57.7159089+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31", - "type": "Microsoft.Communication.CallDisconnected", - "data": { - "version": "2024-09-01-preview", - "resultInformation": { - "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" - }, - "callConnectionId": "31002180-5c0e-4796-8b21-4c8a286f4a31", - "serverCallId": "sanitized", - "correlationId": "e3eb73b1-9dff-407d-b03c-44a646d1e578", - "publicEventType": "Microsoft.Communication.CallDisconnected" - }, - "time": "2024-12-06T19:11:58.9897927+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/31002180-5c0e-4796-8b21-4c8a286f4a31" - } - ] -] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/src/models/constants.ts b/sdk/communication/communication-call-automation/src/models/constants.ts index 8bf174b4ca42..61d93057274c 100644 --- a/sdk/communication/communication-call-automation/src/models/constants.ts +++ b/sdk/communication/communication-call-automation/src/models/constants.ts @@ -1,4 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -export const SDK_VERSION: string = "1.3.0-beta.1"; +export const SDK_VERSION: string = "1.4.0-beta.2"; From a7cfe5e2d00e593dd27042e19a70fc4d2db8958e Mon Sep 17 00:00:00 2001 From: Vinothini Dharmaraj Date: Fri, 20 Dec 2024 09:37:28 -0800 Subject: [PATCH 11/16] reecording tests --- .../communication-call-automation/assets.json | 2 +- ...a_participant_and_get_call_properties.json | 652 ++++++++---- ...ipant_cancels_add_participant_request.json | 158 ++- ...tion_Live_Tests_List_all_participants.json | 90 +- ...nection_Live_Tests_Mute_a_participant.json | 981 ++++++++++++------ ...ction_Live_Tests_Remove_a_participant.json | 183 ++-- ...a_call,_start_recording,_and_hangs_up.json | 517 ++++++--- ...t_Live_Tests_Create_a_call_and_hangup.json | 127 ++- ...on_Main_Client_Live_Tests_Reject_call.json | 39 +- ...,_start_media_streaming,_and_hangs_up.json | 266 +++++ ...ll,_start_transcription,_and_hangs_up.json | 264 +++++ ...ive_Tests_Cancel_all_media_operations.json | 127 ++- ..._start_media_streaming,_and_hangs_up..json | 266 +++++ ...l,_start_transcription,_and_hangs_up..json | 264 +++++ ...sts_Hold_Unhold_participant_in_a_call.json | 618 +++++++++++ ..._Tests_Play_audio_to_all_participants.json | 163 +-- ...ests_Play_audio_to_target_participant.json | 247 ++--- ...bined_text_and_file_sources_with_play.json | 406 ++++++++ ...ed_text_and_file_sources_with_playall.json | 214 ++++ ...le_file_sources_with_play_and_playall.json | 262 +++++ ..._Play_multiple_text_sources_with_play.json | 406 ++++++++ ...ay_multiple_text_sources_with_playall.json | 262 +++++ ...ive_Tests_Play_wrong_source_with_play.json | 431 ++++++++ ..._Tests_Play_wrong_source_with_playall.json | 239 +++++ ...lient_Live_Tests_Trigger_DTMF_actions.json | 144 ++- .../test/node/callMediaClient.spec.ts | 21 +- .../test/utils/recordedClient.ts | 7 +- 27 files changed, 6049 insertions(+), 1307 deletions(-) create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json create mode 100644 sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json diff --git a/sdk/communication/communication-call-automation/assets.json b/sdk/communication/communication-call-automation/assets.json index 69af341ccba2..12cf6f0e94bd 100644 --- a/sdk/communication/communication-call-automation/assets.json +++ b/sdk/communication/communication-call-automation/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "js", "TagPrefix": "js/communication/communication-call-automation", - "Tag": "js/communication/communication-call-automation_4d47aef98d" + "Tag": "js/communication/communication-call-automation_80bab71cb3" } diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json index 1c79c0162e58..09062b956240 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json @@ -17,40 +17,14 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a" }, [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", - "operationContext": "addParticipantsAnswer", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-e48a-4116-87e2-252a4caa9ce1", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-16T23:18:54.4028246+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", + "source": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", "participants": [ { "identifier": { @@ -81,25 +55,48 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-e48a-4116-87e2-252a4caa9ce1", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-c85e-4fd1-984c-be377d1770f3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:54.3939872+00:00", + "time": "2024-12-20T17:23:36.2177393+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1" + "subject": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "source": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "addParticipantsAnswer", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "27002280-3e49-44d9-af29-78b38c12ded9", + "serverCallId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:23:36.2370101+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", "participants": [ { "identifier": { @@ -130,50 +127,48 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-3e49-44d9-af29-78b38c12ded9", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:54.4107895+00:00", + "time": "2024-12-20T17:23:36.2370101+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b" + "subject": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "source": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "version": "2024-09-01-preview", "operationContext": "addParticipantsCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "callConnectionId": "22002280-c85e-4fd1-984c-be377d1770f3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:18:54.4802178+00:00", + "time": "2024-12-20T17:23:36.3682788+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b" + "subject": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", + "source": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", "participants": [ { "identifier": { @@ -204,25 +199,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-e48a-4116-87e2-252a4caa9ce1", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-3e49-44d9-af29-78b38c12ded9", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:59.2880442+00:00", + "time": "2024-12-20T17:23:42.6428493+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1" + "subject": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "source": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", "participants": [ { "identifier": { @@ -253,16 +247,16 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-c85e-4fd1-984c-be377d1770f3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:59.3506414+00:00", + "time": "2024-12-20T17:23:42.6832818+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b" + "subject": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3" } ], { @@ -283,40 +277,69 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a" }, [ { "id": "sanitized", - "source": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583", + "source": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583", + "version": "2024-09-01-preview", "operationContext": "addParticipantsAnswer2", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-bac0-4da2-ae45-689b55195583", + "callConnectionId": "27002280-ba82-4b25-a172-c0286e88b075", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:19:00.8024908+00:00", + "time": "2024-12-20T17:23:44.3020814+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3", + "type": "Microsoft.Communication.AddParticipantSucceeded", + "data": { + "participant": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "version": "2024-09-01-preview", + "operationContext": "addParticipants", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "22002280-c85e-4fd1-984c-be377d1770f3", + "serverCallId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", + "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" + }, + "time": "2024-12-20T17:23:44.588915+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583" + "subject": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "source": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", "participants": [ { "identifier": { @@ -358,25 +381,83 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-3e49-44d9-af29-78b38c12ded9", + "serverCallId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:23:44.5881935+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "27002280-ba82-4b25-a172-c0286e88b075", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:00.915447+00:00", + "time": "2024-12-20T17:23:44.7470486+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b" + "subject": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", + "source": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", "participants": [ { "identifier": { @@ -418,57 +499,142 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-e48a-4116-87e2-252a4caa9ce1", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-c85e-4fd1-984c-be377d1770f3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:00.8875759+00:00", + "time": "2024-12-20T17:23:44.588915+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1" + "subject": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", - "type": "Microsoft.Communication.AddParticipantSucceeded", + "source": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", - "operationContext": "addParticipants", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "participant": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" + "version": "2024-09-01-preview", + "callConnectionId": "22002280-c85e-4fd1-984c-be377d1770f3", + "serverCallId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:23:44.7282562+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false } + ], + "sequenceNumber": 8, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-ba82-4b25-a172-c0286e88b075", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:00.9148931+00:00", + "time": "2024-12-20T17:23:44.8544173+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b" + "subject": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", + "source": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", "participants": [ { "identifier": { @@ -504,31 +670,30 @@ "isOnHold": false } ], - "sequenceNumber": 6, + "sequenceNumber": 8, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-e48a-4116-87e2-252a4caa9ce1", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-3e49-44d9-af29-78b38c12ded9", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.0177903+00:00", + "time": "2024-12-20T17:23:44.7504614+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1" + "subject": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "source": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", "participants": [ { "identifier": { @@ -564,31 +729,30 @@ "isOnHold": false } ], - "sequenceNumber": 6, + "sequenceNumber": 8, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-3e49-44d9-af29-78b38c12ded9", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.0665584+00:00", + "time": "2024-12-20T17:23:44.8636606+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b" + "subject": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583", + "source": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583", "participants": [ { "identifier": { @@ -630,25 +794,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-bac0-4da2-ae45-689b55195583", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-ba82-4b25-a172-c0286e88b075", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.2238901+00:00", + "time": "2024-12-20T17:23:44.9805323+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583" + "subject": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", + "source": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", "participants": [ { "identifier": { @@ -684,31 +847,30 @@ "isOnHold": false } ], - "sequenceNumber": 6, + "sequenceNumber": 8, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-e48a-4116-87e2-252a4caa9ce1", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-c85e-4fd1-984c-be377d1770f3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.1501193+00:00", + "time": "2024-12-20T17:23:44.8476288+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1" + "subject": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "source": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", "participants": [ { "identifier": { @@ -744,31 +906,30 @@ "isOnHold": false } ], - "sequenceNumber": 6, + "sequenceNumber": 8, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-3e49-44d9-af29-78b38c12ded9", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.1867131+00:00", + "time": "2024-12-20T17:23:44.9954184+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b" + "subject": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583", + "source": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583", "participants": [ { "identifier": { @@ -810,25 +971,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-bac0-4da2-ae45-689b55195583", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-c85e-4fd1-984c-be377d1770f3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.4323776+00:00", + "time": "2024-12-20T17:23:44.9946371+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583" + "subject": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", + "source": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", "participants": [ { "identifier": { @@ -864,31 +1024,30 @@ "isOnHold": false } ], - "sequenceNumber": 7, + "sequenceNumber": 11, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-e48a-4116-87e2-252a4caa9ce1", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-ba82-4b25-a172-c0286e88b075", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.26024+00:00", + "time": "2024-12-20T17:23:45.1086124+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1" + "subject": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075" } ], [ { "id": "sanitized", - "source": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "source": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", "participants": [ { "identifier": { @@ -924,31 +1083,30 @@ "isOnHold": false } ], - "sequenceNumber": 10, + "sequenceNumber": 8, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-3e49-44d9-af29-78b38c12ded9", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.3154278+00:00", + "time": "2024-12-20T17:23:45.1080587+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b" + "subject": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583", + "source": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583", "participants": [ { "identifier": { @@ -990,25 +1148,83 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-bac0-4da2-ae45-689b55195583", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-c85e-4fd1-984c-be377d1770f3", + "serverCallId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:23:45.1792661+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 11, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "27002280-ba82-4b25-a172-c0286e88b075", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.6341583+00:00", + "time": "2024-12-20T17:23:45.2409937+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583" + "subject": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", + "source": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", "participants": [ { "identifier": { @@ -1044,31 +1260,30 @@ "isOnHold": false } ], - "sequenceNumber": 10, + "sequenceNumber": 11, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-e48a-4116-87e2-252a4caa9ce1", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-3e49-44d9-af29-78b38c12ded9", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.3753855+00:00", + "time": "2024-12-20T17:23:45.2398212+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1" + "subject": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "source": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", "participants": [ { "identifier": { @@ -1104,31 +1319,30 @@ "isOnHold": false } ], - "sequenceNumber": 10, + "sequenceNumber": 11, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-c85e-4fd1-984c-be377d1770f3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.439472+00:00", + "time": "2024-12-20T17:23:45.3097087+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b" + "subject": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583", + "source": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583", "participants": [ { "identifier": { @@ -1170,25 +1384,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-bac0-4da2-ae45-689b55195583", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-ba82-4b25-a172-c0286e88b075", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.8512559+00:00", + "time": "2024-12-20T17:23:45.3592468+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583" + "subject": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", + "source": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", "participants": [ { "identifier": { @@ -1224,31 +1437,30 @@ "isOnHold": false } ], - "sequenceNumber": 10, + "sequenceNumber": 11, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-e48a-4116-87e2-252a4caa9ce1", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-3e49-44d9-af29-78b38c12ded9", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.4970816+00:00", + "time": "2024-12-20T17:23:45.3636819+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1" + "subject": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "source": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", "participants": [ { "identifier": { @@ -1284,31 +1496,30 @@ "isOnHold": false } ], - "sequenceNumber": 10, + "sequenceNumber": 11, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-ba82-4b25-a172-c0286e88b075", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.5468364+00:00", + "time": "2024-12-20T17:23:45.4882579+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b" + "subject": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583", + "source": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583", "participants": [ { "identifier": { @@ -1350,25 +1561,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-bac0-4da2-ae45-689b55195583", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-c85e-4fd1-984c-be377d1770f3", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:02.0413356+00:00", + "time": "2024-12-20T17:23:45.4789932+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-bac0-4da2-ae45-689b55195583" + "subject": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "source": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b", "participants": [ { "identifier": { @@ -1404,22 +1614,22 @@ "isOnHold": false } ], - "sequenceNumber": 10, + "sequenceNumber": 11, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "08002280-d5c5-4e00-a0ce-be5ab926fa8b", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-3e49-44d9-af29-78b38c12ded9", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.6579298+00:00", + "time": "2024-12-20T17:23:45.5063556+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/08002280-d5c5-4e00-a0ce-be5ab926fa8b" + "subject": "calling/callConnections/27002280-3e49-44d9-af29-78b38c12ded9" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json index 7c87e72f71d9..7287edf125ec 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json @@ -17,40 +17,62 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "e4178d1e-1204-42c0-b0c9-05d154d2b0df" }, [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-f7ca-4d27-b79f-5deda04746dd", - "type": "Microsoft.Communication.CallConnected", + "source": "calling/callConnections/22002280-054f-4398-9819-544a42eb6b0d", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-f7ca-4d27-b79f-5deda04746dd", - "operationContext": "cancelAddCreateAnswer", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-f7ca-4d27-b79f-5deda04746dd", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-054f-4398-9819-544a42eb6b0d", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" + "correlationId": "e4178d1e-1204-42c0-b0c9-05d154d2b0df", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:28.9949701+00:00", + "time": "2024-12-20T17:24:23.4815697+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-f7ca-4d27-b79f-5deda04746dd" + "subject": "calling/callConnections/22002280-054f-4398-9819-544a42eb6b0d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-b65a-49ee-9fd2-cd345c9cdc35", + "source": "calling/callConnections/22002280-d5e5-4b16-86dc-4d01f1e60e01", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-b65a-49ee-9fd2-cd345c9cdc35", "participants": [ { "identifier": { @@ -81,99 +103,72 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-b65a-49ee-9fd2-cd345c9cdc35", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-d5e5-4b16-86dc-4d01f1e60e01", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "e4178d1e-1204-42c0-b0c9-05d154d2b0df", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:29.0120327+00:00", + "time": "2024-12-20T17:24:23.5043992+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-b65a-49ee-9fd2-cd345c9cdc35" + "subject": "calling/callConnections/22002280-d5e5-4b16-86dc-4d01f1e60e01" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-b65a-49ee-9fd2-cd345c9cdc35", + "source": "calling/callConnections/22002280-054f-4398-9819-544a42eb6b0d", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/06002080-b65a-49ee-9fd2-cd345c9cdc35", - "operationContext": "cancelAddCreateCall", + "version": "2024-09-01-preview", + "operationContext": "cancelAddCreateAnswer", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-b65a-49ee-9fd2-cd345c9cdc35", + "callConnectionId": "22002280-054f-4398-9819-544a42eb6b0d", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "e4178d1e-1204-42c0-b0c9-05d154d2b0df", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:19:29.0073986+00:00", + "time": "2024-12-20T17:24:23.5582549+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-b65a-49ee-9fd2-cd345c9cdc35" + "subject": "calling/callConnections/22002280-054f-4398-9819-544a42eb6b0d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-f7ca-4d27-b79f-5deda04746dd", - "type": "Microsoft.Communication.ParticipantsUpdated", + "source": "calling/callConnections/22002280-d5e5-4b16-86dc-4d01f1e60e01", + "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/1b002280-f7ca-4d27-b79f-5deda04746dd", - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, + "version": "2024-09-01-preview", + "operationContext": "cancelAddCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-f7ca-4d27-b79f-5deda04746dd", + "callConnectionId": "22002280-d5e5-4b16-86dc-4d01f1e60e01", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + "correlationId": "e4178d1e-1204-42c0-b0c9-05d154d2b0df", + "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:19:29.1601933+00:00", + "time": "2024-12-20T17:24:23.6082+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-f7ca-4d27-b79f-5deda04746dd" + "subject": "calling/callConnections/22002280-d5e5-4b16-86dc-4d01f1e60e01" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-b65a-49ee-9fd2-cd345c9cdc35", + "source": "calling/callConnections/22002280-d5e5-4b16-86dc-4d01f1e60e01", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-b65a-49ee-9fd2-cd345c9cdc35", "participants": [ { "identifier": { @@ -204,25 +199,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-b65a-49ee-9fd2-cd345c9cdc35", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-d5e5-4b16-86dc-4d01f1e60e01", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "e4178d1e-1204-42c0-b0c9-05d154d2b0df", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:31.8156557+00:00", + "time": "2024-12-20T17:24:27.4465651+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-b65a-49ee-9fd2-cd345c9cdc35" + "subject": "calling/callConnections/22002280-d5e5-4b16-86dc-4d01f1e60e01" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-f7ca-4d27-b79f-5deda04746dd", + "source": "calling/callConnections/22002280-054f-4398-9819-544a42eb6b0d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-f7ca-4d27-b79f-5deda04746dd", "participants": [ { "identifier": { @@ -253,41 +247,41 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-f7ca-4d27-b79f-5deda04746dd", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-054f-4398-9819-544a42eb6b0d", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "e4178d1e-1204-42c0-b0c9-05d154d2b0df", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:31.870613+00:00", + "time": "2024-12-20T17:24:27.4178964+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-f7ca-4d27-b79f-5deda04746dd" + "subject": "calling/callConnections/22002280-054f-4398-9819-544a42eb6b0d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-b65a-49ee-9fd2-cd345c9cdc35", + "source": "calling/callConnections/22002280-d5e5-4b16-86dc-4d01f1e60e01", "type": "Microsoft.Communication.CancelAddParticipantSucceeded", "data": { - "invitationId": "785ecfb7-cd23-43fe-a40a-7350b565cebd", + "invitationId": "c0990619-5e93-41bc-8c25-931cfd220db8", + "version": "2024-09-01-preview", "operationContext": "cancelOp", "resultInformation": { "code": 200, "subCode": 5300, - "message": "addParticipants failed for participant 8:acs:6d889502-3d7a-41a8-befa-d21fd80e8767_00000024-71a6-a93c-0e04-343a0d005cf4. Underlying reason: The conversation has ended. DiagCode: 0#5300.@" + "message": "addParticipants failed for participant 8:acs:6d889502-3d7a-41a8-befa-d21fd80e8767_00000024-84fa-fdb9-0d8b-08482200a89d. Underlying reason: The conversation has ended. DiagCode: 0#5300.@" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-b65a-49ee-9fd2-cd345c9cdc35", + "callConnectionId": "22002280-d5e5-4b16-86dc-4d01f1e60e01", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "e4178d1e-1204-42c0-b0c9-05d154d2b0df", "publicEventType": "Microsoft.Communication.CancelAddParticipantSucceeded" }, - "time": "2024-12-16T23:19:33.7031713+00:00", + "time": "2024-12-20T17:24:29.3512458+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-b65a-49ee-9fd2-cd345c9cdc35" + "subject": "calling/callConnections/22002280-d5e5-4b16-86dc-4d01f1e60e01" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json index 7bc3cac41372..6238f9f0e39a 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json @@ -17,40 +17,14 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "9e9e9eb6-645c-445a-8e57-d63372ea1c77" }, [ { "id": "sanitized", - "source": "calling/callConnections/0a002280-1b1b-4026-ac67-d9c7ecb67301", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/0a002280-1b1b-4026-ac67-d9c7ecb67301", - "operationContext": "listParticipantsAnswer", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2023-10-03-preview", - "callConnectionId": "0a002280-1b1b-4026-ac67-d9c7ecb67301", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-16T23:18:47.9529327+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/0a002280-1b1b-4026-ac67-d9c7ecb67301" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/0a002280-1b1b-4026-ac67-d9c7ecb67301", + "source": "calling/callConnections/1b002280-2ca8-47d7-8f6d-afe793149647", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/0a002280-1b1b-4026-ac67-d9c7ecb67301", "participants": [ { "identifier": { @@ -81,50 +55,48 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "0a002280-1b1b-4026-ac67-d9c7ecb67301", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-2ca8-47d7-8f6d-afe793149647", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "9e9e9eb6-645c-445a-8e57-d63372ea1c77", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:48.0056132+00:00", + "time": "2024-12-20T17:23:25.7786591+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/0a002280-1b1b-4026-ac67-d9c7ecb67301" + "subject": "calling/callConnections/1b002280-2ca8-47d7-8f6d-afe793149647" } ], [ { "id": "sanitized", - "source": "calling/callConnections/08002280-7ab3-4442-b0a7-217cbe2ec6a9", + "source": "calling/callConnections/1b002280-2ca8-47d7-8f6d-afe793149647", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/08002280-7ab3-4442-b0a7-217cbe2ec6a9", + "version": "2024-09-01-preview", "operationContext": "listParticipantsCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "08002280-7ab3-4442-b0a7-217cbe2ec6a9", + "callConnectionId": "1b002280-2ca8-47d7-8f6d-afe793149647", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "9e9e9eb6-645c-445a-8e57-d63372ea1c77", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:18:48.0014337+00:00", + "time": "2024-12-20T17:23:25.7944214+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/08002280-7ab3-4442-b0a7-217cbe2ec6a9" + "subject": "calling/callConnections/1b002280-2ca8-47d7-8f6d-afe793149647" } ], [ { "id": "sanitized", - "source": "calling/callConnections/08002280-7ab3-4442-b0a7-217cbe2ec6a9", + "source": "calling/callConnections/22002280-d62c-4732-b350-46ab3e56c237", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/08002280-7ab3-4442-b0a7-217cbe2ec6a9", "participants": [ { "identifier": { @@ -155,16 +127,40 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "08002280-7ab3-4442-b0a7-217cbe2ec6a9", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-d62c-4732-b350-46ab3e56c237", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "9e9e9eb6-645c-445a-8e57-d63372ea1c77", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:48.0070157+00:00", + "time": "2024-12-20T17:23:25.8283957+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/22002280-d62c-4732-b350-46ab3e56c237" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/22002280-d62c-4732-b350-46ab3e56c237", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "listParticipantsAnswer", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "22002280-d62c-4732-b350-46ab3e56c237", + "serverCallId": "sanitized", + "correlationId": "9e9e9eb6-645c-445a-8e57-d63372ea1c77", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:23:25.8216067+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/08002280-7ab3-4442-b0a7-217cbe2ec6a9" + "subject": "calling/callConnections/22002280-d62c-4732-b350-46ab3e56c237" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json index 30f4f49e0b93..871acfc9ee74 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json @@ -17,15 +17,14 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778" }, [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", "participants": [ { "identifier": { @@ -56,25 +55,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:13.6701629+00:00", + "time": "2024-12-20T17:24:03.8726326+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", "participants": [ { "identifier": { @@ -105,73 +103,70 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:13.6701629+00:00", + "time": "2024-12-20T17:24:03.8935388+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:19:13.6924829+00:00", + "time": "2024-12-20T17:24:03.9774306+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:19:13.6885458+00:00", + "time": "2024-12-20T17:24:04.0464402+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", "participants": [ { "identifier": { @@ -202,25 +197,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:18.1466931+00:00", + "time": "2024-12-20T17:24:08.6049211+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", "participants": [ { "identifier": { @@ -251,16 +245,16 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:18.1599+00:00", + "time": "2024-12-20T17:24:08.6372503+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], { @@ -281,39 +275,68 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778" }, [ { "id": "sanitized", - "source": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", + "source": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", + "version": "2024-09-01-preview", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-ee16-424e-ba1e-da6053a958bd", + "callConnectionId": "1b002280-1791-4416-a37b-42256b21b987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:19:19.9115411+00:00", + "time": "2024-12-20T17:24:10.1726795+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd" + "subject": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", + "type": "Microsoft.Communication.AddParticipantSucceeded", + "data": { + "participant": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "version": "2024-09-01-preview", + "operationContext": "addParticipant", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", + "serverCallId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", + "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" + }, + "time": "2024-12-20T17:24:10.6231007+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", "participants": [ { "identifier": { @@ -355,25 +378,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.1682547+00:00", + "time": "2024-12-20T17:24:10.6192733+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", + "source": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", "participants": [ { "identifier": { @@ -415,57 +437,142 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-ee16-424e-ba1e-da6053a958bd", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-1791-4416-a37b-42256b21b987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.2310455+00:00", + "time": "2024-12-20T17:24:10.7076062+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd" + "subject": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", - "type": "Microsoft.Communication.AddParticipantSucceeded", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", - "operationContext": "addParticipant", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 4, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "participant": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", + "serverCallId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:24:10.6196163+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false } + ], + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.1682547+00:00", + "time": "2024-12-20T17:24:10.7558821+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", "participants": [ { "identifier": { @@ -501,31 +608,30 @@ "isOnHold": false } ], - "sequenceNumber": 4, + "sequenceNumber": 7, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.1682547+00:00", + "time": "2024-12-20T17:24:10.7541484+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", + "source": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", "participants": [ { "identifier": { @@ -567,25 +673,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-ee16-424e-ba1e-da6053a958bd", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-1791-4416-a37b-42256b21b987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.4306979+00:00", + "time": "2024-12-20T17:24:10.854715+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd" + "subject": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", "participants": [ { "identifier": { @@ -627,25 +732,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.3606255+00:00", + "time": "2024-12-20T17:24:10.8843747+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", "participants": [ { "identifier": { @@ -681,31 +785,30 @@ "isOnHold": false } ], - "sequenceNumber": 5, + "sequenceNumber": 7, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.3828428+00:00", + "time": "2024-12-20T17:24:10.9017952+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", + "source": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", "participants": [ { "identifier": { @@ -747,25 +850,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-ee16-424e-ba1e-da6053a958bd", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-1791-4416-a37b-42256b21b987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.6264997+00:00", + "time": "2024-12-20T17:24:10.9674536+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd" + "subject": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", "participants": [ { "identifier": { @@ -807,25 +909,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.535767+00:00", + "time": "2024-12-20T17:24:11.0071383+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", "participants": [ { "identifier": { @@ -861,31 +962,30 @@ "isOnHold": false } ], - "sequenceNumber": 9, + "sequenceNumber": 7, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.5780096+00:00", + "time": "2024-12-20T17:24:11.0280725+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", "participants": [ { "identifier": { @@ -921,31 +1021,30 @@ "isOnHold": false } ], - "sequenceNumber": 7, + "sequenceNumber": 8, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-1791-4416-a37b-42256b21b987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.7405209+00:00", + "time": "2024-12-20T17:24:11.1016488+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", "participants": [ { "identifier": { @@ -981,31 +1080,89 @@ "isOnHold": false } ], - "sequenceNumber": 8, + "sequenceNumber": 10, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", + "serverCallId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:24:11.1440853+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 12, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-ee16-424e-ba1e-da6053a958bd", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-1791-4416-a37b-42256b21b987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.8239695+00:00", + "time": "2024-12-20T17:24:11.2323499+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd" + "subject": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", "participants": [ { "identifier": { @@ -1047,25 +1204,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.7729725+00:00", + "time": "2024-12-20T17:24:11.1481985+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", "participants": [ { "identifier": { @@ -1107,25 +1263,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.9329844+00:00", + "time": "2024-12-20T17:24:11.2716486+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", "participants": [ { "identifier": { @@ -1167,25 +1322,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:20.9572123+00:00", + "time": "2024-12-20T17:24:11.2794379+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", + "source": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", "participants": [ { "identifier": { @@ -1221,31 +1375,30 @@ "isOnHold": false } ], - "sequenceNumber": 11, + "sequenceNumber": 12, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-ee16-424e-ba1e-da6053a958bd", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-1791-4416-a37b-42256b21b987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.0281577+00:00", + "time": "2024-12-20T17:24:11.4470594+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd" + "subject": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", "participants": [ { "identifier": { @@ -1281,31 +1434,30 @@ "isOnHold": false } ], - "sequenceNumber": 10, + "sequenceNumber": 12, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.1303024+00:00", + "time": "2024-12-20T17:24:11.478809+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", "participants": [ { "identifier": { @@ -1341,31 +1493,30 @@ "isOnHold": false } ], - "sequenceNumber": 11, + "sequenceNumber": 10, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-ee16-424e-ba1e-da6053a958bd", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.2103165+00:00", + "time": "2024-12-20T17:24:11.461967+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", "participants": [ { "identifier": { @@ -1401,31 +1552,30 @@ "isOnHold": false } ], - "sequenceNumber": 9, + "sequenceNumber": 12, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.173906+00:00", + "time": "2024-12-20T17:24:11.6052174+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", "participants": [ { "identifier": { @@ -1461,31 +1611,30 @@ "isOnHold": false } ], - "sequenceNumber": 10, + "sequenceNumber": 12, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-1791-4416-a37b-42256b21b987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.3356837+00:00", + "time": "2024-12-20T17:24:11.5955875+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", "participants": [ { "identifier": { @@ -1521,31 +1670,30 @@ "isOnHold": false } ], - "sequenceNumber": 11, + "sequenceNumber": 13, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-ee16-424e-ba1e-da6053a958bd", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.4201967+00:00", + "time": "2024-12-20T17:24:11.6070878+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", "participants": [ { "identifier": { @@ -1581,31 +1729,30 @@ "isOnHold": false } ], - "sequenceNumber": 10, + "sequenceNumber": 12, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.3680563+00:00", + "time": "2024-12-20T17:24:11.7169534+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", "participants": [ { "identifier": { @@ -1647,25 +1794,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-1791-4416-a37b-42256b21b987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.5430831+00:00", + "time": "2024-12-20T17:24:11.7269773+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", "participants": [ { "identifier": { @@ -1701,31 +1847,30 @@ "isOnHold": false } ], - "sequenceNumber": 11, + "sequenceNumber": 13, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.594283+00:00", + "time": "2024-12-20T17:24:11.7764839+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", + "source": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", "participants": [ { "identifier": { @@ -1761,31 +1906,30 @@ "isOnHold": false } ], - "sequenceNumber": 12, + "sequenceNumber": 13, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-ee16-424e-ba1e-da6053a958bd", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-1791-4416-a37b-42256b21b987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.614874+00:00", + "time": "2024-12-20T17:24:11.8587136+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd" + "subject": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", "participants": [ { "identifier": { @@ -1821,31 +1965,30 @@ "isOnHold": false } ], - "sequenceNumber": 12, + "sequenceNumber": 14, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.7276+00:00", + "time": "2024-12-20T17:24:11.8435391+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", "participants": [ { "identifier": { @@ -1887,25 +2030,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-ee16-424e-ba1e-da6053a958bd", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.7915372+00:00", + "time": "2024-12-20T17:24:11.9494707+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", "participants": [ { "identifier": { @@ -1941,31 +2083,30 @@ "isOnHold": false } ], - "sequenceNumber": 12, + "sequenceNumber": 14, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-1791-4416-a37b-42256b21b987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.7955805+00:00", + "time": "2024-12-20T17:24:11.9812365+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", "participants": [ { "identifier": { @@ -2001,31 +2142,30 @@ "isOnHold": false } ], - "sequenceNumber": 13, + "sequenceNumber": 15, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.9333939+00:00", + "time": "2024-12-20T17:24:11.9656892+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", "participants": [ { "identifier": { @@ -2061,31 +2201,30 @@ "isOnHold": false } ], - "sequenceNumber": 14, + "sequenceNumber": 15, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-ee16-424e-ba1e-da6053a958bd", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.9888867+00:00", + "time": "2024-12-20T17:24:12.0925343+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", "participants": [ { "identifier": { @@ -2121,31 +2260,30 @@ "isOnHold": false } ], - "sequenceNumber": 13, + "sequenceNumber": 15, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-1791-4416-a37b-42256b21b987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:21.9802902+00:00", + "time": "2024-12-20T17:24:12.1105663+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", "participants": [ { "identifier": { @@ -2181,31 +2319,30 @@ "isOnHold": false } ], - "sequenceNumber": 14, + "sequenceNumber": 16, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:22.1570014+00:00", + "time": "2024-12-20T17:24:12.1105663+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", + "source": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd", "participants": [ { "identifier": { @@ -2237,7 +2374,66 @@ "id": "sanitized" } }, - "isMuted": true, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 16, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-1791-4416-a37b-42256b21b987", + "serverCallId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:24:12.2495214+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, "isOnHold": false } ], @@ -2247,25 +2443,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-ee16-424e-ba1e-da6053a958bd", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:22.1852263+00:00", + "time": "2024-12-20T17:24:12.2229936+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-ee16-424e-ba1e-da6053a958bd" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", "participants": [ { "identifier": { @@ -2301,31 +2496,89 @@ "isOnHold": false } ], - "sequenceNumber": 14, + "sequenceNumber": 16, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:22.1237934+00:00", + "time": "2024-12-20T17:24:12.2374253+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 16, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", + "serverCallId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:24:12.3475595+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39", "participants": [ { "identifier": { @@ -2361,31 +2614,30 @@ "isOnHold": false } ], - "sequenceNumber": 15, + "sequenceNumber": 17, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e125-4319-8d43-fd3a4d1f9e39", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-1791-4416-a37b-42256b21b987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:22.3525994+00:00", + "time": "2024-12-20T17:24:12.369298+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e125-4319-8d43-fd3a4d1f9e39" + "subject": "calling/callConnections/1b002280-1791-4416-a37b-42256b21b987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", + "source": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b", "participants": [ { "identifier": { @@ -2421,22 +2673,81 @@ "isOnHold": false } ], - "sequenceNumber": 15, + "sequenceNumber": 17, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08fa-4fe4-86bf-5f575681e7ad", + "serverCallId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:24:12.3540646+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-08fa-4fe4-86bf-5f575681e7ad" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": true, + "isOnHold": false + } + ], + "sequenceNumber": 17, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-e59a-4d65-8206-9e5e1851b84b", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2d82-4175-b840-29cac795ea49", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "d3216643-f9c8-4186-b500-e17a002b6778", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:22.3832054+00:00", + "time": "2024-12-20T17:24:12.4735882+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-e59a-4d65-8206-9e5e1851b84b" + "subject": "calling/callConnections/22002280-2d82-4175-b840-29cac795ea49" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json index 2eb413d34a7c..702c7b38325a 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json @@ -2,10 +2,9 @@ [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", + "source": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1", "participants": [ { "identifier": { @@ -41,22 +40,81 @@ "isOnHold": false } ], - "sequenceNumber": 10, + "sequenceNumber": 13, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-e48a-4116-87e2-252a4caa9ce1", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-ba82-4b25-a172-c0286e88b075", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:01.626392+00:00", + "time": "2024-12-20T17:23:45.6056012+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-e48a-4116-87e2-252a4caa9ce1" + "subject": "calling/callConnections/27002280-ba82-4b25-a172-c0286e88b075" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 11, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "22002280-c85e-4fd1-984c-be377d1770f3", + "serverCallId": "sanitized", + "correlationId": "73ce853d-7100-4557-a716-acded4a1275a", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:23:45.6118651+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/22002280-c85e-4fd1-984c-be377d1770f3" } ], { @@ -77,15 +135,14 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "4102cdd8-246b-4339-80ec-beecf9e2788a" }, [ { "id": "sanitized", - "source": "calling/callConnections/06002080-3e22-4e4a-9061-e03421a7530b", + "source": "calling/callConnections/1b002280-9c4b-49b3-bcdc-6844129859e1", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-3e22-4e4a-9061-e03421a7530b", "participants": [ { "identifier": { @@ -116,25 +173,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-3e22-4e4a-9061-e03421a7530b", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-9c4b-49b3-bcdc-6844129859e1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4102cdd8-246b-4339-80ec-beecf9e2788a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:07.1147494+00:00", + "time": "2024-12-20T17:23:53.5868482+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-3e22-4e4a-9061-e03421a7530b" + "subject": "calling/callConnections/1b002280-9c4b-49b3-bcdc-6844129859e1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-1fd3-45f0-9d62-45db6bcd46e9", + "source": "calling/callConnections/1b002280-bf85-47de-aec6-52705b104721", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-1fd3-45f0-9d62-45db6bcd46e9", "participants": [ { "identifier": { @@ -165,81 +221,72 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-1fd3-45f0-9d62-45db6bcd46e9", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-bf85-47de-aec6-52705b104721", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4102cdd8-246b-4339-80ec-beecf9e2788a", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:07.1147494+00:00", + "time": "2024-12-20T17:23:53.6167024+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-1fd3-45f0-9d62-45db6bcd46e9" + "subject": "calling/callConnections/1b002280-bf85-47de-aec6-52705b104721" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-3e22-4e4a-9061-e03421a7530b", + "source": "calling/callConnections/1b002280-bf85-47de-aec6-52705b104721", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/06002080-3e22-4e4a-9061-e03421a7530b", + "version": "2024-09-01-preview", "operationContext": "removeParticipantsAnswer", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-3e22-4e4a-9061-e03421a7530b", + "callConnectionId": "1b002280-bf85-47de-aec6-52705b104721", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4102cdd8-246b-4339-80ec-beecf9e2788a", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:19:07.1893211+00:00", + "time": "2024-12-20T17:23:53.6237191+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-3e22-4e4a-9061-e03421a7530b" + "subject": "calling/callConnections/1b002280-bf85-47de-aec6-52705b104721" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-1fd3-45f0-9d62-45db6bcd46e9", + "source": "calling/callConnections/1b002280-9c4b-49b3-bcdc-6844129859e1", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/06002080-1fd3-45f0-9d62-45db6bcd46e9", + "version": "2024-09-01-preview", "operationContext": "removeParticipantCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-1fd3-45f0-9d62-45db6bcd46e9", + "callConnectionId": "1b002280-9c4b-49b3-bcdc-6844129859e1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4102cdd8-246b-4339-80ec-beecf9e2788a", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:19:07.2259626+00:00", + "time": "2024-12-20T17:23:53.731737+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-1fd3-45f0-9d62-45db6bcd46e9" + "subject": "calling/callConnections/1b002280-9c4b-49b3-bcdc-6844129859e1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-1fd3-45f0-9d62-45db6bcd46e9", + "source": "calling/callConnections/1b002280-9c4b-49b3-bcdc-6844129859e1", "type": "Microsoft.Communication.RemoveParticipantSucceeded", "data": { - "eventSource": "calling/callConnections/06002080-1fd3-45f0-9d62-45db6bcd46e9", - "operationContext": "removeParticipants", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, "participant": { "rawId": "sanitized", "kind": "communicationUser", @@ -247,66 +294,70 @@ "id": "sanitized" } }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-1fd3-45f0-9d62-45db6bcd46e9", + "version": "2024-09-01-preview", + "operationContext": "removeParticipants", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-9c4b-49b3-bcdc-6844129859e1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4102cdd8-246b-4339-80ec-beecf9e2788a", "publicEventType": "Microsoft.Communication.RemoveParticipantSucceeded" }, - "time": "2024-12-16T23:19:07.9854829+00:00", + "time": "2024-12-20T17:23:56.2096565+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-1fd3-45f0-9d62-45db6bcd46e9" + "subject": "calling/callConnections/1b002280-9c4b-49b3-bcdc-6844129859e1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-1fd3-45f0-9d62-45db6bcd46e9", + "source": "calling/callConnections/1b002280-9c4b-49b3-bcdc-6844129859e1", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/06002080-1fd3-45f0-9d62-45db6bcd46e9", + "version": "2024-09-01-preview", "operationContext": "removeParticipantCreateCall", "resultInformation": { "code": 200, - "subCode": 5002, - "message": "The conversation has ended. DiagCode: 0#5002.@" + "subCode": 5300, + "message": "The conversation has ended. DiagCode: 0#5300.@" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-1fd3-45f0-9d62-45db6bcd46e9", + "callConnectionId": "1b002280-9c4b-49b3-bcdc-6844129859e1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4102cdd8-246b-4339-80ec-beecf9e2788a", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-16T23:19:08.0525953+00:00", + "time": "2024-12-20T17:23:56.2498559+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-1fd3-45f0-9d62-45db6bcd46e9" + "subject": "calling/callConnections/1b002280-9c4b-49b3-bcdc-6844129859e1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-3e22-4e4a-9061-e03421a7530b", + "source": "calling/callConnections/1b002280-bf85-47de-aec6-52705b104721", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/06002080-3e22-4e4a-9061-e03421a7530b", + "version": "2024-09-01-preview", "operationContext": "removeParticipantsAnswer", "resultInformation": { "code": 200, "subCode": 5000, "message": "Removed from the conversation by another participant.. DiagCode: 0#5000.@" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-3e22-4e4a-9061-e03421a7530b", + "callConnectionId": "1b002280-bf85-47de-aec6-52705b104721", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4102cdd8-246b-4339-80ec-beecf9e2788a", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-16T23:19:08.0850909+00:00", + "time": "2024-12-20T17:23:56.3430672+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-3e22-4e4a-9061-e03421a7530b" + "subject": "calling/callConnections/1b002280-bf85-47de-aec6-52705b104721" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json index b96508faed65..1c35a2ec17aa 100644 --- a/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json +++ b/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json @@ -17,65 +17,206 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db" }, [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", + "source": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "27002280-5d10-45c7-b697-fcac8f98d0b1", + "serverCallId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:23:26.5356674+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "22002280-88b4-48ac-8077-3b3088c52c6f", + "serverCallId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:23:26.5385946+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", + "version": "2024-09-01-preview", "operationContext": "recordingAnswer", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-fda5-4b62-b8d3-e1212a833fa3", + "callConnectionId": "27002280-5d10-45c7-b697-fcac8f98d0b1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:18:49.0008691+00:00", + "time": "2024-12-20T17:23:26.5356674+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3" + "subject": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", + "source": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", + "version": "2024-09-01-preview", "operationContext": "recordingCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "26002080-ffe4-44a8-810e-ed021df978a9", + "callConnectionId": "22002280-88b4-48ac-8077-3b3088c52c6f", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:18:48.9899198+00:00", + "time": "2024-12-20T17:23:26.5588754+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f", + "type": "Microsoft.Communication.PlayStarted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "recordingPlay", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "22002280-88b4-48ac-8077-3b3088c52c6f", + "serverCallId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-20T17:23:30.3369828+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "recordingPlay", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "22002280-88b4-48ac-8077-3b3088c52c6f", + "serverCallId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", + "publicEventType": "Microsoft.Communication.PlayCompleted" + }, + "time": "2024-12-20T17:23:35.4170443+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9" + "subject": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", + "source": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", "participants": [ { "identifier": { @@ -100,31 +241,30 @@ "isOnHold": false } ], - "sequenceNumber": 1, + "sequenceNumber": 3, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "26002080-ffe4-44a8-810e-ed021df978a9", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-5d10-45c7-b697-fcac8f98d0b1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:49.1002884+00:00", + "time": "2024-12-20T17:23:36.1442444+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9" + "subject": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", + "source": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", "participants": [ { "identifier": { @@ -149,32 +289,32 @@ "isOnHold": false } ], - "sequenceNumber": 1, + "sequenceNumber": 3, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-fda5-4b62-b8d3-e1212a833fa3", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-88b4-48ac-8077-3b3088c52c6f", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:49.1645988+00:00", + "time": "2024-12-20T17:23:36.1556106+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3" + "subject": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f" } ], [ { "id": "sanitized", - "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi84dnpSWkxyLXRVZTR2VS1OTHItTk9RP2k9MTAtNjAtMjktMTA3JmU9NjM4Njk1NDgzOTY2NDk5ODY3/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC00MjIzLTQ5OTYtOGYzYS01YjdiZGY3OTM1YmQiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJlZmU1ZjliYS0zYTk1LTQzYzUtODAwOC02YTQ1ZDdlNTYzYjkifQ/RecordingStateChanged", + "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DTzhCYVppcjRFbU4wdGV0UzVKMTZRP2k9MTAtNjAtMTU0LTQ3JmU9NjM4Njk0NjE4NjQzMjMxODA4/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC05MTM2LTQ4ZmYtYjI2Yy1jMzFlYzc2YjBkZWYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyYmUyYTVkNS05ZjZmLTQ2ZjEtYTg5MC0zM2UzYWNhNjg5NDIifQ/RecordingStateChanged", "type": "Microsoft.Communication.RecordingStateChanged", "data": { - "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi84dnpSWkxyLXRVZTR2VS1OTHItTk9RP2k9MTAtNjAtMjktMTA3JmU9NjM4Njk1NDgzOTY2NDk5ODY3/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC00MjIzLTQ5OTYtOGYzYS01YjdiZGY3OTM1YmQiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJlZmU1ZjliYS0zYTk1LTQzYzUtODAwOC02YTQ1ZDdlNTYzYjkifQ/RecordingStateChanged", - "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC00MjIzLTQ5OTYtOGYzYS01YjdiZGY3OTM1YmQiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJlZmU1ZjliYS0zYTk1LTQzYzUtODAwOC02YTQ1ZDdlNTYzYjkifQ", + "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DTzhCYVppcjRFbU4wdGV0UzVKMTZRP2k9MTAtNjAtMTU0LTQ3JmU9NjM4Njk0NjE4NjQzMjMxODA4/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC05MTM2LTQ4ZmYtYjI2Yy1jMzFlYzc2YjBkZWYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyYmUyYTVkNS05ZjZmLTQ2ZjEtYTg5MC0zM2UzYWNhNjg5NDIifQ/RecordingStateChanged", + "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC05MTM2LTQ4ZmYtYjI2Yy1jMzFlYzc2YjBkZWYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyYmUyYTVkNS05ZjZmLTQ2ZjEtYTg5MC0zM2UzYWNhNjg5NDIifQ", "state": "inactive", "startDateTime": "0001-01-01T00:00:00+00:00", "recordingKind": "azureCommunicationServices", @@ -183,25 +323,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-4223-4996-8f3a-5b7bdf7935bd", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-9136-48ff-b26c-c31ec76b0def", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.RecordingStateChanged" }, - "time": "2024-12-16T23:18:52.9483426+00:00", + "time": "2024-12-20T17:23:36.2251087+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi84dnpSWkxyLXRVZTR2VS1OTHItTk9RP2k9MTAtNjAtMjktMTA3JmU9NjM4Njk1NDgzOTY2NDk5ODY3/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC00MjIzLTQ5OTYtOGYzYS01YjdiZGY3OTM1YmQiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJlZmU1ZjliYS0zYTk1LTQzYzUtODAwOC02YTQ1ZDdlNTYzYjkifQ/RecordingStateChanged" + "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DTzhCYVppcjRFbU4wdGV0UzVKMTZRP2k9MTAtNjAtMTU0LTQ3JmU9NjM4Njk0NjE4NjQzMjMxODA4/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC05MTM2LTQ4ZmYtYjI2Yy1jMzFlYzc2YjBkZWYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyYmUyYTVkNS05ZjZmLTQ2ZjEtYTg5MC0zM2UzYWNhNjg5NDIifQ/RecordingStateChanged" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", + "source": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", "participants": [ { "identifier": { @@ -226,31 +365,30 @@ "isOnHold": false } ], - "sequenceNumber": 3, + "sequenceNumber": 5, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-fda5-4b62-b8d3-e1212a833fa3", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-88b4-48ac-8077-3b3088c52c6f", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:52.9534107+00:00", + "time": "2024-12-20T17:23:36.2731967+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3" + "subject": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", + "source": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", "participants": [ { "identifier": { @@ -275,31 +413,58 @@ "isOnHold": false } ], - "sequenceNumber": 3, + "sequenceNumber": 5, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "26002080-ffe4-44a8-810e-ed021df978a9", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-5d10-45c7-b697-fcac8f98d0b1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:52.9479739+00:00", + "time": "2024-12-20T17:23:36.2950979+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1" + } + ], + [ + { + "id": "sanitized", + "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DTzhCYVppcjRFbU4wdGV0UzVKMTZRP2k9MTAtNjAtMTU0LTQ3JmU9NjM4Njk0NjE4NjQzMjMxODA4/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC05MTM2LTQ4ZmYtYjI2Yy1jMzFlYzc2YjBkZWYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyYmUyYTVkNS05ZjZmLTQ2ZjEtYTg5MC0zM2UzYWNhNjg5NDIifQ/RecordingStateChanged", + "type": "Microsoft.Communication.RecordingStateChanged", + "data": { + "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DTzhCYVppcjRFbU4wdGV0UzVKMTZRP2k9MTAtNjAtMTU0LTQ3JmU9NjM4Njk0NjE4NjQzMjMxODA4/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC05MTM2LTQ4ZmYtYjI2Yy1jMzFlYzc2YjBkZWYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyYmUyYTVkNS05ZjZmLTQ2ZjEtYTg5MC0zM2UzYWNhNjg5NDIifQ/RecordingStateChanged", + "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC05MTM2LTQ4ZmYtYjI2Yy1jMzFlYzc2YjBkZWYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyYmUyYTVkNS05ZjZmLTQ2ZjEtYTg5MC0zM2UzYWNhNjg5NDIifQ", + "state": "active", + "startDateTime": "2024-12-20T17:23:35.7220691+00:00", + "recordingKind": "azureCommunicationServices", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-9136-48ff-b26c-c31ec76b0def", + "serverCallId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", + "publicEventType": "Microsoft.Communication.RecordingStateChanged" + }, + "time": "2024-12-20T17:23:36.3189585+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9" + "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DTzhCYVppcjRFbU4wdGV0UzVKMTZRP2k9MTAtNjAtMTU0LTQ3JmU9NjM4Njk0NjE4NjQzMjMxODA4/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC05MTM2LTQ4ZmYtYjI2Yy1jMzFlYzc2YjBkZWYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIyYmUyYTVkNS05ZjZmLTQ2ZjEtYTg5MC0zM2UzYWNhNjg5NDIifQ/RecordingStateChanged" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", + "source": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", "participants": [ { "identifier": { @@ -324,31 +489,30 @@ "isOnHold": false } ], - "sequenceNumber": 4, + "sequenceNumber": 5, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-fda5-4b62-b8d3-e1212a833fa3", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-5d10-45c7-b697-fcac8f98d0b1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:53.0952798+00:00", + "time": "2024-12-20T17:23:36.4008601+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3" + "subject": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", + "source": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", "participants": [ { "identifier": { @@ -373,31 +537,30 @@ "isOnHold": false } ], - "sequenceNumber": 4, + "sequenceNumber": 5, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "26002080-ffe4-44a8-810e-ed021df978a9", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-88b4-48ac-8077-3b3088c52c6f", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:53.127009+00:00", + "time": "2024-12-20T17:23:36.3788477+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9" + "subject": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", + "source": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", "participants": [ { "identifier": { @@ -422,59 +585,78 @@ "isOnHold": false } ], - "sequenceNumber": 6, + "sequenceNumber": 9, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-fda5-4b62-b8d3-e1212a833fa3", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-5d10-45c7-b697-fcac8f98d0b1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:53.2521092+00:00", + "time": "2024-12-20T17:23:36.5102427+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3" + "subject": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1" } ], [ { "id": "sanitized", - "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi84dnpSWkxyLXRVZTR2VS1OTHItTk9RP2k9MTAtNjAtMjktMTA3JmU9NjM4Njk1NDgzOTY2NDk5ODY3/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC00MjIzLTQ5OTYtOGYzYS01YjdiZGY3OTM1YmQiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJlZmU1ZjliYS0zYTk1LTQzYzUtODAwOC02YTQ1ZDdlNTYzYjkifQ/RecordingStateChanged", - "type": "Microsoft.Communication.RecordingStateChanged", + "source": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi84dnpSWkxyLXRVZTR2VS1OTHItTk9RP2k9MTAtNjAtMjktMTA3JmU9NjM4Njk1NDgzOTY2NDk5ODY3/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC00MjIzLTQ5OTYtOGYzYS01YjdiZGY3OTM1YmQiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJlZmU1ZjliYS0zYTk1LTQzYzUtODAwOC02YTQ1ZDdlNTYzYjkifQ/RecordingStateChanged", - "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC00MjIzLTQ5OTYtOGYzYS01YjdiZGY3OTM1YmQiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJlZmU1ZjliYS0zYTk1LTQzYzUtODAwOC02YTQ1ZDdlNTYzYjkifQ", - "state": "active", - "startDateTime": "2024-12-16T23:18:52.699596+00:00", - "recordingKind": "azureCommunicationServices", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 7, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-4223-4996-8f3a-5b7bdf7935bd", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-88b4-48ac-8077-3b3088c52c6f", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.RecordingStateChanged" + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:53.2889275+00:00", + "time": "2024-12-20T17:23:36.5124575+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi84dnpSWkxyLXRVZTR2VS1OTHItTk9RP2k9MTAtNjAtMjktMTA3JmU9NjM4Njk1NDgzOTY2NDk5ODY3/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxYjAwMjI4MC00MjIzLTQ5OTYtOGYzYS01YjdiZGY3OTM1YmQiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJlZmU1ZjliYS0zYTk1LTQzYzUtODAwOC02YTQ1ZDdlNTYzYjkifQ/RecordingStateChanged" + "subject": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", + "source": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", "participants": [ { "identifier": { @@ -499,31 +681,30 @@ "isOnHold": false } ], - "sequenceNumber": 6, + "sequenceNumber": 9, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-fda5-4b62-b8d3-e1212a833fa3", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-5d10-45c7-b697-fcac8f98d0b1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:53.371902+00:00", + "time": "2024-12-20T17:23:36.6127065+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3" + "subject": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", + "source": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", "participants": [ { "identifier": { @@ -548,31 +729,30 @@ "isOnHold": false } ], - "sequenceNumber": 6, + "sequenceNumber": 7, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "26002080-ffe4-44a8-810e-ed021df978a9", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-88b4-48ac-8077-3b3088c52c6f", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:53.3849748+00:00", + "time": "2024-12-20T17:23:36.6351173+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9" + "subject": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", + "source": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", "participants": [ { "identifier": { @@ -597,31 +777,30 @@ "isOnHold": false } ], - "sequenceNumber": 7, + "sequenceNumber": 9, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-fda5-4b62-b8d3-e1212a833fa3", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-5d10-45c7-b697-fcac8f98d0b1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:53.4782623+00:00", + "time": "2024-12-20T17:23:36.724988+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3" + "subject": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", + "source": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3", "participants": [ { "identifier": { @@ -646,31 +825,30 @@ "isOnHold": false } ], - "sequenceNumber": 8, + "sequenceNumber": 9, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "1b002280-fda5-4b62-b8d3-e1212a833fa3", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-88b4-48ac-8077-3b3088c52c6f", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:53.6028686+00:00", + "time": "2024-12-20T17:23:36.7621415+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/1b002280-fda5-4b62-b8d3-e1212a833fa3" + "subject": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", + "source": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", "participants": [ { "identifier": { @@ -695,31 +873,30 @@ "isOnHold": false } ], - "sequenceNumber": 6, + "sequenceNumber": 9, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "26002080-ffe4-44a8-810e-ed021df978a9", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-5d10-45c7-b697-fcac8f98d0b1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:53.5691825+00:00", + "time": "2024-12-20T17:23:36.8329404+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9" + "subject": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", + "source": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", "participants": [ { "identifier": { @@ -744,31 +921,30 @@ "isOnHold": false } ], - "sequenceNumber": 7, + "sequenceNumber": 9, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "26002080-ffe4-44a8-810e-ed021df978a9", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-88b4-48ac-8077-3b3088c52c6f", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:53.7626489+00:00", + "time": "2024-12-20T17:23:36.8841449+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9" + "subject": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", + "source": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", "participants": [ { "identifier": { @@ -793,47 +969,70 @@ "isOnHold": false } ], - "sequenceNumber": 8, + "sequenceNumber": 10, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "26002080-ffe4-44a8-810e-ed021df978a9", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-5d10-45c7-b697-fcac8f98d0b1", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:53.9682667+00:00", + "time": "2024-12-20T17:23:36.9399187+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9" + "subject": "calling/callConnections/27002280-5d10-45c7-b697-fcac8f98d0b1" } ], [ { "id": "sanitized", - "source": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", - "type": "Microsoft.Communication.PlayCompleted", + "source": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 10, "resultInformation": { "code": 200, "subCode": 0, - "message": "Action completed successfully." + "message": "" }, - "operationContext": "recordingPlay", - "version": "2023-10-03-preview", - "callConnectionId": "26002080-ffe4-44a8-810e-ed021df978a9", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-88b4-48ac-8077-3b3088c52c6f", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.PlayCompleted" + "correlationId": "82c7819f-32b5-4fe8-a021-4ed01015c4db", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:54.5136466+00:00", + "time": "2024-12-20T17:23:37.001238+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/26002080-ffe4-44a8-810e-ed021df978a9" + "subject": "calling/callConnections/22002280-88b4-48ac-8077-3b3088c52c6f" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json index 9db49c7b61f3..6bd40c364b6b 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json @@ -17,40 +17,38 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "64d9ec0d-9a0d-4d36-a6d5-36a4e51d0bda" }, [ { "id": "sanitized", - "source": "calling/callConnections/13002280-f485-41f6-8475-92fac8c7b8eb", + "source": "calling/callConnections/1b002280-9da2-4dd0-8af5-c1fce96f2a59", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/13002280-f485-41f6-8475-92fac8c7b8eb", + "version": "2024-09-01-preview", "operationContext": "operationContextCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "13002280-f485-41f6-8475-92fac8c7b8eb", + "callConnectionId": "1b002280-9da2-4dd0-8af5-c1fce96f2a59", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "64d9ec0d-9a0d-4d36-a6d5-36a4e51d0bda", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:18:48.7527384+00:00", + "time": "2024-12-20T17:23:25.7886754+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002280-f485-41f6-8475-92fac8c7b8eb" + "subject": "calling/callConnections/1b002280-9da2-4dd0-8af5-c1fce96f2a59" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002280-f485-41f6-8475-92fac8c7b8eb", + "source": "calling/callConnections/1b002280-9da2-4dd0-8af5-c1fce96f2a59", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/13002280-f485-41f6-8475-92fac8c7b8eb", "participants": [ { "identifier": { @@ -81,50 +79,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "13002280-f485-41f6-8475-92fac8c7b8eb", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-9da2-4dd0-8af5-c1fce96f2a59", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "64d9ec0d-9a0d-4d36-a6d5-36a4e51d0bda", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:48.7644864+00:00", + "time": "2024-12-20T17:23:25.7054558+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002280-f485-41f6-8475-92fac8c7b8eb" + "subject": "calling/callConnections/1b002280-9da2-4dd0-8af5-c1fce96f2a59" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-5bfc-45af-aca5-e0ac46318521", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/06002080-5bfc-45af-aca5-e0ac46318521", - "operationContext": "operationContextAnswerCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-5bfc-45af-aca5-e0ac46318521", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-16T23:18:48.7308217+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-5bfc-45af-aca5-e0ac46318521" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/06002080-5bfc-45af-aca5-e0ac46318521", + "source": "calling/callConnections/1b002280-4d32-47ca-a82b-1148d7d960f9", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-5bfc-45af-aca5-e0ac46318521", "participants": [ { "identifier": { @@ -155,41 +127,88 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-5bfc-45af-aca5-e0ac46318521", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-4d32-47ca-a82b-1148d7d960f9", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "64d9ec0d-9a0d-4d36-a6d5-36a4e51d0bda", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:48.9672874+00:00", + "time": "2024-12-20T17:23:25.9808953+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-4d32-47ca-a82b-1148d7d960f9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-4d32-47ca-a82b-1148d7d960f9", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "operationContextAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-4d32-47ca-a82b-1148d7d960f9", + "serverCallId": "sanitized", + "correlationId": "64d9ec0d-9a0d-4d36-a6d5-36a4e51d0bda", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:23:25.97853+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-5bfc-45af-aca5-e0ac46318521" + "subject": "calling/callConnections/1b002280-4d32-47ca-a82b-1148d7d960f9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/13002280-f485-41f6-8475-92fac8c7b8eb", + "source": "calling/callConnections/1b002280-9da2-4dd0-8af5-c1fce96f2a59", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/13002280-f485-41f6-8475-92fac8c7b8eb", + "version": "2024-09-01-preview", "operationContext": "operationContextCreateCall", "resultInformation": { "code": 200, "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "version": "2023-10-03-preview", - "callConnectionId": "13002280-f485-41f6-8475-92fac8c7b8eb", + "callConnectionId": "1b002280-9da2-4dd0-8af5-c1fce96f2a59", + "serverCallId": "sanitized", + "correlationId": "64d9ec0d-9a0d-4d36-a6d5-36a4e51d0bda", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:23:29.0478519+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-9da2-4dd0-8af5-c1fce96f2a59" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-4d32-47ca-a82b-1148d7d960f9", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "operationContextAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 5001, + "message": "This conversation has ended.. DiagCode: 0#5001.@" + }, + "callConnectionId": "1b002280-4d32-47ca-a82b-1148d7d960f9", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "64d9ec0d-9a0d-4d36-a6d5-36a4e51d0bda", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-16T23:18:49.7647308+00:00", + "time": "2024-12-20T17:23:29.188693+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/13002280-f485-41f6-8475-92fac8c7b8eb" + "subject": "calling/callConnections/1b002280-4d32-47ca-a82b-1148d7d960f9" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json index cf323ae11e2b..2465a0d25162 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json @@ -17,30 +17,53 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "03c1a545-15a0-45d6-97e3-ef9ce001eaa3" }, [ { "id": "sanitized", - "source": "calling/callConnections/08002280-bb82-4522-9b54-f5e1fcfc40ef", + "source": "calling/callConnections/27002280-b5d4-4d38-8345-075ff92f6b9b", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "operationContextRejectCall", + "resultInformation": { + "code": 200, + "subCode": 5002, + "message": "The conversation has ended. DiagCode: 0#5002.@" + }, + "callConnectionId": "27002280-b5d4-4d38-8345-075ff92f6b9b", + "serverCallId": "sanitized", + "correlationId": "03c1a545-15a0-45d6-97e3-ef9ce001eaa3", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:23:36.593932+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/27002280-b5d4-4d38-8345-075ff92f6b9b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/27002280-b5d4-4d38-8345-075ff92f6b9b", "type": "Microsoft.Communication.CreateCallFailed", "data": { - "eventSource": "calling/callConnections/08002280-bb82-4522-9b54-f5e1fcfc40ef", + "version": "2024-09-01-preview", "resultInformation": { "code": 200, "subCode": 5002, "message": "The conversation has ended. DiagCode: 0#5002.@" }, - "version": "2023-10-03-preview", - "callConnectionId": "08002280-bb82-4522-9b54-f5e1fcfc40ef", + "callConnectionId": "27002280-b5d4-4d38-8345-075ff92f6b9b", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "03c1a545-15a0-45d6-97e3-ef9ce001eaa3", "publicEventType": "Microsoft.Communication.CreateCallFailed" }, - "time": "2024-12-16T23:18:55.2401961+00:00", + "time": "2024-12-20T17:23:36.593932+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/08002280-bb82-4522-9b54-f5e1fcfc40ef" + "subject": "calling/callConnections/27002280-b5d4-4d38-8345-075ff92f6b9b" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json new file mode 100644 index 000000000000..378eec9dd113 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_media_streaming,_and_hangs_up.json @@ -0,0 +1,266 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "0950d218-81a2-44e3-a136-76346d4b8615" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-6cce-429a-9eaa-13983da8e361", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-6cce-429a-9eaa-13983da8e361", + "serverCallId": "sanitized", + "correlationId": "0950d218-81a2-44e3-a136-76346d4b8615", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:24:50.182373+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-6cce-429a-9eaa-13983da8e361" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-fddc-43c8-be7c-e8ea561f9c99", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-fddc-43c8-be7c-e8ea561f9c99", + "serverCallId": "sanitized", + "correlationId": "0950d218-81a2-44e3-a136-76346d4b8615", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:24:50.2113594+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-fddc-43c8-be7c-e8ea561f9c99" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-fddc-43c8-be7c-e8ea561f9c99", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-fddc-43c8-be7c-e8ea561f9c99", + "serverCallId": "sanitized", + "correlationId": "0950d218-81a2-44e3-a136-76346d4b8615", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:24:50.2159828+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-fddc-43c8-be7c-e8ea561f9c99" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-6cce-429a-9eaa-13983da8e361", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-6cce-429a-9eaa-13983da8e361", + "serverCallId": "sanitized", + "correlationId": "0950d218-81a2-44e3-a136-76346d4b8615", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:24:50.2431231+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-6cce-429a-9eaa-13983da8e361" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-fddc-43c8-be7c-e8ea561f9c99", + "type": "Microsoft.Communication.MediaStreamingStarted", + "data": { + "mediaStreamingUpdate": { + "contentType": "Audio", + "mediaStreamingStatus": "mediaStreamingStarted", + "mediaStreamingStatusDetails": "subscriptionStarted" + }, + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-fddc-43c8-be7c-e8ea561f9c99", + "serverCallId": "sanitized", + "correlationId": "0950d218-81a2-44e3-a136-76346d4b8615", + "publicEventType": "Microsoft.Communication.MediaStreamingStarted" + }, + "time": "2024-12-20T17:24:51.0092007+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-fddc-43c8-be7c-e8ea561f9c99" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-fddc-43c8-be7c-e8ea561f9c99", + "type": "Microsoft.Communication.MediaStreamingStopped", + "data": { + "mediaStreamingUpdate": { + "contentType": "Audio", + "mediaStreamingStatus": "mediaStreamingStopped", + "mediaStreamingStatusDetails": "subscriptionStopped" + }, + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-fddc-43c8-be7c-e8ea561f9c99", + "serverCallId": "sanitized", + "correlationId": "0950d218-81a2-44e3-a136-76346d4b8615", + "publicEventType": "Microsoft.Communication.MediaStreamingStopped" + }, + "time": "2024-12-20T17:24:54.109106+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-fddc-43c8-be7c-e8ea561f9c99" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-fddc-43c8-be7c-e8ea561f9c99", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "1b002280-fddc-43c8-be7c-e8ea561f9c99", + "serverCallId": "sanitized", + "correlationId": "0950d218-81a2-44e3-a136-76346d4b8615", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:24:55.2648336+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-fddc-43c8-be7c-e8ea561f9c99" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-6cce-429a-9eaa-13983da8e361", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 5001, + "message": "This conversation has ended.. DiagCode: 0#5001.@" + }, + "callConnectionId": "1b002280-6cce-429a-9eaa-13983da8e361", + "serverCallId": "sanitized", + "correlationId": "0950d218-81a2-44e3-a136-76346d4b8615", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:24:55.3304293+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-6cce-429a-9eaa-13983da8e361" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json new file mode 100644 index 000000000000..d75aebaab64d --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Answers_a_call,_start_transcription,_and_hangs_up.json @@ -0,0 +1,264 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "06b4dc20-9008-44df-9083-a8412b6023ae" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-f6b3-4cc3-a534-8ebcc3e4c6b5", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "2c002280-f6b3-4cc3-a534-8ebcc3e4c6b5", + "serverCallId": "sanitized", + "correlationId": "06b4dc20-9008-44df-9083-a8412b6023ae", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:27:49.385365+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-f6b3-4cc3-a534-8ebcc3e4c6b5" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-f6b3-4cc3-a534-8ebcc3e4c6b5", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "2c002280-f6b3-4cc3-a534-8ebcc3e4c6b5", + "serverCallId": "sanitized", + "correlationId": "06b4dc20-9008-44df-9083-a8412b6023ae", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:27:49.385365+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-f6b3-4cc3-a534-8ebcc3e4c6b5" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-362a-4155-99fe-1517cf644f17", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "2c002280-362a-4155-99fe-1517cf644f17", + "serverCallId": "sanitized", + "correlationId": "06b4dc20-9008-44df-9083-a8412b6023ae", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:27:49.385365+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-362a-4155-99fe-1517cf644f17" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-362a-4155-99fe-1517cf644f17", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "2c002280-362a-4155-99fe-1517cf644f17", + "serverCallId": "sanitized", + "correlationId": "06b4dc20-9008-44df-9083-a8412b6023ae", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:27:49.385365+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-362a-4155-99fe-1517cf644f17" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-362a-4155-99fe-1517cf644f17", + "type": "Microsoft.Communication.TranscriptionStarted", + "data": { + "transcriptionUpdate": { + "transcriptionStatus": "transcriptionStarted", + "transcriptionStatusDetails": "subscriptionStarted" + }, + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "2c002280-362a-4155-99fe-1517cf644f17", + "serverCallId": "sanitized", + "correlationId": "06b4dc20-9008-44df-9083-a8412b6023ae", + "publicEventType": "Microsoft.Communication.TranscriptionStarted" + }, + "time": "2024-12-20T17:27:50.4600574+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-362a-4155-99fe-1517cf644f17" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-362a-4155-99fe-1517cf644f17", + "type": "Microsoft.Communication.TranscriptionStopped", + "data": { + "transcriptionUpdate": { + "transcriptionStatus": "transcriptionStopped", + "transcriptionStatusDetails": "subscriptionStopped" + }, + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "2c002280-362a-4155-99fe-1517cf644f17", + "serverCallId": "sanitized", + "correlationId": "06b4dc20-9008-44df-9083-a8412b6023ae", + "publicEventType": "Microsoft.Communication.TranscriptionStopped" + }, + "time": "2024-12-20T17:27:55.0542083+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-362a-4155-99fe-1517cf644f17" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-362a-4155-99fe-1517cf644f17", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "2c002280-362a-4155-99fe-1517cf644f17", + "serverCallId": "sanitized", + "correlationId": "06b4dc20-9008-44df-9083-a8412b6023ae", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:27:55.30143+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-362a-4155-99fe-1517cf644f17" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-f6b3-4cc3-a534-8ebcc3e4c6b5", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "2c002280-f6b3-4cc3-a534-8ebcc3e4c6b5", + "serverCallId": "sanitized", + "correlationId": "06b4dc20-9008-44df-9083-a8412b6023ae", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:27:55.5119708+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-f6b3-4cc3-a534-8ebcc3e4c6b5" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json index 9020a0d2264c..5419a4d94b9d 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json @@ -17,15 +17,14 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "4a5265c6-0d1c-4b70-be5d-8dafad131efb" }, [ { "id": "sanitized", - "source": "calling/callConnections/06002080-a998-4bbd-b07c-ecfa1bb90039", + "source": "calling/callConnections/22002280-2f73-43ba-8007-36a034323663", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-a998-4bbd-b07c-ecfa1bb90039", "participants": [ { "identifier": { @@ -56,25 +55,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-a998-4bbd-b07c-ecfa1bb90039", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-2f73-43ba-8007-36a034323663", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4a5265c6-0d1c-4b70-be5d-8dafad131efb", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:17.2043865+00:00", + "time": "2024-12-20T17:23:58.2331528+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-a998-4bbd-b07c-ecfa1bb90039" + "subject": "calling/callConnections/22002280-2f73-43ba-8007-36a034323663" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-afe7-46f0-a59b-d2b05cb84be3", + "source": "calling/callConnections/1b002280-3e56-40ee-acf9-29ff2baa4f8f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-afe7-46f0-a59b-d2b05cb84be3", "participants": [ { "identifier": { @@ -105,141 +103,160 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-afe7-46f0-a59b-d2b05cb84be3", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-3e56-40ee-acf9-29ff2baa4f8f", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4a5265c6-0d1c-4b70-be5d-8dafad131efb", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:17.2077087+00:00", + "time": "2024-12-20T17:23:58.2559071+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-afe7-46f0-a59b-d2b05cb84be3" + "subject": "calling/callConnections/1b002280-3e56-40ee-acf9-29ff2baa4f8f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-afe7-46f0-a59b-d2b05cb84be3", + "source": "calling/callConnections/22002280-2f73-43ba-8007-36a034323663", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/06002080-afe7-46f0-a59b-d2b05cb84be3", - "operationContext": "CancelMediaCreateCall", + "version": "2024-09-01-preview", + "operationContext": "CancelMediaAnswer", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-afe7-46f0-a59b-d2b05cb84be3", + "callConnectionId": "22002280-2f73-43ba-8007-36a034323663", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4a5265c6-0d1c-4b70-be5d-8dafad131efb", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:19:17.2470381+00:00", + "time": "2024-12-20T17:23:58.306817+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-afe7-46f0-a59b-d2b05cb84be3" + "subject": "calling/callConnections/22002280-2f73-43ba-8007-36a034323663" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-a998-4bbd-b07c-ecfa1bb90039", + "source": "calling/callConnections/1b002280-3e56-40ee-acf9-29ff2baa4f8f", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/06002080-a998-4bbd-b07c-ecfa1bb90039", - "operationContext": "CancelMediaAnswer", + "version": "2024-09-01-preview", + "operationContext": "CancelMediaCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-a998-4bbd-b07c-ecfa1bb90039", + "callConnectionId": "1b002280-3e56-40ee-acf9-29ff2baa4f8f", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4a5265c6-0d1c-4b70-be5d-8dafad131efb", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:19:17.2345713+00:00", + "time": "2024-12-20T17:23:58.4350019+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-a998-4bbd-b07c-ecfa1bb90039" + "subject": "calling/callConnections/1b002280-3e56-40ee-acf9-29ff2baa4f8f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-afe7-46f0-a59b-d2b05cb84be3", + "source": "calling/callConnections/1b002280-3e56-40ee-acf9-29ff2baa4f8f", + "type": "Microsoft.Communication.PlayStarted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "CancelplayToAllAudio", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-3e56-40ee-acf9-29ff2baa4f8f", + "serverCallId": "sanitized", + "correlationId": "4a5265c6-0d1c-4b70-be5d-8dafad131efb", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-20T17:24:00.9409263+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-3e56-40ee-acf9-29ff2baa4f8f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-3e56-40ee-acf9-29ff2baa4f8f", "type": "Microsoft.Communication.PlayCanceled", "data": { - "eventSource": "calling/callConnections/06002080-afe7-46f0-a59b-d2b05cb84be3", + "version": "2024-09-01-preview", + "operationContext": "CancelplayToAllAudio", "resultInformation": { "code": 400, "subCode": 8508, "message": "Action falied, the operation was cancelled." }, - "operationContext": "CancelplayToAllAudio", - "version": "2023-10-03-preview", - "callConnectionId": "06002080-afe7-46f0-a59b-d2b05cb84be3", + "callConnectionId": "1b002280-3e56-40ee-acf9-29ff2baa4f8f", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4a5265c6-0d1c-4b70-be5d-8dafad131efb", "publicEventType": "Microsoft.Communication.PlayCanceled" }, - "time": "2024-12-16T23:19:18.0780816+00:00", + "time": "2024-12-20T17:24:01.091639+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-afe7-46f0-a59b-d2b05cb84be3" + "subject": "calling/callConnections/1b002280-3e56-40ee-acf9-29ff2baa4f8f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-afe7-46f0-a59b-d2b05cb84be3", + "source": "calling/callConnections/1b002280-3e56-40ee-acf9-29ff2baa4f8f", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/06002080-afe7-46f0-a59b-d2b05cb84be3", + "version": "2024-09-01-preview", "operationContext": "CancelMediaCreateCall", "resultInformation": { "code": 200, "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-afe7-46f0-a59b-d2b05cb84be3", + "callConnectionId": "1b002280-3e56-40ee-acf9-29ff2baa4f8f", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4a5265c6-0d1c-4b70-be5d-8dafad131efb", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-16T23:19:19.2438607+00:00", + "time": "2024-12-20T17:24:04.2294041+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-afe7-46f0-a59b-d2b05cb84be3" + "subject": "calling/callConnections/1b002280-3e56-40ee-acf9-29ff2baa4f8f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-a998-4bbd-b07c-ecfa1bb90039", + "source": "calling/callConnections/22002280-2f73-43ba-8007-36a034323663", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/06002080-a998-4bbd-b07c-ecfa1bb90039", + "version": "2024-09-01-preview", "operationContext": "CancelMediaAnswer", "resultInformation": { "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" + "subCode": 5001, + "message": "This conversation has ended.. DiagCode: 0#5001.@" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-a998-4bbd-b07c-ecfa1bb90039", + "callConnectionId": "22002280-2f73-43ba-8007-36a034323663", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "4a5265c6-0d1c-4b70-be5d-8dafad131efb", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-16T23:19:19.2817724+00:00", + "time": "2024-12-20T17:24:04.2907137+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-a998-4bbd-b07c-ecfa1bb90039" + "subject": "calling/callConnections/22002280-2f73-43ba-8007-36a034323663" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json new file mode 100644 index 000000000000..79c963a371f7 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_media_streaming,_and_hangs_up..json @@ -0,0 +1,266 @@ +[ + { + "to": { + "kind": "phoneNumber", + "rawId": "sanitized", + "phoneNumber": { + "value": "sanitized" + } + }, + "from": { + "kind": "phoneNumber", + "rawId": "sanitized", + "phoneNumber": { + "value": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "9f063495-16e8-40d6-9ec2-397b9c207e1d" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-5691-4ca4-af6f-8cf4da14011b", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-5691-4ca4-af6f-8cf4da14011b", + "serverCallId": "sanitized", + "correlationId": "45bda849-561d-496b-8bc9-7aa74238f4ff", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:24:35.0201496+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-5691-4ca4-af6f-8cf4da14011b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-5691-4ca4-af6f-8cf4da14011b", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-5691-4ca4-af6f-8cf4da14011b", + "serverCallId": "sanitized", + "correlationId": "45bda849-561d-496b-8bc9-7aa74238f4ff", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:24:35.103877+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-5691-4ca4-af6f-8cf4da14011b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-6e0a-4e3d-8c34-fc78546f78ad", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-6e0a-4e3d-8c34-fc78546f78ad", + "serverCallId": "sanitized", + "correlationId": "9f063495-16e8-40d6-9ec2-397b9c207e1d", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:24:35.1824407+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-6e0a-4e3d-8c34-fc78546f78ad" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-6e0a-4e3d-8c34-fc78546f78ad", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-6e0a-4e3d-8c34-fc78546f78ad", + "serverCallId": "sanitized", + "correlationId": "9f063495-16e8-40d6-9ec2-397b9c207e1d", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:24:35.4726926+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-6e0a-4e3d-8c34-fc78546f78ad" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-5691-4ca4-af6f-8cf4da14011b", + "type": "Microsoft.Communication.MediaStreamingStarted", + "data": { + "mediaStreamingUpdate": { + "contentType": "Audio", + "mediaStreamingStatus": "mediaStreamingStarted", + "mediaStreamingStatusDetails": "subscriptionStarted" + }, + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-5691-4ca4-af6f-8cf4da14011b", + "serverCallId": "sanitized", + "correlationId": "45bda849-561d-496b-8bc9-7aa74238f4ff", + "publicEventType": "Microsoft.Communication.MediaStreamingStarted" + }, + "time": "2024-12-20T17:24:38.2322268+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-5691-4ca4-af6f-8cf4da14011b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-5691-4ca4-af6f-8cf4da14011b", + "type": "Microsoft.Communication.MediaStreamingStopped", + "data": { + "mediaStreamingUpdate": { + "contentType": "Audio", + "mediaStreamingStatus": "mediaStreamingStopped", + "mediaStreamingStatusDetails": "subscriptionStopped" + }, + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-5691-4ca4-af6f-8cf4da14011b", + "serverCallId": "sanitized", + "correlationId": "45bda849-561d-496b-8bc9-7aa74238f4ff", + "publicEventType": "Microsoft.Communication.MediaStreamingStopped" + }, + "time": "2024-12-20T17:24:39.3503414+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-5691-4ca4-af6f-8cf4da14011b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-5691-4ca4-af6f-8cf4da14011b", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "1b002280-5691-4ca4-af6f-8cf4da14011b", + "serverCallId": "sanitized", + "correlationId": "45bda849-561d-496b-8bc9-7aa74238f4ff", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:24:42.5021202+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-5691-4ca4-af6f-8cf4da14011b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-6e0a-4e3d-8c34-fc78546f78ad", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 540000, + "message": "The conversation has ended" + }, + "callConnectionId": "1b002280-6e0a-4e3d-8c34-fc78546f78ad", + "serverCallId": "sanitized", + "correlationId": "9f063495-16e8-40d6-9ec2-397b9c207e1d", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:24:42.730766+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-6e0a-4e3d-8c34-fc78546f78ad" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json new file mode 100644 index 000000000000..89d168769822 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Creates_a_call,_start_transcription,_and_hangs_up..json @@ -0,0 +1,264 @@ +[ + { + "to": { + "kind": "phoneNumber", + "rawId": "sanitized", + "phoneNumber": { + "value": "sanitized" + } + }, + "from": { + "kind": "phoneNumber", + "rawId": "sanitized", + "phoneNumber": { + "value": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "53837690-85e6-421b-b283-74923a29f638" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-c3e2-4e7c-aeb6-b58e886ad577", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "2c002280-c3e2-4e7c-aeb6-b58e886ad577", + "serverCallId": "sanitized", + "correlationId": "53837690-85e6-421b-b283-74923a29f638", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:27:32.7635658+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-c3e2-4e7c-aeb6-b58e886ad577" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-51c2-4c74-ba09-04203a8b4713", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "2c002280-51c2-4c74-ba09-04203a8b4713", + "serverCallId": "sanitized", + "correlationId": "88be7667-ba29-40d1-9263-74b18fbd2fb4", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:27:32.7691547+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-51c2-4c74-ba09-04203a8b4713" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-51c2-4c74-ba09-04203a8b4713", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "2c002280-51c2-4c74-ba09-04203a8b4713", + "serverCallId": "sanitized", + "correlationId": "88be7667-ba29-40d1-9263-74b18fbd2fb4", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:27:32.7691547+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-51c2-4c74-ba09-04203a8b4713" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-c3e2-4e7c-aeb6-b58e886ad577", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "2c002280-c3e2-4e7c-aeb6-b58e886ad577", + "serverCallId": "sanitized", + "correlationId": "53837690-85e6-421b-b283-74923a29f638", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:27:32.91043+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-c3e2-4e7c-aeb6-b58e886ad577" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-51c2-4c74-ba09-04203a8b4713", + "type": "Microsoft.Communication.TranscriptionStarted", + "data": { + "transcriptionUpdate": { + "transcriptionStatus": "transcriptionStarted", + "transcriptionStatusDetails": "subscriptionStarted" + }, + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "2c002280-51c2-4c74-ba09-04203a8b4713", + "serverCallId": "sanitized", + "correlationId": "88be7667-ba29-40d1-9263-74b18fbd2fb4", + "publicEventType": "Microsoft.Communication.TranscriptionStarted" + }, + "time": "2024-12-20T17:27:36.5044747+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-51c2-4c74-ba09-04203a8b4713" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-51c2-4c74-ba09-04203a8b4713", + "type": "Microsoft.Communication.TranscriptionStopped", + "data": { + "transcriptionUpdate": { + "transcriptionStatus": "transcriptionStopped", + "transcriptionStatusDetails": "subscriptionStopped" + }, + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "2c002280-51c2-4c74-ba09-04203a8b4713", + "serverCallId": "sanitized", + "correlationId": "88be7667-ba29-40d1-9263-74b18fbd2fb4", + "publicEventType": "Microsoft.Communication.TranscriptionStopped" + }, + "time": "2024-12-20T17:27:39.0306837+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-51c2-4c74-ba09-04203a8b4713" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-51c2-4c74-ba09-04203a8b4713", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "2c002280-51c2-4c74-ba09-04203a8b4713", + "serverCallId": "sanitized", + "correlationId": "88be7667-ba29-40d1-9263-74b18fbd2fb4", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:27:41.2068185+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-51c2-4c74-ba09-04203a8b4713" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/2c002280-c3e2-4e7c-aeb6-b58e886ad577", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 540000, + "message": "The conversation has ended" + }, + "callConnectionId": "2c002280-c3e2-4e7c-aeb6-b58e886ad577", + "serverCallId": "sanitized", + "correlationId": "53837690-85e6-421b-b283-74923a29f638", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:27:41.5250229+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/2c002280-c3e2-4e7c-aeb6-b58e886ad577" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json new file mode 100644 index 000000000000..65f318200346 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Hold_Unhold_participant_in_a_call.json @@ -0,0 +1,618 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-4506-431c-9a92-f1002d8e69e7", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:27:02.4394416+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-08ef-4085-b964-0512ba6f9273", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08ef-4085-b964-0512ba6f9273", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:27:02.464814+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-08ef-4085-b964-0512ba6f9273" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-08ef-4085-b964-0512ba6f9273", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-08ef-4085-b964-0512ba6f9273", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:27:02.4676417+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-08ef-4085-b964-0512ba6f9273" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-4506-431c-9a92-f1002d8e69e7", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:27:02.5262934+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-08ef-4085-b964-0512ba6f9273", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08ef-4085-b964-0512ba6f9273", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:27:07.5772047+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-08ef-4085-b964-0512ba6f9273" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-4506-431c-9a92-f1002d8e69e7", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:27:07.5873055+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-08ef-4085-b964-0512ba6f9273", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08ef-4085-b964-0512ba6f9273", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:27:13.0386358+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-08ef-4085-b964-0512ba6f9273" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-4506-431c-9a92-f1002d8e69e7", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:27:13.0386358+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + } + ], + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-4506-431c-9a92-f1002d8e69e7", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:27:17.1380248+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-08ef-4085-b964-0512ba6f9273", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + } + ], + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08ef-4085-b964-0512ba6f9273", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:27:17.1380248+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-08ef-4085-b964-0512ba6f9273" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7", + "type": "Microsoft.Communication.HoldFailed", + "data": { + "version": "2024-09-01-preview", + "operationContext": "holdFailedContext", + "resultInformation": { + "code": 400, + "subCode": 8535, + "message": "Action failed, file format is invalid." + }, + "callConnectionId": "1b002280-4506-431c-9a92-f1002d8e69e7", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.HoldFailed" + }, + "time": "2024-12-20T17:27:17.4548516+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-08ef-4085-b964-0512ba6f9273", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 9, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-08ef-4085-b964-0512ba6f9273", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:27:17.4681429+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-08ef-4085-b964-0512ba6f9273" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 9, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-4506-431c-9a92-f1002d8e69e7", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:27:17.4681429+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "1b002280-4506-431c-9a92-f1002d8e69e7", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:27:20.437122+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-4506-431c-9a92-f1002d8e69e7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-08ef-4085-b964-0512ba6f9273", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 5001, + "message": "This conversation has ended.. DiagCode: 0#5001.@" + }, + "callConnectionId": "1b002280-08ef-4085-b964-0512ba6f9273", + "serverCallId": "sanitized", + "correlationId": "12b1bd4a-f736-4c74-9744-c82e849e9568", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:27:20.4993956+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-08ef-4085-b964-0512ba6f9273" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json index b3c2cfbbd47f..407266519fb0 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json @@ -17,65 +17,38 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "fc9fc8e7-e626-412e-ac13-2f2834f816fe" }, [ { "id": "sanitized", - "source": "calling/callConnections/06002080-c9be-47be-9cea-a9ce13485e69", + "source": "calling/callConnections/22002280-c138-498e-998a-930b0e37574f", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/06002080-c9be-47be-9cea-a9ce13485e69", + "version": "2024-09-01-preview", "operationContext": "playToAllAnswer", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-c9be-47be-9cea-a9ce13485e69", + "callConnectionId": "22002280-c138-498e-998a-930b0e37574f", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "fc9fc8e7-e626-412e-ac13-2f2834f816fe", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:19:05.9595917+00:00", + "time": "2024-12-20T17:23:42.345097+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-c9be-47be-9cea-a9ce13485e69" + "subject": "calling/callConnections/22002280-c138-498e-998a-930b0e37574f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-c4e1-4362-8e95-ad37f5060b1f", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/06002080-c4e1-4362-8e95-ad37f5060b1f", - "operationContext": "playToAllCreateCall", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-c4e1-4362-8e95-ad37f5060b1f", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-16T23:19:06.0308107+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-c4e1-4362-8e95-ad37f5060b1f" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/06002080-c4e1-4362-8e95-ad37f5060b1f", + "source": "calling/callConnections/1b002280-75e0-45dc-be6f-f0911fe2c317", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-c4e1-4362-8e95-ad37f5060b1f", "participants": [ { "identifier": { @@ -106,25 +79,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-c4e1-4362-8e95-ad37f5060b1f", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-75e0-45dc-be6f-f0911fe2c317", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "fc9fc8e7-e626-412e-ac13-2f2834f816fe", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:06.0593548+00:00", + "time": "2024-12-20T17:23:42.3548706+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-c4e1-4362-8e95-ad37f5060b1f" + "subject": "calling/callConnections/1b002280-75e0-45dc-be6f-f0911fe2c317" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-c9be-47be-9cea-a9ce13485e69", + "source": "calling/callConnections/22002280-c138-498e-998a-930b0e37574f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-c9be-47be-9cea-a9ce13485e69", "participants": [ { "identifier": { @@ -155,91 +127,136 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-c9be-47be-9cea-a9ce13485e69", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-c138-498e-998a-930b0e37574f", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "fc9fc8e7-e626-412e-ac13-2f2834f816fe", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:06.0750961+00:00", + "time": "2024-12-20T17:23:42.3486629+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-c9be-47be-9cea-a9ce13485e69" + "subject": "calling/callConnections/22002280-c138-498e-998a-930b0e37574f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-c4e1-4362-8e95-ad37f5060b1f", - "type": "Microsoft.Communication.PlayCompleted", + "source": "calling/callConnections/1b002280-75e0-45dc-be6f-f0911fe2c317", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playToAllCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-75e0-45dc-be6f-f0911fe2c317", + "serverCallId": "sanitized", + "correlationId": "fc9fc8e7-e626-412e-ac13-2f2834f816fe", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:23:42.5590638+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-75e0-45dc-be6f-f0911fe2c317" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-75e0-45dc-be6f-f0911fe2c317", + "type": "Microsoft.Communication.PlayStarted", "data": { - "eventSource": "calling/callConnections/06002080-c4e1-4362-8e95-ad37f5060b1f", + "version": "2024-09-01-preview", + "operationContext": "playToAllAudio", "resultInformation": { "code": 200, "subCode": 0, "message": "Action completed successfully." }, + "callConnectionId": "1b002280-75e0-45dc-be6f-f0911fe2c317", + "serverCallId": "sanitized", + "correlationId": "fc9fc8e7-e626-412e-ac13-2f2834f816fe", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-20T17:23:45.1710526+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-75e0-45dc-be6f-f0911fe2c317" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-75e0-45dc-be6f-f0911fe2c317", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", "operationContext": "playToAllAudio", - "version": "2023-10-03-preview", - "callConnectionId": "06002080-c4e1-4362-8e95-ad37f5060b1f", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-75e0-45dc-be6f-f0911fe2c317", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "fc9fc8e7-e626-412e-ac13-2f2834f816fe", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-12-16T23:19:10.9281803+00:00", + "time": "2024-12-20T17:23:49.3918403+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-c4e1-4362-8e95-ad37f5060b1f" + "subject": "calling/callConnections/1b002280-75e0-45dc-be6f-f0911fe2c317" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-c9be-47be-9cea-a9ce13485e69", + "source": "calling/callConnections/1b002280-75e0-45dc-be6f-f0911fe2c317", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/06002080-c9be-47be-9cea-a9ce13485e69", - "operationContext": "playToAllAnswer", + "version": "2024-09-01-preview", + "operationContext": "playToAllCreateCall", "resultInformation": { "code": 200, "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-c9be-47be-9cea-a9ce13485e69", + "callConnectionId": "1b002280-75e0-45dc-be6f-f0911fe2c317", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "fc9fc8e7-e626-412e-ac13-2f2834f816fe", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-16T23:19:11.6852623+00:00", + "time": "2024-12-20T17:23:50.2178476+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-c9be-47be-9cea-a9ce13485e69" + "subject": "calling/callConnections/1b002280-75e0-45dc-be6f-f0911fe2c317" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-c4e1-4362-8e95-ad37f5060b1f", + "source": "calling/callConnections/22002280-c138-498e-998a-930b0e37574f", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/06002080-c4e1-4362-8e95-ad37f5060b1f", - "operationContext": "playToAllCreateCall", + "version": "2024-09-01-preview", + "operationContext": "playToAllAnswer", "resultInformation": { "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" + "subCode": 5001, + "message": "This conversation has ended.. DiagCode: 0#5001.@" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-c4e1-4362-8e95-ad37f5060b1f", + "callConnectionId": "22002280-c138-498e-998a-930b0e37574f", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "fc9fc8e7-e626-412e-ac13-2f2834f816fe", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-16T23:19:11.7227457+00:00", + "time": "2024-12-20T17:23:50.273489+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-c4e1-4362-8e95-ad37f5060b1f" + "subject": "calling/callConnections/22002280-c138-498e-998a-930b0e37574f" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json index cd7fcf8e3178..3561ee34cd64 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json @@ -17,64 +17,38 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "86844ec9-b6d2-461b-a8af-3e4736d448d9" }, [ { "id": "sanitized", - "source": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945", - "type": "Microsoft.Communication.ParticipantsUpdated", + "source": "calling/callConnections/27002280-7768-473c-bef4-2e6f77d0b1c7", + "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945", - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false, - "isOnHold": false - } - ], - "sequenceNumber": 1, + "version": "2024-09-01-preview", + "operationContext": "playAudioCreateCall", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-dee0-4b79-8ef4-7e72a140f945", + "callConnectionId": "27002280-7768-473c-bef4-2e6f77d0b1c7", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + "correlationId": "86844ec9-b6d2-461b-a8af-3e4736d448d9", + "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:18:48.6468049+00:00", + "time": "2024-12-20T17:23:26.4266859+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945" + "subject": "calling/callConnections/27002280-7768-473c-bef4-2e6f77d0b1c7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b", + "source": "calling/callConnections/1b002280-2789-44a2-91bd-1c63c40ae3bf", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b", "participants": [ { "identifier": { @@ -105,75 +79,96 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "09002080-945e-450b-8028-3ef45c39689b", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-2789-44a2-91bd-1c63c40ae3bf", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "86844ec9-b6d2-461b-a8af-3e4736d448d9", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:48.5935092+00:00", + "time": "2024-12-20T17:23:26.4072676+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b" + "subject": "calling/callConnections/1b002280-2789-44a2-91bd-1c63c40ae3bf" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945", + "source": "calling/callConnections/1b002280-2789-44a2-91bd-1c63c40ae3bf", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945", + "version": "2024-09-01-preview", "operationContext": "playAudioAnswer", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-dee0-4b79-8ef4-7e72a140f945", + "callConnectionId": "1b002280-2789-44a2-91bd-1c63c40ae3bf", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "86844ec9-b6d2-461b-a8af-3e4736d448d9", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:18:48.7833535+00:00", + "time": "2024-12-20T17:23:26.4041731+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945" + "subject": "calling/callConnections/1b002280-2789-44a2-91bd-1c63c40ae3bf" } ], [ { "id": "sanitized", - "source": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b", - "type": "Microsoft.Communication.CallConnected", + "source": "calling/callConnections/27002280-7768-473c-bef4-2e6f77d0b1c7", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b", - "operationContext": "playAudioCreateCall", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "09002080-945e-450b-8028-3ef45c39689b", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-7768-473c-bef4-2e6f77d0b1c7", "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" + "correlationId": "86844ec9-b6d2-461b-a8af-3e4736d448d9", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:48.8413939+00:00", + "time": "2024-12-20T17:23:26.422728+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b" + "subject": "calling/callConnections/27002280-7768-473c-bef4-2e6f77d0b1c7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945", + "source": "calling/callConnections/27002280-7768-473c-bef4-2e6f77d0b1c7", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945", "participants": [ { "identifier": { @@ -198,31 +193,30 @@ "isOnHold": false } ], - "sequenceNumber": 4, + "sequenceNumber": 3, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-dee0-4b79-8ef4-7e72a140f945", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-7768-473c-bef4-2e6f77d0b1c7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "86844ec9-b6d2-461b-a8af-3e4736d448d9", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:53.4552589+00:00", + "time": "2024-12-20T17:23:31.220215+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945" + "subject": "calling/callConnections/27002280-7768-473c-bef4-2e6f77d0b1c7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b", + "source": "calling/callConnections/1b002280-2789-44a2-91bd-1c63c40ae3bf", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b", "participants": [ { "identifier": { @@ -247,56 +241,78 @@ "isOnHold": false } ], - "sequenceNumber": 4, + "sequenceNumber": 3, "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "09002080-945e-450b-8028-3ef45c39689b", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-2789-44a2-91bd-1c63c40ae3bf", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "86844ec9-b6d2-461b-a8af-3e4736d448d9", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:53.4157089+00:00", + "time": "2024-12-20T17:23:31.2262218+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b" + "subject": "calling/callConnections/1b002280-2789-44a2-91bd-1c63c40ae3bf" } ], [ { "id": "sanitized", - "source": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b", - "type": "Microsoft.Communication.PlayCompleted", + "source": "calling/callConnections/27002280-7768-473c-bef4-2e6f77d0b1c7", + "type": "Microsoft.Communication.PlayStarted", "data": { - "eventSource": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b", + "version": "2024-09-01-preview", + "operationContext": "playAudio", "resultInformation": { "code": 200, "subCode": 0, "message": "Action completed successfully." }, + "callConnectionId": "27002280-7768-473c-bef4-2e6f77d0b1c7", + "serverCallId": "sanitized", + "correlationId": "86844ec9-b6d2-461b-a8af-3e4736d448d9", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-20T17:23:31.5415271+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/27002280-7768-473c-bef4-2e6f77d0b1c7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/27002280-7768-473c-bef4-2e6f77d0b1c7", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", "operationContext": "playAudio", - "version": "2023-10-03-preview", - "callConnectionId": "09002080-945e-450b-8028-3ef45c39689b", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "27002280-7768-473c-bef4-2e6f77d0b1c7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "86844ec9-b6d2-461b-a8af-3e4736d448d9", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-12-16T23:18:58.8239042+00:00", + "time": "2024-12-20T17:23:35.8418276+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b" + "subject": "calling/callConnections/27002280-7768-473c-bef4-2e6f77d0b1c7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b", + "source": "calling/callConnections/1b002280-2789-44a2-91bd-1c63c40ae3bf", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b", "participants": [ { "identifier": { @@ -327,25 +343,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "09002080-945e-450b-8028-3ef45c39689b", + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-2789-44a2-91bd-1c63c40ae3bf", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "86844ec9-b6d2-461b-a8af-3e4736d448d9", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:58.8575192+00:00", + "time": "2024-12-20T17:23:35.8778618+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b" + "subject": "calling/callConnections/1b002280-2789-44a2-91bd-1c63c40ae3bf" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945", + "source": "calling/callConnections/27002280-7768-473c-bef4-2e6f77d0b1c7", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945", "participants": [ { "identifier": { @@ -376,66 +391,64 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-dee0-4b79-8ef4-7e72a140f945", + "version": "2024-09-01-preview", + "callConnectionId": "27002280-7768-473c-bef4-2e6f77d0b1c7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "86844ec9-b6d2-461b-a8af-3e4736d448d9", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:18:58.9098691+00:00", + "time": "2024-12-20T17:23:35.8733136+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945" + "subject": "calling/callConnections/27002280-7768-473c-bef4-2e6f77d0b1c7" } ], [ { "id": "sanitized", - "source": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b", + "source": "calling/callConnections/1b002280-2789-44a2-91bd-1c63c40ae3bf", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b", - "operationContext": "playAudioCreateCall", + "version": "2024-09-01-preview", + "operationContext": "playAudioAnswer", "resultInformation": { "code": 200, - "subCode": 7000, - "message": "The conversation has ended. DiagCode: 0#7000.@" + "subCode": 5010, + "message": "This conversation has ended as only one participant was remaining in the conversation.. DiagCode: 0#5010.@" }, - "version": "2023-10-03-preview", - "callConnectionId": "09002080-945e-450b-8028-3ef45c39689b", + "callConnectionId": "1b002280-2789-44a2-91bd-1c63c40ae3bf", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "86844ec9-b6d2-461b-a8af-3e4736d448d9", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-16T23:19:00.0002501+00:00", + "time": "2024-12-20T17:23:36.7154319+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/09002080-945e-450b-8028-3ef45c39689b" + "subject": "calling/callConnections/1b002280-2789-44a2-91bd-1c63c40ae3bf" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945", + "source": "calling/callConnections/27002280-7768-473c-bef4-2e6f77d0b1c7", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945", - "operationContext": "playAudioAnswer", + "version": "2024-09-01-preview", + "operationContext": "playAudioCreateCall", "resultInformation": { "code": 200, - "subCode": 5001, - "message": "This conversation has ended.. DiagCode: 0#5001.@" + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-dee0-4b79-8ef4-7e72a140f945", + "callConnectionId": "27002280-7768-473c-bef4-2e6f77d0b1c7", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "86844ec9-b6d2-461b-a8af-3e4736d448d9", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-16T23:19:00.0633963+00:00", + "time": "2024-12-20T17:23:36.7841654+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-dee0-4b79-8ef4-7e72a140f945" + "subject": "calling/callConnections/27002280-7768-473c-bef4-2e6f77d0b1c7" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json new file mode 100644 index 000000000000..23d662ea6aac --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_play.json @@ -0,0 +1,406 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "c155627b-089f-4e7d-9d58-8d076c928c19" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-aec1-41ad-9e0d-aa993187f54d", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-aec1-41ad-9e0d-aa993187f54d", + "serverCallId": "sanitized", + "correlationId": "c155627b-089f-4e7d-9d58-8d076c928c19", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:21.7285329+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-aec1-41ad-9e0d-aa993187f54d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-653a-463f-acdb-f70918c5b3cb", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-653a-463f-acdb-f70918c5b3cb", + "serverCallId": "sanitized", + "correlationId": "c155627b-089f-4e7d-9d58-8d076c928c19", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:21.7490616+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-653a-463f-acdb-f70918c5b3cb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-653a-463f-acdb-f70918c5b3cb", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-653a-463f-acdb-f70918c5b3cb", + "serverCallId": "sanitized", + "correlationId": "c155627b-089f-4e7d-9d58-8d076c928c19", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:26:21.7536219+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-653a-463f-acdb-f70918c5b3cb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-aec1-41ad-9e0d-aa993187f54d", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-aec1-41ad-9e0d-aa993187f54d", + "serverCallId": "sanitized", + "correlationId": "c155627b-089f-4e7d-9d58-8d076c928c19", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:26:21.8165683+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-aec1-41ad-9e0d-aa993187f54d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-aec1-41ad-9e0d-aa993187f54d", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-aec1-41ad-9e0d-aa993187f54d", + "serverCallId": "sanitized", + "correlationId": "c155627b-089f-4e7d-9d58-8d076c928c19", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:27.0061813+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-aec1-41ad-9e0d-aa993187f54d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-653a-463f-acdb-f70918c5b3cb", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-653a-463f-acdb-f70918c5b3cb", + "serverCallId": "sanitized", + "correlationId": "c155627b-089f-4e7d-9d58-8d076c928c19", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:27.007585+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-653a-463f-acdb-f70918c5b3cb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-aec1-41ad-9e0d-aa993187f54d", + "type": "Microsoft.Communication.PlayStarted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleSourceToTargetContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-aec1-41ad-9e0d-aa993187f54d", + "serverCallId": "sanitized", + "correlationId": "c155627b-089f-4e7d-9d58-8d076c928c19", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-20T17:26:27.3101064+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-aec1-41ad-9e0d-aa993187f54d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-aec1-41ad-9e0d-aa993187f54d", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleSourceToTargetContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-aec1-41ad-9e0d-aa993187f54d", + "serverCallId": "sanitized", + "correlationId": "c155627b-089f-4e7d-9d58-8d076c928c19", + "publicEventType": "Microsoft.Communication.PlayCompleted" + }, + "time": "2024-12-20T17:26:33.6473007+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-aec1-41ad-9e0d-aa993187f54d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-653a-463f-acdb-f70918c5b3cb", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-653a-463f-acdb-f70918c5b3cb", + "serverCallId": "sanitized", + "correlationId": "c155627b-089f-4e7d-9d58-8d076c928c19", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:33.6763898+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-653a-463f-acdb-f70918c5b3cb" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-aec1-41ad-9e0d-aa993187f54d", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-aec1-41ad-9e0d-aa993187f54d", + "serverCallId": "sanitized", + "correlationId": "c155627b-089f-4e7d-9d58-8d076c928c19", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:33.6763898+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-aec1-41ad-9e0d-aa993187f54d" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json new file mode 100644 index 000000000000..e6c30ab92ccc --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_combined_text_and_file_sources_with_playall.json @@ -0,0 +1,214 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "44cc3c13-5b32-4621-810a-a3c9689fdb54" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-65ec-4479-b7a0-ffa9b821cf9f", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-65ec-4479-b7a0-ffa9b821cf9f", + "serverCallId": "sanitized", + "correlationId": "44cc3c13-5b32-4621-810a-a3c9689fdb54", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:07.7108124+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-65ec-4479-b7a0-ffa9b821cf9f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-851f-421b-a613-291a518a321f", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-851f-421b-a613-291a518a321f", + "serverCallId": "sanitized", + "correlationId": "44cc3c13-5b32-4621-810a-a3c9689fdb54", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:07.7480462+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-851f-421b-a613-291a518a321f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-851f-421b-a613-291a518a321f", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-851f-421b-a613-291a518a321f", + "serverCallId": "sanitized", + "correlationId": "44cc3c13-5b32-4621-810a-a3c9689fdb54", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:26:07.7480462+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-851f-421b-a613-291a518a321f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-65ec-4479-b7a0-ffa9b821cf9f", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-65ec-4479-b7a0-ffa9b821cf9f", + "serverCallId": "sanitized", + "correlationId": "44cc3c13-5b32-4621-810a-a3c9689fdb54", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:26:07.811271+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-65ec-4479-b7a0-ffa9b821cf9f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-65ec-4479-b7a0-ffa9b821cf9f", + "type": "Microsoft.Communication.PlayStarted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleSourceContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-65ec-4479-b7a0-ffa9b821cf9f", + "serverCallId": "sanitized", + "correlationId": "44cc3c13-5b32-4621-810a-a3c9689fdb54", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-20T17:26:08.4513677+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-65ec-4479-b7a0-ffa9b821cf9f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-65ec-4479-b7a0-ffa9b821cf9f", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleSourceContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-65ec-4479-b7a0-ffa9b821cf9f", + "serverCallId": "sanitized", + "correlationId": "44cc3c13-5b32-4621-810a-a3c9689fdb54", + "publicEventType": "Microsoft.Communication.PlayCompleted" + }, + "time": "2024-12-20T17:26:14.7028877+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-65ec-4479-b7a0-ffa9b821cf9f" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json new file mode 100644 index 000000000000..08bbc44a20a8 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_file_sources_with_play_and_playall.json @@ -0,0 +1,262 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "d83dac43-333c-4c95-ad55-b7136c37afd9" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-9c46-455d-a332-cc31ff1b2977", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-9c46-455d-a332-cc31ff1b2977", + "serverCallId": "sanitized", + "correlationId": "d83dac43-333c-4c95-ad55-b7136c37afd9", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:25:02.0966193+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-9c46-455d-a332-cc31ff1b2977" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-d6ae-4ef2-9bd5-062c7c973413", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-d6ae-4ef2-9bd5-062c7c973413", + "serverCallId": "sanitized", + "correlationId": "d83dac43-333c-4c95-ad55-b7136c37afd9", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:25:02.1114681+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-d6ae-4ef2-9bd5-062c7c973413" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-d6ae-4ef2-9bd5-062c7c973413", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-d6ae-4ef2-9bd5-062c7c973413", + "serverCallId": "sanitized", + "correlationId": "d83dac43-333c-4c95-ad55-b7136c37afd9", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:25:02.1114681+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-d6ae-4ef2-9bd5-062c7c973413" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-9c46-455d-a332-cc31ff1b2977", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-9c46-455d-a332-cc31ff1b2977", + "serverCallId": "sanitized", + "correlationId": "d83dac43-333c-4c95-ad55-b7136c37afd9", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:25:02.200196+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-9c46-455d-a332-cc31ff1b2977" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-9c46-455d-a332-cc31ff1b2977", + "type": "Microsoft.Communication.PlayStarted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleFileSourceContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-9c46-455d-a332-cc31ff1b2977", + "serverCallId": "sanitized", + "correlationId": "d83dac43-333c-4c95-ad55-b7136c37afd9", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-20T17:25:06.0622338+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-9c46-455d-a332-cc31ff1b2977" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-9c46-455d-a332-cc31ff1b2977", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleFileSourceContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-9c46-455d-a332-cc31ff1b2977", + "serverCallId": "sanitized", + "correlationId": "d83dac43-333c-4c95-ad55-b7136c37afd9", + "publicEventType": "Microsoft.Communication.PlayCompleted" + }, + "time": "2024-12-20T17:25:18.8663948+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-9c46-455d-a332-cc31ff1b2977" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-d6ae-4ef2-9bd5-062c7c973413", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-d6ae-4ef2-9bd5-062c7c973413", + "serverCallId": "sanitized", + "correlationId": "d83dac43-333c-4c95-ad55-b7136c37afd9", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:25:23.9381095+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-d6ae-4ef2-9bd5-062c7c973413" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json new file mode 100644 index 000000000000..5b573931e294 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_play.json @@ -0,0 +1,406 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "df4517d8-671f-4878-bf00-0b02eda8701b" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-a12f-4931-9991-c4eeaafa50b9", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-a12f-4931-9991-c4eeaafa50b9", + "serverCallId": "sanitized", + "correlationId": "df4517d8-671f-4878-bf00-0b02eda8701b", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:25:48.0850838+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-a12f-4931-9991-c4eeaafa50b9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-a00b-42ce-ad5c-be07d29adea3", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-a00b-42ce-ad5c-be07d29adea3", + "serverCallId": "sanitized", + "correlationId": "df4517d8-671f-4878-bf00-0b02eda8701b", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:25:48.1165777+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-a00b-42ce-ad5c-be07d29adea3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-a00b-42ce-ad5c-be07d29adea3", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-a00b-42ce-ad5c-be07d29adea3", + "serverCallId": "sanitized", + "correlationId": "df4517d8-671f-4878-bf00-0b02eda8701b", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:25:48.1577259+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-a00b-42ce-ad5c-be07d29adea3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-a12f-4931-9991-c4eeaafa50b9", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-a12f-4931-9991-c4eeaafa50b9", + "serverCallId": "sanitized", + "correlationId": "df4517d8-671f-4878-bf00-0b02eda8701b", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:25:48.2526445+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-a12f-4931-9991-c4eeaafa50b9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-a12f-4931-9991-c4eeaafa50b9", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-a12f-4931-9991-c4eeaafa50b9", + "serverCallId": "sanitized", + "correlationId": "df4517d8-671f-4878-bf00-0b02eda8701b", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:25:51.4998656+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-a12f-4931-9991-c4eeaafa50b9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-a00b-42ce-ad5c-be07d29adea3", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-a00b-42ce-ad5c-be07d29adea3", + "serverCallId": "sanitized", + "correlationId": "df4517d8-671f-4878-bf00-0b02eda8701b", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:25:51.5090715+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-a00b-42ce-ad5c-be07d29adea3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-a12f-4931-9991-c4eeaafa50b9", + "type": "Microsoft.Communication.PlayStarted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleTextSourceToTargetContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-a12f-4931-9991-c4eeaafa50b9", + "serverCallId": "sanitized", + "correlationId": "df4517d8-671f-4878-bf00-0b02eda8701b", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-20T17:25:52.5072238+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-a12f-4931-9991-c4eeaafa50b9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-a12f-4931-9991-c4eeaafa50b9", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleTextSourceToTargetContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-a12f-4931-9991-c4eeaafa50b9", + "serverCallId": "sanitized", + "correlationId": "df4517d8-671f-4878-bf00-0b02eda8701b", + "publicEventType": "Microsoft.Communication.PlayCompleted" + }, + "time": "2024-12-20T17:25:59.2379489+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-a12f-4931-9991-c4eeaafa50b9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-a12f-4931-9991-c4eeaafa50b9", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-a12f-4931-9991-c4eeaafa50b9", + "serverCallId": "sanitized", + "correlationId": "df4517d8-671f-4878-bf00-0b02eda8701b", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:25:59.2532415+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-a12f-4931-9991-c4eeaafa50b9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-a00b-42ce-ad5c-be07d29adea3", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-a00b-42ce-ad5c-be07d29adea3", + "serverCallId": "sanitized", + "correlationId": "df4517d8-671f-4878-bf00-0b02eda8701b", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:25:59.2589821+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-a00b-42ce-ad5c-be07d29adea3" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json new file mode 100644 index 000000000000..f1362724148c --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_multiple_text_sources_with_playall.json @@ -0,0 +1,262 @@ +[ + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-9c46-455d-a332-cc31ff1b2977", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-9c46-455d-a332-cc31ff1b2977", + "serverCallId": "sanitized", + "correlationId": "d83dac43-333c-4c95-ad55-b7136c37afd9", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:25:23.9317901+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-9c46-455d-a332-cc31ff1b2977" + } + ], + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "a77825cf-5365-4afa-9a41-ad71247852ae" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-d6f5-42e7-b7ea-45e53df003af", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-d6f5-42e7-b7ea-45e53df003af", + "serverCallId": "sanitized", + "correlationId": "a77825cf-5365-4afa-9a41-ad71247852ae", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:25:31.5316944+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-d6f5-42e7-b7ea-45e53df003af" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-d6f5-42e7-b7ea-45e53df003af", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-d6f5-42e7-b7ea-45e53df003af", + "serverCallId": "sanitized", + "correlationId": "a77825cf-5365-4afa-9a41-ad71247852ae", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:25:31.5316944+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-d6f5-42e7-b7ea-45e53df003af" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-c805-4064-acfc-228ab2a8b685", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-c805-4064-acfc-228ab2a8b685", + "serverCallId": "sanitized", + "correlationId": "a77825cf-5365-4afa-9a41-ad71247852ae", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:25:31.5692957+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-c805-4064-acfc-228ab2a8b685" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-c805-4064-acfc-228ab2a8b685", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-c805-4064-acfc-228ab2a8b685", + "serverCallId": "sanitized", + "correlationId": "a77825cf-5365-4afa-9a41-ad71247852ae", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:25:31.661853+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-c805-4064-acfc-228ab2a8b685" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-c805-4064-acfc-228ab2a8b685", + "type": "Microsoft.Communication.PlayStarted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleTextSourceContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-c805-4064-acfc-228ab2a8b685", + "serverCallId": "sanitized", + "correlationId": "a77825cf-5365-4afa-9a41-ad71247852ae", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2024-12-20T17:25:32.8585759+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-c805-4064-acfc-228ab2a8b685" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-c805-4064-acfc-228ab2a8b685", + "type": "Microsoft.Communication.PlayCompleted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "multipleTextSourceContext", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "1b002280-c805-4064-acfc-228ab2a8b685", + "serverCallId": "sanitized", + "correlationId": "a77825cf-5365-4afa-9a41-ad71247852ae", + "publicEventType": "Microsoft.Communication.PlayCompleted" + }, + "time": "2024-12-20T17:25:39.423987+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-c805-4064-acfc-228ab2a8b685" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json new file mode 100644 index 000000000000..e9eaa36359a9 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_play.json @@ -0,0 +1,431 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "9feb2fdb-779e-43f5-b48b-59516926e664" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-9792-44c5-afab-757f58375d7f", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-9792-44c5-afab-757f58375d7f", + "serverCallId": "sanitized", + "correlationId": "9feb2fdb-779e-43f5-b48b-59516926e664", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:39.9620405+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-9792-44c5-afab-757f58375d7f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-3508-4199-b9c2-f5b910f697b1", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-3508-4199-b9c2-f5b910f697b1", + "serverCallId": "sanitized", + "correlationId": "9feb2fdb-779e-43f5-b48b-59516926e664", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:26:39.9980098+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-3508-4199-b9c2-f5b910f697b1" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-3508-4199-b9c2-f5b910f697b1", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-3508-4199-b9c2-f5b910f697b1", + "serverCallId": "sanitized", + "correlationId": "9feb2fdb-779e-43f5-b48b-59516926e664", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:39.9947127+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-3508-4199-b9c2-f5b910f697b1" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-9792-44c5-afab-757f58375d7f", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-9792-44c5-afab-757f58375d7f", + "serverCallId": "sanitized", + "correlationId": "9feb2fdb-779e-43f5-b48b-59516926e664", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:26:40.0449889+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-9792-44c5-afab-757f58375d7f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-9792-44c5-afab-757f58375d7f", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-9792-44c5-afab-757f58375d7f", + "serverCallId": "sanitized", + "correlationId": "9feb2fdb-779e-43f5-b48b-59516926e664", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:44.0663362+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-9792-44c5-afab-757f58375d7f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-3508-4199-b9c2-f5b910f697b1", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": true + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-3508-4199-b9c2-f5b910f697b1", + "serverCallId": "sanitized", + "correlationId": "9feb2fdb-779e-43f5-b48b-59516926e664", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:44.0663362+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-3508-4199-b9c2-f5b910f697b1" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-9792-44c5-afab-757f58375d7f", + "type": "Microsoft.Communication.PlayFailed", + "data": { + "failedPlaySourceIndex": 0, + "version": "2024-09-01-preview", + "operationContext": "playFailContext", + "resultInformation": { + "code": 400, + "subCode": 8535, + "message": "Action failed, file format is invalid." + }, + "callConnectionId": "1b002280-9792-44c5-afab-757f58375d7f", + "serverCallId": "sanitized", + "correlationId": "9feb2fdb-779e-43f5-b48b-59516926e664", + "publicEventType": "Microsoft.Communication.PlayFailed" + }, + "time": "2024-12-20T17:26:44.2774565+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-9792-44c5-afab-757f58375d7f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-9792-44c5-afab-757f58375d7f", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-9792-44c5-afab-757f58375d7f", + "serverCallId": "sanitized", + "correlationId": "9feb2fdb-779e-43f5-b48b-59516926e664", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:44.3127993+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-9792-44c5-afab-757f58375d7f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-3508-4199-b9c2-f5b910f697b1", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-3508-4199-b9c2-f5b910f697b1", + "serverCallId": "sanitized", + "correlationId": "9feb2fdb-779e-43f5-b48b-59516926e664", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:44.3027358+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-3508-4199-b9c2-f5b910f697b1" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-9792-44c5-afab-757f58375d7f", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "1b002280-9792-44c5-afab-757f58375d7f", + "serverCallId": "sanitized", + "correlationId": "9feb2fdb-779e-43f5-b48b-59516926e664", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:26:45.3489513+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-9792-44c5-afab-757f58375d7f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-3508-4199-b9c2-f5b910f697b1", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 5010, + "message": "This conversation has ended as only one participant was remaining in the conversation.. DiagCode: 0#5010.@" + }, + "callConnectionId": "1b002280-3508-4199-b9c2-f5b910f697b1", + "serverCallId": "sanitized", + "correlationId": "9feb2fdb-779e-43f5-b48b-59516926e664", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:26:45.4070166+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-3508-4199-b9c2-f5b910f697b1" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json new file mode 100644 index 000000000000..111c54585747 --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_wrong_source_with_playall.json @@ -0,0 +1,239 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "97002083-73aa-466c-bf44-12213c5509cd" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-7254-4706-a917-7741bba3cdd9", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-7254-4706-a917-7741bba3cdd9", + "serverCallId": "sanitized", + "correlationId": "97002083-73aa-466c-bf44-12213c5509cd", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:51.9080707+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-7254-4706-a917-7741bba3cdd9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-affd-4b33-a57e-2436d4dd955b", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "1b002280-affd-4b33-a57e-2436d4dd955b", + "serverCallId": "sanitized", + "correlationId": "97002083-73aa-466c-bf44-12213c5509cd", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-12-20T17:26:51.9392608+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-affd-4b33-a57e-2436d4dd955b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-affd-4b33-a57e-2436d4dd955b", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-affd-4b33-a57e-2436d4dd955b", + "serverCallId": "sanitized", + "correlationId": "97002083-73aa-466c-bf44-12213c5509cd", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:26:51.9392608+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-affd-4b33-a57e-2436d4dd955b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-7254-4706-a917-7741bba3cdd9", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "1b002280-7254-4706-a917-7741bba3cdd9", + "serverCallId": "sanitized", + "correlationId": "97002083-73aa-466c-bf44-12213c5509cd", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:26:51.9638631+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-7254-4706-a917-7741bba3cdd9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-7254-4706-a917-7741bba3cdd9", + "type": "Microsoft.Communication.PlayFailed", + "data": { + "failedPlaySourceIndex": 0, + "version": "2024-09-01-preview", + "operationContext": "playFailContext", + "resultInformation": { + "code": 400, + "subCode": 8535, + "message": "Action failed, file format is invalid." + }, + "callConnectionId": "1b002280-7254-4706-a917-7741bba3cdd9", + "serverCallId": "sanitized", + "correlationId": "97002083-73aa-466c-bf44-12213c5509cd", + "publicEventType": "Microsoft.Communication.PlayFailed" + }, + "time": "2024-12-20T17:26:54.6167274+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-7254-4706-a917-7741bba3cdd9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-7254-4706-a917-7741bba3cdd9", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesCreateCall", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "1b002280-7254-4706-a917-7741bba3cdd9", + "serverCallId": "sanitized", + "correlationId": "97002083-73aa-466c-bf44-12213c5509cd", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:26:55.6927035+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-7254-4706-a917-7741bba3cdd9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/1b002280-affd-4b33-a57e-2436d4dd955b", + "type": "Microsoft.Communication.CallDisconnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "playMultipleSourcesAnswerCall", + "resultInformation": { + "code": 200, + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" + }, + "callConnectionId": "1b002280-affd-4b33-a57e-2436d4dd955b", + "serverCallId": "sanitized", + "correlationId": "97002083-73aa-466c-bf44-12213c5509cd", + "publicEventType": "Microsoft.Communication.CallDisconnected" + }, + "time": "2024-12-20T17:26:55.7509866+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/1b002280-affd-4b33-a57e-2436d4dd955b" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json index 696bff3fe536..b39c75f6acf6 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json @@ -17,39 +17,37 @@ "serverCallId": "sanitized", "callerDisplayName": "", "incomingCallContext": "sanitized", - "correlationId": "sanitized" + "correlationId": "55973e58-7c81-4502-96dd-ea2a7e68db03" }, [ { "id": "sanitized", - "source": "calling/callConnections/06002080-2094-4933-8745-e6536bcb902d", + "source": "calling/callConnections/22002280-78fc-421a-9c39-327736d29a77", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/06002080-2094-4933-8745-e6536bcb902d", + "version": "2024-09-01-preview", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-2094-4933-8745-e6536bcb902d", + "callConnectionId": "22002280-78fc-421a-9c39-327736d29a77", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "55973e58-7c81-4502-96dd-ea2a7e68db03", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-12-16T23:19:25.9546997+00:00", + "time": "2024-12-20T17:24:16.3544834+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-2094-4933-8745-e6536bcb902d" + "subject": "calling/callConnections/22002280-78fc-421a-9c39-327736d29a77" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-2094-4933-8745-e6536bcb902d", + "source": "calling/callConnections/22002280-78fc-421a-9c39-327736d29a77", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-2094-4933-8745-e6536bcb902d", "participants": [ { "identifier": { @@ -80,49 +78,24 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-2094-4933-8745-e6536bcb902d", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-78fc-421a-9c39-327736d29a77", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "55973e58-7c81-4502-96dd-ea2a7e68db03", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:26.0653578+00:00", + "time": "2024-12-20T17:24:16.4221517+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-2094-4933-8745-e6536bcb902d" + "subject": "calling/callConnections/22002280-78fc-421a-9c39-327736d29a77" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41", - "resultInformation": { - "code": 200, - "subCode": 0, - "message": "" - }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-6e2a-4328-b971-39f12b39da41", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-12-16T23:19:26.2478801+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41", + "source": "calling/callConnections/22002280-e5dd-4367-9d00-0a656609c987", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41", "participants": [ { "identifier": { @@ -153,114 +126,133 @@ "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-6e2a-4328-b971-39f12b39da41", + "version": "2024-09-01-preview", + "callConnectionId": "22002280-e5dd-4367-9d00-0a656609c987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "bb3f0180-d40e-429c-9af1-4857118ff9ca", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-12-16T23:19:26.2478801+00:00", + "time": "2024-12-20T17:24:16.6867898+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/22002280-e5dd-4367-9d00-0a656609c987" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/22002280-e5dd-4367-9d00-0a656609c987", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "22002280-e5dd-4367-9d00-0a656609c987", + "serverCallId": "sanitized", + "correlationId": "bb3f0180-d40e-429c-9af1-4857118ff9ca", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-12-20T17:24:16.6845108+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41" + "subject": "calling/callConnections/22002280-e5dd-4367-9d00-0a656609c987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41", + "source": "calling/callConnections/22002280-e5dd-4367-9d00-0a656609c987", "type": "Microsoft.Communication.SendDtmfTonesCompleted", "data": { - "eventSource": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41", + "version": "2024-09-01-preview", "operationContext": "ContinuousDtmfRecognitionSend", "resultInformation": { "code": 200, "subCode": 0, "message": "" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-6e2a-4328-b971-39f12b39da41", + "callConnectionId": "22002280-e5dd-4367-9d00-0a656609c987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "bb3f0180-d40e-429c-9af1-4857118ff9ca", "publicEventType": "Microsoft.Communication.SendDtmfTonesCompleted" }, - "time": "2024-12-16T23:19:30.7339614+00:00", + "time": "2024-12-20T17:24:23.0161806+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41" + "subject": "calling/callConnections/22002280-e5dd-4367-9d00-0a656609c987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41", + "source": "calling/callConnections/22002280-e5dd-4367-9d00-0a656609c987", "type": "Microsoft.Communication.ContinuousDtmfRecognitionStopped", "data": { - "eventSource": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41", + "version": "2024-09-01-preview", "operationContext": "ContinuousDtmfRecognitionStop", "resultInformation": { "code": 200, - "subCode": 0, - "message": "" + "subCode": 7000, + "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-6e2a-4328-b971-39f12b39da41", + "callConnectionId": "22002280-e5dd-4367-9d00-0a656609c987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "bb3f0180-d40e-429c-9af1-4857118ff9ca", "publicEventType": "Microsoft.Communication.ContinuousDtmfRecognitionStopped" }, - "time": "2024-12-16T23:19:31.5353792+00:00", + "time": "2024-12-20T17:24:23.7004689+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41" + "subject": "calling/callConnections/22002280-e5dd-4367-9d00-0a656609c987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41", + "source": "calling/callConnections/22002280-e5dd-4367-9d00-0a656609c987", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41", + "version": "2024-09-01-preview", "resultInformation": { "code": 200, "subCode": 7000, "message": "The conversation has ended. DiagCode: 0#7000.@" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-6e2a-4328-b971-39f12b39da41", + "callConnectionId": "22002280-e5dd-4367-9d00-0a656609c987", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "bb3f0180-d40e-429c-9af1-4857118ff9ca", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-16T23:19:32.7316411+00:00", + "time": "2024-12-20T17:24:25.0306148+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-6e2a-4328-b971-39f12b39da41" + "subject": "calling/callConnections/22002280-e5dd-4367-9d00-0a656609c987" } ], [ { "id": "sanitized", - "source": "calling/callConnections/06002080-2094-4933-8745-e6536bcb902d", + "source": "calling/callConnections/22002280-78fc-421a-9c39-327736d29a77", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/06002080-2094-4933-8745-e6536bcb902d", + "version": "2024-09-01-preview", "resultInformation": { "code": 200, "subCode": 540000, "message": "The conversation has ended" }, - "version": "2023-10-03-preview", - "callConnectionId": "06002080-2094-4933-8745-e6536bcb902d", + "callConnectionId": "22002280-78fc-421a-9c39-327736d29a77", "serverCallId": "sanitized", - "correlationId": "sanitized", + "correlationId": "55973e58-7c81-4502-96dd-ea2a7e68db03", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-12-16T23:19:32.9836948+00:00", + "time": "2024-12-20T17:24:25.2569678+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/06002080-2094-4933-8745-e6536bcb902d" + "subject": "calling/callConnections/22002280-78fc-421a-9c39-327736d29a77" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/test/node/callMediaClient.spec.ts b/sdk/communication/communication-call-automation/test/node/callMediaClient.spec.ts index d6b84676e844..6552a6a7fba7 100644 --- a/sdk/communication/communication-call-automation/test/node/callMediaClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/node/callMediaClient.spec.ts @@ -63,6 +63,7 @@ import { getPhoneNumbers, transportUrl, cognitiveServiceEndpoint, + dummyFileSource, } from "../utils/recordedClient.js"; import { createMediaClient, generateHttpClient } from "../utils/mockClient.js"; import { @@ -1483,7 +1484,7 @@ describe("Call Media Client Live Tests", function () { assert.isDefined(callConnectedEvent); callConnection = result.callConnection; - const filePrompt: FileSource = { kind: "fileSource", url: "https://dummy.com/dummyurl.wav" }; + const filePrompt: FileSource = { kind: "fileSource", url: dummyFileSource }; await callConnection .getCallMedia() @@ -1540,7 +1541,7 @@ describe("Call Media Client Live Tests", function () { assert.isDefined(callConnectedEvent); callConnection = result.callConnection; - const filePrompt: FileSource = { kind: "fileSource", url: "https://dummy.com/dummyurl.wav" }; + const filePrompt: FileSource = { kind: "fileSource", url: dummyFileSource }; await callConnection .getCallMedia() @@ -1652,7 +1653,7 @@ describe("Call Media Client Live Tests", function () { assert.isDefined(recognizeFailedEventToMultipleSource); const multiplePrompts: (FileSource | TextSource)[] = [ - { kind: "fileSource", url: "https://dummy.com/dummyurl.wav" }, + { kind: "fileSource", url: dummyFileSource}, { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, ]; @@ -1771,7 +1772,7 @@ describe("Call Media Client Live Tests", function () { assert.isDefined(recognizeFailedEventToMultipleSource); const multiplePrompts: (FileSource | TextSource)[] = [ - { kind: "fileSource", url: "https://dummy.com/dummyurl.wav" }, + { kind: "fileSource", url: dummyFileSource }, { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, ]; @@ -1903,7 +1904,7 @@ describe("Call Media Client Live Tests", function () { assert.isDefined(recognizeFailedEventToMultipleSource); const multiplePrompts: (FileSource | TextSource)[] = [ - { kind: "fileSource", url: "https://dummy.com/dummyurl.wav" }, + { kind: "fileSource", url: dummyFileSource }, { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, ]; @@ -2026,7 +2027,7 @@ describe("Call Media Client Live Tests", function () { assert.isDefined(recognizeFailedEventToMultipleSource); const multiplePrompts: (FileSource | TextSource)[] = [ - { kind: "fileSource", url: "https://dummy.com/dummyurl.wav" }, + { kind: "fileSource", url: dummyFileSource }, { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, ]; @@ -2090,7 +2091,7 @@ describe("Call Media Client Live Tests", function () { assert.isFalse(participantUnhold.isOnHold); const playSource: FileSource = { - url: "https://dummy.com/dummyurl.wav", + url: dummyFileSource, kind: "fileSource", }; @@ -2107,7 +2108,7 @@ describe("Call Media Client Live Tests", function () { assert.isDefined(callDisconnectedEvent); }); - it( + it.skip( "Creates a call, start transcription, and hangs up.", { timeout: 60000 }, async function (ctx) { @@ -2144,7 +2145,7 @@ describe("Call Media Client Live Tests", function () { enableIntermediateResults: false, }; - const creatCallOptions: CreateCallOptions = { + const createCallOptions: CreateCallOptions = { transcriptionOptions: transcriptionOptions, callIntelligenceOptions: { cognitiveServicesEndpoint: cognitiveServiceEndpoint }, }; @@ -2152,7 +2153,7 @@ describe("Call Media Client Live Tests", function () { const result = await callerCallAutomationClient.createCall( callInvite, callBackUrl, - creatCallOptions, + createCallOptions, ); const incomingCallContext = await waitForIncomingCallContext(uniqueId, 30000); const callConnectionId: string = result.callConnectionProperties.callConnectionId diff --git a/sdk/communication/communication-call-automation/test/utils/recordedClient.ts b/sdk/communication/communication-call-automation/test/utils/recordedClient.ts index 304178430eb6..1b09539bd91b 100644 --- a/sdk/communication/communication-call-automation/test/utils/recordedClient.ts +++ b/sdk/communication/communication-call-automation/test/utils/recordedClient.ts @@ -52,9 +52,9 @@ const envSetupForPlayback: Record = { COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING: "endpoint=https://Sanitized/;accesskey=redacted", DISPATCHER_ENDPOINT: "https://Sanitized", SERVICEBUS_STRING: "redacted.servicebus.windows.net", - FILE_SOURCE_URL: "https:///Sanitized/audio/test.wav", - TRANSPORT_URL: "https://REDACTED", - COGNITIVE_SERVICE_ENDPOINT: "https://REDACTED.cognitiveservices.azure.com/", + FILE_SOURCE_URL: "https:///Sanitized/audio/test.wav", + TRANSPORT_URL: "https://Sanitized", + COGNITIVE_SERVICE_ENDPOINT: "https://Sanitized", }; const fakeToken = generateToken(); @@ -75,6 +75,7 @@ export const cognitiveServiceEndpoint: string = !isPlaybackMode() : envSetupForPlayback["COGNITIVE_SERVICE_ENDPOINT"]; export const dispatcherCallback: string = dispatcherEndpoint + "/api/servicebuscallback/events"; +export const dummyFileSource: string = !isPlaybackMode() ? "https://dummy.com/dummyurl.wav" : "https://Sanitized/dummyurl.wav"; export const serviceBusReceivers: Map = new Map< string, ServiceBusReceiver From ea357d5fa8ec2c21c720638f67b6f43f8a6311e1 Mon Sep 17 00:00:00 2001 From: Vinothini Dharmaraj Date: Fri, 20 Dec 2024 09:50:10 -0800 Subject: [PATCH 12/16] fixing the format issue --- .../test/node/callMediaClient.spec.ts | 2 +- .../test/utils/recordedClient.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sdk/communication/communication-call-automation/test/node/callMediaClient.spec.ts b/sdk/communication/communication-call-automation/test/node/callMediaClient.spec.ts index 6552a6a7fba7..8e29a415adaa 100644 --- a/sdk/communication/communication-call-automation/test/node/callMediaClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/node/callMediaClient.spec.ts @@ -1653,7 +1653,7 @@ describe("Call Media Client Live Tests", function () { assert.isDefined(recognizeFailedEventToMultipleSource); const multiplePrompts: (FileSource | TextSource)[] = [ - { kind: "fileSource", url: dummyFileSource}, + { kind: "fileSource", url: dummyFileSource }, { kind: "textSource", text: "this is test", voiceName: "en-US-NancyNeural" }, ]; diff --git a/sdk/communication/communication-call-automation/test/utils/recordedClient.ts b/sdk/communication/communication-call-automation/test/utils/recordedClient.ts index 1b09539bd91b..3954151044ea 100644 --- a/sdk/communication/communication-call-automation/test/utils/recordedClient.ts +++ b/sdk/communication/communication-call-automation/test/utils/recordedClient.ts @@ -75,7 +75,9 @@ export const cognitiveServiceEndpoint: string = !isPlaybackMode() : envSetupForPlayback["COGNITIVE_SERVICE_ENDPOINT"]; export const dispatcherCallback: string = dispatcherEndpoint + "/api/servicebuscallback/events"; -export const dummyFileSource: string = !isPlaybackMode() ? "https://dummy.com/dummyurl.wav" : "https://Sanitized/dummyurl.wav"; +export const dummyFileSource: string = !isPlaybackMode() + ? "https://dummy.com/dummyurl.wav" + : "https://Sanitized/dummyurl.wav"; export const serviceBusReceivers: Map = new Map< string, ServiceBusReceiver From 74366db4fe1f70005bc8ef7d9972d3b11df2a33a Mon Sep 17 00:00:00 2001 From: Juntu Chen Date: Tue, 24 Dec 2024 15:49:55 -0500 Subject: [PATCH 13/16] updated with OPS outbound call feature --- .../communication-call-automation.api.md | 2 +- .../src/callAutomationClient.ts | 13 +--- .../src/generated/src/models/index.ts | 48 ++++++++++++- .../src/generated/src/models/mappers.ts | 69 ++++++++++++++++++- .../src/models/options.ts | 12 +++- .../swagger/README.md | 2 +- .../test/node/callAutomationClient.spec.ts | 46 +++++-------- 7 files changed, 144 insertions(+), 48 deletions(-) diff --git a/sdk/communication/communication-call-automation/review/communication-call-automation.api.md b/sdk/communication/communication-call-automation/review/communication-call-automation.api.md index 38183dee2b4a..e4fbb1c6d792 100644 --- a/sdk/communication/communication-call-automation/review/communication-call-automation.api.md +++ b/sdk/communication/communication-call-automation/review/communication-call-automation.api.md @@ -132,7 +132,6 @@ export class CallAutomationClient { // @public export interface CallAutomationClientOptions extends CommonClientOptions { - opsSourceIdentity?: MicrosoftTeamsAppIdentifier; sourceIdentity?: CommunicationUserIdentifier; } @@ -530,6 +529,7 @@ export interface CreateCallOptions extends OperationOptions { operationContext?: string; sourceCallIdNumber?: PhoneNumberIdentifier; sourceDisplayName?: string; + teamsAppSource?: MicrosoftTeamsAppIdentifier; transcriptionOptions?: TranscriptionOptions; } diff --git a/sdk/communication/communication-call-automation/src/callAutomationClient.ts b/sdk/communication/communication-call-automation/src/callAutomationClient.ts index 7fee6763cd79..a22a8b066d8f 100644 --- a/sdk/communication/communication-call-automation/src/callAutomationClient.ts +++ b/sdk/communication/communication-call-automation/src/callAutomationClient.ts @@ -7,7 +7,6 @@ import type { InternalPipelineOptions } from "@azure/core-rest-pipeline"; import type { CommunicationIdentifier, CommunicationUserIdentifier, - MicrosoftTeamsAppIdentifier, } from "@azure/communication-common"; import { parseClientArguments, isKeyCredential } from "@azure/communication-common"; import { logger } from "./models/logger.js"; @@ -15,7 +14,6 @@ import type { AnswerCallRequest, CallAutomationApiClient, CommunicationUserIdentifierModel, - MicrosoftTeamsAppIdentifierModel, CreateCallRequest, RedirectCallRequest, RejectCallRequest, @@ -63,11 +61,6 @@ export interface CallAutomationClientOptions extends CommonClientOptions { * The identifier of the source of the call for call creating/answering/inviting operation. */ sourceIdentity?: CommunicationUserIdentifier; - /** - * The identifier of the One Phone System bot for call creating operation. - * Should be mutually exclusive with sourceIdentity. - */ - opsSourceIdentity?: MicrosoftTeamsAppIdentifier; } /** @@ -84,7 +77,6 @@ const isCallAutomationClientOptions = (options: any): options is CallAutomationC export class CallAutomationClient { private readonly callAutomationApiClient: CallAutomationApiClient; private readonly sourceIdentity?: CommunicationUserIdentifierModel; - private readonly opsSourceIdentity?: MicrosoftTeamsAppIdentifierModel; private readonly credential: TokenCredential | KeyCredential; private readonly internalPipelineOptions: InternalPipelineOptions; private readonly callAutomationEventProcessor: CallAutomationEventProcessor; @@ -147,7 +139,6 @@ export class CallAutomationClient { ); this.sourceIdentity = communicationUserIdentifierModelConverter(options.sourceIdentity); - this.opsSourceIdentity = microsoftTeamsAppIdentifierModelConverter(options.opsSourceIdentity); } /** @@ -274,7 +265,7 @@ export class CallAutomationClient { ): Promise { const request: CreateCallRequest = { source: this.sourceIdentity, - opsSource: this.opsSourceIdentity, + teamsAppSource: microsoftTeamsAppIdentifierModelConverter(options.teamsAppSource), targets: [communicationIdentifierModelConverter(targetParticipant.targetParticipant)], callbackUri: callbackUrl, operationContext: options.operationContext, @@ -307,7 +298,7 @@ export class CallAutomationClient { ): Promise { const request: CreateCallRequest = { source: this.sourceIdentity, - opsSource: this.opsSourceIdentity, + teamsAppSource: microsoftTeamsAppIdentifierModelConverter(options.teamsAppSource), targets: targetParticipants.map((target) => communicationIdentifierModelConverter(target)), callbackUri: callbackUrl, operationContext: options.operationContext, diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/index.ts b/sdk/communication/communication-call-automation/src/generated/src/models/index.ts index 1cbe50447071..5b7bce6ef370 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/index.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/index.ts @@ -33,8 +33,8 @@ export interface CreateCallRequest { callbackUri: string; /** AI options for the call. */ callIntelligenceOptions?: CallIntelligenceOptionsInternal; - /** The identifier of the source in an OPS call */ - opsSource?: MicrosoftTeamsAppIdentifierModel; + /** The identifier of the source for creating call with Teams resource account ID. */ + teamsAppSource?: MicrosoftTeamsAppIdentifierModel; /** Used by customer to send custom calling context to targets */ customCallingContext?: CustomCallingContextInternal; /** Media Streaming Options. */ @@ -811,6 +811,50 @@ export interface RecordingStateResponse { recordingKind?: RecordingKind; } +/** The incoming call event. */ +export interface IncomingCall { + /** + * The communication identifier of the target user. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly to?: CommunicationIdentifierModel; + /** + * The communication identifier of the user who initiated the call. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly from?: CommunicationIdentifierModel; + /** + * Display name of caller. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly callerDisplayName?: string; + /** + * The server call id. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly serverCallId?: string; + /** + * Custom Context of Incoming Call + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly customContext?: CustomCallingContextInternal; + /** + * Incoming call context. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly incomingCallContext?: string; + /** + * The communication identifier of the user on behalf of whom the call is made. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly onBehalfOfCallee?: CommunicationIdentifierModel; + /** + * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly correlationId?: string; +} + export interface DtmfResult { /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly tones?: Tone[]; diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts b/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts index b8af04d626e1..ab774803744b 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts @@ -66,8 +66,8 @@ export const CreateCallRequest: coreClient.CompositeMapper = { className: "CallIntelligenceOptionsInternal", }, }, - opsSource: { - serializedName: "opsSource", + teamsAppSource: { + serializedName: "teamsAppSource", type: { name: "Composite", className: "MicrosoftTeamsAppIdentifierModel", @@ -2214,6 +2214,71 @@ export const RecordingStateResponse: coreClient.CompositeMapper = { }, }; +export const IncomingCall: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IncomingCall", + modelProperties: { + to: { + serializedName: "to", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, + from: { + serializedName: "from", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, + callerDisplayName: { + serializedName: "callerDisplayName", + readOnly: true, + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + readOnly: true, + type: { + name: "String", + }, + }, + customContext: { + serializedName: "customContext", + type: { + name: "Composite", + className: "CustomCallingContextInternal", + }, + }, + incomingCallContext: { + serializedName: "incomingCallContext", + readOnly: true, + type: { + name: "String", + }, + }, + onBehalfOfCallee: { + serializedName: "onBehalfOfCallee", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, + correlationId: { + serializedName: "correlationId", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + export const DtmfResult: coreClient.CompositeMapper = { type: { name: "Composite", diff --git a/sdk/communication/communication-call-automation/src/models/options.ts b/sdk/communication/communication-call-automation/src/models/options.ts index 3508180e33a1..16df55535396 100644 --- a/sdk/communication/communication-call-automation/src/models/options.ts +++ b/sdk/communication/communication-call-automation/src/models/options.ts @@ -1,7 +1,11 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { PhoneNumberIdentifier, CommunicationIdentifier } from "@azure/communication-common"; +import type { + PhoneNumberIdentifier, + CommunicationIdentifier, + MicrosoftTeamsAppIdentifier, +} from "@azure/communication-common"; import type { OperationOptions } from "@azure/core-client"; import type { MediaStreamingOptions, @@ -118,6 +122,12 @@ export interface CreateCallOptions extends OperationOptions { transcriptionOptions?: TranscriptionOptions; /** The Custom Context. */ customCallingContext?: CustomCallingContext; + /** + * Overrides default client source by a MicrosoftTeamsAppIdentifier type source. + * Required for creating call with Teams resource account ID. + * This is per-operation setting and does not change the client's default source. + */ + teamsAppSource?: MicrosoftTeamsAppIdentifier; } /** diff --git a/sdk/communication/communication-call-automation/swagger/README.md b/sdk/communication/communication-call-automation/swagger/README.md index a8f42599a941..c481be4f17e2 100644 --- a/sdk/communication/communication-call-automation/swagger/README.md +++ b/sdk/communication/communication-call-automation/swagger/README.md @@ -13,7 +13,7 @@ license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../src/generated tag: package-2024-09-01-preview require: - - https://github.com/Azure/azure-rest-api-specs/blob/7347874bc2794b2770c3e7618bd1a5ccab53cb54/specification/communication/data-plane/CallAutomation/readme.md + - https://github.com/Azure/azure-rest-api-specs/blob/691fea3efb9ff22b20904e92d5116223f452a3b1/specification/communication/data-plane/CallAutomation/readme.md package-version: 1.4.0-beta.2 model-date-time-as-string: false optional-response-headers: true diff --git a/sdk/communication/communication-call-automation/test/node/callAutomationClient.spec.ts b/sdk/communication/communication-call-automation/test/node/callAutomationClient.spec.ts index bced07a5ff99..ae98279fa844 100644 --- a/sdk/communication/communication-call-automation/test/node/callAutomationClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/node/callAutomationClient.spec.ts @@ -39,16 +39,6 @@ vi.mock("../src/index.js", async (importActual) => { import { CallAutomationClient } from "../../src/index.js"; -function createOPSCallAutomationClient( - oPSSourceIdentity: MicrosoftTeamsAppIdentifier, -): CallAutomationClient { - const connectionString = "endpoint=https://redacted.communication.azure.com/;accesskey=redacted"; - - return new CallAutomationClient(connectionString, { - opsSourceIdentity: oPSSourceIdentity, - }); -} - describe("Call Automation Client Unit Tests", () => { let targets: CommunicationIdentifier[]; let target: CallInvite; @@ -132,21 +122,6 @@ describe("Call Automation Client Unit Tests", () => { // defined dummy variables const appId = "28:acs:redacted"; const appCloud = KnownCommunicationCloudEnvironmentModel.Public; - const oPSSouceStub = { - teamsAppId: appId, - cloud: appCloud, - }; - - // stub an OPS CallAutomationClient - const createOPSClientStub = vi - .fn() - .mockImplementation(() => createOPSCallAutomationClient(oPSSouceStub)); - - // Use the stubbed factory function to create the client - const oPSClient: MockedObject = createOPSClientStub(); - - // Explicitly stub the createCall method - oPSClient.createCall = vi.fn(); // mocks const createCallResultMock: CreateCallResult = { @@ -163,18 +138,29 @@ describe("Call Automation Client Unit Tests", () => { }, }; - vi.spyOn(oPSClient, "createCall").mockResolvedValue(createCallResultMock); - const promiseResult = oPSClient.createCall(target, CALL_CALLBACK_URL); + vi.spyOn(client, "createCall").mockResolvedValue(createCallResultMock); + const promiseResult = client.createCall(target, CALL_CALLBACK_URL, { + teamsAppSource: { + rawId: appId, + teamsAppId: appId, + cloud: appCloud, + } as MicrosoftTeamsAppIdentifier, + }); // asserts promiseResult .then((result: CreateCallResult) => { assert.isNotNull(result); - expect(oPSClient.createCall).toHaveBeenCalledWith(target, CALL_CALLBACK_URL); + expect(client.createCall).toHaveBeenCalledWith(target, CALL_CALLBACK_URL, { + teamsAppSource: { + rawId: appId, + teamsAppId: appId, + cloud: appCloud, + } as MicrosoftTeamsAppIdentifier, + }); assert.equal(result, createCallResultMock); return; - }) - .catch((error) => console.error(error)); + }); }); it("AnswerCall", async () => { From f1b609bb69aae05c949ff6fd53df02c405aedecb Mon Sep 17 00:00:00 2001 From: Juntu Chen Date: Tue, 24 Dec 2024 16:49:31 -0500 Subject: [PATCH 14/16] fixed pipeline --- .../test/node/callAutomationClient.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/communication/communication-call-automation/test/node/callAutomationClient.spec.ts b/sdk/communication/communication-call-automation/test/node/callAutomationClient.spec.ts index ae98279fa844..6967e13ffc6f 100644 --- a/sdk/communication/communication-call-automation/test/node/callAutomationClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/node/callAutomationClient.spec.ts @@ -160,7 +160,8 @@ describe("Call Automation Client Unit Tests", () => { }); assert.equal(result, createCallResultMock); return; - }); + }) + .catch((error) => console.error(error)); }); it("AnswerCall", async () => { From a27d616387f0d9ae5f81796e8cba46ce5548bce2 Mon Sep 17 00:00:00 2001 From: Pilli Vamshi Date: Fri, 27 Dec 2024 16:11:23 +0530 Subject: [PATCH 15/16] Added call connection id for recording and added live and unit tests. --- .../src/callRecording.ts | 1 + .../generated/src/callAutomationApiClient.ts | 10 +- .../src/generated/src/index.ts | 8 +- .../src/generated/src/models/parameters.ts | 2 +- .../src/operations/callConnection.ts | 12 +-- .../generated/src/operations/callDialog.ts | 10 +- .../src/generated/src/operations/callMedia.ts | 10 +- .../generated/src/operations/callRecording.ts | 10 +- .../src/generated/src/operations/index.ts | 8 +- .../operationsInterfaces/callConnection.ts | 2 +- .../src/operationsInterfaces/callDialog.ts | 2 +- .../src/operationsInterfaces/callMedia.ts | 2 +- .../src/operationsInterfaces/callRecording.ts | 2 +- .../src/operationsInterfaces/index.ts | 8 +- .../test/node/callRecordingClient.spec.ts | 96 +++++++++++++++++++ 15 files changed, 140 insertions(+), 43 deletions(-) diff --git a/sdk/communication/communication-call-automation/src/callRecording.ts b/sdk/communication/communication-call-automation/src/callRecording.ts index b9919a99089c..f8acc2930a7c 100644 --- a/sdk/communication/communication-call-automation/src/callRecording.ts +++ b/sdk/communication/communication-call-automation/src/callRecording.ts @@ -62,6 +62,7 @@ export class CallRecording { startCallRecordingRequest.recordingStateCallbackUri = options.recordingStateCallbackEndpointUrl; startCallRecordingRequest.pauseOnStart = options.pauseOnStart; startCallRecordingRequest.recordingStorage = options.recordingStorage; + startCallRecordingRequest.callConnectionId = options.callConnectionId ? options.callConnectionId : undefined; if (options.channelAffinity) { startCallRecordingRequest.channelAffinity = []; diff --git a/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts b/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts index 68a0c956cd2f..14491fc07993 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts @@ -17,15 +17,15 @@ import { CallMediaImpl, CallDialogImpl, CallRecordingImpl, -} from "./operations/index.js"; +} from "./operations"; import { CallConnection, CallMedia, CallDialog, CallRecording, -} from "./operationsInterfaces/index.js"; -import * as Parameters from "./models/parameters.js"; -import * as Mappers from "./models/mappers.js"; +} from "./operationsInterfaces"; +import * as Parameters from "./models/parameters"; +import * as Mappers from "./models/mappers"; import { CallAutomationApiClientOptionalParams, CreateCallRequest, @@ -41,7 +41,7 @@ import { ConnectRequest, ConnectOptionalParams, ConnectResponse, -} from "./models/index.js"; +} from "./models"; export class CallAutomationApiClient extends coreClient.ServiceClient { endpoint: string; diff --git a/sdk/communication/communication-call-automation/src/generated/src/index.ts b/sdk/communication/communication-call-automation/src/generated/src/index.ts index 25051937501e..9e17818e8dd7 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/index.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/index.ts @@ -7,7 +7,7 @@ */ /// -export { getContinuationToken } from "./pagingHelper.js"; -export * from "./models/index.js"; -export { CallAutomationApiClient } from "./callAutomationApiClient.js"; -export * from "./operationsInterfaces/index.js"; +export { getContinuationToken } from "./pagingHelper"; +export * from "./models"; +export { CallAutomationApiClient } from "./callAutomationApiClient"; +export * from "./operationsInterfaces"; diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts b/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts index 98fdbe715283..9e53138fe68e 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts @@ -38,7 +38,7 @@ import { StartDialogRequest as StartDialogRequestMapper, UpdateDialogRequest as UpdateDialogRequestMapper, StartCallRecordingRequest as StartCallRecordingRequestMapper, -} from "../models/mappers.js"; +} from "../models/mappers"; export const contentType: OperationParameter = { parameterPath: ["options", "contentType"], diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts index 3295556c3c06..e89f414a3dcb 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts @@ -7,12 +7,12 @@ */ import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; -import { setContinuationToken } from "../pagingHelper.js"; -import { CallConnection } from "../operationsInterfaces/index.js"; +import { setContinuationToken } from "../pagingHelper"; +import { CallConnection } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers.js"; -import * as Parameters from "../models/parameters.js"; -import { CallAutomationApiClient } from "../callAutomationApiClient.js"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { CallAutomationApiClient } from "../callAutomationApiClient"; import { CallParticipantInternal, CallConnectionGetParticipantsNextOptionalParams, @@ -43,7 +43,7 @@ import { CallConnectionGetParticipantOptionalParams, CallConnectionGetParticipantResponse, CallConnectionGetParticipantsNextResponse, -} from "../models/index.js"; +} from "../models"; /// /** Class containing CallConnection operations. */ diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callDialog.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callDialog.ts index 8d3a768299bb..02330c389d27 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callDialog.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callDialog.ts @@ -6,11 +6,11 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { CallDialog } from "../operationsInterfaces/index.js"; +import { CallDialog } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers.js"; -import * as Parameters from "../models/parameters.js"; -import { CallAutomationApiClient } from "../callAutomationApiClient.js"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { CallAutomationApiClient } from "../callAutomationApiClient"; import { StartDialogRequest, CallDialogStartDialogOptionalParams, @@ -18,7 +18,7 @@ import { CallDialogStopDialogOptionalParams, UpdateDialogRequest, CallDialogUpdateDialogOptionalParams, -} from "../models/index.js"; +} from "../models"; /** Class containing CallDialog operations. */ export class CallDialogImpl implements CallDialog { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts index 6251f4dbc513..11b7a10a525f 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts @@ -6,11 +6,11 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { CallMedia } from "../operationsInterfaces/index.js"; +import { CallMedia } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers.js"; -import * as Parameters from "../models/parameters.js"; -import { CallAutomationApiClient } from "../callAutomationApiClient.js"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { CallAutomationApiClient } from "../callAutomationApiClient"; import { PlayRequest, CallMediaPlayOptionalParams, @@ -39,7 +39,7 @@ import { CallMediaStopMediaStreamingOptionalParams, InterruptAudioAndAnnounceRequest, CallMediaInterruptAudioAndAnnounceOptionalParams, -} from "../models/index.js"; +} from "../models"; /** Class containing CallMedia operations. */ export class CallMediaImpl implements CallMedia { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callRecording.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callRecording.ts index 6be62ad44404..91cfe0c71848 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callRecording.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callRecording.ts @@ -6,11 +6,11 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { CallRecording } from "../operationsInterfaces/index.js"; +import { CallRecording } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers.js"; -import * as Parameters from "../models/parameters.js"; -import { CallAutomationApiClient } from "../callAutomationApiClient.js"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { CallAutomationApiClient } from "../callAutomationApiClient"; import { StartCallRecordingRequest, CallRecordingStartRecordingOptionalParams, @@ -20,7 +20,7 @@ import { CallRecordingStopRecordingOptionalParams, CallRecordingPauseRecordingOptionalParams, CallRecordingResumeRecordingOptionalParams, -} from "../models/index.js"; +} from "../models"; /** Class containing CallRecording operations. */ export class CallRecordingImpl implements CallRecording { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/index.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/index.ts index 829c6a0bef97..0e60c378238d 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/index.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/index.ts @@ -6,7 +6,7 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./callConnection.js"; -export * from "./callMedia.js"; -export * from "./callDialog.js"; -export * from "./callRecording.js"; +export * from "./callConnection"; +export * from "./callMedia"; +export * from "./callDialog"; +export * from "./callRecording"; diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callConnection.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callConnection.ts index d9d034c6a22d..d30fa55a519c 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callConnection.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callConnection.ts @@ -34,7 +34,7 @@ import { CallConnectionCancelAddParticipantResponse, CallConnectionGetParticipantOptionalParams, CallConnectionGetParticipantResponse, -} from "../models/index.js"; +} from "../models"; /// /** Interface representing a CallConnection. */ diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callDialog.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callDialog.ts index 9099de30b228..4fccc524812b 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callDialog.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callDialog.ts @@ -13,7 +13,7 @@ import { CallDialogStopDialogOptionalParams, UpdateDialogRequest, CallDialogUpdateDialogOptionalParams, -} from "../models/index.js"; +} from "../models"; /** Interface representing a CallDialog. */ export interface CallDialog { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts index e8840f342b5c..9d6a8e58b351 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts @@ -34,7 +34,7 @@ import { CallMediaStopMediaStreamingOptionalParams, InterruptAudioAndAnnounceRequest, CallMediaInterruptAudioAndAnnounceOptionalParams, -} from "../models/index.js"; +} from "../models"; /** Interface representing a CallMedia. */ export interface CallMedia { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callRecording.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callRecording.ts index b4dd60293ae8..4b783a500955 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callRecording.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callRecording.ts @@ -15,7 +15,7 @@ import { CallRecordingStopRecordingOptionalParams, CallRecordingPauseRecordingOptionalParams, CallRecordingResumeRecordingOptionalParams, -} from "../models/index.js"; +} from "../models"; /** Interface representing a CallRecording. */ export interface CallRecording { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/index.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/index.ts index 829c6a0bef97..0e60c378238d 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/index.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/index.ts @@ -6,7 +6,7 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./callConnection.js"; -export * from "./callMedia.js"; -export * from "./callDialog.js"; -export * from "./callRecording.js"; +export * from "./callConnection"; +export * from "./callMedia"; +export * from "./callDialog"; +export * from "./callRecording"; diff --git a/sdk/communication/communication-call-automation/test/node/callRecordingClient.spec.ts b/sdk/communication/communication-call-automation/test/node/callRecordingClient.spec.ts index 576936767cb1..0dd920686cdf 100644 --- a/sdk/communication/communication-call-automation/test/node/callRecordingClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/node/callRecordingClient.spec.ts @@ -6,6 +6,7 @@ import { createRecordingClient, generateHttpClient } from "../utils/mockClient.j import { baseUri, CALL_CALLBACK_URL, + CALL_CONNECTION_ID, CALL_SERVER_CALL_ID, CALL_TARGET_ID, generateToken, @@ -178,6 +179,32 @@ describe("CallRecording Unit Tests", () => { ); assert.equal(request.method, "POST"); }); + + it("makes successful startRecording request with call connection id", async () => { + const mockResponse: RestModel.RecordingStateResponse = { + recordingId: RECORDING_ID, + recordingState: RECORDING_STATE, + }; + + const mockHttpClient = generateHttpClient(200, mockResponse); + callRecording = createRecordingClient(mockHttpClient); + const spy = vi.spyOn(mockHttpClient, "sendRequest"); + + const recOptions: StartRecordingOptions = { + recordingStateCallbackEndpointUrl: CALL_CALLBACK_URL, + callConnectionId:CALL_CONNECTION_ID, + recordingChannel: "unmixed", + recordingFormat: "wav", + recordingContent: "audio", + }; + + await callRecording.start(recOptions); + const request = spy.mock.calls[0][0]; + const data = JSON.parse(request.body?.toString() || ""); + + assert.equal(data.recordingStateCallbackUri, CALL_CALLBACK_URL); + assert.equal(request.method, "POST"); + }); }); describe("CallRecording Live Tests", () => { @@ -289,4 +316,73 @@ describe("CallRecording Live Tests", () => { assert.equal(recStatus.recordingState, "active"); await callerCallAutomationClient.getCallRecording().stop(recordingStateResult.recordingId); }); + + it("Creates a call, start recording with call connection id, and hangs up", { timeout: 60000 }, async function (ctx) { + const fullTitle: string | undefined = + ctx.task.suite && ctx.task.suite.name && ctx.task.name + ? `${ctx.task.suite.name} ${ctx.task.name}` + : undefined; + testName = fullTitle ? fullTitle.replace(/ /g, "_") : "create_call_start_recording_and_hang_up"; + await loadPersistedEvents(testName); + + const callInvite: CallInvite = { targetParticipant: testUser2 }; + const uniqueId = await serviceBusWithNewCall(testUser, testUser2); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + const createCallOption: CreateCallOptions = { operationContext: "recordingCreateCall" }; + + const result = await callerCallAutomationClient.createCall( + callInvite, + callBackUrl, + createCallOption, + ); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 8000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + const answerCallOption: AnswerCallOptions = { operationContext: "recordingAnswer" }; + await receiverCallAutomationClient.answerCall( + incomingCallContext, + callBackUrl, + answerCallOption, + ); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + const playSource: FileSource[] = [ + { + url: fileSourceUrl, + kind: "fileSource", + }, + ]; + + // Call recording can fail when no audio is in call, we will play audio to avoid that. + const playToAllOptions: PlayOptions = { operationContext: "recordingPlay" }; + await callConnection.getCallMedia().playToAll(playSource, playToAllOptions); + + const recOptions: StartRecordingOptions = { + recordingStateCallbackEndpointUrl: callBackUrl, + callConnectionId:callConnectionId, + recordingChannel: "unmixed", + recordingFormat: "wav", + recordingContent: "audio", + }; + + const recordingStateResult = await callerCallAutomationClient + .getCallRecording() + .start(recOptions); + + // Delay for 6 seconds, this is to let the recording state change to active + await new Promise((resolve) => setTimeout(resolve, 6000)); + const recStatus = await callerCallAutomationClient + .getCallRecording() + .getState(recordingStateResult.recordingId); + assert.equal(recStatus.recordingState, "active"); + await callerCallAutomationClient.getCallRecording().stop(recordingStateResult.recordingId); + }); }); From 434f9472f4833b083ce496b61207e25cb6c8ad56 Mon Sep 17 00:00:00 2001 From: Pilli Vamshi Date: Thu, 30 Jan 2025 17:04:37 +0530 Subject: [PATCH 16/16] conflicts resolved and record the live test. --- .../communication-call-automation/assets.json | 2 +- ...with_call_connection_id,_and_hangs_up.json | 534 ++++++++++++++++++ .../src/callRecording.ts | 4 +- .../generated/src/callAutomationApiClient.ts | 10 +- .../src/generated/src/index.ts | 8 +- .../src/generated/src/models/parameters.ts | 2 +- .../src/operations/callConnection.ts | 12 +- .../generated/src/operations/callDialog.ts | 10 +- .../src/generated/src/operations/callMedia.ts | 10 +- .../generated/src/operations/callRecording.ts | 10 +- .../src/generated/src/operations/index.ts | 8 +- .../operationsInterfaces/callConnection.ts | 2 +- .../src/operationsInterfaces/callDialog.ts | 2 +- .../src/operationsInterfaces/callMedia.ts | 2 +- .../src/operationsInterfaces/callRecording.ts | 2 +- .../src/operationsInterfaces/index.ts | 8 +- .../test/node/callRecordingClient.spec.ts | 140 ++--- 17 files changed, 654 insertions(+), 112 deletions(-) create mode 100644 sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording_with_call_connection_id,_and_hangs_up.json diff --git a/sdk/communication/communication-call-automation/assets.json b/sdk/communication/communication-call-automation/assets.json index 12cf6f0e94bd..22d92b9c7342 100644 --- a/sdk/communication/communication-call-automation/assets.json +++ b/sdk/communication/communication-call-automation/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "js", "TagPrefix": "js/communication/communication-call-automation", - "Tag": "js/communication/communication-call-automation_80bab71cb3" + "Tag": "js/communication/communication-call-automation_e06a56973f" } diff --git a/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording_with_call_connection_id,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording_with_call_connection_id,_and_hangs_up.json new file mode 100644 index 000000000000..f41472d649db --- /dev/null +++ b/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording_with_call_connection_id,_and_hangs_up.json @@ -0,0 +1,534 @@ +[ + { + "to": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "sanitized", + "communicationUser": { + "id": "sanitized" + } + }, + "serverCallId": "sanitized", + "callerDisplayName": "", + "incomingCallContext": "sanitized", + "correlationId": "d918e636-53c0-40e2-9e54-e7c6bdca79f9" + }, + [ + { + "id": "sanitized", + "source": "calling/callConnections/06002680-99cf-4b36-8fd4-7d73e8b116f3", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "recordingAnswer", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "06002680-99cf-4b36-8fd4-7d73e8b116f3", + "serverCallId": "sanitized", + "correlationId": "d918e636-53c0-40e2-9e54-e7c6bdca79f9", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2025-01-30T11:15:46.2216873+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/06002680-99cf-4b36-8fd4-7d73e8b116f3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/06002680-4476-432a-ad6a-f031b7a190f7", + "type": "Microsoft.Communication.CallConnected", + "data": { + "version": "2024-09-01-preview", + "operationContext": "recordingCreateCall", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "callConnectionId": "06002680-4476-432a-ad6a-f031b7a190f7", + "serverCallId": "sanitized", + "correlationId": "d918e636-53c0-40e2-9e54-e7c6bdca79f9", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2025-01-30T11:15:46.1738874+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/06002680-4476-432a-ad6a-f031b7a190f7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/06002680-99cf-4b36-8fd4-7d73e8b116f3", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "06002680-99cf-4b36-8fd4-7d73e8b116f3", + "serverCallId": "sanitized", + "correlationId": "d918e636-53c0-40e2-9e54-e7c6bdca79f9", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2025-01-30T11:15:46.2216873+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/06002680-99cf-4b36-8fd4-7d73e8b116f3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/06002680-4476-432a-ad6a-f031b7a190f7", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "06002680-4476-432a-ad6a-f031b7a190f7", + "serverCallId": "sanitized", + "correlationId": "d918e636-53c0-40e2-9e54-e7c6bdca79f9", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2025-01-30T11:15:46.1738874+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/06002680-4476-432a-ad6a-f031b7a190f7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/06002680-4476-432a-ad6a-f031b7a190f7", + "type": "Microsoft.Communication.PlayStarted", + "data": { + "version": "2024-09-01-preview", + "operationContext": "recordingPlay", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "callConnectionId": "06002680-4476-432a-ad6a-f031b7a190f7", + "serverCallId": "sanitized", + "correlationId": "d918e636-53c0-40e2-9e54-e7c6bdca79f9", + "publicEventType": "Microsoft.Communication.PlayStarted" + }, + "time": "2025-01-30T11:15:49.8394749+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/06002680-4476-432a-ad6a-f031b7a190f7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/06002680-99cf-4b36-8fd4-7d73e8b116f3", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "06002680-99cf-4b36-8fd4-7d73e8b116f3", + "serverCallId": "sanitized", + "correlationId": "d918e636-53c0-40e2-9e54-e7c6bdca79f9", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2025-01-30T11:15:50.1013889+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/06002680-99cf-4b36-8fd4-7d73e8b116f3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/06002680-4476-432a-ad6a-f031b7a190f7", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 3, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "06002680-4476-432a-ad6a-f031b7a190f7", + "serverCallId": "sanitized", + "correlationId": "d918e636-53c0-40e2-9e54-e7c6bdca79f9", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2025-01-30T11:15:50.1513655+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/06002680-4476-432a-ad6a-f031b7a190f7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/06002680-99cf-4b36-8fd4-7d73e8b116f3", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 4, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "06002680-99cf-4b36-8fd4-7d73e8b116f3", + "serverCallId": "sanitized", + "correlationId": "d918e636-53c0-40e2-9e54-e7c6bdca79f9", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2025-01-30T11:15:52.0435403+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/06002680-99cf-4b36-8fd4-7d73e8b116f3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/06002680-4476-432a-ad6a-f031b7a190f7", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 4, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "06002680-4476-432a-ad6a-f031b7a190f7", + "serverCallId": "sanitized", + "correlationId": "d918e636-53c0-40e2-9e54-e7c6bdca79f9", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2025-01-30T11:15:52.0435403+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/06002680-4476-432a-ad6a-f031b7a190f7" + } + ], + [ + { + "id": "sanitized", + "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZLVhWRVlGZHFVV3htOUlnM2o5LTNnP2k9MTAtNjAtMjgtMTY0JmU9NjM4NzM4MzA1NzI0MjQ2ODAz/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIwNjAwMjY4MC00NDc2LTQzMmEtYWQ2YS1mMDMxYjdhMTkwZjciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3MjVhNWRlMy1jNzc3LTQzMTgtOTZkZi05NzEzZTQ4M2QyNWQifQ/RecordingStateChanged", + "type": "Microsoft.Communication.RecordingStateChanged", + "data": { + "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZLVhWRVlGZHFVV3htOUlnM2o5LTNnP2k9MTAtNjAtMjgtMTY0JmU9NjM4NzM4MzA1NzI0MjQ2ODAz/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIwNjAwMjY4MC00NDc2LTQzMmEtYWQ2YS1mMDMxYjdhMTkwZjciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3MjVhNWRlMy1jNzc3LTQzMTgtOTZkZi05NzEzZTQ4M2QyNWQifQ/RecordingStateChanged", + "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIwNjAwMjY4MC00NDc2LTQzMmEtYWQ2YS1mMDMxYjdhMTkwZjciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3MjVhNWRlMy1jNzc3LTQzMTgtOTZkZi05NzEzZTQ4M2QyNWQifQ", + "state": "inactive", + "startDateTime": "0001-01-01T00:00:00+00:00", + "recordingKind": "azureCommunicationServices", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "06002680-4476-432a-ad6a-f031b7a190f7", + "serverCallId": "sanitized", + "correlationId": "d918e636-53c0-40e2-9e54-e7c6bdca79f9", + "publicEventType": "Microsoft.Communication.RecordingStateChanged" + }, + "time": "2025-01-30T11:15:52.0435403+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZLVhWRVlGZHFVV3htOUlnM2o5LTNnP2k9MTAtNjAtMjgtMTY0JmU9NjM4NzM4MzA1NzI0MjQ2ODAz/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIwNjAwMjY4MC00NDc2LTQzMmEtYWQ2YS1mMDMxYjdhMTkwZjciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3MjVhNWRlMy1jNzc3LTQzMTgtOTZkZi05NzEzZTQ4M2QyNWQifQ/RecordingStateChanged" + } + ], + [ + { + "id": "sanitized", + "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZLVhWRVlGZHFVV3htOUlnM2o5LTNnP2k9MTAtNjAtMjgtMTY0JmU9NjM4NzM4MzA1NzI0MjQ2ODAz/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIwNjAwMjY4MC00NDc2LTQzMmEtYWQ2YS1mMDMxYjdhMTkwZjciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3MjVhNWRlMy1jNzc3LTQzMTgtOTZkZi05NzEzZTQ4M2QyNWQifQ/RecordingStateChanged", + "type": "Microsoft.Communication.RecordingStateChanged", + "data": { + "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZLVhWRVlGZHFVV3htOUlnM2o5LTNnP2k9MTAtNjAtMjgtMTY0JmU9NjM4NzM4MzA1NzI0MjQ2ODAz/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIwNjAwMjY4MC00NDc2LTQzMmEtYWQ2YS1mMDMxYjdhMTkwZjciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3MjVhNWRlMy1jNzc3LTQzMTgtOTZkZi05NzEzZTQ4M2QyNWQifQ/RecordingStateChanged", + "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIwNjAwMjY4MC00NDc2LTQzMmEtYWQ2YS1mMDMxYjdhMTkwZjciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3MjVhNWRlMy1jNzc3LTQzMTgtOTZkZi05NzEzZTQ4M2QyNWQifQ", + "state": "active", + "startDateTime": "2025-01-30T11:15:51.7848036+00:00", + "recordingKind": "azureCommunicationServices", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "06002680-4476-432a-ad6a-f031b7a190f7", + "serverCallId": "sanitized", + "correlationId": "d918e636-53c0-40e2-9e54-e7c6bdca79f9", + "publicEventType": "Microsoft.Communication.RecordingStateChanged" + }, + "time": "2025-01-30T11:15:52.192133+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZLVhWRVlGZHFVV3htOUlnM2o5LTNnP2k9MTAtNjAtMjgtMTY0JmU9NjM4NzM4MzA1NzI0MjQ2ODAz/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIwNjAwMjY4MC00NDc2LTQzMmEtYWQ2YS1mMDMxYjdhMTkwZjciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3MjVhNWRlMy1jNzc3LTQzMTgtOTZkZi05NzEzZTQ4M2QyNWQifQ/RecordingStateChanged" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/06002680-99cf-4b36-8fd4-7d73e8b116f3", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "06002680-99cf-4b36-8fd4-7d73e8b116f3", + "serverCallId": "sanitized", + "correlationId": "d918e636-53c0-40e2-9e54-e7c6bdca79f9", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2025-01-30T11:15:52.4107033+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/06002680-99cf-4b36-8fd4-7d73e8b116f3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/06002680-4476-432a-ad6a-f031b7a190f7", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 7, + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "" + }, + "version": "2024-09-01-preview", + "callConnectionId": "06002680-4476-432a-ad6a-f031b7a190f7", + "serverCallId": "sanitized", + "correlationId": "d918e636-53c0-40e2-9e54-e7c6bdca79f9", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2025-01-30T11:15:52.4265845+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/06002680-4476-432a-ad6a-f031b7a190f7" + } + ] +] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/src/callRecording.ts b/sdk/communication/communication-call-automation/src/callRecording.ts index f8acc2930a7c..422f0d6cc3c6 100644 --- a/sdk/communication/communication-call-automation/src/callRecording.ts +++ b/sdk/communication/communication-call-automation/src/callRecording.ts @@ -62,7 +62,9 @@ export class CallRecording { startCallRecordingRequest.recordingStateCallbackUri = options.recordingStateCallbackEndpointUrl; startCallRecordingRequest.pauseOnStart = options.pauseOnStart; startCallRecordingRequest.recordingStorage = options.recordingStorage; - startCallRecordingRequest.callConnectionId = options.callConnectionId ? options.callConnectionId : undefined; + startCallRecordingRequest.callConnectionId = options.callConnectionId + ? options.callConnectionId + : undefined; if (options.channelAffinity) { startCallRecordingRequest.channelAffinity = []; diff --git a/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts b/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts index 14491fc07993..68a0c956cd2f 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/callAutomationApiClient.ts @@ -17,15 +17,15 @@ import { CallMediaImpl, CallDialogImpl, CallRecordingImpl, -} from "./operations"; +} from "./operations/index.js"; import { CallConnection, CallMedia, CallDialog, CallRecording, -} from "./operationsInterfaces"; -import * as Parameters from "./models/parameters"; -import * as Mappers from "./models/mappers"; +} from "./operationsInterfaces/index.js"; +import * as Parameters from "./models/parameters.js"; +import * as Mappers from "./models/mappers.js"; import { CallAutomationApiClientOptionalParams, CreateCallRequest, @@ -41,7 +41,7 @@ import { ConnectRequest, ConnectOptionalParams, ConnectResponse, -} from "./models"; +} from "./models/index.js"; export class CallAutomationApiClient extends coreClient.ServiceClient { endpoint: string; diff --git a/sdk/communication/communication-call-automation/src/generated/src/index.ts b/sdk/communication/communication-call-automation/src/generated/src/index.ts index 9e17818e8dd7..25051937501e 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/index.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/index.ts @@ -7,7 +7,7 @@ */ /// -export { getContinuationToken } from "./pagingHelper"; -export * from "./models"; -export { CallAutomationApiClient } from "./callAutomationApiClient"; -export * from "./operationsInterfaces"; +export { getContinuationToken } from "./pagingHelper.js"; +export * from "./models/index.js"; +export { CallAutomationApiClient } from "./callAutomationApiClient.js"; +export * from "./operationsInterfaces/index.js"; diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts b/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts index 9e53138fe68e..98fdbe715283 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts @@ -38,7 +38,7 @@ import { StartDialogRequest as StartDialogRequestMapper, UpdateDialogRequest as UpdateDialogRequestMapper, StartCallRecordingRequest as StartCallRecordingRequestMapper, -} from "../models/mappers"; +} from "../models/mappers.js"; export const contentType: OperationParameter = { parameterPath: ["options", "contentType"], diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts index e89f414a3dcb..3295556c3c06 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts @@ -7,12 +7,12 @@ */ import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; -import { setContinuationToken } from "../pagingHelper"; -import { CallConnection } from "../operationsInterfaces"; +import { setContinuationToken } from "../pagingHelper.js"; +import { CallConnection } from "../operationsInterfaces/index.js"; import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { CallAutomationApiClient } from "../callAutomationApiClient"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { CallAutomationApiClient } from "../callAutomationApiClient.js"; import { CallParticipantInternal, CallConnectionGetParticipantsNextOptionalParams, @@ -43,7 +43,7 @@ import { CallConnectionGetParticipantOptionalParams, CallConnectionGetParticipantResponse, CallConnectionGetParticipantsNextResponse, -} from "../models"; +} from "../models/index.js"; /// /** Class containing CallConnection operations. */ diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callDialog.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callDialog.ts index 02330c389d27..8d3a768299bb 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callDialog.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callDialog.ts @@ -6,11 +6,11 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { CallDialog } from "../operationsInterfaces"; +import { CallDialog } from "../operationsInterfaces/index.js"; import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { CallAutomationApiClient } from "../callAutomationApiClient"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { CallAutomationApiClient } from "../callAutomationApiClient.js"; import { StartDialogRequest, CallDialogStartDialogOptionalParams, @@ -18,7 +18,7 @@ import { CallDialogStopDialogOptionalParams, UpdateDialogRequest, CallDialogUpdateDialogOptionalParams, -} from "../models"; +} from "../models/index.js"; /** Class containing CallDialog operations. */ export class CallDialogImpl implements CallDialog { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts index 11b7a10a525f..6251f4dbc513 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts @@ -6,11 +6,11 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { CallMedia } from "../operationsInterfaces"; +import { CallMedia } from "../operationsInterfaces/index.js"; import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { CallAutomationApiClient } from "../callAutomationApiClient"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { CallAutomationApiClient } from "../callAutomationApiClient.js"; import { PlayRequest, CallMediaPlayOptionalParams, @@ -39,7 +39,7 @@ import { CallMediaStopMediaStreamingOptionalParams, InterruptAudioAndAnnounceRequest, CallMediaInterruptAudioAndAnnounceOptionalParams, -} from "../models"; +} from "../models/index.js"; /** Class containing CallMedia operations. */ export class CallMediaImpl implements CallMedia { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callRecording.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callRecording.ts index 91cfe0c71848..6be62ad44404 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callRecording.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callRecording.ts @@ -6,11 +6,11 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { CallRecording } from "../operationsInterfaces"; +import { CallRecording } from "../operationsInterfaces/index.js"; import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { CallAutomationApiClient } from "../callAutomationApiClient"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { CallAutomationApiClient } from "../callAutomationApiClient.js"; import { StartCallRecordingRequest, CallRecordingStartRecordingOptionalParams, @@ -20,7 +20,7 @@ import { CallRecordingStopRecordingOptionalParams, CallRecordingPauseRecordingOptionalParams, CallRecordingResumeRecordingOptionalParams, -} from "../models"; +} from "../models/index.js"; /** Class containing CallRecording operations. */ export class CallRecordingImpl implements CallRecording { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/index.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/index.ts index 0e60c378238d..829c6a0bef97 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/index.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/index.ts @@ -6,7 +6,7 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./callConnection"; -export * from "./callMedia"; -export * from "./callDialog"; -export * from "./callRecording"; +export * from "./callConnection.js"; +export * from "./callMedia.js"; +export * from "./callDialog.js"; +export * from "./callRecording.js"; diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callConnection.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callConnection.ts index d30fa55a519c..d9d034c6a22d 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callConnection.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callConnection.ts @@ -34,7 +34,7 @@ import { CallConnectionCancelAddParticipantResponse, CallConnectionGetParticipantOptionalParams, CallConnectionGetParticipantResponse, -} from "../models"; +} from "../models/index.js"; /// /** Interface representing a CallConnection. */ diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callDialog.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callDialog.ts index 4fccc524812b..9099de30b228 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callDialog.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callDialog.ts @@ -13,7 +13,7 @@ import { CallDialogStopDialogOptionalParams, UpdateDialogRequest, CallDialogUpdateDialogOptionalParams, -} from "../models"; +} from "../models/index.js"; /** Interface representing a CallDialog. */ export interface CallDialog { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts index 9d6a8e58b351..e8840f342b5c 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts @@ -34,7 +34,7 @@ import { CallMediaStopMediaStreamingOptionalParams, InterruptAudioAndAnnounceRequest, CallMediaInterruptAudioAndAnnounceOptionalParams, -} from "../models"; +} from "../models/index.js"; /** Interface representing a CallMedia. */ export interface CallMedia { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callRecording.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callRecording.ts index 4b783a500955..b4dd60293ae8 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callRecording.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callRecording.ts @@ -15,7 +15,7 @@ import { CallRecordingStopRecordingOptionalParams, CallRecordingPauseRecordingOptionalParams, CallRecordingResumeRecordingOptionalParams, -} from "../models"; +} from "../models/index.js"; /** Interface representing a CallRecording. */ export interface CallRecording { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/index.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/index.ts index 0e60c378238d..829c6a0bef97 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/index.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/index.ts @@ -6,7 +6,7 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./callConnection"; -export * from "./callMedia"; -export * from "./callDialog"; -export * from "./callRecording"; +export * from "./callConnection.js"; +export * from "./callMedia.js"; +export * from "./callDialog.js"; +export * from "./callRecording.js"; diff --git a/sdk/communication/communication-call-automation/test/node/callRecordingClient.spec.ts b/sdk/communication/communication-call-automation/test/node/callRecordingClient.spec.ts index 0dd920686cdf..9e880951765b 100644 --- a/sdk/communication/communication-call-automation/test/node/callRecordingClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/node/callRecordingClient.spec.ts @@ -192,7 +192,7 @@ describe("CallRecording Unit Tests", () => { const recOptions: StartRecordingOptions = { recordingStateCallbackEndpointUrl: CALL_CALLBACK_URL, - callConnectionId:CALL_CONNECTION_ID, + callConnectionId: CALL_CONNECTION_ID, recordingChannel: "unmixed", recordingFormat: "wav", recordingContent: "audio", @@ -317,72 +317,78 @@ describe("CallRecording Live Tests", () => { await callerCallAutomationClient.getCallRecording().stop(recordingStateResult.recordingId); }); - it("Creates a call, start recording with call connection id, and hangs up", { timeout: 60000 }, async function (ctx) { - const fullTitle: string | undefined = - ctx.task.suite && ctx.task.suite.name && ctx.task.name - ? `${ctx.task.suite.name} ${ctx.task.name}` - : undefined; - testName = fullTitle ? fullTitle.replace(/ /g, "_") : "create_call_start_recording_and_hang_up"; - await loadPersistedEvents(testName); - - const callInvite: CallInvite = { targetParticipant: testUser2 }; - const uniqueId = await serviceBusWithNewCall(testUser, testUser2); - const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; - const createCallOption: CreateCallOptions = { operationContext: "recordingCreateCall" }; - - const result = await callerCallAutomationClient.createCall( - callInvite, - callBackUrl, - createCallOption, - ); - const incomingCallContext = await waitForIncomingCallContext(uniqueId, 8000); - const callConnectionId: string = result.callConnectionProperties.callConnectionId - ? result.callConnectionProperties.callConnectionId - : ""; - assert.isDefined(incomingCallContext); - - if (incomingCallContext) { - const answerCallOption: AnswerCallOptions = { operationContext: "recordingAnswer" }; - await receiverCallAutomationClient.answerCall( - incomingCallContext, + it( + "Creates a call, start recording with call connection id, and hangs up", + { timeout: 60000 }, + async function (ctx) { + const fullTitle: string | undefined = + ctx.task.suite && ctx.task.suite.name && ctx.task.name + ? `${ctx.task.suite.name} ${ctx.task.name}` + : undefined; + testName = fullTitle + ? fullTitle.replace(/ /g, "_") + : "create_call_start_recording_and_hang_up"; + await loadPersistedEvents(testName); + + const callInvite: CallInvite = { targetParticipant: testUser2 }; + const uniqueId = await serviceBusWithNewCall(testUser, testUser2); + const callBackUrl: string = dispatcherCallback + `?q=${uniqueId}`; + const createCallOption: CreateCallOptions = { operationContext: "recordingCreateCall" }; + + const result = await callerCallAutomationClient.createCall( + callInvite, callBackUrl, - answerCallOption, + createCallOption, ); - } - const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); - - assert.isDefined(callConnectedEvent); - callConnection = result.callConnection; - - const playSource: FileSource[] = [ - { - url: fileSourceUrl, - kind: "fileSource", - }, - ]; - - // Call recording can fail when no audio is in call, we will play audio to avoid that. - const playToAllOptions: PlayOptions = { operationContext: "recordingPlay" }; - await callConnection.getCallMedia().playToAll(playSource, playToAllOptions); - - const recOptions: StartRecordingOptions = { - recordingStateCallbackEndpointUrl: callBackUrl, - callConnectionId:callConnectionId, - recordingChannel: "unmixed", - recordingFormat: "wav", - recordingContent: "audio", - }; - - const recordingStateResult = await callerCallAutomationClient - .getCallRecording() - .start(recOptions); - - // Delay for 6 seconds, this is to let the recording state change to active - await new Promise((resolve) => setTimeout(resolve, 6000)); - const recStatus = await callerCallAutomationClient - .getCallRecording() - .getState(recordingStateResult.recordingId); - assert.equal(recStatus.recordingState, "active"); - await callerCallAutomationClient.getCallRecording().stop(recordingStateResult.recordingId); - }); + const incomingCallContext = await waitForIncomingCallContext(uniqueId, 8000); + const callConnectionId: string = result.callConnectionProperties.callConnectionId + ? result.callConnectionProperties.callConnectionId + : ""; + assert.isDefined(incomingCallContext); + + if (incomingCallContext) { + const answerCallOption: AnswerCallOptions = { operationContext: "recordingAnswer" }; + await receiverCallAutomationClient.answerCall( + incomingCallContext, + callBackUrl, + answerCallOption, + ); + } + const callConnectedEvent = await waitForEvent("CallConnected", callConnectionId, 8000); + + assert.isDefined(callConnectedEvent); + callConnection = result.callConnection; + + const playSource: FileSource[] = [ + { + url: fileSourceUrl, + kind: "fileSource", + }, + ]; + + // Call recording can fail when no audio is in call, we will play audio to avoid that. + const playToAllOptions: PlayOptions = { operationContext: "recordingPlay" }; + await callConnection.getCallMedia().playToAll(playSource, playToAllOptions); + + const recOptions: StartRecordingOptions = { + recordingStateCallbackEndpointUrl: callBackUrl, + callConnectionId: callConnectionId, + recordingChannel: "unmixed", + recordingFormat: "wav", + recordingContent: "audio", + }; + + const recordingStateResult = await callerCallAutomationClient + .getCallRecording() + .start(recOptions); + + // Delay for 6 seconds, this is to let the recording state change to active + await new Promise((resolve) => setTimeout(resolve, 6000)); + const recStatus = await callerCallAutomationClient + .getCallRecording() + .getState(recordingStateResult.recordingId); + assert.equal(recStatus.recordingState, "active"); + await callerCallAutomationClient.getCallRecording().stop(recordingStateResult.recordingId); + }, + ); });