diff --git a/sdk/communication/Azure.Communication.CallAutomation/CHANGELOG.md b/sdk/communication/Azure.Communication.CallAutomation/CHANGELOG.md index 651ff2930694..edef34ff83d4 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/CHANGELOG.md +++ b/sdk/communication/Azure.Communication.CallAutomation/CHANGELOG.md @@ -1,77 +1,44 @@ # Release History -## 1.5.0-beta.1 (Unreleased) +## 1.2.0-beta.1 (Unreleased) ### Features Added - -- Added support for post-call processing options, including summarization and transcription. +- The StartRecording function now accepts the PauseOnStart parameter. +- Added support for CreateCallFailed and AnswerCallFailed events. +- Enabled audio streaming support for various APIs such as CreateCall, AnswerCall, CreateGroupCall, and ConnectCall. + - Receive events for audio streaming, including MediaStreamStarted, MediaStreamStopped, and MediaStreamFailed. +- Enhanced media streaming with bidirectional capabilities, supporting audio formats in both directions. Currently, it supports sample rates of 24kHz and 16kHz. +- Added support to manage rooms, server calls, and group calls using the ConnectAPI. + - Receive events for CallConnected and ConnectFailed. +- Added support for ConnectAPI to enable streaming and real-time transcription. +- Added the ability to hold and unhold participants. + - Ability to hold participants with a play source. +- The new InterruptAudioAnnounce API now allows for the interruption of hold audio +- With the InterruptHoldAudio option in PlayOptions, it is now possible to interrupt the hold audio. +- Events now include ResultInformation, which provides more details on the success or failure of the events. +- Added support for Teams multipersona users in add participant, transfer, and redirect scenarios in OPS calls +- Added ability to send custom calling context when answering calls +- Added TeamsAppSource for use when creating outbound OPS calls +- Recording with the call connection ID is now supported. OPS calls can be recorded using the call connection ID. +- Added a backup identifier of the Cognitive Service resource for the call +- Added Incomingcall event to support incoming call notification for Teams multipersona users +- Added StartRecordingFailed event to indicate when the start recording API is unable to initiate the recording. ### Breaking Changes ### Bugs Fixed +- Media streaming with AudioFormat default Pcm24kMono is removed and changed to null if AudioFormat is not passed. ### Other Changes +- Introduced audio streaming data parsing capabilities. +- Note: The ordering of the events input parameters has been changed. This modification won't affect existing code, but if you have used unit tests for the events, you may need to update the parameter order accordingly. -## 1.4.0-beta.1 (2024-11-22) - -### Features Added - -- 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 - -### 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-10-28) - -### Features Added - -- Added CreateCallFailed event to signify when create call API fails to establish a call - -## 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 +### Breaking Changes -- Support for Bring Your Own Storage recording option -- Support for PauseOnStart recording option -- Support for Recording state change with new recording kind's +### Bugs Fixed ### Other Changes -- Support for MicrosoftTeamsAppIdentifier CommunicationIdentifier - ## 1.1.0 (2023-11-23) ### Features Added diff --git a/sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.net8.0.cs b/sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.net8.0.cs index 2273a78f16fc..e1ae6b5642af 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.net8.0.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.net8.0.cs @@ -116,14 +116,6 @@ internal AzureCommunicationCallAutomationContext() { } public static Azure.Communication.CallAutomation.AzureCommunicationCallAutomationContext Default { get { throw null; } } protected override bool TryGetTypeBuilderCore(System.Type type, out System.ClientModel.Primitives.ModelReaderWriterTypeBuilder builder) { throw null; } } - public partial class AzureOpenAIDialog : Azure.Communication.CallAutomation.BaseDialog - { - public AzureOpenAIDialog(System.Collections.Generic.IDictionary context) : base (default(System.Collections.Generic.IDictionary)) { } - } - public partial class AzureOpenAIDialogUpdate : Azure.Communication.CallAutomation.DialogUpdateBase - { - public AzureOpenAIDialogUpdate(System.Collections.Generic.IDictionary context) { } - } public abstract partial class BaseDialog { protected BaseDialog(System.Collections.Generic.IDictionary context) { } @@ -166,15 +158,13 @@ public CallAutomationClient(System.Uri pmaEndpoint, System.Uri acsEndpoint, Azur } public partial class CallAutomationClientOptions : Azure.Core.ClientOptions { - public CallAutomationClientOptions(Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion version = Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion.V2024_09_01_Preview) { } + public CallAutomationClientOptions(Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion version = Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion.V2024_01_22_Preview) { } public Azure.Communication.CommunicationUserIdentifier Source { get { throw null; } set { } } public enum ServiceVersion { V2023_03_06 = 1, - V2023_06_15_Preview = 2, - V2023_10_15 = 3, - V2023_10_03_Preview = 4, - V2024_09_01_Preview = 5, + V2023_10_15 = 2, + V2024_01_22_Preview = 3, } } public abstract partial class CallAutomationEventBase @@ -214,7 +204,7 @@ public static partial class CallAutomationModelFactory public static Azure.Communication.CallAutomation.AnswerCallResult AnswerCallResult(Azure.Communication.CallAutomation.CallConnection callConnection = null, Azure.Communication.CallAutomation.CallConnectionProperties callConnectionProperties = null) { throw null; } public static Azure.Communication.CallAutomation.AnswerFailed AnswerFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string operationContext = null) { throw null; } public static Azure.Communication.CallAutomation.CallConnected CallConnected(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } - public static Azure.Communication.CallAutomation.CallConnectionProperties CallConnectionProperties(string callConnectionId = null, string serverCallId = null, System.Collections.Generic.IEnumerable targets = null, Azure.Communication.CallAutomation.CallConnectionState callConnectionState = default(Azure.Communication.CallAutomation.CallConnectionState), System.Uri callbackUri = null, Azure.Communication.CommunicationIdentifier sourceIdentity = null, Azure.Communication.PhoneNumberIdentifier sourceCallerIdNumber = null, string sourceDisplayName = null, Azure.Communication.CommunicationUserIdentifier answeredBy = null, Azure.Communication.CallAutomation.MediaStreamingSubscription mediaStreamingSubscription = null, Azure.Communication.CallAutomation.TranscriptionSubscription transcriptionSubscription = null, Azure.Communication.PhoneNumberIdentifier answeredFor = null) { throw null; } + public static Azure.Communication.CallAutomation.CallConnectionProperties CallConnectionProperties(string callConnectionId = null, string serverCallId = null, System.Collections.Generic.IEnumerable targets = null, Azure.Communication.CallAutomation.CallConnectionState callConnectionState = default(Azure.Communication.CallAutomation.CallConnectionState), System.Uri callbackUri = null, Azure.Communication.CommunicationIdentifier sourceIdentity = null, Azure.Communication.PhoneNumberIdentifier sourceCallerIdNumber = null, string sourceDisplayName = null, Azure.Communication.CommunicationUserIdentifier answeredBy = null, string dataSubscriptionId = null, Azure.Communication.CallAutomation.MediaStreamingSubscription mediaStreamingSubscription = null) { throw null; } public static Azure.Communication.CallAutomation.CallDisconnected CallDisconnected(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.CallParticipant CallParticipant(Azure.Communication.CommunicationIdentifier identifier = null, bool isMuted = false, bool isOnHold = false) { throw null; } public static Azure.Communication.CallAutomation.CallTransferAccepted CallTransferAccepted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CommunicationIdentifier transferee = null, Azure.Communication.CommunicationIdentifier transferTarget = null) { throw null; } @@ -223,39 +213,36 @@ public static partial class CallAutomationModelFactory public static Azure.Communication.CallAutomation.CancelAddParticipantOperationResult CancelAddParticipantResult(string invitationId = null, string operationContext = null) { throw null; } public static Azure.Communication.CallAutomation.CancelAddParticipantSucceeded CancelAddParticipantSucceeded(string callConnectionId = null, string serverCallId = null, string correlationId = null, string invitationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.ChoiceResult ChoiceResult(string label = null, string recognizedPhrase = null) { throw null; } + public static Azure.Communication.CallAutomation.ConnectFailed ConnectFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.ContinuousDtmfRecognitionStopped ContinuousDtmfRecognitionStopped(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.ContinuousDtmfRecognitionToneFailed ContinuousDtmfRecognitionToneFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string operationContext = null) { throw null; } - public static Azure.Communication.CallAutomation.ContinuousDtmfRecognitionToneReceived ContinuousDtmfRecognitionToneReceived(int? sequenceId = default(int?), Azure.Communication.CallAutomation.DtmfTone? tone = default(Azure.Communication.CallAutomation.DtmfTone?), string callConnectionId = null, string serverCallId = null, string correlationId = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string operationContext = null) { throw null; } + public static Azure.Communication.CallAutomation.ContinuousDtmfRecognitionToneReceived ContinuousDtmfRecognitionToneReceived(Azure.Communication.CallAutomation.ResultInformation resultInformation = null, int? sequenceId = default(int?), Azure.Communication.CallAutomation.DtmfTone? tone = default(Azure.Communication.CallAutomation.DtmfTone?), string operationContext = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } public static Azure.Communication.CallAutomation.CreateCallFailed CreateCallFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string operationContext = null) { throw null; } public static Azure.Communication.CallAutomation.CreateCallResult CreateCallResult(Azure.Communication.CallAutomation.CallConnection callConnection = null, Azure.Communication.CallAutomation.CallConnectionProperties callConnectionProperties = null) { throw null; } public static Azure.Communication.CallAutomation.DtmfResult DtmfResult(System.Collections.Generic.IEnumerable tones = null) { throw null; } - public static Azure.Communication.CallAutomation.ErrorDetails ErrorDetails(string code = null, string message = null, Azure.Communication.CallAutomation.ErrorDetails innerError = null) { throw null; } public static Azure.Communication.CallAutomation.HoldAudioCompleted HoldAudioCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.HoldAudioPaused HoldAudioPaused(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.HoldAudioResumed HoldAudioResumed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.HoldAudioStarted HoldAudioStarted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.HoldFailed HoldFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.IncomingCall IncomingCall(Azure.Communication.CommunicationIdentifier to = null, Azure.Communication.CommunicationIdentifier from = null, string callerDisplayName = null, string serverCallId = null, Azure.Communication.CallAutomation.CustomCallingContext customContext = null, string incomingCallContext = null, Azure.Communication.CommunicationIdentifier onBehalfOfCallee = null, string correlationId = null) { throw null; } - public static Azure.Communication.CallAutomation.MediaStreamingFailed MediaStreamingFailed(Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } - public static Azure.Communication.CallAutomation.MediaStreamingStarted MediaStreamingStarted(Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } - public static Azure.Communication.CallAutomation.MediaStreamingStopped MediaStreamingStopped(Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } - public static Azure.Communication.CallAutomation.MediaStreamingUpdate MediaStreamingUpdate(string contentType = null, Azure.Communication.CallAutomation.MediaStreamingStatus? mediaStreamingStatus = default(Azure.Communication.CallAutomation.MediaStreamingStatus?), Azure.Communication.CallAutomation.MediaStreamingStatusDetails? mediaStreamingStatusDetails = default(Azure.Communication.CallAutomation.MediaStreamingStatusDetails?)) { throw null; } + public static Azure.Communication.CallAutomation.MediaStreamingFailed MediaStreamingFailed(Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } + public static Azure.Communication.CallAutomation.MediaStreamingStarted MediaStreamingStarted(Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } + public static Azure.Communication.CallAutomation.MediaStreamingStopped MediaStreamingStopped(Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } + public static Azure.Communication.CallAutomation.MediaStreamingUpdate MediaStreamingUpdate(string contentType = null, Azure.Communication.CallAutomation.MediaStreamingStatus mediaStreamingStatus = default(Azure.Communication.CallAutomation.MediaStreamingStatus), Azure.Communication.CallAutomation.MediaStreamingStatusDetails mediaStreamingStatusDetails = default(Azure.Communication.CallAutomation.MediaStreamingStatusDetails)) { throw null; } public static Azure.Communication.CallAutomation.MuteParticipantResult MuteParticipantResult(string operationContext = null) { throw null; } public static Azure.Communication.CallAutomation.ParticipantsUpdated ParticipantsUpdated(string callConnectionId = null, string serverCallId = null, string correlationId = null, System.Collections.Generic.IEnumerable participants = null, int sequenceNumber = 0, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.PlayCanceled PlayCanceled(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.PlayCompleted PlayCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } - public static Azure.Communication.CallAutomation.PlayFailed PlayFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, int? failedPlaySourceIndex = default(int?)) { throw null; } + public static Azure.Communication.CallAutomation.PlayFailed PlayFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.PlayPaused PlayPaused(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.PlayResumed PlayResumed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.PlayStarted PlayStarted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.RecognizeCanceled RecognizeCanceled(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.RecognizeCompleted RecognizeCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CallAutomation.CallMediaRecognitionType recognitionType = default(Azure.Communication.CallAutomation.CallMediaRecognitionType), Azure.Communication.CallAutomation.RecognizeResult recognizeResult = null) { throw null; } - public static Azure.Communication.CallAutomation.RecognizeFailed RecognizeFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, int? failedPlaySourceIndex = default(int?)) { throw null; } - public static Azure.Communication.CallAutomation.RecordingChunkStorageInfo RecordingChunkStorageInfo(string documentId = null, int? index = default(int?), Azure.Communication.CallAutomation.ChunkEndReason? endReason = default(Azure.Communication.CallAutomation.ChunkEndReason?), string contentLocation = null, string metadataLocation = null, string deleteLocation = null) { throw null; } - public static Azure.Communication.CallAutomation.RecordingResult RecordingResult(string recordingId = null, Azure.Communication.CallAutomation.RecordingStorageInfo recordingStorageInfo = null, System.Collections.Generic.IEnumerable errors = null, System.DateTimeOffset? recordingStartTime = default(System.DateTimeOffset?), long? recordingDurationMs = default(long?), Azure.Communication.CallAutomation.CallSessionEndReason? sessionEndReason = default(Azure.Communication.CallAutomation.CallSessionEndReason?), System.DateTimeOffset? recordingExpirationTime = default(System.DateTimeOffset?)) { throw null; } - public static Azure.Communication.CallAutomation.RecordingStateChanged RecordingStateChanged(string callConnectionId = null, string serverCallId = null, string correlationId = null, string recordingId = null, Azure.Communication.CallAutomation.RecordingState state = default(Azure.Communication.CallAutomation.RecordingState), System.DateTimeOffset? startDateTime = default(System.DateTimeOffset?), Azure.Communication.CallAutomation.RecordingKind? recordingKind = default(Azure.Communication.CallAutomation.RecordingKind?), Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } + public static Azure.Communication.CallAutomation.RecognizeFailed RecognizeFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } + public static Azure.Communication.CallAutomation.RecordingStateChanged RecordingStateChanged(string recordingId = null, Azure.Communication.CallAutomation.RecordingState state = default(Azure.Communication.CallAutomation.RecordingState), System.DateTimeOffset? startDateTime = default(System.DateTimeOffset?), Azure.Communication.CallAutomation.RecordingKind? recordingKind = default(Azure.Communication.CallAutomation.RecordingKind?), string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } public static Azure.Communication.CallAutomation.RecordingStateResult RecordingStateResult(string recordingId = null, Azure.Communication.CallAutomation.RecordingState? recordingState = default(Azure.Communication.CallAutomation.RecordingState?), Azure.Communication.CallAutomation.RecordingKind? recordingKind = default(Azure.Communication.CallAutomation.RecordingKind?)) { throw null; } - public static Azure.Communication.CallAutomation.RecordingStorageInfo RecordingStorageInfo(System.Collections.Generic.IEnumerable recordingChunks = null) { throw null; } public static Azure.Communication.CallAutomation.RemoveParticipantFailed RemoveParticipantFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CommunicationIdentifier participant = null) { throw null; } public static Azure.Communication.CallAutomation.RemoveParticipantResult RemoveParticipantResult(string operationContext = null) { throw null; } public static Azure.Communication.CallAutomation.RemoveParticipantSucceeded RemoveParticipantSucceeded(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CommunicationIdentifier participant = null) { throw null; } @@ -263,15 +250,14 @@ public static partial class CallAutomationModelFactory public static Azure.Communication.CallAutomation.SendDtmfTonesCompleted SendDtmfTonesCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.SendDtmfTonesFailed SendDtmfTonesFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.SendDtmfTonesResult SendDtmfTonesResult(string operationContext = null) { throw null; } - public static Azure.Communication.CallAutomation.SpeechResult SpeechResult(string speech = null, double? confidence = default(double?)) { throw null; } - public static Azure.Communication.CallAutomation.StartRecordingFailed StartRecordingFailed(string callConnectionId = null, string correlationId = null, string recordingId = null) { throw null; } - public static Azure.Communication.CallAutomation.TranscriptionFailed TranscriptionFailed(Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } - public static Azure.Communication.CallAutomation.TranscriptionStarted TranscriptionStarted(Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } - public static Azure.Communication.CallAutomation.TranscriptionStopped TranscriptionStopped(Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } + public static Azure.Communication.CallAutomation.SpeechResult SpeechResult(string speech = null) { throw null; } + public static Azure.Communication.CallAutomation.StartRecordingFailed StartRecordingFailed(string recordingId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } + public static Azure.Communication.CallAutomation.TranscriptionFailed TranscriptionFailed(string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } + public static Azure.Communication.CallAutomation.TranscriptionStarted TranscriptionStarted(string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } + public static Azure.Communication.CallAutomation.TranscriptionStopped TranscriptionStopped(string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } public static Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdate(Azure.Communication.CallAutomation.TranscriptionStatus? transcriptionStatus = default(Azure.Communication.CallAutomation.TranscriptionStatus?), Azure.Communication.CallAutomation.TranscriptionStatusDetails? transcriptionStatusDetails = default(Azure.Communication.CallAutomation.TranscriptionStatusDetails?)) { throw null; } - public static Azure.Communication.CallAutomation.TranscriptionUpdated TranscriptionUpdated(Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } + public static Azure.Communication.CallAutomation.TranscriptionUpdated TranscriptionUpdated(string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } public static Azure.Communication.CallAutomation.TransferCallToParticipantResult TransferCallToParticipantResult(string operationContext = null) { throw null; } - public static Azure.Communication.CallAutomation.UnmuteParticipantResult UnmuteParticipantResult(string operationContext = null) { throw null; } public static Azure.Communication.CallAutomation.UserConsent UserConsent(int? recording = default(int?)) { throw null; } } public partial class CallConnected : Azure.Communication.CallAutomation.CallAutomationEventBase @@ -317,27 +303,22 @@ protected CallConnection() { } public virtual Azure.Response TransferCallToParticipant(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> TransferCallToParticipantAsync(Azure.Communication.CallAutomation.TransferToParticipantOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> TransferCallToParticipantAsync(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UnmuteParticipant(Azure.Communication.CallAutomation.UnmuteParticipantOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UnmuteParticipant(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UnmuteParticipantAsync(Azure.Communication.CallAutomation.UnmuteParticipantOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UnmuteParticipantAsync(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class CallConnectionProperties { internal CallConnectionProperties() { } public Azure.Communication.CommunicationUserIdentifier AnsweredBy { get { throw null; } } - public Azure.Communication.PhoneNumberIdentifier AnsweredFor { get { throw null; } } public System.Uri CallbackUri { get { throw null; } } public string CallConnectionId { get { throw null; } } public Azure.Communication.CallAutomation.CallConnectionState CallConnectionState { get { throw null; } } public string CorrelationId { get { throw null; } } + public string DataSubscriptionId { get { throw null; } } public Azure.Communication.CallAutomation.MediaStreamingSubscription MediaStreamingSubscription { get { throw null; } } public string ServerCallId { get { throw null; } } public Azure.Communication.CommunicationIdentifier Source { get { throw null; } } public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } } public string SourceDisplayName { get { throw null; } } public System.Collections.Generic.IReadOnlyList Targets { get { throw null; } } - public Azure.Communication.CallAutomation.TranscriptionSubscription TranscriptionSubscription { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CallConnectionState : System.IEquatable @@ -366,12 +347,10 @@ public partial class CallDialog { protected CallDialog() { } public virtual string CallConnectionId { get { throw null; } } - public virtual Azure.Response StartDialog(Azure.Communication.CallAutomation.StartDialogOptions startDialog, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> StartDialogAsync(Azure.Communication.CallAutomation.StartDialogOptions startDialogOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response StopDialog(string dialogId, System.Uri operationCallbackUri = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> StopDialogAsync(string dialogId, System.Uri operationCallbackUri = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateDialog(Azure.Communication.CallAutomation.UpdateDialogOptions updateDialogOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task UpdateDialogAsync(Azure.Communication.CallAutomation.UpdateDialogOptions updateDialogOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response StartDialog(Azure.Communication.CallAutomation.StartDialog startDialog, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> StartDialogAsync(Azure.Communication.CallAutomation.StartDialog StartDialog, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response StopDialog(string dialogId, string operationCallbackUri = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> StopDialogAsync(string dialogId, string operationCallbackUri = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class CallDisconnected : Azure.Communication.CallAutomation.CallAutomationEventBase { @@ -390,6 +369,7 @@ public CallInvite(Azure.Communication.CommunicationUserIdentifier targetIdentity public CallInvite(Azure.Communication.MicrosoftTeamsAppIdentifier targetIdentity) { } public CallInvite(Azure.Communication.MicrosoftTeamsUserIdentifier targetIdentity) { } public CallInvite(Azure.Communication.PhoneNumberIdentifier targetPhoneNumberIdentity, Azure.Communication.PhoneNumberIdentifier callerIdNumber) { } + public CallInvite(Azure.Communication.TeamsExtensionUserIdentifier targetIdentity) { } public Azure.Communication.CallAutomation.CustomCallingContext CustomCallingContext { get { throw null; } } public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } set { } } public string SourceDisplayName { get { throw null; } set { } } @@ -409,26 +389,18 @@ protected CallMedia() { } public virtual string CallConnectionId { get { throw null; } } public virtual Azure.Response CancelAllMediaOperations(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CancelAllMediaOperationsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Hold(Azure.Communication.CallAutomation.HoldOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Hold(Azure.Communication.CommunicationIdentifier targetParticipant, Azure.Communication.CallAutomation.PlaySource playSource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Hold(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task HoldAsync(Azure.Communication.CallAutomation.HoldOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task HoldAsync(Azure.Communication.CommunicationIdentifier targetParticipant, Azure.Communication.CallAutomation.PlaySource playSource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task HoldAsync(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Hold(Azure.Communication.CallAutomation.HoldOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> HoldAsync(Azure.Communication.CallAutomation.HoldOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response InterruptAudioAndAnnounce(Azure.Communication.CallAutomation.InterruptAudioAndAnnounceOptions announcementOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> InterruptAudioAndAnnounceAsync(Azure.Communication.CallAutomation.InterruptAudioAndAnnounceOptions announcementOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Play(Azure.Communication.CallAutomation.PlayOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Play(Azure.Communication.CallAutomation.PlaySource playSource, System.Collections.Generic.IEnumerable playTo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Play(System.Collections.Generic.IEnumerable playSources, System.Collections.Generic.IEnumerable playTo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> PlayAsync(Azure.Communication.CallAutomation.PlayOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> PlayAsync(Azure.Communication.CallAutomation.PlaySource playSource, System.Collections.Generic.IEnumerable playTo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> PlayAsync(System.Collections.Generic.IEnumerable playSources, System.Collections.Generic.IEnumerable playTo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response PlayToAll(Azure.Communication.CallAutomation.PlaySource playSource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response PlayToAll(Azure.Communication.CallAutomation.PlayToAllOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response PlayToAll(System.Collections.Generic.IEnumerable playSources, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> PlayToAllAsync(Azure.Communication.CallAutomation.PlaySource playSource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> PlayToAllAsync(Azure.Communication.CallAutomation.PlayToAllOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> PlayToAllAsync(System.Collections.Generic.IEnumerable playSources, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response SendDtmfTones(Azure.Communication.CallAutomation.SendDtmfTonesOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response SendDtmfTones(System.Collections.Generic.IEnumerable tones, Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SendDtmfTonesAsync(Azure.Communication.CallAutomation.SendDtmfTonesOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -451,13 +423,9 @@ protected CallMedia() { } public virtual System.Threading.Tasks.Task StopMediaStreamingAsync(Azure.Communication.CallAutomation.StopMediaStreamingOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response StopTranscription(Azure.Communication.CallAutomation.StopTranscriptionOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StopTranscriptionAsync(Azure.Communication.CallAutomation.StopTranscriptionOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Unhold(Azure.Communication.CallAutomation.UnholdOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Unhold(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task UnholdAsync(Azure.Communication.CallAutomation.UnholdOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task UnholdAsync(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTranscription(Azure.Communication.CallAutomation.UpdateTranscriptionOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task UpdateTranscription(string locale, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task UpdateTranscriptionAsync(Azure.Communication.CallAutomation.UpdateTranscriptionOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Unhold(Azure.Communication.CallAutomation.UnholdOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UnholdAsync(Azure.Communication.CallAutomation.UnholdOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTranscription(string locale, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateTranscriptionAsync(string locale, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -500,7 +468,6 @@ protected CallMediaRecognizeOptions(Azure.Communication.CallAutomation.Recognize public bool InterruptPrompt { get { throw null; } set { } } public System.Uri OperationCallbackUri { get { throw null; } set { } } public string OperationContext { get { throw null; } set { } } - public System.Collections.Generic.IList PlayPrompts { get { throw null; } set { } } public Azure.Communication.CallAutomation.PlaySource Prompt { get { throw null; } set { } } public string SpeechLanguage { get { throw null; } set { } } public string SpeechModelEndpointId { get { throw null; } set { } } @@ -537,8 +504,6 @@ protected CallRecording() { } public virtual Azure.Response DownloadTo(System.Uri sourceLocation, string destinationPath, Azure.Communication.CallAutomation.ContentTransferOptions transferOptions = default(Azure.Communication.CallAutomation.ContentTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DownloadToAsync(System.Uri sourceLocation, System.IO.Stream destinationStream, Azure.Communication.CallAutomation.ContentTransferOptions transferOptions = default(Azure.Communication.CallAutomation.ContentTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DownloadToAsync(System.Uri sourceLocation, string destinationPath, Azure.Communication.CallAutomation.ContentTransferOptions transferOptions = default(Azure.Communication.CallAutomation.ContentTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetRecording(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetRecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetState(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetStateAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Pause(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -569,48 +534,6 @@ protected CallRecording() { } public static bool operator !=(Azure.Communication.CallAutomation.CallRejectReason left, Azure.Communication.CallAutomation.CallRejectReason right) { throw null; } public override string ToString() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct CallSessionEndReason : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public CallSessionEndReason(string value) { throw null; } - public static Azure.Communication.CallAutomation.CallSessionEndReason AllInstancesBusy { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason AppHostedMediaFailureOutcomeGracefully { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason AppHostedMediaFailureOutcomeWithError { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason AudioStreamFailure { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason CallEnded { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason CallStartTimeout { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason ChunkCreationFailed { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason CouldNotRejoinCall { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason CouldNotStart { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason HandedOverDueToAudioStreamFailure { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason HandedOverDueToChunkCreationFailure { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason HandedOverDueToMediaTimeout { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason HandedOverDueToProcessingTimeout { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason HandedOverOrTransfered { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason InitiatorLeft { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason InvalidBotData { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason MaximumSessionTimeReached { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason MediaTimeout { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason ProcessingTimeout { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason ReportCallStateFailed { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason ReportCallStateFailedAndSessionMustBeDiscarded { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason SessionStillOngoing { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason SpeechRecognitionSessionNonRetriableError { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason SpeechRecognitionSessionRetriableErrorMaxRetryCountReached { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason TeamsTokenConversionFailed { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason TranscriptObjectCreationFailed { get { throw null; } } - public bool Equals(Azure.Communication.CallAutomation.CallSessionEndReason other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Communication.CallAutomation.CallSessionEndReason left, Azure.Communication.CallAutomation.CallSessionEndReason right) { throw null; } - public static implicit operator Azure.Communication.CallAutomation.CallSessionEndReason (string value) { throw null; } - public static bool operator !=(Azure.Communication.CallAutomation.CallSessionEndReason left, Azure.Communication.CallAutomation.CallSessionEndReason right) { throw null; } - public override string ToString() { throw null; } - } public partial class CallTransferAccepted : Azure.Communication.CallAutomation.CallAutomationEventBase { internal CallTransferAccepted() { } @@ -627,9 +550,7 @@ public partial class CancelAddParticipantEventResult { internal CancelAddParticipantEventResult() { } public Azure.Communication.CallAutomation.CancelAddParticipantFailed FailureResult { get { throw null; } } - public string InvitationId { get { throw null; } } public bool IsSuccess { get { throw null; } } - public Azure.Communication.CommunicationIdentifier Participant { get { throw null; } } public Azure.Communication.CallAutomation.CancelAddParticipantSucceeded SuccessResult { get { throw null; } } } public partial class CancelAddParticipantFailed : Azure.Communication.CallAutomation.CallAutomationEventBase @@ -685,27 +606,6 @@ internal ChoiceResult() { } public string RecognizedPhrase { get { throw null; } } public override Azure.Communication.CallAutomation.RecognizeResultType ResultType { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct ChunkEndReason : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public ChunkEndReason(string value) { throw null; } - public static Azure.Communication.CallAutomation.ChunkEndReason ChunkIsBeingRecorded { get { throw null; } } - public static Azure.Communication.CallAutomation.ChunkEndReason ChunkMaximumSizeExceeded { get { throw null; } } - public static Azure.Communication.CallAutomation.ChunkEndReason ChunkMaximumTimeExceeded { get { throw null; } } - public static Azure.Communication.CallAutomation.ChunkEndReason ChunkUploadFailure { get { throw null; } } - public static Azure.Communication.CallAutomation.ChunkEndReason SessionEnded { get { throw null; } } - public bool Equals(Azure.Communication.CallAutomation.ChunkEndReason other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Communication.CallAutomation.ChunkEndReason left, Azure.Communication.CallAutomation.ChunkEndReason right) { throw null; } - public static implicit operator Azure.Communication.CallAutomation.ChunkEndReason (string value) { throw null; } - public static bool operator !=(Azure.Communication.CallAutomation.ChunkEndReason left, Azure.Communication.CallAutomation.ChunkEndReason right) { throw null; } - public override string ToString() { throw null; } - } public partial class ConnectCallEventResult { internal ConnectCallEventResult() { } @@ -814,7 +714,6 @@ public partial class CreateGroupCallOptions public CreateGroupCallOptions(System.Collections.Generic.IEnumerable targets, System.Uri callbackUri) { } public System.Uri CallbackUri { get { throw null; } } public Azure.Communication.CallAutomation.CallIntelligenceOptions CallIntelligenceOptions { get { throw null; } set { } } - public Azure.Communication.CallAutomation.CustomCallingContext CustomCallingContext { get { throw null; } } public Azure.Communication.CallAutomation.MediaStreamingOptions MediaStreamingOptions { get { throw null; } set { } } public string OperationContext { get { throw null; } set { } } public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } set { } } @@ -827,12 +726,10 @@ public partial class CustomCallingContext { internal CustomCallingContext() { } public System.Collections.Generic.IDictionary SipHeaders { get { throw null; } } - public Azure.Communication.CallAutomation.TeamsPhoneCallDetails TeamsPhoneCallDetails { get { throw null; } } public System.Collections.Generic.IDictionary VoipHeaders { get { throw null; } } public void AddSipUui(string value) { } public void AddSipX(string key, string value, Azure.Communication.CallAutomation.CustomCallingContext.SipHeaderPrefix prefix = Azure.Communication.CallAutomation.CustomCallingContext.SipHeaderPrefix.XMSCustom) { } public void AddVoip(string key, string value) { } - public void SetTeamsPhoneCallDetails(Azure.Communication.CallAutomation.TeamsPhoneCallDetails teamsPhoneCallDetails) { } public enum SipHeaderPrefix { XMSCustom = 0, @@ -864,7 +761,6 @@ internal DialogEventResult() { } public Azure.Communication.CallAutomation.DialogSensitivityUpdate DialogSensitivityUpdateEvent { get { throw null; } } public Azure.Communication.CallAutomation.DialogStarted DialogStartedSuccessEvent { get { throw null; } } public Azure.Communication.CallAutomation.DialogTransfer DialogTransferSuccessEvent { get { throw null; } } - public Azure.Communication.CallAutomation.DialogUpdated DialogUpdatedEvent { get { throw null; } } public Azure.Communication.CallAutomation.DialogFailed FailureResult { get { throw null; } } public bool IsSuccess { get { throw null; } } } @@ -889,7 +785,6 @@ internal DialogHangup() { } private readonly object _dummy; private readonly int _dummyPrimitive; public DialogInputType(string value) { throw null; } - public static Azure.Communication.CallAutomation.DialogInputType AzureOpenAI { get { throw null; } } public static Azure.Communication.CallAutomation.DialogInputType PowerVirtualAgents { get { throw null; } } public bool Equals(Azure.Communication.CallAutomation.DialogInputType other) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] @@ -942,21 +837,6 @@ internal DialogTransfer() { } public string TransferType { get { throw null; } } public static Azure.Communication.CallAutomation.DialogTransfer Deserialize(string content) { throw null; } } - public abstract partial class DialogUpdateBase - { - protected DialogUpdateBase() { } - public System.Collections.Generic.IDictionary Context { get { throw null; } set { } } - } - public partial class DialogUpdated : Azure.Communication.CallAutomation.CallAutomationEventBase - { - internal DialogUpdated() { } - public string DialogId { get { throw null; } } - public Azure.Communication.CallAutomation.DialogInputType? DialogInputType { get { throw null; } } - public object IvrContext { get { throw null; } } - public string UpdatedDestination { get { throw null; } } - public string UpdatedType { get { throw null; } } - public static Azure.Communication.CallAutomation.DialogUpdated Deserialize(string content) { throw null; } - } public partial class DtmfResult : Azure.Communication.CallAutomation.RecognizeResult { internal DtmfResult() { } @@ -997,13 +877,6 @@ internal DtmfResult() { } public char ToChar() { throw null; } public override string ToString() { throw null; } } - public partial class ErrorDetails - { - internal ErrorDetails() { } - public string Code { get { throw null; } } - public Azure.Communication.CallAutomation.ErrorDetails InnerError { get { throw null; } } - public string Message { get { throw null; } } - } public partial class FileSource : Azure.Communication.CallAutomation.PlaySource { public FileSource(System.Uri fileUri) { } @@ -1081,16 +954,6 @@ internal IncomingCall() { } public Azure.Communication.CommunicationIdentifier To { get { throw null; } } public static Azure.Communication.CallAutomation.IncomingCall Deserialize(string content) { throw null; } } - public partial class InterruptAudioAndAnnounceEventResult - { - internal InterruptAudioAndAnnounceEventResult() { } - public Azure.Communication.CallAutomation.PlayFailed FailureResult { get { throw null; } } - public bool IsSuccess { get { throw null; } } - public Azure.Communication.CallAutomation.PlayPaused PauseResult { get { throw null; } } - public Azure.Communication.CallAutomation.PlayResumed ResumeResult { get { throw null; } } - public Azure.Communication.CallAutomation.PlayStarted StartResult { get { throw null; } } - public Azure.Communication.CallAutomation.PlayCompleted SuccessResult { get { throw null; } } - } public partial class InterruptAudioAndAnnounceOptions { public InterruptAudioAndAnnounceOptions(Azure.Communication.CallAutomation.PlaySource announcement, Azure.Communication.CommunicationIdentifier playTo) { } @@ -1307,8 +1170,8 @@ public partial class MediaStreamingUpdate { internal MediaStreamingUpdate() { } public string ContentType { get { throw null; } } - public Azure.Communication.CallAutomation.MediaStreamingStatus? MediaStreamingStatus { get { throw null; } } - public Azure.Communication.CallAutomation.MediaStreamingStatusDetails? MediaStreamingStatusDetails { get { throw null; } } + public Azure.Communication.CallAutomation.MediaStreamingStatus MediaStreamingStatus { get { throw null; } } + public Azure.Communication.CallAutomation.MediaStreamingStatusDetails MediaStreamingStatusDetails { get { throw null; } } } public partial class MoveParticipantEventResult { @@ -1401,7 +1264,6 @@ internal PlayEventResult() { } public partial class PlayFailed : Azure.Communication.CallAutomation.CallAutomationEventBase { internal PlayFailed() { } - public int? FailedPlaySourceIndex { get { throw null; } } public Azure.Communication.CallAutomation.MediaEventReasonCode ReasonCode { get { throw null; } } public static Azure.Communication.CallAutomation.PlayFailed Deserialize(string content) { throw null; } } @@ -1442,6 +1304,7 @@ protected PlaySource() { } public partial class PlayStarted : Azure.Communication.CallAutomation.CallAutomationEventBase { internal PlayStarted() { } + public Azure.Communication.CallAutomation.MediaEventReasonCode ReasonCode { get { throw null; } } public static Azure.Communication.CallAutomation.PlayStarted Deserialize(string content) { throw null; } } public partial class PlayToAllOptions @@ -1454,13 +1317,6 @@ public PlayToAllOptions(System.Collections.Generic.IEnumerable PlaySources { get { throw null; } } } - public partial class PostProcessingOptions - { - public PostProcessingOptions(Azure.Communication.CallAutomation.TranscriptionSettings transcription) { } - public string CognitiveServicesEndpoint { get { throw null; } set { } } - public Azure.Communication.CallAutomation.SummarizationSettings Summarization { get { throw null; } set { } } - public Azure.Communication.CallAutomation.TranscriptionSettings Transcription { get { throw null; } } - } public partial class PowerVirtualAgentsDialog : Azure.Communication.CallAutomation.BaseDialog { public PowerVirtualAgentsDialog(string botAppId, System.Collections.Generic.IDictionary context, string language = null) : base (default(System.Collections.Generic.IDictionary)) { } @@ -1490,7 +1346,6 @@ internal RecognizeCompleted() { } public partial class RecognizeFailed : Azure.Communication.CallAutomation.CallAutomationEventBase { internal RecognizeFailed() { } - public int? FailedPlaySourceIndex { get { throw null; } } public Azure.Communication.CallAutomation.MediaEventReasonCode ReasonCode { get { throw null; } } public static Azure.Communication.CallAutomation.RecognizeFailed Deserialize(string content) { throw null; } } @@ -1526,7 +1381,6 @@ protected RecognizeResult() { } private readonly int _dummyPrimitive; public RecognizeResultType(string value) { throw null; } public static Azure.Communication.CallAutomation.RecognizeResultType ChoiceResult { get { throw null; } } - public static Azure.Communication.CallAutomation.RecognizeResultType CollectTonesResult { get { throw null; } } public static Azure.Communication.CallAutomation.RecognizeResultType DtmfResult { get { throw null; } } public static Azure.Communication.CallAutomation.RecognizeResultType SpeechResult { get { throw null; } } public bool Equals(Azure.Communication.CallAutomation.RecognizeResultType other) { throw null; } @@ -1557,16 +1411,6 @@ protected RecognizeResult() { } public static bool operator !=(Azure.Communication.CallAutomation.RecordingChannel left, Azure.Communication.CallAutomation.RecordingChannel right) { throw null; } public override string ToString() { throw null; } } - public partial class RecordingChunkStorageInfo - { - internal RecordingChunkStorageInfo() { } - public string ContentLocation { get { throw null; } } - public string DeleteLocation { get { throw null; } } - public string DocumentId { get { throw null; } } - public Azure.Communication.CallAutomation.ChunkEndReason? EndReason { get { throw null; } } - public int? Index { get { throw null; } } - public string MetadataLocation { get { throw null; } } - } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct RecordingContent : System.IEquatable { @@ -1623,17 +1467,6 @@ internal RecordingChunkStorageInfo() { } public static bool operator !=(Azure.Communication.CallAutomation.RecordingKind left, Azure.Communication.CallAutomation.RecordingKind right) { throw null; } public override string ToString() { throw null; } } - public partial class RecordingResult - { - internal RecordingResult() { } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public long? RecordingDurationMs { get { throw null; } } - public System.DateTimeOffset? RecordingExpirationTime { get { throw null; } } - public string RecordingId { get { throw null; } } - public System.DateTimeOffset? RecordingStartTime { get { throw null; } } - public Azure.Communication.CallAutomation.RecordingStorageInfo RecordingStorageInfo { get { throw null; } } - public Azure.Communication.CallAutomation.CallSessionEndReason? SessionEndReason { get { throw null; } } - } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct RecordingState : System.IEquatable { @@ -1668,36 +1501,6 @@ internal RecordingStateResult() { } public Azure.Communication.CallAutomation.RecordingKind? RecordingKind { get { throw null; } } public Azure.Communication.CallAutomation.RecordingState? RecordingState { get { throw null; } } } - public abstract partial class RecordingStorage - { - public RecordingStorage(Azure.Communication.CallAutomation.RecordingStorageKind recordingStorageKind) { } - public Azure.Communication.CallAutomation.RecordingStorageKind RecordingStorageKind { get { throw null; } } - public static Azure.Communication.CallAutomation.RecordingStorage CreateAzureBlobContainerRecordingStorage(System.Uri recordingDestinationContainerUri) { throw null; } - public static Azure.Communication.CallAutomation.RecordingStorage CreateAzureCommunicationsRecordingStorage() { throw null; } - } - public partial class RecordingStorageInfo - { - internal RecordingStorageInfo() { } - public System.Collections.Generic.IReadOnlyList RecordingChunks { get { throw null; } } - } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct RecordingStorageKind : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public RecordingStorageKind(string value) { throw null; } - public static Azure.Communication.CallAutomation.RecordingStorageKind AzureBlobStorage { get { throw null; } } - public static Azure.Communication.CallAutomation.RecordingStorageKind AzureCommunicationServices { get { throw null; } } - public bool Equals(Azure.Communication.CallAutomation.RecordingStorageKind other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Communication.CallAutomation.RecordingStorageKind left, Azure.Communication.CallAutomation.RecordingStorageKind right) { throw null; } - public static implicit operator Azure.Communication.CallAutomation.RecordingStorageKind (string value) { throw null; } - public static bool operator !=(Azure.Communication.CallAutomation.RecordingStorageKind left, Azure.Communication.CallAutomation.RecordingStorageKind right) { throw null; } - public override string ToString() { throw null; } - } public partial class RedirectCallOptions { public RedirectCallOptions(string incomingCallContext, Azure.Communication.CallAutomation.CallInvite callInvite) { } @@ -1751,6 +1554,11 @@ internal ResultInformation() { } public string Message { get { throw null; } } public int? SubCode { get { throw null; } } } + public enum ResultStatus + { + Intermediate = 0, + Final = 1, + } public partial class RoomCallLocator : Azure.Communication.CallAutomation.CallLocator { public RoomCallLocator(string id) { } @@ -1800,7 +1608,6 @@ public ServerCallLocator(string id) { } public partial class SpeechResult : Azure.Communication.CallAutomation.RecognizeResult { internal SpeechResult() { } - public double? Confidence { get { throw null; } } public override Azure.Communication.CallAutomation.RecognizeResultType ResultType { get { throw null; } } public string Speech { get { throw null; } } } @@ -1810,22 +1617,15 @@ public SsmlSource(string ssmlText) { } public string CustomVoiceEndpointId { get { throw null; } set { } } public string SsmlText { get { throw null; } } } - public partial class StartDialogOptions + public partial class StartDialog { - public StartDialogOptions(Azure.Communication.CallAutomation.BaseDialog dialog) { } - public StartDialogOptions(string dialogId, Azure.Communication.CallAutomation.BaseDialog dialog) { } + public StartDialog(Azure.Communication.CallAutomation.BaseDialog dialog) { } + public StartDialog(string dialogId, Azure.Communication.CallAutomation.BaseDialog dialog) { } public Azure.Communication.CallAutomation.BaseDialog Dialog { get { throw null; } } public string DialogId { get { throw null; } } + public string OperationCallbackUri { get { throw null; } set { } } public string OperationContext { get { throw null; } set { } } } - public partial class StartHoldMusicOptions - { - public StartHoldMusicOptions(Azure.Communication.CommunicationIdentifier targetParticipant, Azure.Communication.CallAutomation.PlaySource playSourceInfo) { } - public bool Loop { get { throw null; } set { } } - public string OperationContext { get { throw null; } set { } } - public Azure.Communication.CallAutomation.PlaySource PlaySourceInfo { get { throw null; } set { } } - public Azure.Communication.CommunicationIdentifier TargetParticipant { get { throw null; } } - } public partial class StartMediaStreamingOptions { public StartMediaStreamingOptions() { } @@ -1859,31 +1659,21 @@ public StartRecordingOptions(string callConnectionId) { } public System.Collections.Generic.IList AudioChannelParticipantOrdering { get { throw null; } } public System.Collections.Generic.IList ChannelAffinity { get { throw null; } set { } } public bool PauseOnStart { get { throw null; } set { } } - public Azure.Communication.CallAutomation.PostProcessingOptions PostProcessingOptions { get { throw null; } set { } } public Azure.Communication.CallAutomation.RecordingChannel RecordingChannel { get { throw null; } set { } } public Azure.Communication.CallAutomation.RecordingContent RecordingContent { get { throw null; } set { } } public Azure.Communication.CallAutomation.RecordingFormat RecordingFormat { get { throw null; } set { } } public System.Uri RecordingStateCallbackUri { get { throw null; } set { } } - public Azure.Communication.CallAutomation.RecordingStorage RecordingStorage { get { throw null; } set { } } } public partial class StartTranscriptionOptions { public StartTranscriptionOptions() { } public string Locale { get { throw null; } set { } } - public string OperationCallbackUri { get { throw null; } set { } } public string OperationContext { get { throw null; } set { } } - public string SpeechRecognitionModelEndpointId { get { throw null; } set { } } } public partial class StopAudio { public StopAudio() { } } - public partial class StopHoldMusicOptions - { - public StopHoldMusicOptions(Azure.Communication.CommunicationIdentifier targetParticipant) { } - public string OperationContext { get { throw null; } set { } } - public Azure.Communication.CommunicationIdentifier TargetParticipant { get { throw null; } } - } public partial class StopMediaStreamingOptions { public StopMediaStreamingOptions() { } @@ -1893,9 +1683,7 @@ public StopMediaStreamingOptions() { } public partial class StopTranscriptionOptions { public StopTranscriptionOptions() { } - public string OperationCallbackUri { get { throw null; } set { } } public string OperationContext { get { throw null; } set { } } - public string SpeechRecognitionModelEndpointId { get { throw null; } set { } } } public abstract partial class StreamingData { @@ -1912,50 +1700,11 @@ public enum StreamingDataKind TranscriptionData = 2, TranscriptionMetadata = 3, } - public partial class SummarizationSettings - { - public SummarizationSettings(bool enableSummarization) { } - public bool EnableSummarization { get { throw null; } } - } - public partial class TeamsExtensionUserIdentifierModel + public static partial class StreamingDataParser { - public TeamsExtensionUserIdentifierModel(string userId, string tenantId, string resourceId) { } - public string ResourceId { get { throw null; } set { } } - public string TenantId { get { throw null; } set { } } - public string UserId { get { throw null; } set { } } - } - public partial class TeamsPhoneCallDetails - { - public TeamsPhoneCallDetails() { } - public string CallContext { get { throw null; } set { } } - public string CallSentiment { get { throw null; } set { } } - public string CallTopic { get { throw null; } set { } } - public string Intent { get { throw null; } set { } } - public string SessionId { get { throw null; } set { } } - public string SuggestedActions { get { throw null; } set { } } - public Azure.Communication.CallAutomation.TeamsPhoneCallerDetails TeamsPhoneCallerDetails { get { throw null; } set { } } - public Azure.Communication.CallAutomation.TeamsPhoneSourceDetails TeamsPhoneSourceDetails { get { throw null; } set { } } - public string TranscriptUrl { get { throw null; } set { } } - } - public partial class TeamsPhoneCallerDetails - { - public TeamsPhoneCallerDetails(Azure.Communication.CommunicationIdentifier caller, string name, string phoneNumber) { } - public System.Collections.Generic.IDictionary AdditionalCallerInformation { get { throw null; } } - public bool? IsAuthenticated { get { throw null; } set { } } - public string Name { get { throw null; } set { } } - public string PhoneNumber { get { throw null; } set { } } - public string RecordId { get { throw null; } set { } } - public string ScreenPopUrl { get { throw null; } set { } } - public bool AddAdditionalCallerInformation(string key, string value) { throw null; } - } - public partial class TeamsPhoneSourceDetails - { - public TeamsPhoneSourceDetails(Azure.Communication.CommunicationIdentifier source, string language, string status) { } - public System.Collections.Generic.IDictionary IntendedTargets { get { throw null; } } - public string Language { get { throw null; } set { } } - public Azure.Communication.CommunicationIdentifier Source { get { throw null; } set { } } - public string Status { get { throw null; } set { } } - public bool AddIntendedTargets(string key, Azure.Communication.CommunicationIdentifier target) { throw null; } + public static Azure.Communication.CallAutomation.StreamingData Parse(System.BinaryData json) { throw null; } + public static Azure.Communication.CallAutomation.StreamingData Parse(byte[] receivedBytes) { throw null; } + public static Azure.Communication.CallAutomation.StreamingData Parse(string stringJson) { throw null; } } public enum TextFormat { @@ -1976,19 +1725,18 @@ public partial class TranscriptionData : Azure.Communication.CallAutomation.Stre { internal TranscriptionData() { } public double Confidence { get { throw null; } set { } } - public System.TimeSpan Duration { get { throw null; } set { } } + public ulong Duration { get { throw null; } set { } } public Azure.Communication.CallAutomation.TextFormat Format { get { throw null; } set { } } - public System.TimeSpan Offset { get { throw null; } set { } } + public ulong Offset { get { throw null; } set { } } public Azure.Communication.CommunicationIdentifier Participant { get { throw null; } set { } } - public Azure.Communication.CallAutomation.TranscriptionResultState ResultState { get { throw null; } set { } } + public Azure.Communication.CallAutomation.ResultStatus ResultStatus { get { throw null; } set { } } public string Text { get { throw null; } set { } } public System.Collections.Generic.IEnumerable Words { get { throw null; } set { } } } public partial class TranscriptionFailed : Azure.Communication.CallAutomation.CallAutomationEventBase { internal TranscriptionFailed() { } - public Azure.Communication.CallAutomation.MediaEventReasonCode ReasonCode { get { throw null; } } - public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdate { get { throw null; } } + public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdateResult { get { throw null; } } public static Azure.Communication.CallAutomation.TranscriptionFailed Deserialize(string content) { throw null; } } public partial class TranscriptionMetadata : Azure.Communication.CallAutomation.StreamingData @@ -2005,41 +1753,16 @@ public TranscriptionMetadata() { } } public partial class TranscriptionOptions { - public TranscriptionOptions(System.Uri transportUri, string locale, bool? startTranscription = default(bool?), Azure.Communication.CallAutomation.TranscriptionTransport transcriptionTransport = default(Azure.Communication.CallAutomation.TranscriptionTransport)) { } - public bool? EnableIntermediateResults { get { throw null; } set { } } + public TranscriptionOptions(System.Uri transportUri, Azure.Communication.CallAutomation.TranscriptionTransport transportType, string locale, bool startTranscription) { } public string Locale { get { throw null; } } - public string SpeechRecognitionModelEndpointId { get { throw null; } set { } } - public bool? StartTranscription { get { throw null; } } + public bool StartTranscription { get { throw null; } } public Azure.Communication.CallAutomation.TranscriptionTransport TranscriptionTransport { get { throw null; } } public System.Uri TransportUrl { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct TranscriptionResultState : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public TranscriptionResultState(string value) { throw null; } - public static Azure.Communication.CallAutomation.TranscriptionResultState Final { get { throw null; } } - public static Azure.Communication.CallAutomation.TranscriptionResultState Intermediate { get { throw null; } } - public bool Equals(Azure.Communication.CallAutomation.TranscriptionResultState other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Communication.CallAutomation.TranscriptionResultState left, Azure.Communication.CallAutomation.TranscriptionResultState right) { throw null; } - public static implicit operator Azure.Communication.CallAutomation.TranscriptionResultState (string value) { throw null; } - public static bool operator !=(Azure.Communication.CallAutomation.TranscriptionResultState left, Azure.Communication.CallAutomation.TranscriptionResultState right) { throw null; } - public override string ToString() { throw null; } - } - public partial class TranscriptionSettings - { - public TranscriptionSettings(bool enableTranscription) { } - public bool EnableTranscription { get { throw null; } } - } public partial class TranscriptionStarted : Azure.Communication.CallAutomation.CallAutomationEventBase { internal TranscriptionStarted() { } - public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdate { get { throw null; } } + public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdateResult { get { throw null; } } public static Azure.Communication.CallAutomation.TranscriptionStarted Deserialize(string content) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -2098,35 +1821,9 @@ internal TranscriptionStarted() { } public partial class TranscriptionStopped : Azure.Communication.CallAutomation.CallAutomationEventBase { internal TranscriptionStopped() { } - public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdate { get { throw null; } } + public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdateResult { get { throw null; } } public static Azure.Communication.CallAutomation.TranscriptionStopped Deserialize(string content) { throw null; } } - public partial class TranscriptionSubscription - { - internal TranscriptionSubscription() { } - public string Id { get { throw null; } } - public Azure.Communication.CallAutomation.TranscriptionSubscriptionState? State { get { throw null; } } - public System.Collections.Generic.IReadOnlyList SubscribedResultStates { get { throw null; } } - } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct TranscriptionSubscriptionState : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public TranscriptionSubscriptionState(string value) { throw null; } - public static Azure.Communication.CallAutomation.TranscriptionSubscriptionState Active { get { throw null; } } - public static Azure.Communication.CallAutomation.TranscriptionSubscriptionState Disabled { get { throw null; } } - public static Azure.Communication.CallAutomation.TranscriptionSubscriptionState Inactive { get { throw null; } } - public bool Equals(Azure.Communication.CallAutomation.TranscriptionSubscriptionState other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Communication.CallAutomation.TranscriptionSubscriptionState left, Azure.Communication.CallAutomation.TranscriptionSubscriptionState right) { throw null; } - public static implicit operator Azure.Communication.CallAutomation.TranscriptionSubscriptionState (string value) { throw null; } - public static bool operator !=(Azure.Communication.CallAutomation.TranscriptionSubscriptionState left, Azure.Communication.CallAutomation.TranscriptionSubscriptionState right) { throw null; } - public override string ToString() { throw null; } - } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct TranscriptionTransport : System.IEquatable { @@ -2153,7 +1850,7 @@ internal TranscriptionUpdate() { } public partial class TranscriptionUpdated : Azure.Communication.CallAutomation.CallAutomationEventBase { internal TranscriptionUpdated() { } - public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdate { get { throw null; } } + public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdateResult { get { throw null; } } public static Azure.Communication.CallAutomation.TranscriptionUpdated Deserialize(string content) { throw null; } } public partial class TransferCallToParticipantEventResult @@ -2173,13 +1870,12 @@ internal TransferCallToParticipantResult() { } public partial class TransferToParticipantOptions { public TransferToParticipantOptions(Azure.Communication.CommunicationUserIdentifier targetIdentity) { } - public TransferToParticipantOptions(Azure.Communication.MicrosoftTeamsAppIdentifier targetIdentity) { } public TransferToParticipantOptions(Azure.Communication.MicrosoftTeamsUserIdentifier targetIdentity) { } public TransferToParticipantOptions(Azure.Communication.PhoneNumberIdentifier targetPhoneNumberIdentity) { } + public TransferToParticipantOptions(Azure.Communication.TeamsExtensionUserIdentifier targetIdentity) { } public Azure.Communication.CallAutomation.CustomCallingContext CustomCallingContext { get { throw null; } } public System.Uri OperationCallbackUri { get { throw null; } set { } } public string OperationContext { get { throw null; } set { } } - public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } set { } } public Azure.Communication.CommunicationIdentifier Target { get { throw null; } } public Azure.Communication.CommunicationIdentifier Transferee { get { throw null; } set { } } } @@ -2189,31 +1885,6 @@ public UnholdOptions(Azure.Communication.CommunicationIdentifier targetParticipa public string OperationContext { get { throw null; } set { } } public Azure.Communication.CommunicationIdentifier TargetParticipant { get { throw null; } } } - public partial class UnmuteParticipantOptions - { - public UnmuteParticipantOptions(Azure.Communication.CommunicationIdentifier targetParticipant) { } - public string OperationContext { get { throw null; } set { } } - public Azure.Communication.CommunicationIdentifier TargetParticipant { get { throw null; } } - } - public partial class UnmuteParticipantResult - { - internal UnmuteParticipantResult() { } - public string OperationContext { get { throw null; } } - } - public partial class UpdateDialogOptions - { - public UpdateDialogOptions(string dialogId, Azure.Communication.CallAutomation.DialogUpdateBase dialog) { } - public Azure.Communication.CallAutomation.DialogUpdateBase Dialog { get { throw null; } } - public string DialogId { get { throw null; } } - public string OperationContext { get { throw null; } set { } } - } - public partial class UpdateTranscriptionOptions - { - public UpdateTranscriptionOptions(string locale) { } - public string OperationCallbackUri { get { throw null; } set { } } - public string OperationContext { get { throw null; } set { } } - public string SpeechRecognitionModelEndpointId { get { throw null; } set { } } - } public partial class UserConsent { internal UserConsent() { } @@ -2239,11 +1910,11 @@ internal UserConsent() { } } public partial class WordData { - internal WordData() { } + public WordData() { } [System.Text.Json.Serialization.JsonPropertyNameAttribute("duration")] - public System.TimeSpan Duration { get { throw null; } set { } } + public ulong Duration { get { throw null; } set { } } [System.Text.Json.Serialization.JsonPropertyNameAttribute("offset")] - public System.TimeSpan Offset { get { throw null; } set { } } + public ulong Offset { get { throw null; } set { } } [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] public string Text { get { throw null; } set { } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.netstandard2.0.cs b/sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.netstandard2.0.cs index 4a92d40f3654..883871858bf3 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.netstandard2.0.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.netstandard2.0.cs @@ -116,14 +116,6 @@ internal AzureCommunicationCallAutomationContext() { } public static Azure.Communication.CallAutomation.AzureCommunicationCallAutomationContext Default { get { throw null; } } protected override bool TryGetTypeBuilderCore(System.Type type, out System.ClientModel.Primitives.ModelReaderWriterTypeBuilder builder) { throw null; } } - public partial class AzureOpenAIDialog : Azure.Communication.CallAutomation.BaseDialog - { - public AzureOpenAIDialog(System.Collections.Generic.IDictionary context) : base (default(System.Collections.Generic.IDictionary)) { } - } - public partial class AzureOpenAIDialogUpdate : Azure.Communication.CallAutomation.DialogUpdateBase - { - public AzureOpenAIDialogUpdate(System.Collections.Generic.IDictionary context) { } - } public abstract partial class BaseDialog { protected BaseDialog(System.Collections.Generic.IDictionary context) { } @@ -166,15 +158,13 @@ public CallAutomationClient(System.Uri pmaEndpoint, System.Uri acsEndpoint, Azur } public partial class CallAutomationClientOptions : Azure.Core.ClientOptions { - public CallAutomationClientOptions(Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion version = Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion.V2024_09_01_Preview) { } + public CallAutomationClientOptions(Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion version = Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion.V2024_01_22_Preview) { } public Azure.Communication.CommunicationUserIdentifier Source { get { throw null; } set { } } public enum ServiceVersion { V2023_03_06 = 1, - V2023_06_15_Preview = 2, - V2023_10_15 = 3, - V2023_10_03_Preview = 4, - V2024_09_01_Preview = 5, + V2023_10_15 = 2, + V2024_01_22_Preview = 3, } } public abstract partial class CallAutomationEventBase @@ -214,7 +204,7 @@ public static partial class CallAutomationModelFactory public static Azure.Communication.CallAutomation.AnswerCallResult AnswerCallResult(Azure.Communication.CallAutomation.CallConnection callConnection = null, Azure.Communication.CallAutomation.CallConnectionProperties callConnectionProperties = null) { throw null; } public static Azure.Communication.CallAutomation.AnswerFailed AnswerFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string operationContext = null) { throw null; } public static Azure.Communication.CallAutomation.CallConnected CallConnected(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } - public static Azure.Communication.CallAutomation.CallConnectionProperties CallConnectionProperties(string callConnectionId = null, string serverCallId = null, System.Collections.Generic.IEnumerable targets = null, Azure.Communication.CallAutomation.CallConnectionState callConnectionState = default(Azure.Communication.CallAutomation.CallConnectionState), System.Uri callbackUri = null, Azure.Communication.CommunicationIdentifier sourceIdentity = null, Azure.Communication.PhoneNumberIdentifier sourceCallerIdNumber = null, string sourceDisplayName = null, Azure.Communication.CommunicationUserIdentifier answeredBy = null, Azure.Communication.CallAutomation.MediaStreamingSubscription mediaStreamingSubscription = null, Azure.Communication.CallAutomation.TranscriptionSubscription transcriptionSubscription = null, Azure.Communication.PhoneNumberIdentifier answeredFor = null) { throw null; } + public static Azure.Communication.CallAutomation.CallConnectionProperties CallConnectionProperties(string callConnectionId = null, string serverCallId = null, System.Collections.Generic.IEnumerable targets = null, Azure.Communication.CallAutomation.CallConnectionState callConnectionState = default(Azure.Communication.CallAutomation.CallConnectionState), System.Uri callbackUri = null, Azure.Communication.CommunicationIdentifier sourceIdentity = null, Azure.Communication.PhoneNumberIdentifier sourceCallerIdNumber = null, string sourceDisplayName = null, Azure.Communication.CommunicationUserIdentifier answeredBy = null, string dataSubscriptionId = null, Azure.Communication.CallAutomation.MediaStreamingSubscription mediaStreamingSubscription = null) { throw null; } public static Azure.Communication.CallAutomation.CallDisconnected CallDisconnected(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.CallParticipant CallParticipant(Azure.Communication.CommunicationIdentifier identifier = null, bool isMuted = false, bool isOnHold = false) { throw null; } public static Azure.Communication.CallAutomation.CallTransferAccepted CallTransferAccepted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CommunicationIdentifier transferee = null, Azure.Communication.CommunicationIdentifier transferTarget = null) { throw null; } @@ -223,39 +213,36 @@ public static partial class CallAutomationModelFactory public static Azure.Communication.CallAutomation.CancelAddParticipantOperationResult CancelAddParticipantResult(string invitationId = null, string operationContext = null) { throw null; } public static Azure.Communication.CallAutomation.CancelAddParticipantSucceeded CancelAddParticipantSucceeded(string callConnectionId = null, string serverCallId = null, string correlationId = null, string invitationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.ChoiceResult ChoiceResult(string label = null, string recognizedPhrase = null) { throw null; } + public static Azure.Communication.CallAutomation.ConnectFailed ConnectFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.ContinuousDtmfRecognitionStopped ContinuousDtmfRecognitionStopped(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.ContinuousDtmfRecognitionToneFailed ContinuousDtmfRecognitionToneFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string operationContext = null) { throw null; } - public static Azure.Communication.CallAutomation.ContinuousDtmfRecognitionToneReceived ContinuousDtmfRecognitionToneReceived(int? sequenceId = default(int?), Azure.Communication.CallAutomation.DtmfTone? tone = default(Azure.Communication.CallAutomation.DtmfTone?), string callConnectionId = null, string serverCallId = null, string correlationId = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string operationContext = null) { throw null; } + public static Azure.Communication.CallAutomation.ContinuousDtmfRecognitionToneReceived ContinuousDtmfRecognitionToneReceived(Azure.Communication.CallAutomation.ResultInformation resultInformation = null, int? sequenceId = default(int?), Azure.Communication.CallAutomation.DtmfTone? tone = default(Azure.Communication.CallAutomation.DtmfTone?), string operationContext = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } public static Azure.Communication.CallAutomation.CreateCallFailed CreateCallFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string operationContext = null) { throw null; } public static Azure.Communication.CallAutomation.CreateCallResult CreateCallResult(Azure.Communication.CallAutomation.CallConnection callConnection = null, Azure.Communication.CallAutomation.CallConnectionProperties callConnectionProperties = null) { throw null; } public static Azure.Communication.CallAutomation.DtmfResult DtmfResult(System.Collections.Generic.IEnumerable tones = null) { throw null; } - public static Azure.Communication.CallAutomation.ErrorDetails ErrorDetails(string code = null, string message = null, Azure.Communication.CallAutomation.ErrorDetails innerError = null) { throw null; } public static Azure.Communication.CallAutomation.HoldAudioCompleted HoldAudioCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.HoldAudioPaused HoldAudioPaused(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.HoldAudioResumed HoldAudioResumed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.HoldAudioStarted HoldAudioStarted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.HoldFailed HoldFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.IncomingCall IncomingCall(Azure.Communication.CommunicationIdentifier to = null, Azure.Communication.CommunicationIdentifier from = null, string callerDisplayName = null, string serverCallId = null, Azure.Communication.CallAutomation.CustomCallingContext customContext = null, string incomingCallContext = null, Azure.Communication.CommunicationIdentifier onBehalfOfCallee = null, string correlationId = null) { throw null; } - public static Azure.Communication.CallAutomation.MediaStreamingFailed MediaStreamingFailed(Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } - public static Azure.Communication.CallAutomation.MediaStreamingStarted MediaStreamingStarted(Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } - public static Azure.Communication.CallAutomation.MediaStreamingStopped MediaStreamingStopped(Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } - public static Azure.Communication.CallAutomation.MediaStreamingUpdate MediaStreamingUpdate(string contentType = null, Azure.Communication.CallAutomation.MediaStreamingStatus? mediaStreamingStatus = default(Azure.Communication.CallAutomation.MediaStreamingStatus?), Azure.Communication.CallAutomation.MediaStreamingStatusDetails? mediaStreamingStatusDetails = default(Azure.Communication.CallAutomation.MediaStreamingStatusDetails?)) { throw null; } + public static Azure.Communication.CallAutomation.MediaStreamingFailed MediaStreamingFailed(Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } + public static Azure.Communication.CallAutomation.MediaStreamingStarted MediaStreamingStarted(Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } + public static Azure.Communication.CallAutomation.MediaStreamingStopped MediaStreamingStopped(Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } + public static Azure.Communication.CallAutomation.MediaStreamingUpdate MediaStreamingUpdate(string contentType = null, Azure.Communication.CallAutomation.MediaStreamingStatus mediaStreamingStatus = default(Azure.Communication.CallAutomation.MediaStreamingStatus), Azure.Communication.CallAutomation.MediaStreamingStatusDetails mediaStreamingStatusDetails = default(Azure.Communication.CallAutomation.MediaStreamingStatusDetails)) { throw null; } public static Azure.Communication.CallAutomation.MuteParticipantResult MuteParticipantResult(string operationContext = null) { throw null; } public static Azure.Communication.CallAutomation.ParticipantsUpdated ParticipantsUpdated(string callConnectionId = null, string serverCallId = null, string correlationId = null, System.Collections.Generic.IEnumerable participants = null, int sequenceNumber = 0, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.PlayCanceled PlayCanceled(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.PlayCompleted PlayCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } - public static Azure.Communication.CallAutomation.PlayFailed PlayFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, int? failedPlaySourceIndex = default(int?)) { throw null; } + public static Azure.Communication.CallAutomation.PlayFailed PlayFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.PlayPaused PlayPaused(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.PlayResumed PlayResumed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.PlayStarted PlayStarted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.RecognizeCanceled RecognizeCanceled(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.RecognizeCompleted RecognizeCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CallAutomation.CallMediaRecognitionType recognitionType = default(Azure.Communication.CallAutomation.CallMediaRecognitionType), Azure.Communication.CallAutomation.RecognizeResult recognizeResult = null) { throw null; } - public static Azure.Communication.CallAutomation.RecognizeFailed RecognizeFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, int? failedPlaySourceIndex = default(int?)) { throw null; } - public static Azure.Communication.CallAutomation.RecordingChunkStorageInfo RecordingChunkStorageInfo(string documentId = null, int? index = default(int?), Azure.Communication.CallAutomation.ChunkEndReason? endReason = default(Azure.Communication.CallAutomation.ChunkEndReason?), string contentLocation = null, string metadataLocation = null, string deleteLocation = null) { throw null; } - public static Azure.Communication.CallAutomation.RecordingResult RecordingResult(string recordingId = null, Azure.Communication.CallAutomation.RecordingStorageInfo recordingStorageInfo = null, System.Collections.Generic.IEnumerable errors = null, System.DateTimeOffset? recordingStartTime = default(System.DateTimeOffset?), long? recordingDurationMs = default(long?), Azure.Communication.CallAutomation.CallSessionEndReason? sessionEndReason = default(Azure.Communication.CallAutomation.CallSessionEndReason?), System.DateTimeOffset? recordingExpirationTime = default(System.DateTimeOffset?)) { throw null; } - public static Azure.Communication.CallAutomation.RecordingStateChanged RecordingStateChanged(string callConnectionId = null, string serverCallId = null, string correlationId = null, string recordingId = null, Azure.Communication.CallAutomation.RecordingState state = default(Azure.Communication.CallAutomation.RecordingState), System.DateTimeOffset? startDateTime = default(System.DateTimeOffset?), Azure.Communication.CallAutomation.RecordingKind? recordingKind = default(Azure.Communication.CallAutomation.RecordingKind?), Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } + public static Azure.Communication.CallAutomation.RecognizeFailed RecognizeFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } + public static Azure.Communication.CallAutomation.RecordingStateChanged RecordingStateChanged(string recordingId = null, Azure.Communication.CallAutomation.RecordingState state = default(Azure.Communication.CallAutomation.RecordingState), System.DateTimeOffset? startDateTime = default(System.DateTimeOffset?), Azure.Communication.CallAutomation.RecordingKind? recordingKind = default(Azure.Communication.CallAutomation.RecordingKind?), string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } public static Azure.Communication.CallAutomation.RecordingStateResult RecordingStateResult(string recordingId = null, Azure.Communication.CallAutomation.RecordingState? recordingState = default(Azure.Communication.CallAutomation.RecordingState?), Azure.Communication.CallAutomation.RecordingKind? recordingKind = default(Azure.Communication.CallAutomation.RecordingKind?)) { throw null; } - public static Azure.Communication.CallAutomation.RecordingStorageInfo RecordingStorageInfo(System.Collections.Generic.IEnumerable recordingChunks = null) { throw null; } public static Azure.Communication.CallAutomation.RemoveParticipantFailed RemoveParticipantFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CommunicationIdentifier participant = null) { throw null; } public static Azure.Communication.CallAutomation.RemoveParticipantResult RemoveParticipantResult(string operationContext = null) { throw null; } public static Azure.Communication.CallAutomation.RemoveParticipantSucceeded RemoveParticipantSucceeded(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CommunicationIdentifier participant = null) { throw null; } @@ -263,15 +250,14 @@ public static partial class CallAutomationModelFactory public static Azure.Communication.CallAutomation.SendDtmfTonesCompleted SendDtmfTonesCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.SendDtmfTonesFailed SendDtmfTonesFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } public static Azure.Communication.CallAutomation.SendDtmfTonesResult SendDtmfTonesResult(string operationContext = null) { throw null; } - public static Azure.Communication.CallAutomation.SpeechResult SpeechResult(string speech = null, double? confidence = default(double?)) { throw null; } - public static Azure.Communication.CallAutomation.StartRecordingFailed StartRecordingFailed(string callConnectionId = null, string correlationId = null, string recordingId = null) { throw null; } - public static Azure.Communication.CallAutomation.TranscriptionFailed TranscriptionFailed(Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } - public static Azure.Communication.CallAutomation.TranscriptionStarted TranscriptionStarted(Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } - public static Azure.Communication.CallAutomation.TranscriptionStopped TranscriptionStopped(Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } + public static Azure.Communication.CallAutomation.SpeechResult SpeechResult(string speech = null) { throw null; } + public static Azure.Communication.CallAutomation.StartRecordingFailed StartRecordingFailed(string recordingId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } + public static Azure.Communication.CallAutomation.TranscriptionFailed TranscriptionFailed(string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } + public static Azure.Communication.CallAutomation.TranscriptionStarted TranscriptionStarted(string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } + public static Azure.Communication.CallAutomation.TranscriptionStopped TranscriptionStopped(string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } public static Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdate(Azure.Communication.CallAutomation.TranscriptionStatus? transcriptionStatus = default(Azure.Communication.CallAutomation.TranscriptionStatus?), Azure.Communication.CallAutomation.TranscriptionStatusDetails? transcriptionStatusDetails = default(Azure.Communication.CallAutomation.TranscriptionStatusDetails?)) { throw null; } - public static Azure.Communication.CallAutomation.TranscriptionUpdated TranscriptionUpdated(Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; } + public static Azure.Communication.CallAutomation.TranscriptionUpdated TranscriptionUpdated(string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null, Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { throw null; } public static Azure.Communication.CallAutomation.TransferCallToParticipantResult TransferCallToParticipantResult(string operationContext = null) { throw null; } - public static Azure.Communication.CallAutomation.UnmuteParticipantResult UnmuteParticipantResult(string operationContext = null) { throw null; } public static Azure.Communication.CallAutomation.UserConsent UserConsent(int? recording = default(int?)) { throw null; } } public partial class CallConnected : Azure.Communication.CallAutomation.CallAutomationEventBase @@ -317,27 +303,22 @@ protected CallConnection() { } public virtual Azure.Response TransferCallToParticipant(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> TransferCallToParticipantAsync(Azure.Communication.CallAutomation.TransferToParticipantOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> TransferCallToParticipantAsync(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UnmuteParticipant(Azure.Communication.CallAutomation.UnmuteParticipantOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UnmuteParticipant(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UnmuteParticipantAsync(Azure.Communication.CallAutomation.UnmuteParticipantOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UnmuteParticipantAsync(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class CallConnectionProperties { internal CallConnectionProperties() { } public Azure.Communication.CommunicationUserIdentifier AnsweredBy { get { throw null; } } - public Azure.Communication.PhoneNumberIdentifier AnsweredFor { get { throw null; } } public System.Uri CallbackUri { get { throw null; } } public string CallConnectionId { get { throw null; } } public Azure.Communication.CallAutomation.CallConnectionState CallConnectionState { get { throw null; } } public string CorrelationId { get { throw null; } } + public string DataSubscriptionId { get { throw null; } } public Azure.Communication.CallAutomation.MediaStreamingSubscription MediaStreamingSubscription { get { throw null; } } public string ServerCallId { get { throw null; } } public Azure.Communication.CommunicationIdentifier Source { get { throw null; } } public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } } public string SourceDisplayName { get { throw null; } } public System.Collections.Generic.IReadOnlyList Targets { get { throw null; } } - public Azure.Communication.CallAutomation.TranscriptionSubscription TranscriptionSubscription { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CallConnectionState : System.IEquatable @@ -366,12 +347,10 @@ public partial class CallDialog { protected CallDialog() { } public virtual string CallConnectionId { get { throw null; } } - public virtual Azure.Response StartDialog(Azure.Communication.CallAutomation.StartDialogOptions startDialog, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> StartDialogAsync(Azure.Communication.CallAutomation.StartDialogOptions startDialogOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response StopDialog(string dialogId, System.Uri operationCallbackUri = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> StopDialogAsync(string dialogId, System.Uri operationCallbackUri = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateDialog(Azure.Communication.CallAutomation.UpdateDialogOptions updateDialogOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task UpdateDialogAsync(Azure.Communication.CallAutomation.UpdateDialogOptions updateDialogOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response StartDialog(Azure.Communication.CallAutomation.StartDialog startDialog, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> StartDialogAsync(Azure.Communication.CallAutomation.StartDialog StartDialog, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response StopDialog(string dialogId, string operationCallbackUri = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> StopDialogAsync(string dialogId, string operationCallbackUri = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class CallDisconnected : Azure.Communication.CallAutomation.CallAutomationEventBase { @@ -390,6 +369,7 @@ public CallInvite(Azure.Communication.CommunicationUserIdentifier targetIdentity public CallInvite(Azure.Communication.MicrosoftTeamsAppIdentifier targetIdentity) { } public CallInvite(Azure.Communication.MicrosoftTeamsUserIdentifier targetIdentity) { } public CallInvite(Azure.Communication.PhoneNumberIdentifier targetPhoneNumberIdentity, Azure.Communication.PhoneNumberIdentifier callerIdNumber) { } + public CallInvite(Azure.Communication.TeamsExtensionUserIdentifier targetIdentity) { } public Azure.Communication.CallAutomation.CustomCallingContext CustomCallingContext { get { throw null; } } public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } set { } } public string SourceDisplayName { get { throw null; } set { } } @@ -409,26 +389,18 @@ protected CallMedia() { } public virtual string CallConnectionId { get { throw null; } } public virtual Azure.Response CancelAllMediaOperations(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CancelAllMediaOperationsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Hold(Azure.Communication.CallAutomation.HoldOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Hold(Azure.Communication.CommunicationIdentifier targetParticipant, Azure.Communication.CallAutomation.PlaySource playSource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Hold(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task HoldAsync(Azure.Communication.CallAutomation.HoldOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task HoldAsync(Azure.Communication.CommunicationIdentifier targetParticipant, Azure.Communication.CallAutomation.PlaySource playSource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task HoldAsync(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Hold(Azure.Communication.CallAutomation.HoldOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> HoldAsync(Azure.Communication.CallAutomation.HoldOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response InterruptAudioAndAnnounce(Azure.Communication.CallAutomation.InterruptAudioAndAnnounceOptions announcementOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> InterruptAudioAndAnnounceAsync(Azure.Communication.CallAutomation.InterruptAudioAndAnnounceOptions announcementOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Play(Azure.Communication.CallAutomation.PlayOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Play(Azure.Communication.CallAutomation.PlaySource playSource, System.Collections.Generic.IEnumerable playTo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Play(System.Collections.Generic.IEnumerable playSources, System.Collections.Generic.IEnumerable playTo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> PlayAsync(Azure.Communication.CallAutomation.PlayOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> PlayAsync(Azure.Communication.CallAutomation.PlaySource playSource, System.Collections.Generic.IEnumerable playTo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> PlayAsync(System.Collections.Generic.IEnumerable playSources, System.Collections.Generic.IEnumerable playTo, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response PlayToAll(Azure.Communication.CallAutomation.PlaySource playSource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response PlayToAll(Azure.Communication.CallAutomation.PlayToAllOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response PlayToAll(System.Collections.Generic.IEnumerable playSources, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> PlayToAllAsync(Azure.Communication.CallAutomation.PlaySource playSource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> PlayToAllAsync(Azure.Communication.CallAutomation.PlayToAllOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> PlayToAllAsync(System.Collections.Generic.IEnumerable playSources, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response SendDtmfTones(Azure.Communication.CallAutomation.SendDtmfTonesOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response SendDtmfTones(System.Collections.Generic.IEnumerable tones, Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SendDtmfTonesAsync(Azure.Communication.CallAutomation.SendDtmfTonesOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -451,13 +423,9 @@ protected CallMedia() { } public virtual System.Threading.Tasks.Task StopMediaStreamingAsync(Azure.Communication.CallAutomation.StopMediaStreamingOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response StopTranscription(Azure.Communication.CallAutomation.StopTranscriptionOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task StopTranscriptionAsync(Azure.Communication.CallAutomation.StopTranscriptionOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Unhold(Azure.Communication.CallAutomation.UnholdOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Unhold(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task UnholdAsync(Azure.Communication.CallAutomation.UnholdOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task UnholdAsync(Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateTranscription(Azure.Communication.CallAutomation.UpdateTranscriptionOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task UpdateTranscription(string locale, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task UpdateTranscriptionAsync(Azure.Communication.CallAutomation.UpdateTranscriptionOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Unhold(Azure.Communication.CallAutomation.UnholdOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UnholdAsync(Azure.Communication.CallAutomation.UnholdOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTranscription(string locale, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateTranscriptionAsync(string locale, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -500,7 +468,6 @@ protected CallMediaRecognizeOptions(Azure.Communication.CallAutomation.Recognize public bool InterruptPrompt { get { throw null; } set { } } public System.Uri OperationCallbackUri { get { throw null; } set { } } public string OperationContext { get { throw null; } set { } } - public System.Collections.Generic.IList PlayPrompts { get { throw null; } set { } } public Azure.Communication.CallAutomation.PlaySource Prompt { get { throw null; } set { } } public string SpeechLanguage { get { throw null; } set { } } public string SpeechModelEndpointId { get { throw null; } set { } } @@ -537,8 +504,6 @@ protected CallRecording() { } public virtual Azure.Response DownloadTo(System.Uri sourceLocation, string destinationPath, Azure.Communication.CallAutomation.ContentTransferOptions transferOptions = default(Azure.Communication.CallAutomation.ContentTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DownloadToAsync(System.Uri sourceLocation, System.IO.Stream destinationStream, Azure.Communication.CallAutomation.ContentTransferOptions transferOptions = default(Azure.Communication.CallAutomation.ContentTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DownloadToAsync(System.Uri sourceLocation, string destinationPath, Azure.Communication.CallAutomation.ContentTransferOptions transferOptions = default(Azure.Communication.CallAutomation.ContentTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetRecording(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetRecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetState(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetStateAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Pause(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -569,48 +534,6 @@ protected CallRecording() { } public static bool operator !=(Azure.Communication.CallAutomation.CallRejectReason left, Azure.Communication.CallAutomation.CallRejectReason right) { throw null; } public override string ToString() { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct CallSessionEndReason : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public CallSessionEndReason(string value) { throw null; } - public static Azure.Communication.CallAutomation.CallSessionEndReason AllInstancesBusy { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason AppHostedMediaFailureOutcomeGracefully { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason AppHostedMediaFailureOutcomeWithError { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason AudioStreamFailure { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason CallEnded { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason CallStartTimeout { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason ChunkCreationFailed { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason CouldNotRejoinCall { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason CouldNotStart { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason HandedOverDueToAudioStreamFailure { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason HandedOverDueToChunkCreationFailure { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason HandedOverDueToMediaTimeout { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason HandedOverDueToProcessingTimeout { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason HandedOverOrTransfered { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason InitiatorLeft { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason InvalidBotData { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason MaximumSessionTimeReached { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason MediaTimeout { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason ProcessingTimeout { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason ReportCallStateFailed { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason ReportCallStateFailedAndSessionMustBeDiscarded { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason SessionStillOngoing { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason SpeechRecognitionSessionNonRetriableError { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason SpeechRecognitionSessionRetriableErrorMaxRetryCountReached { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason TeamsTokenConversionFailed { get { throw null; } } - public static Azure.Communication.CallAutomation.CallSessionEndReason TranscriptObjectCreationFailed { get { throw null; } } - public bool Equals(Azure.Communication.CallAutomation.CallSessionEndReason other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Communication.CallAutomation.CallSessionEndReason left, Azure.Communication.CallAutomation.CallSessionEndReason right) { throw null; } - public static implicit operator Azure.Communication.CallAutomation.CallSessionEndReason (string value) { throw null; } - public static bool operator !=(Azure.Communication.CallAutomation.CallSessionEndReason left, Azure.Communication.CallAutomation.CallSessionEndReason right) { throw null; } - public override string ToString() { throw null; } - } public partial class CallTransferAccepted : Azure.Communication.CallAutomation.CallAutomationEventBase { internal CallTransferAccepted() { } @@ -627,9 +550,7 @@ public partial class CancelAddParticipantEventResult { internal CancelAddParticipantEventResult() { } public Azure.Communication.CallAutomation.CancelAddParticipantFailed FailureResult { get { throw null; } } - public string InvitationId { get { throw null; } } public bool IsSuccess { get { throw null; } } - public Azure.Communication.CommunicationIdentifier Participant { get { throw null; } } public Azure.Communication.CallAutomation.CancelAddParticipantSucceeded SuccessResult { get { throw null; } } } public partial class CancelAddParticipantFailed : Azure.Communication.CallAutomation.CallAutomationEventBase @@ -685,27 +606,6 @@ internal ChoiceResult() { } public string RecognizedPhrase { get { throw null; } } public override Azure.Communication.CallAutomation.RecognizeResultType ResultType { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct ChunkEndReason : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public ChunkEndReason(string value) { throw null; } - public static Azure.Communication.CallAutomation.ChunkEndReason ChunkIsBeingRecorded { get { throw null; } } - public static Azure.Communication.CallAutomation.ChunkEndReason ChunkMaximumSizeExceeded { get { throw null; } } - public static Azure.Communication.CallAutomation.ChunkEndReason ChunkMaximumTimeExceeded { get { throw null; } } - public static Azure.Communication.CallAutomation.ChunkEndReason ChunkUploadFailure { get { throw null; } } - public static Azure.Communication.CallAutomation.ChunkEndReason SessionEnded { get { throw null; } } - public bool Equals(Azure.Communication.CallAutomation.ChunkEndReason other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Communication.CallAutomation.ChunkEndReason left, Azure.Communication.CallAutomation.ChunkEndReason right) { throw null; } - public static implicit operator Azure.Communication.CallAutomation.ChunkEndReason (string value) { throw null; } - public static bool operator !=(Azure.Communication.CallAutomation.ChunkEndReason left, Azure.Communication.CallAutomation.ChunkEndReason right) { throw null; } - public override string ToString() { throw null; } - } public partial class ConnectCallEventResult { internal ConnectCallEventResult() { } @@ -813,7 +713,6 @@ public partial class CreateGroupCallOptions public CreateGroupCallOptions(System.Collections.Generic.IEnumerable targets, System.Uri callbackUri) { } public System.Uri CallbackUri { get { throw null; } } public Azure.Communication.CallAutomation.CallIntelligenceOptions CallIntelligenceOptions { get { throw null; } set { } } - public Azure.Communication.CallAutomation.CustomCallingContext CustomCallingContext { get { throw null; } } public Azure.Communication.CallAutomation.MediaStreamingOptions MediaStreamingOptions { get { throw null; } set { } } public string OperationContext { get { throw null; } set { } } public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } set { } } @@ -826,12 +725,10 @@ public partial class CustomCallingContext { internal CustomCallingContext() { } public System.Collections.Generic.IDictionary SipHeaders { get { throw null; } } - public Azure.Communication.CallAutomation.TeamsPhoneCallDetails TeamsPhoneCallDetails { get { throw null; } } public System.Collections.Generic.IDictionary VoipHeaders { get { throw null; } } public void AddSipUui(string value) { } public void AddSipX(string key, string value, Azure.Communication.CallAutomation.CustomCallingContext.SipHeaderPrefix prefix = Azure.Communication.CallAutomation.CustomCallingContext.SipHeaderPrefix.XMSCustom) { } public void AddVoip(string key, string value) { } - public void SetTeamsPhoneCallDetails(Azure.Communication.CallAutomation.TeamsPhoneCallDetails teamsPhoneCallDetails) { } public enum SipHeaderPrefix { XMSCustom = 0, @@ -863,7 +760,6 @@ internal DialogEventResult() { } public Azure.Communication.CallAutomation.DialogSensitivityUpdate DialogSensitivityUpdateEvent { get { throw null; } } public Azure.Communication.CallAutomation.DialogStarted DialogStartedSuccessEvent { get { throw null; } } public Azure.Communication.CallAutomation.DialogTransfer DialogTransferSuccessEvent { get { throw null; } } - public Azure.Communication.CallAutomation.DialogUpdated DialogUpdatedEvent { get { throw null; } } public Azure.Communication.CallAutomation.DialogFailed FailureResult { get { throw null; } } public bool IsSuccess { get { throw null; } } } @@ -888,7 +784,6 @@ internal DialogHangup() { } private readonly object _dummy; private readonly int _dummyPrimitive; public DialogInputType(string value) { throw null; } - public static Azure.Communication.CallAutomation.DialogInputType AzureOpenAI { get { throw null; } } public static Azure.Communication.CallAutomation.DialogInputType PowerVirtualAgents { get { throw null; } } public bool Equals(Azure.Communication.CallAutomation.DialogInputType other) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] @@ -941,21 +836,6 @@ internal DialogTransfer() { } public string TransferType { get { throw null; } } public static Azure.Communication.CallAutomation.DialogTransfer Deserialize(string content) { throw null; } } - public abstract partial class DialogUpdateBase - { - protected DialogUpdateBase() { } - public System.Collections.Generic.IDictionary Context { get { throw null; } set { } } - } - public partial class DialogUpdated : Azure.Communication.CallAutomation.CallAutomationEventBase - { - internal DialogUpdated() { } - public string DialogId { get { throw null; } } - public Azure.Communication.CallAutomation.DialogInputType? DialogInputType { get { throw null; } } - public object IvrContext { get { throw null; } } - public string UpdatedDestination { get { throw null; } } - public string UpdatedType { get { throw null; } } - public static Azure.Communication.CallAutomation.DialogUpdated Deserialize(string content) { throw null; } - } public partial class DtmfResult : Azure.Communication.CallAutomation.RecognizeResult { internal DtmfResult() { } @@ -996,13 +876,6 @@ internal DtmfResult() { } public char ToChar() { throw null; } public override string ToString() { throw null; } } - public partial class ErrorDetails - { - internal ErrorDetails() { } - public string Code { get { throw null; } } - public Azure.Communication.CallAutomation.ErrorDetails InnerError { get { throw null; } } - public string Message { get { throw null; } } - } public partial class FileSource : Azure.Communication.CallAutomation.PlaySource { public FileSource(System.Uri fileUri) { } @@ -1080,16 +953,6 @@ internal IncomingCall() { } public Azure.Communication.CommunicationIdentifier To { get { throw null; } } public static Azure.Communication.CallAutomation.IncomingCall Deserialize(string content) { throw null; } } - public partial class InterruptAudioAndAnnounceEventResult - { - internal InterruptAudioAndAnnounceEventResult() { } - public Azure.Communication.CallAutomation.PlayFailed FailureResult { get { throw null; } } - public bool IsSuccess { get { throw null; } } - public Azure.Communication.CallAutomation.PlayPaused PauseResult { get { throw null; } } - public Azure.Communication.CallAutomation.PlayResumed ResumeResult { get { throw null; } } - public Azure.Communication.CallAutomation.PlayStarted StartResult { get { throw null; } } - public Azure.Communication.CallAutomation.PlayCompleted SuccessResult { get { throw null; } } - } public partial class InterruptAudioAndAnnounceOptions { public InterruptAudioAndAnnounceOptions(Azure.Communication.CallAutomation.PlaySource announcement, Azure.Communication.CommunicationIdentifier playTo) { } @@ -1306,8 +1169,8 @@ public partial class MediaStreamingUpdate { internal MediaStreamingUpdate() { } public string ContentType { get { throw null; } } - public Azure.Communication.CallAutomation.MediaStreamingStatus? MediaStreamingStatus { get { throw null; } } - public Azure.Communication.CallAutomation.MediaStreamingStatusDetails? MediaStreamingStatusDetails { get { throw null; } } + public Azure.Communication.CallAutomation.MediaStreamingStatus MediaStreamingStatus { get { throw null; } } + public Azure.Communication.CallAutomation.MediaStreamingStatusDetails MediaStreamingStatusDetails { get { throw null; } } } public partial class MoveParticipantEventResult { @@ -1400,7 +1263,6 @@ internal PlayEventResult() { } public partial class PlayFailed : Azure.Communication.CallAutomation.CallAutomationEventBase { internal PlayFailed() { } - public int? FailedPlaySourceIndex { get { throw null; } } public Azure.Communication.CallAutomation.MediaEventReasonCode ReasonCode { get { throw null; } } public static Azure.Communication.CallAutomation.PlayFailed Deserialize(string content) { throw null; } } @@ -1441,6 +1303,7 @@ protected PlaySource() { } public partial class PlayStarted : Azure.Communication.CallAutomation.CallAutomationEventBase { internal PlayStarted() { } + public Azure.Communication.CallAutomation.MediaEventReasonCode ReasonCode { get { throw null; } } public static Azure.Communication.CallAutomation.PlayStarted Deserialize(string content) { throw null; } } public partial class PlayToAllOptions @@ -1453,13 +1316,6 @@ public PlayToAllOptions(System.Collections.Generic.IEnumerable PlaySources { get { throw null; } } } - public partial class PostProcessingOptions - { - public PostProcessingOptions(Azure.Communication.CallAutomation.TranscriptionSettings transcription) { } - public string CognitiveServicesEndpoint { get { throw null; } set { } } - public Azure.Communication.CallAutomation.SummarizationSettings Summarization { get { throw null; } set { } } - public Azure.Communication.CallAutomation.TranscriptionSettings Transcription { get { throw null; } } - } public partial class PowerVirtualAgentsDialog : Azure.Communication.CallAutomation.BaseDialog { public PowerVirtualAgentsDialog(string botAppId, System.Collections.Generic.IDictionary context, string language = null) : base (default(System.Collections.Generic.IDictionary)) { } @@ -1489,7 +1345,6 @@ internal RecognizeCompleted() { } public partial class RecognizeFailed : Azure.Communication.CallAutomation.CallAutomationEventBase { internal RecognizeFailed() { } - public int? FailedPlaySourceIndex { get { throw null; } } public Azure.Communication.CallAutomation.MediaEventReasonCode ReasonCode { get { throw null; } } public static Azure.Communication.CallAutomation.RecognizeFailed Deserialize(string content) { throw null; } } @@ -1525,7 +1380,6 @@ protected RecognizeResult() { } private readonly int _dummyPrimitive; public RecognizeResultType(string value) { throw null; } public static Azure.Communication.CallAutomation.RecognizeResultType ChoiceResult { get { throw null; } } - public static Azure.Communication.CallAutomation.RecognizeResultType CollectTonesResult { get { throw null; } } public static Azure.Communication.CallAutomation.RecognizeResultType DtmfResult { get { throw null; } } public static Azure.Communication.CallAutomation.RecognizeResultType SpeechResult { get { throw null; } } public bool Equals(Azure.Communication.CallAutomation.RecognizeResultType other) { throw null; } @@ -1556,16 +1410,6 @@ protected RecognizeResult() { } public static bool operator !=(Azure.Communication.CallAutomation.RecordingChannel left, Azure.Communication.CallAutomation.RecordingChannel right) { throw null; } public override string ToString() { throw null; } } - public partial class RecordingChunkStorageInfo - { - internal RecordingChunkStorageInfo() { } - public string ContentLocation { get { throw null; } } - public string DeleteLocation { get { throw null; } } - public string DocumentId { get { throw null; } } - public Azure.Communication.CallAutomation.ChunkEndReason? EndReason { get { throw null; } } - public int? Index { get { throw null; } } - public string MetadataLocation { get { throw null; } } - } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct RecordingContent : System.IEquatable { @@ -1622,17 +1466,6 @@ internal RecordingChunkStorageInfo() { } public static bool operator !=(Azure.Communication.CallAutomation.RecordingKind left, Azure.Communication.CallAutomation.RecordingKind right) { throw null; } public override string ToString() { throw null; } } - public partial class RecordingResult - { - internal RecordingResult() { } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public long? RecordingDurationMs { get { throw null; } } - public System.DateTimeOffset? RecordingExpirationTime { get { throw null; } } - public string RecordingId { get { throw null; } } - public System.DateTimeOffset? RecordingStartTime { get { throw null; } } - public Azure.Communication.CallAutomation.RecordingStorageInfo RecordingStorageInfo { get { throw null; } } - public Azure.Communication.CallAutomation.CallSessionEndReason? SessionEndReason { get { throw null; } } - } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct RecordingState : System.IEquatable { @@ -1667,36 +1500,6 @@ internal RecordingStateResult() { } public Azure.Communication.CallAutomation.RecordingKind? RecordingKind { get { throw null; } } public Azure.Communication.CallAutomation.RecordingState? RecordingState { get { throw null; } } } - public abstract partial class RecordingStorage - { - public RecordingStorage(Azure.Communication.CallAutomation.RecordingStorageKind recordingStorageKind) { } - public Azure.Communication.CallAutomation.RecordingStorageKind RecordingStorageKind { get { throw null; } } - public static Azure.Communication.CallAutomation.RecordingStorage CreateAzureBlobContainerRecordingStorage(System.Uri recordingDestinationContainerUri) { throw null; } - public static Azure.Communication.CallAutomation.RecordingStorage CreateAzureCommunicationsRecordingStorage() { throw null; } - } - public partial class RecordingStorageInfo - { - internal RecordingStorageInfo() { } - public System.Collections.Generic.IReadOnlyList RecordingChunks { get { throw null; } } - } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct RecordingStorageKind : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public RecordingStorageKind(string value) { throw null; } - public static Azure.Communication.CallAutomation.RecordingStorageKind AzureBlobStorage { get { throw null; } } - public static Azure.Communication.CallAutomation.RecordingStorageKind AzureCommunicationServices { get { throw null; } } - public bool Equals(Azure.Communication.CallAutomation.RecordingStorageKind other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Communication.CallAutomation.RecordingStorageKind left, Azure.Communication.CallAutomation.RecordingStorageKind right) { throw null; } - public static implicit operator Azure.Communication.CallAutomation.RecordingStorageKind (string value) { throw null; } - public static bool operator !=(Azure.Communication.CallAutomation.RecordingStorageKind left, Azure.Communication.CallAutomation.RecordingStorageKind right) { throw null; } - public override string ToString() { throw null; } - } public partial class RedirectCallOptions { public RedirectCallOptions(string incomingCallContext, Azure.Communication.CallAutomation.CallInvite callInvite) { } @@ -1750,6 +1553,11 @@ internal ResultInformation() { } public string Message { get { throw null; } } public int? SubCode { get { throw null; } } } + public enum ResultStatus + { + Intermediate = 0, + Final = 1, + } public partial class RoomCallLocator : Azure.Communication.CallAutomation.CallLocator { public RoomCallLocator(string id) { } @@ -1799,7 +1607,6 @@ public ServerCallLocator(string id) { } public partial class SpeechResult : Azure.Communication.CallAutomation.RecognizeResult { internal SpeechResult() { } - public double? Confidence { get { throw null; } } public override Azure.Communication.CallAutomation.RecognizeResultType ResultType { get { throw null; } } public string Speech { get { throw null; } } } @@ -1809,22 +1616,15 @@ public SsmlSource(string ssmlText) { } public string CustomVoiceEndpointId { get { throw null; } set { } } public string SsmlText { get { throw null; } } } - public partial class StartDialogOptions + public partial class StartDialog { - public StartDialogOptions(Azure.Communication.CallAutomation.BaseDialog dialog) { } - public StartDialogOptions(string dialogId, Azure.Communication.CallAutomation.BaseDialog dialog) { } + public StartDialog(Azure.Communication.CallAutomation.BaseDialog dialog) { } + public StartDialog(string dialogId, Azure.Communication.CallAutomation.BaseDialog dialog) { } public Azure.Communication.CallAutomation.BaseDialog Dialog { get { throw null; } } public string DialogId { get { throw null; } } + public string OperationCallbackUri { get { throw null; } set { } } public string OperationContext { get { throw null; } set { } } } - public partial class StartHoldMusicOptions - { - public StartHoldMusicOptions(Azure.Communication.CommunicationIdentifier targetParticipant, Azure.Communication.CallAutomation.PlaySource playSourceInfo) { } - public bool Loop { get { throw null; } set { } } - public string OperationContext { get { throw null; } set { } } - public Azure.Communication.CallAutomation.PlaySource PlaySourceInfo { get { throw null; } set { } } - public Azure.Communication.CommunicationIdentifier TargetParticipant { get { throw null; } } - } public partial class StartMediaStreamingOptions { public StartMediaStreamingOptions() { } @@ -1858,31 +1658,21 @@ public StartRecordingOptions(string callConnectionId) { } public System.Collections.Generic.IList AudioChannelParticipantOrdering { get { throw null; } } public System.Collections.Generic.IList ChannelAffinity { get { throw null; } set { } } public bool PauseOnStart { get { throw null; } set { } } - public Azure.Communication.CallAutomation.PostProcessingOptions PostProcessingOptions { get { throw null; } set { } } public Azure.Communication.CallAutomation.RecordingChannel RecordingChannel { get { throw null; } set { } } public Azure.Communication.CallAutomation.RecordingContent RecordingContent { get { throw null; } set { } } public Azure.Communication.CallAutomation.RecordingFormat RecordingFormat { get { throw null; } set { } } public System.Uri RecordingStateCallbackUri { get { throw null; } set { } } - public Azure.Communication.CallAutomation.RecordingStorage RecordingStorage { get { throw null; } set { } } } public partial class StartTranscriptionOptions { public StartTranscriptionOptions() { } public string Locale { get { throw null; } set { } } - public string OperationCallbackUri { get { throw null; } set { } } public string OperationContext { get { throw null; } set { } } - public string SpeechRecognitionModelEndpointId { get { throw null; } set { } } } public partial class StopAudio { public StopAudio() { } } - public partial class StopHoldMusicOptions - { - public StopHoldMusicOptions(Azure.Communication.CommunicationIdentifier targetParticipant) { } - public string OperationContext { get { throw null; } set { } } - public Azure.Communication.CommunicationIdentifier TargetParticipant { get { throw null; } } - } public partial class StopMediaStreamingOptions { public StopMediaStreamingOptions() { } @@ -1892,9 +1682,7 @@ public StopMediaStreamingOptions() { } public partial class StopTranscriptionOptions { public StopTranscriptionOptions() { } - public string OperationCallbackUri { get { throw null; } set { } } public string OperationContext { get { throw null; } set { } } - public string SpeechRecognitionModelEndpointId { get { throw null; } set { } } } public abstract partial class StreamingData { @@ -1911,50 +1699,11 @@ public enum StreamingDataKind TranscriptionData = 2, TranscriptionMetadata = 3, } - public partial class SummarizationSettings - { - public SummarizationSettings(bool enableSummarization) { } - public bool EnableSummarization { get { throw null; } } - } - public partial class TeamsExtensionUserIdentifierModel + public static partial class StreamingDataParser { - public TeamsExtensionUserIdentifierModel(string userId, string tenantId, string resourceId) { } - public string ResourceId { get { throw null; } set { } } - public string TenantId { get { throw null; } set { } } - public string UserId { get { throw null; } set { } } - } - public partial class TeamsPhoneCallDetails - { - public TeamsPhoneCallDetails() { } - public string CallContext { get { throw null; } set { } } - public string CallSentiment { get { throw null; } set { } } - public string CallTopic { get { throw null; } set { } } - public string Intent { get { throw null; } set { } } - public string SessionId { get { throw null; } set { } } - public string SuggestedActions { get { throw null; } set { } } - public Azure.Communication.CallAutomation.TeamsPhoneCallerDetails TeamsPhoneCallerDetails { get { throw null; } set { } } - public Azure.Communication.CallAutomation.TeamsPhoneSourceDetails TeamsPhoneSourceDetails { get { throw null; } set { } } - public string TranscriptUrl { get { throw null; } set { } } - } - public partial class TeamsPhoneCallerDetails - { - public TeamsPhoneCallerDetails(Azure.Communication.CommunicationIdentifier caller, string name, string phoneNumber) { } - public System.Collections.Generic.IDictionary AdditionalCallerInformation { get { throw null; } } - public bool? IsAuthenticated { get { throw null; } set { } } - public string Name { get { throw null; } set { } } - public string PhoneNumber { get { throw null; } set { } } - public string RecordId { get { throw null; } set { } } - public string ScreenPopUrl { get { throw null; } set { } } - public bool AddAdditionalCallerInformation(string key, string value) { throw null; } - } - public partial class TeamsPhoneSourceDetails - { - public TeamsPhoneSourceDetails(Azure.Communication.CommunicationIdentifier source, string language, string status) { } - public System.Collections.Generic.IDictionary IntendedTargets { get { throw null; } } - public string Language { get { throw null; } set { } } - public Azure.Communication.CommunicationIdentifier Source { get { throw null; } set { } } - public string Status { get { throw null; } set { } } - public bool AddIntendedTargets(string key, Azure.Communication.CommunicationIdentifier target) { throw null; } + public static Azure.Communication.CallAutomation.StreamingData Parse(System.BinaryData json) { throw null; } + public static Azure.Communication.CallAutomation.StreamingData Parse(byte[] receivedBytes) { throw null; } + public static Azure.Communication.CallAutomation.StreamingData Parse(string stringJson) { throw null; } } public enum TextFormat { @@ -1975,19 +1724,18 @@ public partial class TranscriptionData : Azure.Communication.CallAutomation.Stre { internal TranscriptionData() { } public double Confidence { get { throw null; } set { } } - public System.TimeSpan Duration { get { throw null; } set { } } + public ulong Duration { get { throw null; } set { } } public Azure.Communication.CallAutomation.TextFormat Format { get { throw null; } set { } } - public System.TimeSpan Offset { get { throw null; } set { } } + public ulong Offset { get { throw null; } set { } } public Azure.Communication.CommunicationIdentifier Participant { get { throw null; } set { } } - public Azure.Communication.CallAutomation.TranscriptionResultState ResultState { get { throw null; } set { } } + public Azure.Communication.CallAutomation.ResultStatus ResultStatus { get { throw null; } set { } } public string Text { get { throw null; } set { } } public System.Collections.Generic.IEnumerable Words { get { throw null; } set { } } } public partial class TranscriptionFailed : Azure.Communication.CallAutomation.CallAutomationEventBase { internal TranscriptionFailed() { } - public Azure.Communication.CallAutomation.MediaEventReasonCode ReasonCode { get { throw null; } } - public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdate { get { throw null; } } + public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdateResult { get { throw null; } } public static Azure.Communication.CallAutomation.TranscriptionFailed Deserialize(string content) { throw null; } } public partial class TranscriptionMetadata : Azure.Communication.CallAutomation.StreamingData @@ -2004,41 +1752,16 @@ public TranscriptionMetadata() { } } public partial class TranscriptionOptions { - public TranscriptionOptions(System.Uri transportUri, string locale, bool? startTranscription = default(bool?), Azure.Communication.CallAutomation.TranscriptionTransport transcriptionTransport = default(Azure.Communication.CallAutomation.TranscriptionTransport)) { } - public bool? EnableIntermediateResults { get { throw null; } set { } } + public TranscriptionOptions(System.Uri transportUri, Azure.Communication.CallAutomation.TranscriptionTransport transportType, string locale, bool startTranscription) { } public string Locale { get { throw null; } } - public string SpeechRecognitionModelEndpointId { get { throw null; } set { } } - public bool? StartTranscription { get { throw null; } } + public bool StartTranscription { get { throw null; } } public Azure.Communication.CallAutomation.TranscriptionTransport TranscriptionTransport { get { throw null; } } public System.Uri TransportUrl { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct TranscriptionResultState : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public TranscriptionResultState(string value) { throw null; } - public static Azure.Communication.CallAutomation.TranscriptionResultState Final { get { throw null; } } - public static Azure.Communication.CallAutomation.TranscriptionResultState Intermediate { get { throw null; } } - public bool Equals(Azure.Communication.CallAutomation.TranscriptionResultState other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Communication.CallAutomation.TranscriptionResultState left, Azure.Communication.CallAutomation.TranscriptionResultState right) { throw null; } - public static implicit operator Azure.Communication.CallAutomation.TranscriptionResultState (string value) { throw null; } - public static bool operator !=(Azure.Communication.CallAutomation.TranscriptionResultState left, Azure.Communication.CallAutomation.TranscriptionResultState right) { throw null; } - public override string ToString() { throw null; } - } - public partial class TranscriptionSettings - { - public TranscriptionSettings(bool enableTranscription) { } - public bool EnableTranscription { get { throw null; } } - } public partial class TranscriptionStarted : Azure.Communication.CallAutomation.CallAutomationEventBase { internal TranscriptionStarted() { } - public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdate { get { throw null; } } + public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdateResult { get { throw null; } } public static Azure.Communication.CallAutomation.TranscriptionStarted Deserialize(string content) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -2097,35 +1820,9 @@ internal TranscriptionStarted() { } public partial class TranscriptionStopped : Azure.Communication.CallAutomation.CallAutomationEventBase { internal TranscriptionStopped() { } - public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdate { get { throw null; } } + public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdateResult { get { throw null; } } public static Azure.Communication.CallAutomation.TranscriptionStopped Deserialize(string content) { throw null; } } - public partial class TranscriptionSubscription - { - internal TranscriptionSubscription() { } - public string Id { get { throw null; } } - public Azure.Communication.CallAutomation.TranscriptionSubscriptionState? State { get { throw null; } } - public System.Collections.Generic.IReadOnlyList SubscribedResultStates { get { throw null; } } - } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct TranscriptionSubscriptionState : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public TranscriptionSubscriptionState(string value) { throw null; } - public static Azure.Communication.CallAutomation.TranscriptionSubscriptionState Active { get { throw null; } } - public static Azure.Communication.CallAutomation.TranscriptionSubscriptionState Disabled { get { throw null; } } - public static Azure.Communication.CallAutomation.TranscriptionSubscriptionState Inactive { get { throw null; } } - public bool Equals(Azure.Communication.CallAutomation.TranscriptionSubscriptionState other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Communication.CallAutomation.TranscriptionSubscriptionState left, Azure.Communication.CallAutomation.TranscriptionSubscriptionState right) { throw null; } - public static implicit operator Azure.Communication.CallAutomation.TranscriptionSubscriptionState (string value) { throw null; } - public static bool operator !=(Azure.Communication.CallAutomation.TranscriptionSubscriptionState left, Azure.Communication.CallAutomation.TranscriptionSubscriptionState right) { throw null; } - public override string ToString() { throw null; } - } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct TranscriptionTransport : System.IEquatable { @@ -2152,7 +1849,7 @@ internal TranscriptionUpdate() { } public partial class TranscriptionUpdated : Azure.Communication.CallAutomation.CallAutomationEventBase { internal TranscriptionUpdated() { } - public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdate { get { throw null; } } + public Azure.Communication.CallAutomation.TranscriptionUpdate TranscriptionUpdateResult { get { throw null; } } public static Azure.Communication.CallAutomation.TranscriptionUpdated Deserialize(string content) { throw null; } } public partial class TransferCallToParticipantEventResult @@ -2172,13 +1869,12 @@ internal TransferCallToParticipantResult() { } public partial class TransferToParticipantOptions { public TransferToParticipantOptions(Azure.Communication.CommunicationUserIdentifier targetIdentity) { } - public TransferToParticipantOptions(Azure.Communication.MicrosoftTeamsAppIdentifier targetIdentity) { } public TransferToParticipantOptions(Azure.Communication.MicrosoftTeamsUserIdentifier targetIdentity) { } public TransferToParticipantOptions(Azure.Communication.PhoneNumberIdentifier targetPhoneNumberIdentity) { } + public TransferToParticipantOptions(Azure.Communication.TeamsExtensionUserIdentifier targetIdentity) { } public Azure.Communication.CallAutomation.CustomCallingContext CustomCallingContext { get { throw null; } } public System.Uri OperationCallbackUri { get { throw null; } set { } } public string OperationContext { get { throw null; } set { } } - public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } set { } } public Azure.Communication.CommunicationIdentifier Target { get { throw null; } } public Azure.Communication.CommunicationIdentifier Transferee { get { throw null; } set { } } } @@ -2188,31 +1884,6 @@ public UnholdOptions(Azure.Communication.CommunicationIdentifier targetParticipa public string OperationContext { get { throw null; } set { } } public Azure.Communication.CommunicationIdentifier TargetParticipant { get { throw null; } } } - public partial class UnmuteParticipantOptions - { - public UnmuteParticipantOptions(Azure.Communication.CommunicationIdentifier targetParticipant) { } - public string OperationContext { get { throw null; } set { } } - public Azure.Communication.CommunicationIdentifier TargetParticipant { get { throw null; } } - } - public partial class UnmuteParticipantResult - { - internal UnmuteParticipantResult() { } - public string OperationContext { get { throw null; } } - } - public partial class UpdateDialogOptions - { - public UpdateDialogOptions(string dialogId, Azure.Communication.CallAutomation.DialogUpdateBase dialog) { } - public Azure.Communication.CallAutomation.DialogUpdateBase Dialog { get { throw null; } } - public string DialogId { get { throw null; } } - public string OperationContext { get { throw null; } set { } } - } - public partial class UpdateTranscriptionOptions - { - public UpdateTranscriptionOptions(string locale) { } - public string OperationCallbackUri { get { throw null; } set { } } - public string OperationContext { get { throw null; } set { } } - public string SpeechRecognitionModelEndpointId { get { throw null; } set { } } - } public partial class UserConsent { internal UserConsent() { } @@ -2238,11 +1909,11 @@ internal UserConsent() { } } public partial class WordData { - internal WordData() { } + public WordData() { } [System.Text.Json.Serialization.JsonPropertyNameAttribute("duration")] - public System.TimeSpan Duration { get { throw null; } set { } } + public ulong Duration { get { throw null; } set { } } [System.Text.Json.Serialization.JsonPropertyNameAttribute("offset")] - public System.TimeSpan Offset { get { throw null; } set { } } + public ulong Offset { get { throw null; } set { } } [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")] public string Text { get { throw null; } set { } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/assets.json b/sdk/communication/Azure.Communication.CallAutomation/assets.json index 171532764913..99b9d3f91fb5 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/assets.json +++ b/sdk/communication/Azure.Communication.CallAutomation/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "net", "TagPrefix": "net/communication/Azure.Communication.CallAutomation", - "Tag": "net/communication/Azure.Communication.CallAutomation_9cd8b0cf91" + "Tag": "net/communication/Azure.Communication.CallAutomation_767cc097e7" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Azure.Communication.CallAutomation.csproj b/sdk/communication/Azure.Communication.CallAutomation/src/Azure.Communication.CallAutomation.csproj index 071d4af58532..95416adbc2cd 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Azure.Communication.CallAutomation.csproj +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Azure.Communication.CallAutomation.csproj @@ -6,7 +6,7 @@ Microsoft Azure Communication Call Automation quickstart - https://learn.microsoft.com/azure/communication-services/quickstarts/voice-video-calling/callflows-for-customer-interactions?pivots=programming-language-csharp Azure Communication CallAutomation Service - 1.5.0-beta.1 + 1.2.0-beta.1 Microsoft Azure Communication CallAutomation Service;Microsoft;Azure;Azure Communication Service;Azure Communication CallAutomation Service;Calling;Communication;$(PackageCommonTags) $(RequiredTargetFrameworks) @@ -21,6 +21,7 @@ + @@ -30,6 +31,7 @@ + diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationClient.cs b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationClient.cs index fa0c73a956e6..ff8c735cb09d 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationClient.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationClient.cs @@ -9,6 +9,7 @@ using Azure.Core.Pipeline; using Azure.Communication.Pipeline; using System.Collections.Generic; +using System.Net; namespace Azure.Communication.CallAutomation { @@ -253,14 +254,13 @@ private AnswerCallRequestInternal CreateAnswerCallRequest(AnswerCallOptions opti }; } - request.MediaStreamingOptions = CreateMediaStreamingOptionsInternal(options.MediaStreamingOptions); - request.TranscriptionOptions = CreateTranscriptionOptionsInternal(options.TranscriptionOptions); + request.TranscriptionConfiguration = CreateTranscriptionOptionsInternal(options.TranscriptionOptions); + request.MediaStreamingConfiguration = CreateMediaStreamingOptionsInternal(options.MediaStreamingOptions); request.AnsweredBy = Source == null ? null : new CommunicationUserIdentifierModel(Source.Id); request.OperationContext = options.OperationContext; request.CustomCallingContext = new CustomCallingContextInternal( options.CustomCallingContext?.VoipHeaders ?? new ChangeTrackingDictionary(), - options.CustomCallingContext?.SipHeaders ?? new ChangeTrackingDictionary(), - CustomCallContextHelpers.CreateTeamsPhoneCallDetailsInternal(options.CustomCallingContext?.TeamsPhoneCallDetails)); + options.CustomCallingContext?.SipHeaders ?? new ChangeTrackingDictionary()); return request; } @@ -293,12 +293,7 @@ public virtual async Task RedirectCallAsync(RedirectCallOptions option if (options == null) throw new ArgumentNullException(nameof(options)); - RedirectCallRequestInternal request = new RedirectCallRequestInternal(options.IncomingCallContext, CommunicationIdentifierSerializer.Serialize(options.CallInvite.Target)); - - request.CustomCallingContext = new CustomCallingContextInternal( - options.CallInvite?.CustomCallingContext?.VoipHeaders == null ? new ChangeTrackingDictionary() : options.CallInvite?.CustomCallingContext?.VoipHeaders, - options.CallInvite?.CustomCallingContext?.SipHeaders == null ? new ChangeTrackingDictionary() : options.CallInvite?.CustomCallingContext?.SipHeaders, - CustomCallContextHelpers.CreateTeamsPhoneCallDetailsInternal(options.CallInvite?.CustomCallingContext?.TeamsPhoneCallDetails)); + RedirectCallRequestInternal request = new RedirectCallRequestInternal(options.IncomingCallContext, CommunicationIdentifierSerializer_2025_06_30.Serialize(options.CallInvite.Target)); return await AzureCommunicationServicesRestClient.RedirectCallAsync(request, cancellationToken).ConfigureAwait(false); } @@ -337,12 +332,7 @@ public virtual Response RedirectCall(RedirectCallOptions options, CancellationTo if (options == null) throw new ArgumentNullException(nameof(options)); - RedirectCallRequestInternal request = new RedirectCallRequestInternal(options.IncomingCallContext, CommunicationIdentifierSerializer.Serialize(options.CallInvite.Target)); - - request.CustomCallingContext = new CustomCallingContextInternal( - options.CallInvite?.CustomCallingContext?.VoipHeaders == null ? new ChangeTrackingDictionary() : options.CallInvite.CustomCallingContext.VoipHeaders, - options.CallInvite?.CustomCallingContext?.SipHeaders == null ? new ChangeTrackingDictionary() : options.CallInvite.CustomCallingContext.SipHeaders, - CustomCallContextHelpers.CreateTeamsPhoneCallDetailsInternal(options.CallInvite?.CustomCallingContext?.TeamsPhoneCallDetails)); + RedirectCallRequestInternal request = new RedirectCallRequestInternal(options.IncomingCallContext, CommunicationIdentifierSerializer_2025_06_30.Serialize(options.CallInvite.Target)); return AzureCommunicationServicesRestClient.RedirectCall(request, cancellationToken); } @@ -717,10 +707,11 @@ public virtual Response ConnectCall(ConnectCallOptions connec throw; } } + private CreateCallRequestInternal CreateCallRequest(CreateCallOptions options) { CreateCallRequestInternal request = new( - targets: new List() { { CommunicationIdentifierSerializer.Serialize(options.CallInvite.Target) } }, + targets: new List() { { CommunicationIdentifierSerializer_2025_06_30.Serialize(options.CallInvite.Target) } }, callbackUri: options.CallbackUri.AbsoluteUri) { SourceCallerIdNumber = options?.CallInvite?.SourceCallerIdNumber == null @@ -731,11 +722,6 @@ private CreateCallRequestInternal CreateCallRequest(CreateCallOptions options) TeamsAppSource = options.TeamsAppSource == null ? null : new MicrosoftTeamsAppIdentifierModel(options.TeamsAppSource.AppId), }; - request.CustomCallingContext = new CustomCallingContextInternal( - options.CallInvite?.CustomCallingContext?.VoipHeaders == null ? new ChangeTrackingDictionary() : options.CallInvite?.CustomCallingContext?.VoipHeaders, - options.CallInvite?.CustomCallingContext?.SipHeaders == null ? new ChangeTrackingDictionary() : options.CallInvite.CustomCallingContext.SipHeaders, - CustomCallContextHelpers.CreateTeamsPhoneCallDetailsInternal(options.CallInvite?.CustomCallingContext?.TeamsPhoneCallDetails)); - // Add CallIntelligenceOptions such as custom cognitive service domain name string cognitiveServicesEndpoint = options.CallIntelligenceOptions?.CognitiveServicesEndpoint?.AbsoluteUri; string backupCognitiveServicesEndpoint = options.CallIntelligenceOptions?.BackupCognitiveServicesEndpoint?.AbsoluteUri; @@ -749,8 +735,8 @@ private CreateCallRequestInternal CreateCallRequest(CreateCallOptions options) } request.OperationContext = options.OperationContext; - request.MediaStreamingOptions = CreateMediaStreamingOptionsInternal(options.MediaStreamingOptions); - request.TranscriptionOptions = CreateTranscriptionOptionsInternal(options.TranscriptionOptions); + request.TranscriptionConfiguration = CreateTranscriptionOptionsInternal(options.TranscriptionOptions); + request.MediaStreamingConfiguration = CreateMediaStreamingOptionsInternal(options.MediaStreamingOptions); return request; } @@ -758,7 +744,7 @@ private CreateCallRequestInternal CreateCallRequest(CreateCallOptions options) private CreateCallRequestInternal CreateCallRequest(CreateGroupCallOptions options) { CreateCallRequestInternal request = new( - targets: options.Targets.Select(t => CommunicationIdentifierSerializer.Serialize(t)), + targets: options.Targets.Select(t => CommunicationIdentifierSerializer_2025_06_30.Serialize(t)), callbackUri: options.CallbackUri.AbsoluteUri) { SourceCallerIdNumber = options?.SourceCallerIdNumber == null @@ -766,14 +752,9 @@ private CreateCallRequestInternal CreateCallRequest(CreateGroupCallOptions optio : new PhoneNumberIdentifierModel(options?.SourceCallerIdNumber?.PhoneNumber), SourceDisplayName = options?.SourceDisplayName, Source = Source == null ? null : new CommunicationUserIdentifierModel(Source.Id), - TeamsAppSource = options.TeamsAppSource == null ? null : new MicrosoftTeamsAppIdentifierModel(options.TeamsAppSource.AppId) + TeamsAppSource = options.TeamsAppSource == null ? null : new MicrosoftTeamsAppIdentifierModel(options.TeamsAppSource.AppId), }; - request.CustomCallingContext = new CustomCallingContextInternal( - options.CustomCallingContext?.VoipHeaders == null ? new ChangeTrackingDictionary() : options.CustomCallingContext?.VoipHeaders, - options.CustomCallingContext?.SipHeaders == null ? new ChangeTrackingDictionary() : options.CustomCallingContext?.SipHeaders, - CustomCallContextHelpers.CreateTeamsPhoneCallDetailsInternal(options.CustomCallingContext?.TeamsPhoneCallDetails)); - // Add CallIntelligenceOptions such as custom cognitive service domain name string cognitiveServicesEndpoint = options.CallIntelligenceOptions?.CognitiveServicesEndpoint?.AbsoluteUri; string backupCognitiveServicesEndpoint = options.CallIntelligenceOptions?.BackupCognitiveServicesEndpoint?.AbsoluteUri; @@ -787,8 +768,8 @@ private CreateCallRequestInternal CreateCallRequest(CreateGroupCallOptions optio } request.OperationContext = options.OperationContext; - request.MediaStreamingOptions = CreateMediaStreamingOptionsInternal(options.MediaStreamingOptions); - request.TranscriptionOptions = CreateTranscriptionOptionsInternal(options.TranscriptionOptions); + request.TranscriptionConfiguration = CreateTranscriptionOptionsInternal(options.TranscriptionOptions); + request.MediaStreamingConfiguration = CreateMediaStreamingOptionsInternal(options.MediaStreamingOptions); return request; } @@ -798,9 +779,10 @@ private ConnectRequestInternal ConnectRequest(ConnectCallOptions options) CallLocatorInternal callLocatorInternal = CallLocatorSerializer.Serialize(options.CallLocator); ConnectRequestInternal connectRequest = new ConnectRequestInternal(callLocatorInternal, options.CallbackUri?.AbsoluteUri); connectRequest.OperationContext = options.OperationContext; - connectRequest.MediaStreamingOptions = CreateMediaStreamingOptionsInternal(options.MediaStreamingOptions); - connectRequest.TranscriptionOptions = CreateTranscriptionOptionsInternal(options.TranscriptionOptions); + connectRequest.MediaStreamingConfiguration = CreateMediaStreamingOptionsInternal(options.MediaStreamingOptions); + connectRequest.TranscriptionConfiguration = CreateTranscriptionOptionsInternal(options.TranscriptionOptions); + // Add CallIntelligenceOptions such as custom cognitive service domain name string cognitiveServicesEndpoint = options.CallIntelligenceOptions?.CognitiveServicesEndpoint?.AbsoluteUri; string backupCognitiveServicesEndpoint = options.CallIntelligenceOptions?.BackupCognitiveServicesEndpoint?.AbsoluteUri; if (!string.IsNullOrWhiteSpace(cognitiveServicesEndpoint)) @@ -828,24 +810,21 @@ private static bool IsValidHttpsUri(Uri uri) return Uri.IsWellFormedUriString(uriString, UriKind.Absolute) && new Uri(uriString).Scheme == Uri.UriSchemeHttps; } - private static MediaStreamingOptionsInternal CreateMediaStreamingOptionsInternal(MediaStreamingOptions configuration) + private static TranscriptionOptionsInternal CreateTranscriptionOptionsInternal(TranscriptionOptions configuration) { return configuration == default ? default - : new MediaStreamingOptionsInternal(configuration.TransportUri.AbsoluteUri, configuration.MediaStreamingTransport, - configuration.MediaStreamingContent, configuration.MediaStreamingAudioChannel, configuration.StartMediaStreaming, - configuration.EnableBidirectional, configuration.AudioFormat); + : new TranscriptionOptionsInternal(configuration.TransportUrl.AbsoluteUri, configuration.TranscriptionTransport, configuration.Locale, + configuration.StartTranscription); } - private static TranscriptionOptionsInternal CreateTranscriptionOptionsInternal(TranscriptionOptions configuration) + + private static MediaStreamingOptionsInternal CreateMediaStreamingOptionsInternal(MediaStreamingOptions configuration) { return configuration == default ? default - : new TranscriptionOptionsInternal(configuration.TransportUrl.AbsoluteUri, configuration.TranscriptionTransport, configuration.Locale, - configuration.StartTranscription.GetValueOrDefault()) - { - EnableIntermediateResults = configuration.EnableIntermediateResults, - SpeechRecognitionModelEndpointId = configuration.SpeechRecognitionModelEndpointId - }; + : new MediaStreamingOptionsInternal(configuration.TransportUri.AbsoluteUri, configuration.MediaStreamingTransport, + configuration.MediaStreamingContent, configuration.MediaStreamingAudioChannel, configuration.StartMediaStreaming, + configuration.EnableBidirectional, configuration.AudioFormat); } /// Initializes a new instance of CallConnection. . diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationClientOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationClientOptions.cs index cf2707ca6927..5eada1ba3e0e 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationClientOptions.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationClientOptions.cs @@ -16,7 +16,7 @@ public class CallAutomationClientOptions : ClientOptions /// /// The latest version of the CallAutomation service. /// - internal const ServiceVersion LatestVersion = ServiceVersion.V2024_09_01_Preview; + internal const ServiceVersion LatestVersion = ServiceVersion.V2024_01_22_Preview; internal string ApiVersion { get; } @@ -33,10 +33,8 @@ public CallAutomationClientOptions(ServiceVersion version = LatestVersion) ApiVersion = version switch { ServiceVersion.V2023_03_06 => "2023-03-06", - ServiceVersion.V2023_06_15_Preview => "2023-06-15-preview", ServiceVersion.V2023_10_15 => "2023-10-15", - ServiceVersion.V2023_10_03_Preview => "2023-10-03-preview", - ServiceVersion.V2024_09_01_Preview => "2024-09-01-preview", + ServiceVersion.V2024_01_22_Preview => "2024-01-22-preview", _ => throw new ArgumentOutOfRangeException(nameof(version)), }; } @@ -46,31 +44,22 @@ public CallAutomationClientOptions(ServiceVersion version = LatestVersion) /// public enum ServiceVersion { -#pragma warning disable CA1707 // Identifiers should not contain underscores /// - /// The GA1 (1.0.0) of the CallAutomation service. + /// The GA1 of the CallAutomation service. /// +#pragma warning disable CA1707 // Identifiers should not contain underscores V2023_03_06 = 1, /// - /// The BETA2 (1.1.0-beta) of the CallAutomation service. - /// - V2023_06_15_Preview = 2, - - /// - /// The GA2 (1.1.0) of the CallAutomation service. + /// The GA2 of the CallAutomation service. /// - V2023_10_15 = 3, - - /// - /// Latest ALPHA3 (1.2.0-alpha) preview of the CallAutomation service. - /// - V2023_10_03_Preview = 4, +#pragma warning disable CA1707 // Identifiers should not contain underscores + V2023_10_15 = 2, /// - /// Latest ALPHA4 (1.4.0-alpha) preview of the CallAutomation service. + /// The BETA3 of the CallAutomation service. /// - V2024_09_01_Preview = 5 + V2024_01_22_Preview = 3 #pragma warning restore CA1707 // Identifiers should not contain underscores } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/AnswerCallEventResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/AnswerCallEventResult.cs index 4bd7ddca1b05..35ed71aa6f6c 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/AnswerCallEventResult.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/AnswerCallEventResult.cs @@ -17,7 +17,7 @@ public class AnswerCallEventResult public CallConnected SuccessResult { get; } /// - /// event will be returned once the call is established with AnswerCall. + /// event will be returned when the call was not answered. /// /// public AnswerFailed FailureResult { get; } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/CancelAddParticipantEventResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/CancelAddParticipantEventResult.cs index 55f91b0b7b6f..556667705859 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/CancelAddParticipantEventResult.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/CancelAddParticipantEventResult.cs @@ -21,29 +21,14 @@ public class CancelAddParticipantEventResult /// public CancelAddParticipantFailed FailureResult { get; } - /// - /// Participant whoose invitation was cancelled. Only applicable for - /// event - /// - public CommunicationIdentifier Participant { get; } - - /// - /// Invitation ID used to cancel the request. - /// - public string InvitationId { get; } - internal CancelAddParticipantEventResult( bool isSuccess, CancelAddParticipantSucceeded successResult, - CancelAddParticipantFailed failureResult, - string invitationId, - CommunicationIdentifier participant = null) + CancelAddParticipantFailed failureResult) { IsSuccess = isSuccess; SuccessResult = successResult; FailureResult = failureResult; - Participant = participant; - InvitationId = invitationId; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/DialogEventResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/DialogEventResult.cs index c525fb825715..f79ae4b19a7c 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/DialogEventResult.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/DialogEventResult.cs @@ -50,11 +50,6 @@ public class DialogEventResult /// public DialogLanguageChange DialogLanguageChangeEvent { get; } - /// - /// event will be returned once the dialog has been updated - /// - public DialogUpdated DialogUpdatedEvent { get; } - internal DialogEventResult( bool isSuccess, DialogCompleted successResult, @@ -64,8 +59,7 @@ internal DialogEventResult( DialogStarted dialogStartedSuccessEvent, DialogTransfer dialogTransferSuccessEvent, DialogSensitivityUpdate dialogSensitivityUpdateEvent, - DialogLanguageChange dialogLanguageChangeEvent, - DialogUpdated dialogUpdatedEvent) + DialogLanguageChange dialogLanguageChangeEvent) { IsSuccess = isSuccess; DialogCompletedSuccessResult = successResult; @@ -76,7 +70,6 @@ internal DialogEventResult( DialogTransferSuccessEvent = dialogTransferSuccessEvent; DialogSensitivityUpdateEvent = dialogSensitivityUpdateEvent; DialogLanguageChangeEvent = dialogLanguageChangeEvent; - DialogUpdatedEvent = dialogUpdatedEvent; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/InterruptAudioAndAnnounceEventResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/InterruptAudioAndAnnounceEventResult.cs deleted file mode 100644 index 4bd3714fd561..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/InterruptAudioAndAnnounceEventResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -namespace Azure.Communication.CallAutomation -{ - /// is returned from WaitForEvent of . - public class InterruptAudioAndAnnounceEventResult - { - /// - /// Indicates whether the returned event is considered successful or not. - /// - public bool IsSuccess { get; internal set; } - - /// - /// event will be returned once the play has started successfully. - /// - public PlayStarted StartResult { get; } - - /// - /// event will be returned once the play is paused successfully. - /// - public PlayPaused PauseResult { get; } - - /// - /// event will be returned once the play is resumed successfully. - /// - public PlayResumed ResumeResult { get; } - - /// - /// event will be returned once the play is completed successfully. - /// - public PlayCompleted SuccessResult { get; } - - /// - /// event will be returned once the play failed. - /// - public PlayFailed FailureResult { get; } - - internal InterruptAudioAndAnnounceEventResult(bool isSuccess, PlayCompleted successResult, PlayFailed failureResult, PlayStarted startResult, PlayPaused pauseResult, PlayResumed resumeResult) - { - IsSuccess = isSuccess; - SuccessResult = successResult; - FailureResult = failureResult; - StartResult = startResult; - PauseResult = pauseResult; - ResumeResult = resumeResult; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/MoveParticipantEventResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/MoveParticipantEventResult.cs index 008fa8bfd4d6..5439cb16b115 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/MoveParticipantEventResult.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/MoveParticipantEventResult.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/PlayEventResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/PlayEventResult.cs index 08052ec2600a..1135ff202d9c 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/PlayEventResult.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationEventProcessor/EventResult/PlayEventResult.cs @@ -11,6 +11,11 @@ public class PlayEventResult /// public bool IsSuccess { get; internal set; } + /// + /// event will be returned once the play is completed successfully. + /// + public PlayCompleted SuccessResult { get; } + /// /// event will be returned once the play has started successfully. /// @@ -26,11 +31,6 @@ public class PlayEventResult /// public PlayResumed ResumeResult { get; } - /// - /// event will be returned once the play is completed successfully. - /// - public PlayCompleted SuccessResult { get; } - /// /// event will be returned once the play failed. /// diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/CallConnection.cs b/sdk/communication/Azure.Communication.CallAutomation/src/CallConnection.cs index 3a08a8379778..86a76fc7584c 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/CallConnection.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/CallConnection.cs @@ -8,6 +8,7 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; +using Microsoft.VisualBasic; namespace Azure.Communication.CallAutomation { @@ -172,10 +173,6 @@ public virtual async Task> TransferCal { options = new TransferToParticipantOptions(targetParticipant as MicrosoftTeamsUserIdentifier); } - else if (targetParticipant is MicrosoftTeamsAppIdentifier) - { - options = new TransferToParticipantOptions(targetParticipant as MicrosoftTeamsAppIdentifier); - } else { throw new ArgumentException("targetParticipant type is invalid.", nameof(targetParticipant)); @@ -280,16 +277,14 @@ public virtual Response TransferCallToParticipa private static TransferToParticipantRequestInternal CreateTransferToParticipantRequest(TransferToParticipantOptions options) { - TransferToParticipantRequestInternal request = new(CommunicationIdentifierSerializer.Serialize(options.Target)) + TransferToParticipantRequestInternal request = new(CommunicationIdentifierSerializer_2025_06_30.Serialize(options.Target)) { CustomCallingContext = new CustomCallingContextInternal( options.CustomCallingContext?.VoipHeaders ?? new ChangeTrackingDictionary(), - options.CustomCallingContext?.SipHeaders ?? new ChangeTrackingDictionary(), - CustomCallContextHelpers.CreateTeamsPhoneCallDetailsInternal(options.CustomCallingContext?.TeamsPhoneCallDetails)), + options.CustomCallingContext?.SipHeaders ?? new ChangeTrackingDictionary()), OperationContext = options.OperationContext == default ? Guid.NewGuid().ToString() : options.OperationContext, - Transferee = options.Transferee == default ? null : CommunicationIdentifierSerializer.Serialize(options.Transferee), + Transferee = options.Transferee == default ? null : CommunicationIdentifierSerializer_2025_06_30.Serialize(options.Transferee), OperationCallbackUri = options.OperationCallbackUri?.AbsoluteUri, - SourceCallerIdNumber = options.SourceCallerIdNumber == null ? null : new PhoneNumberIdentifierModel(options.SourceCallerIdNumber.PhoneNumber) }; return request; @@ -384,12 +379,12 @@ private static AddParticipantRequestInternal CreateAddParticipantRequest(AddPart // validate ParticipantToAdd is not null Argument.AssertNotNull(options.ParticipantToAdd, nameof(options.ParticipantToAdd)); - AddParticipantRequestInternal request = new(CommunicationIdentifierSerializer.Serialize(options.ParticipantToAdd.Target)) + AddParticipantRequestInternal request = new(CommunicationIdentifierSerializer_2025_06_30.Serialize(options.ParticipantToAdd.Target)) { CustomCallingContext = new CustomCallingContextInternal( options.ParticipantToAdd.CustomCallingContext?.VoipHeaders ?? new ChangeTrackingDictionary(), - options.ParticipantToAdd.CustomCallingContext?.SipHeaders ?? new ChangeTrackingDictionary(), - CustomCallContextHelpers.CreateTeamsPhoneCallDetailsInternal(options.ParticipantToAdd.CustomCallingContext?.TeamsPhoneCallDetails)), + options.ParticipantToAdd.CustomCallingContext?.SipHeaders ?? new ChangeTrackingDictionary() + ), SourceCallerIdNumber = options.ParticipantToAdd.SourceCallerIdNumber == null ? null : new PhoneNumberIdentifierModel(options.ParticipantToAdd.SourceCallerIdNumber.PhoneNumber), @@ -627,7 +622,7 @@ private static MoveParticipantsRequestInternal CreateMoveParticipantsRequest(Mov Argument.AssertNotNull(options.TargetParticipants, nameof(options.TargetParticipants)); Argument.AssertNotNull(options.FromCall, nameof(options.FromCall)); MoveParticipantsRequestInternal request = new MoveParticipantsRequestInternal( - options.TargetParticipants.Select(p => CommunicationIdentifierSerializer.Serialize(p)), + options.TargetParticipants.Select(p => CommunicationIdentifierSerializer_2025_06_30.Serialize(p)), options.FromCall) { OperationContext = options.OperationContext ?? Guid.NewGuid().ToString(), @@ -669,7 +664,7 @@ public virtual async Task> RemoveParticipantAs // validate RequestInitiator is not null or empty Argument.AssertNotNull(options.ParticipantToRemove, nameof(options.ParticipantToRemove)); - RemoveParticipantRequestInternal request = new(CommunicationIdentifierSerializer.Serialize(options.ParticipantToRemove)); + RemoveParticipantRequestInternal request = new(CommunicationIdentifierSerializer_2025_06_30.Serialize(options.ParticipantToRemove)); request.OperationContext = options.OperationContext == default ? Guid.NewGuid().ToString() : options.OperationContext; @@ -718,7 +713,7 @@ public virtual Response RemoveParticipant(RemovePartici if (options == null) throw new ArgumentNullException(nameof(options)); - RemoveParticipantRequestInternal request = new(CommunicationIdentifierSerializer.Serialize(options.ParticipantToRemove)); + RemoveParticipantRequestInternal request = new(CommunicationIdentifierSerializer_2025_06_30.Serialize(options.ParticipantToRemove)); options.OperationContext = options.OperationContext == default ? Guid.NewGuid().ToString() : options.OperationContext; @@ -784,7 +779,7 @@ public virtual Response MuteParticipant(CommunicationIden scope.Start(); try { - MuteParticipantsRequestInternal request = new(new List() { CommunicationIdentifierSerializer.Serialize(targetParticipant) }); + MuteParticipantsRequestInternal request = new(new List() { CommunicationIdentifierSerializer_2025_06_30.Serialize(targetParticipant) }); var response = RestClient.Mute( CallConnectionId, @@ -815,7 +810,7 @@ public virtual Response MuteParticipant(MuteParticipantOp scope.Start(); try { - MuteParticipantsRequestInternal request = new(new List() { CommunicationIdentifierSerializer.Serialize(options.TargetParticipant) }); + MuteParticipantsRequestInternal request = new(new List() { CommunicationIdentifierSerializer_2025_06_30.Serialize(options.TargetParticipant) }); var response = RestClient.Mute( CallConnectionId, @@ -831,51 +826,6 @@ public virtual Response MuteParticipant(MuteParticipantOp } } - /// - /// Unmute participant from the call. - /// Only Acs Users are currently supported. - /// - /// Participant to unmute. - /// The cancellation token. - /// is null. - /// The server returned an error. See for details returned from the server. - /// - public virtual Response UnmuteParticipant(CommunicationIdentifier targetParticipant, CancellationToken cancellationToken = default) - { - var options = new UnmuteParticipantOptions(targetParticipant); - - return UnmuteParticipant(options, cancellationToken); - } - - /// - /// Unmute participants from the call. - /// Only Acs Users are currently supported. - /// - /// Options for the UnmuteParticipant operation. - /// The cancellation token. - /// is null. - /// OperationContext is too long. - /// The server returned an error. See for details returned from the server. - /// - public virtual Response UnmuteParticipant(UnmuteParticipantOptions options, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallConnection)}.{nameof(UnmuteParticipant)}"); - scope.Start(); - try - { - UnmuteParticipantsRequestInternal request = new(new List() { CommunicationIdentifierSerializer.Serialize(options.TargetParticipant) }); - - request.OperationContext = options.OperationContext; - - return RestClient.Unmute(CallConnectionId, request, cancellationToken); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - /// /// Mute participants on the call. /// Only Acs Users are currently supported. @@ -910,7 +860,7 @@ public async virtual Task> MuteParticipantAsync( if (options == null) throw new ArgumentNullException(nameof(options)); - MuteParticipantsRequestInternal request = new(new List() { CommunicationIdentifierSerializer.Serialize(options.TargetParticipant) }); + MuteParticipantsRequestInternal request = new(new List() { CommunicationIdentifierSerializer_2025_06_30.Serialize(options.TargetParticipant) }); request.OperationContext = options.OperationContext; @@ -923,50 +873,6 @@ public async virtual Task> MuteParticipantAsync( } } - /// - /// Unmute participants on the call. - /// Only Acs Users are currently supported. - /// - /// Participant to unmute. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - /// - public async virtual Task> UnmuteParticipantAsync(CommunicationIdentifier targetParticipant, CancellationToken cancellationToken = default) - { - var options = new UnmuteParticipantOptions(targetParticipant); - - return await UnmuteParticipantAsync(options, cancellationToken).ConfigureAwait(false); - } - - /// - /// Unmute participants from the call. - /// Only Acs Users are currently supported. - /// - /// Options for the UnmuteParticipant operation. - /// The cancellation token. - /// is null. - /// OperationContext is too long. - /// The server returned an error. See for details returned from the server. - /// - public async virtual Task> UnmuteParticipantAsync(UnmuteParticipantOptions options, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallConnection)}.{nameof(UnmuteParticipant)}"); - scope.Start(); - try - { - UnmuteParticipantsRequestInternal request = new(new List() { CommunicationIdentifierSerializer.Serialize(options.TargetParticipant) }); - - request.OperationContext = options.OperationContext; - - return await RestClient.UnmuteAsync(CallConnectionId, request, cancellationToken).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - /// /// Cancel add participant operation. /// diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/CallDialog.cs b/sdk/communication/Azure.Communication.CallAutomation/src/CallDialog.cs index 5444302cc4ee..3bf77be850e1 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/CallDialog.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/CallDialog.cs @@ -44,24 +44,24 @@ protected CallDialog() /// /// Start Dialog. /// - /// Configuration attributes for starting dialog. + /// Configuration attributes for starting dialog. /// /// Returns , which can be used to wait for Dialog's related events. - public virtual async Task> StartDialogAsync(StartDialogOptions startDialogOptions, CancellationToken cancellationToken = default) + public virtual async Task> StartDialogAsync(StartDialog StartDialog, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallDialog)}.{nameof(StartDialog)}"); scope.Start(); try { - StartDialogRequestInternal request = CreateStartDialogRequest(startDialogOptions); + StartDialogRequestInternal request = CreateStartDialogRequest(StartDialog); var response = await CallDialogRestClient.StartDialogAsync (CallConnectionId, - startDialogOptions.DialogId, + StartDialog.DialogId, request, cancellationToken).ConfigureAwait(false); - var result = new DialogResult(startDialogOptions.DialogId); + var result = new DialogResult(StartDialog.DialogId); result.SetEventProcessor(EventProcessor, CallConnectionId, request.OperationContext); return Response.FromValue(result, response.GetRawResponse()); @@ -79,7 +79,7 @@ public virtual async Task> StartDialogAsync(StartDialogOp /// Configuration attributes for starting dialog. /// /// Returns , which can be used to wait for Dialog's related events. - public virtual Response StartDialog(StartDialogOptions startDialog, CancellationToken cancellationToken = default) + public virtual Response StartDialog(StartDialog startDialog, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallDialog)}.{nameof(StartDialog)}"); scope.Start(); @@ -105,85 +105,23 @@ public virtual Response StartDialog(StartDialogOptions startDialog } } - private static StartDialogRequestInternal CreateStartDialogRequest(StartDialogOptions startDialog) + private static StartDialogRequestInternal CreateStartDialogRequest(StartDialog startDialog) { StartDialogRequestInternal startDialogRequestInternal = new StartDialogRequestInternal(startDialog.Dialog) { + OperationCallbackUri = startDialog.OperationCallbackUri, OperationContext = startDialog.OperationContext == default ? Guid.NewGuid().ToString() : startDialog.OperationContext }; return startDialogRequestInternal; } - /// - /// Update Dialog. - /// - /// Configuration attributes for updating dialog. - /// - /// Returns , which can be used to wait for Dialog's related events. - public virtual async Task UpdateDialogAsync(UpdateDialogOptions updateDialogOptions, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallDialog)}.{nameof(UpdateDialog)}"); - scope.Start(); - try - { - UpdateDialogRequestInternal request = CreateUpdateDialogRequest(updateDialogOptions); - - return await CallDialogRestClient.UpdateDialogAsync - (CallConnectionId, - updateDialogOptions.DialogId, - request, - cancellationToken).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Update Dialog. - /// - /// Configuration attributes for updating dialog. - /// - /// Returns , which can be used to wait for Dialog's related events. - public virtual Response UpdateDialog(UpdateDialogOptions updateDialogOptions, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallDialog)}.{nameof(UpdateDialog)}"); - scope.Start(); - try - { - UpdateDialogRequestInternal request = CreateUpdateDialogRequest(updateDialogOptions); - - return CallDialogRestClient.UpdateDialog - (CallConnectionId, - updateDialogOptions.DialogId, - request, - cancellationToken); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - private static UpdateDialogRequestInternal CreateUpdateDialogRequest(UpdateDialogOptions updateDialog) - { - UpdateDialogRequestInternal updateDialogRequestInternal = new UpdateDialogRequestInternal(updateDialog.Dialog) - { - OperationContext = updateDialog.OperationContext == default ? Guid.NewGuid().ToString() : updateDialog.OperationContext - }; - return updateDialogRequestInternal; - } - /// /// Stop Dialog. /// /// /// /// - public virtual async Task> StopDialogAsync(string dialogId, Uri operationCallbackUri = default, CancellationToken cancellationToken = default) + public virtual async Task> StopDialogAsync(string dialogId, string operationCallbackUri = null, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallDialog)}.{nameof(StopDialog)}"); scope.Start(); @@ -192,7 +130,7 @@ public virtual async Task> StopDialogAsync(string dialogI var response = await CallDialogRestClient.StopDialogAsync (CallConnectionId, dialogId, - operationCallbackUri?.AbsoluteUri, + operationCallbackUri, cancellationToken).ConfigureAwait(false); var result = new DialogResult(dialogId); @@ -213,7 +151,7 @@ public virtual async Task> StopDialogAsync(string dialogI /// /// /// - public virtual Response StopDialog(string dialogId, Uri operationCallbackUri = default, CancellationToken cancellationToken = default) + public virtual Response StopDialog(string dialogId, string operationCallbackUri = null, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallDialog)}.{nameof(StopDialog)}"); scope.Start(); @@ -222,7 +160,7 @@ public virtual Response StopDialog(string dialogId, Uri operationC var response = CallDialogRestClient.StopDialog (CallConnectionId, dialogId, - operationCallbackUri?.AbsoluteUri, + operationCallbackUri, cancellationToken); var result = new DialogResult(dialogId); diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/CallMedia.cs b/sdk/communication/Azure.Communication.CallAutomation/src/CallMedia.cs index befbff3526fc..4fbc4c344003 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/CallMedia.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/CallMedia.cs @@ -6,6 +6,8 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; +using System.Xml.Linq; +using Azure.Core; using Azure.Core.Pipeline; namespace Azure.Communication.CallAutomation @@ -103,41 +105,6 @@ public virtual async Task> PlayAsync(PlaySource playSource, } } - /// - /// Plays audio to specified participant(s) async. - /// - /// - /// - /// - /// Returns , which can be used to wait for Play's related events. - public virtual async Task> PlayAsync(IEnumerable playSources, IEnumerable playTo, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(Play)}"); - scope.Start(); - try - { - var playOptions = new PlayOptions(playSources, playTo) - { - Loop = false, - OperationContext = null - }; - - PlayRequestInternal request = CreatePlayRequest(playOptions); - - var response = await CallMediaRestClient.PlayAsync(CallConnectionId, request, cancellationToken).ConfigureAwait(false); - - var result = new PlayResult(); - result.SetEventProcessor(EventProcessor, CallConnectionId, request.OperationContext); - - return Response.FromValue(result, response); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - /// /// Plays audio to specified participant(s). /// @@ -201,46 +168,11 @@ public virtual Response Play(PlaySource playSource, IEnumerable - /// Plays a file. - /// - /// - /// - /// - /// Returns , which can be used to wait for Play's related events. - public virtual Response Play(IEnumerable playSources, IEnumerable playTo, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(Play)}"); - scope.Start(); - try - { - var playOptions = new PlayOptions(playSources, playTo) - { - Loop = false, - OperationContext = null - }; - - PlayRequestInternal request = CreatePlayRequest(playOptions); - - var response = CallMediaRestClient.Play(CallConnectionId, request, cancellationToken); - - var result = new PlayResult(); - result.SetEventProcessor(EventProcessor, CallConnectionId, request.OperationContext); - - return Response.FromValue(result, response); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - private static PlayRequestInternal CreatePlayRequest(PlayOptions options) { PlayRequestInternal request = new PlayRequestInternal(options.PlaySources.Select(t => TranslatePlaySourceToInternal(t)).ToList()); - request.PlayTo = options.PlayTo.Select(t => CommunicationIdentifierSerializer.Serialize(t)).ToList(); + request.PlayTo = options.PlayTo.Select(t => CommunicationIdentifierSerializer_2025_06_30.Serialize(t)).ToList(); if (options != null) { @@ -304,27 +236,6 @@ public virtual async Task> PlayToAllAsync(PlaySource playSo } } - /// - /// Play to all participants async. - /// - /// - /// - /// Returns , which can be used to wait for Play's related events. - public virtual async Task> PlayToAllAsync(IEnumerable playSources, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(PlayToAll)}"); - scope.Start(); - try - { - return await PlayAsync(playSources, Enumerable.Empty(), cancellationToken).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - /// /// Play audio to all participants. /// @@ -371,27 +282,6 @@ public virtual Response PlayToAll(PlaySource playSource, Cancellatio } } - /// - /// Play to all participants. - /// - /// - /// - /// Returns , which can be used to wait for Play's related events. - public virtual Response PlayToAll(IEnumerable playSources, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(PlayToAll)}"); - scope.Start(); - try - { - return Play(playSources, Enumerable.Empty(), cancellationToken); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - /// /// Cancel any media operation to all participants. /// @@ -503,74 +393,26 @@ public virtual Response StartRecognizing(CallMe /// /// The options. /// - /// - public virtual async Task HoldAsync(HoldOptions options, CancellationToken cancellationToken = default) + /// Returns , which can be used to wait for Hold's related events. + public virtual async Task> HoldAsync(HoldOptions options, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(HoldAsync)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(Hold)}"); scope.Start(); try { var request = new HoldRequestInternal( - CommunicationIdentifierSerializer.Serialize(options.TargetParticipant)) + CommunicationIdentifierSerializer_2025_06_30.Serialize(options.TargetParticipant)) { OperationContext = options.OperationContext, PlaySourceInfo = TranslatePlaySourceToInternal(options.PlaySource), OperationCallbackUri = options.OperationCallbackUri?.AbsoluteUri, }; - return await CallMediaRestClient.HoldAsync(CallConnectionId, request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Hold participant from the call. - /// - /// The targetParticipant. - /// - /// - public virtual async Task HoldAsync(CommunicationIdentifier targetParticipant, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(HoldAsync)}"); - scope.Start(); - try - { - var request = new HoldRequestInternal( - CommunicationIdentifierSerializer.Serialize(targetParticipant)); - - return await CallMediaRestClient.HoldAsync(CallConnectionId, request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Hold participant from the call. - /// - /// The targetParticipant. - /// The playsource. - /// - /// - public virtual async Task HoldAsync(CommunicationIdentifier targetParticipant, PlaySource playSource, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(HoldAsync)}"); - scope.Start(); - try - { - var request = new HoldRequestInternal( - CommunicationIdentifierSerializer.Serialize(targetParticipant)) - { - PlaySourceInfo = TranslatePlaySourceToInternal(playSource), - }; + var response = await CallMediaRestClient.HoldAsync(CallConnectionId, request, cancellationToken: cancellationToken).ConfigureAwait(false); + var result = new HoldResult(); + result.SetEventProcessor(EventProcessor, CallConnectionId, request.OperationContext); - return await CallMediaRestClient.HoldAsync(CallConnectionId, request, cancellationToken: cancellationToken).ConfigureAwait(false); + return Response.FromValue(result, response); } catch (Exception ex) { @@ -584,74 +426,26 @@ public virtual async Task HoldAsync(CommunicationIdentifier targetPart /// /// The options. /// - /// - public virtual Response Hold(HoldOptions options, CancellationToken cancellationToken = default) + /// Returns , which can be used to wait for Hold's related events. + public virtual Response Hold(HoldOptions options, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(Hold)}"); scope.Start(); try { var request = new HoldRequestInternal( - CommunicationIdentifierSerializer.Serialize(options.TargetParticipant)) + CommunicationIdentifierSerializer_2025_06_30.Serialize(options.TargetParticipant)) { OperationContext = options.OperationContext, PlaySourceInfo = TranslatePlaySourceToInternal(options.PlaySource), OperationCallbackUri = options.OperationCallbackUri?.AbsoluteUri, }; - return CallMediaRestClient.Hold(CallConnectionId, request, cancellationToken: cancellationToken); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Hold participant from the call. - /// - /// The targetParticipant. - /// - /// - public virtual Response Hold(CommunicationIdentifier targetParticipant, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(Hold)}"); - scope.Start(); - try - { - var request = new HoldRequestInternal( - CommunicationIdentifierSerializer.Serialize(targetParticipant)); - - return CallMediaRestClient.Hold(CallConnectionId, request, cancellationToken: cancellationToken); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Hold participant from the call. - /// - /// The targetParticipant. - /// The playsource. - /// - /// - public virtual Response Hold(CommunicationIdentifier targetParticipant, PlaySource playSource, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(Hold)}"); - scope.Start(); - try - { - var request = new HoldRequestInternal( - CommunicationIdentifierSerializer.Serialize(targetParticipant)) - { - PlaySourceInfo = TranslatePlaySourceToInternal(playSource), - }; + var response = CallMediaRestClient.Hold(CallConnectionId, request, cancellationToken: cancellationToken); + var result = new HoldResult(); + result.SetEventProcessor(EventProcessor, CallConnectionId, request.OperationContext); - return CallMediaRestClient.Hold(CallConnectionId, request, cancellationToken: cancellationToken); + return Response.FromValue(result, response); } catch (Exception ex) { @@ -665,39 +459,20 @@ public virtual Response Hold(CommunicationIdentifier targetParticipant, PlaySour /// /// The options. /// - /// - public virtual async Task UnholdAsync(UnholdOptions options, CancellationToken cancellationToken = default) + /// Returns , which can be used to wait for Unhold's related events. + public virtual async Task> UnholdAsync(UnholdOptions options, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(UnholdAsync)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(Unhold)}"); scope.Start(); try { - var request = new UnholdRequestInternal(CommunicationIdentifierSerializer.Serialize(options.TargetParticipant)); + var request = new UnholdRequestInternal(CommunicationIdentifierSerializer_2025_06_30.Serialize(options.TargetParticipant), options.OperationContext); - return await CallMediaRestClient.UnholdAsync(CallConnectionId, request, cancellationToken: cancellationToken).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Remove hold from participant. - /// - /// The targetParticipant. - /// - /// - public virtual async Task UnholdAsync(CommunicationIdentifier targetParticipant, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(UnholdAsync)}"); - scope.Start(); - try - { - var request = new UnholdRequestInternal(CommunicationIdentifierSerializer.Serialize(targetParticipant)); + var response = await CallMediaRestClient.UnholdAsync(CallConnectionId, request, cancellationToken: cancellationToken).ConfigureAwait(false); + var result = new HoldResult(); + result.SetEventProcessor(EventProcessor, CallConnectionId, request.OperationContext); - return await CallMediaRestClient.UnholdAsync(CallConnectionId, request, cancellationToken: cancellationToken).ConfigureAwait(false); + return Response.FromValue(result, response); } catch (Exception ex) { @@ -711,39 +486,20 @@ public virtual async Task UnholdAsync(CommunicationIdentifier targetPa /// /// The options. /// - /// - public virtual Response Unhold(UnholdOptions options, CancellationToken cancellationToken = default) + /// Returns , which can be used to wait for Unhold's related events. + public virtual Response Unhold(UnholdOptions options, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(Unhold)}"); scope.Start(); try { - var request = new UnholdRequestInternal(CommunicationIdentifierSerializer.Serialize(options.TargetParticipant)); + var request = new UnholdRequestInternal(CommunicationIdentifierSerializer_2025_06_30.Serialize(options.TargetParticipant), options.OperationContext); - return CallMediaRestClient.Unhold(CallConnectionId, request, cancellationToken: cancellationToken); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Remove hold from participant. - /// - /// The targetParticipant. - /// - /// - public virtual Response Unhold(CommunicationIdentifier targetParticipant, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(Unhold)}"); - scope.Start(); - try - { - var request = new UnholdRequestInternal(CommunicationIdentifierSerializer.Serialize(targetParticipant)); + var response = CallMediaRestClient.Unhold(CallConnectionId, request, cancellationToken: cancellationToken); + var result = new HoldResult(); + result.SetEventProcessor(EventProcessor, CallConnectionId, request.OperationContext); - return CallMediaRestClient.Unhold(CallConnectionId, request, cancellationToken: cancellationToken); + return Response.FromValue(result, response); } catch (Exception ex) { @@ -766,7 +522,7 @@ private static RecognizeRequestInternal CreateRecognizeRequest(CallMediaRecogniz StopTones = recognizeDtmfOptions.StopTones.ToList() }; - RecognizeOptionsInternal recognizeConfigurationsInternal = new RecognizeOptionsInternal(CommunicationIdentifierSerializer.Serialize(recognizeDtmfOptions.TargetParticipant)) + RecognizeOptionsInternal recognizeConfigurationsInternal = new RecognizeOptionsInternal(CommunicationIdentifierSerializer_2025_06_30.Serialize(recognizeDtmfOptions.TargetParticipant)) { DtmfOptions = dtmfConfigurations, InterruptPrompt = recognizeDtmfOptions.InterruptPrompt, @@ -776,8 +532,6 @@ private static RecognizeRequestInternal CreateRecognizeRequest(CallMediaRecogniz RecognizeRequestInternal request = new RecognizeRequestInternal(recognizeDtmfOptions.InputType, recognizeConfigurationsInternal); request.PlayPrompt = TranslatePlaySourceToInternal(recognizeDtmfOptions.Prompt); - if (recognizeOptions.PlayPrompts != null && recognizeOptions.PlayPrompts.Any()) - request.PlayPrompts = recognizeOptions.PlayPrompts.Select(t => TranslatePlaySourceToInternal(t)).ToList(); request.InterruptCallMediaOperation = recognizeOptions.InterruptCallMediaOperation; request.OperationContext = recognizeOptions.OperationContext == default ? Guid.NewGuid().ToString() : recognizeOptions.OperationContext; request.OperationCallbackUri = recognizeOptions.OperationCallbackUri?.AbsoluteUri; @@ -786,7 +540,7 @@ private static RecognizeRequestInternal CreateRecognizeRequest(CallMediaRecogniz } else if (recognizeOptions is CallMediaRecognizeChoiceOptions recognizeChoiceOptions) { - RecognizeOptionsInternal recognizeConfigurationsInternal = new RecognizeOptionsInternal(CommunicationIdentifierSerializer.Serialize(recognizeChoiceOptions.TargetParticipant)) + RecognizeOptionsInternal recognizeConfigurationsInternal = new RecognizeOptionsInternal(CommunicationIdentifierSerializer_2025_06_30.Serialize(recognizeChoiceOptions.TargetParticipant)) { InterruptPrompt = recognizeChoiceOptions.InterruptPrompt, InitialSilenceTimeoutInSeconds = (int)recognizeChoiceOptions.InitialSilenceTimeout.TotalSeconds @@ -808,8 +562,6 @@ private static RecognizeRequestInternal CreateRecognizeRequest(CallMediaRecogniz RecognizeRequestInternal request = new RecognizeRequestInternal(recognizeChoiceOptions.InputType, recognizeConfigurationsInternal); request.PlayPrompt = TranslatePlaySourceToInternal(recognizeChoiceOptions.Prompt); - if (recognizeOptions.PlayPrompts != null && recognizeOptions.PlayPrompts.Any()) - request.PlayPrompts = recognizeOptions.PlayPrompts.Select(t => TranslatePlaySourceToInternal(t)).ToList(); request.InterruptCallMediaOperation = recognizeOptions.InterruptCallMediaOperation; request.OperationContext = recognizeOptions.OperationContext == default ? Guid.NewGuid().ToString() : recognizeOptions.OperationContext; request.OperationCallbackUri = recognizeOptions.OperationCallbackUri?.AbsoluteUri; @@ -823,7 +575,7 @@ private static RecognizeRequestInternal CreateRecognizeRequest(CallMediaRecogniz EndSilenceTimeoutInMs = (long)recognizeSpeechOptions.EndSilenceTimeout.TotalMilliseconds }; - RecognizeOptionsInternal recognizeConfigurationsInternal = new RecognizeOptionsInternal(CommunicationIdentifierSerializer.Serialize(recognizeSpeechOptions.TargetParticipant)) + RecognizeOptionsInternal recognizeConfigurationsInternal = new RecognizeOptionsInternal(CommunicationIdentifierSerializer_2025_06_30.Serialize(recognizeSpeechOptions.TargetParticipant)) { InterruptPrompt = recognizeSpeechOptions.InterruptPrompt, InitialSilenceTimeoutInSeconds = (int)recognizeSpeechOptions.InitialSilenceTimeout.TotalSeconds, @@ -843,8 +595,6 @@ private static RecognizeRequestInternal CreateRecognizeRequest(CallMediaRecogniz RecognizeRequestInternal request = new RecognizeRequestInternal(recognizeSpeechOptions.InputType, recognizeConfigurationsInternal); request.PlayPrompt = TranslatePlaySourceToInternal(recognizeSpeechOptions.Prompt); - if (recognizeOptions.PlayPrompts != null && recognizeOptions.PlayPrompts.Any()) - request.PlayPrompts = recognizeOptions.PlayPrompts.Select(t => TranslatePlaySourceToInternal(t)).ToList(); request.InterruptCallMediaOperation = recognizeOptions.InterruptCallMediaOperation; request.OperationContext = recognizeOptions.OperationContext == default ? Guid.NewGuid().ToString() : recognizeOptions.OperationContext; request.OperationCallbackUri = recognizeOptions.OperationCallbackUri?.AbsoluteUri; @@ -865,7 +615,7 @@ private static RecognizeRequestInternal CreateRecognizeRequest(CallMediaRecogniz StopTones = recognizeSpeechOrDtmfOptions.StopTones.ToList() }; - RecognizeOptionsInternal recognizeConfigurationsInternal = new RecognizeOptionsInternal(CommunicationIdentifierSerializer.Serialize(recognizeSpeechOrDtmfOptions.TargetParticipant)) + RecognizeOptionsInternal recognizeConfigurationsInternal = new RecognizeOptionsInternal(CommunicationIdentifierSerializer_2025_06_30.Serialize(recognizeSpeechOrDtmfOptions.TargetParticipant)) { InterruptPrompt = recognizeSpeechOrDtmfOptions.InterruptPrompt, InitialSilenceTimeoutInSeconds = (int)recognizeSpeechOrDtmfOptions.InitialSilenceTimeout.TotalSeconds, @@ -886,8 +636,6 @@ private static RecognizeRequestInternal CreateRecognizeRequest(CallMediaRecogniz RecognizeRequestInternal request = new RecognizeRequestInternal(recognizeSpeechOrDtmfOptions.InputType, recognizeConfigurationsInternal); request.PlayPrompt = TranslatePlaySourceToInternal(recognizeSpeechOrDtmfOptions.Prompt); - if (recognizeOptions.PlayPrompts != null && recognizeOptions.PlayPrompts.Any()) - request.PlayPrompts = recognizeOptions.PlayPrompts.Select(t => TranslatePlaySourceToInternal(t)).ToList(); request.InterruptCallMediaOperation = recognizeOptions.InterruptCallMediaOperation; request.OperationContext = recognizeOptions.OperationContext == default ? Guid.NewGuid().ToString() : recognizeOptions.OperationContext; request.OperationCallbackUri = recognizeOptions.OperationCallbackUri?.AbsoluteUri; @@ -946,7 +694,7 @@ public virtual Response StartContinuousDtmfRecognition(ContinuousDtmfRecognition scope.Start(); try { - ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer.Serialize(options.TargetParticipant)) + ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer_2025_06_30.Serialize(options.TargetParticipant)) { OperationContext = options.OperationContext, OperationCallbackUri = options.OperationCallbackUri?.AbsoluteUri @@ -973,7 +721,7 @@ public virtual Response StartContinuousDtmfRecognition(CommunicationIdentifier t scope.Start(); try { - ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer.Serialize(targetParticipant)); + ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer_2025_06_30.Serialize(targetParticipant)); return CallMediaRestClient.StartContinuousDtmfRecognition(CallConnectionId, request, cancellationToken); } @@ -996,7 +744,7 @@ public virtual async Task StartContinuousDtmfRecognitionAsync(Continuo scope.Start(); try { - ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer.Serialize(options.TargetParticipant)) + ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer_2025_06_30.Serialize(options.TargetParticipant)) { OperationContext = options.OperationContext, OperationCallbackUri = options.OperationCallbackUri?.AbsoluteUri @@ -1022,7 +770,7 @@ public virtual async Task StartContinuousDtmfRecognitionAsync(Communic scope.Start(); try { - ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer.Serialize(targetParticipant)); + ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer_2025_06_30.Serialize(targetParticipant)); return await CallMediaRestClient.StartContinuousDtmfRecognitionAsync(CallConnectionId, request, cancellationToken).ConfigureAwait(false); } @@ -1044,7 +792,7 @@ public virtual Response StopContinuousDtmfRecognition(ContinuousDtmfRecognitionO scope.Start(); try { - ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer.Serialize(options.TargetParticipant)) + ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer_2025_06_30.Serialize(options.TargetParticipant)) { OperationContext = options.OperationContext, OperationCallbackUri = options.OperationCallbackUri?.AbsoluteUri @@ -1071,7 +819,7 @@ public virtual Response StopContinuousDtmfRecognition(CommunicationIdentifier ta scope.Start(); try { - ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer.Serialize(targetParticipant)); + ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer_2025_06_30.Serialize(targetParticipant)); return CallMediaRestClient.StopContinuousDtmfRecognition(CallConnectionId, request, cancellationToken); } @@ -1094,7 +842,7 @@ public virtual async Task StopContinuousDtmfRecognitionAsync(Continuou scope.Start(); try { - ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer.Serialize(options.TargetParticipant)) + ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer_2025_06_30.Serialize(options.TargetParticipant)) { OperationContext = options.OperationContext, OperationCallbackUri = options.OperationCallbackUri?.AbsoluteUri @@ -1120,7 +868,7 @@ public virtual async Task StopContinuousDtmfRecognitionAsync(Communica scope.Start(); try { - ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer.Serialize(targetParticipant)); + ContinuousDtmfRecognitionRequestInternal request = new(CommunicationIdentifierSerializer_2025_06_30.Serialize(targetParticipant)); return await CallMediaRestClient.StopContinuousDtmfRecognitionAsync(CallConnectionId, request, cancellationToken).ConfigureAwait(false); } @@ -1143,7 +891,7 @@ public virtual async Task> SendDtmfTonesAsync(Send scope.Start(); try { - SendDtmfTonesRequestInternal request = new(options.Tones, CommunicationIdentifierSerializer.Serialize(options.TargetParticipant)) + SendDtmfTonesRequestInternal request = new(options.Tones, CommunicationIdentifierSerializer_2025_06_30.Serialize(options.TargetParticipant)) { OperationContext = options.OperationContext, OperationCallbackUri = options.OperationCallbackUri?.AbsoluteUri @@ -1177,7 +925,7 @@ public virtual async Task> SendDtmfTonesAsync(IEnu scope.Start(); try { - SendDtmfTonesRequestInternal request = new(tones, CommunicationIdentifierSerializer.Serialize(targetParticipant)); + SendDtmfTonesRequestInternal request = new(tones, CommunicationIdentifierSerializer_2025_06_30.Serialize(targetParticipant)); var response = await CallMediaRestClient.SendDtmfTonesAsync(CallConnectionId, request, cancellationToken).ConfigureAwait(false); @@ -1205,7 +953,7 @@ public virtual Response SendDtmfTones(SendDtmfTonesOptions scope.Start(); try { - SendDtmfTonesRequestInternal request = new(options.Tones, CommunicationIdentifierSerializer.Serialize(options.TargetParticipant)) + SendDtmfTonesRequestInternal request = new(options.Tones, CommunicationIdentifierSerializer_2025_06_30.Serialize(options.TargetParticipant)) { OperationContext = options.OperationContext, OperationCallbackUri = options.OperationCallbackUri?.AbsoluteUri @@ -1239,7 +987,7 @@ public virtual Response SendDtmfTones(IEnumerable scope.Start(); try { - SendDtmfTonesRequestInternal request = new(tones, CommunicationIdentifierSerializer.Serialize(targetParticipant)); + SendDtmfTonesRequestInternal request = new(tones, CommunicationIdentifierSerializer_2025_06_30.Serialize(targetParticipant)); var response = CallMediaRestClient.SendDtmfTones(CallConnectionId, request, cancellationToken); @@ -1269,7 +1017,7 @@ public virtual Response StartTranscription(StartTranscriptionOptions options = d { var request = options == default ? new StartTranscriptionRequestInternal() - : new StartTranscriptionRequestInternal() { Locale = options.Locale, OperationContext = options.OperationContext, OperationCallbackUri = options.OperationCallbackUri, SpeechRecognitionModelEndpointId = options.SpeechRecognitionModelEndpointId }; + : new StartTranscriptionRequestInternal() { Locale = options.Locale, OperationContext = options.OperationContext }; return CallMediaRestClient.StartTranscription(CallConnectionId, request, cancellationToken); } @@ -1294,7 +1042,7 @@ public virtual async Task StartTranscriptionAsync(StartTranscriptionOp { var request = options == default ? new StartTranscriptionRequestInternal() - : new StartTranscriptionRequestInternal() { Locale = options.Locale, OperationContext = options.OperationContext, OperationCallbackUri = options.OperationCallbackUri, SpeechRecognitionModelEndpointId = options.SpeechRecognitionModelEndpointId }; + : new StartTranscriptionRequestInternal() { Locale = options.Locale, OperationContext = options.OperationContext }; return await CallMediaRestClient.StartTranscriptionAsync(CallConnectionId, request, cancellationToken).ConfigureAwait(false); } @@ -1319,7 +1067,7 @@ public virtual Response StopTranscription(StopTranscriptionOptions options = def { var request = options == default ? new StopTranscriptionRequestInternal() - : new StopTranscriptionRequestInternal() { OperationContext = options.OperationContext, OperationCallbackUri = options.OperationCallbackUri }; + : new StopTranscriptionRequestInternal() { OperationContext = options.OperationContext }; return CallMediaRestClient.StopTranscription(CallConnectionId, request, cancellationToken); } @@ -1344,7 +1092,7 @@ public virtual async Task StopTranscriptionAsync(StopTranscriptionOpti { var request = options == default ? new StopTranscriptionRequestInternal() - : new StopTranscriptionRequestInternal() { OperationContext = options.OperationContext, OperationCallbackUri = options.OperationCallbackUri }; + : new StopTranscriptionRequestInternal() { OperationContext = options.OperationContext }; return await CallMediaRestClient.StopTranscriptionAsync(CallConnectionId, request, cancellationToken).ConfigureAwait(false); } @@ -1361,18 +1109,14 @@ public virtual async Task StopTranscriptionAsync(StopTranscriptionOpti /// Defines new locale for transcription. /// An optional CancellationToken to cancel the request. /// Returns an HTTP response with a 202 status code for success, or an HTTP failure error code in case of an error. - public virtual async Task UpdateTranscription(string locale, CancellationToken cancellationToken = default) + public virtual Response UpdateTranscription(string locale, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(UpdateTranscription)}"); scope.Start(); try { - UpdateTranscriptionRequestInternal request = new UpdateTranscriptionRequestInternal( - locale: locale, - speechModelEndpointId: null, - operationContext: null, - operationCallbackUri: null); - return await CallMediaRestClient.UpdateTranscriptionAsync(CallConnectionId, request, cancellationToken).ConfigureAwait(false); + UpdateTranscriptionRequestInternal request = new UpdateTranscriptionRequestInternal(locale); + return CallMediaRestClient.UpdateTranscription(CallConnectionId, request, cancellationToken); } catch (Exception ex) { @@ -1384,18 +1128,17 @@ public virtual async Task UpdateTranscription(string locale, Cancellat /// /// API to change transcription language. /// - /// An optional object containing update transcription options and configurations. + /// Defines new locale for transcription. /// An optional CancellationToken to cancel the request. /// Returns an HTTP response with a 202 status code for success, or an HTTP failure error code in case of an error. - public virtual Response UpdateTranscription(UpdateTranscriptionOptions options = default, CancellationToken cancellationToken = default) + public virtual async Task UpdateTranscriptionAsync(string locale, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(UpdateTranscription)}"); scope.Start(); try { - UpdateTranscriptionRequestInternal request = new(options.Locale, options.SpeechRecognitionModelEndpointId, options.OperationContext, options.OperationCallbackUri); - - return CallMediaRestClient.UpdateTranscription(CallConnectionId, request, cancellationToken); + UpdateTranscriptionRequestInternal request = new UpdateTranscriptionRequestInternal(locale); + return await CallMediaRestClient.UpdateTranscriptionAsync(CallConnectionId, request, cancellationToken).ConfigureAwait(false); } catch (Exception ex) { @@ -1405,23 +1148,27 @@ public virtual Response UpdateTranscription(UpdateTranscriptionOptions options = } /// - /// API to change transcription language. + /// Interrupts current hold audio and plays the announcement passed as a parameter. Resumes the hold audio after announcement completes. /// - /// Defines new locale for transcription. - /// An optional CancellationToken to cancel the request. - /// Returns an HTTP response with a 202 status code for success, or an HTTP failure error code in case of an error. - public virtual async Task UpdateTranscriptionAsync(string locale, CancellationToken cancellationToken = default) + /// + /// + /// Returns , which can be used to wait for Play's related events. + public virtual Response InterruptAudioAndAnnounce(InterruptAudioAndAnnounceOptions announcementOptions, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(UpdateTranscription)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(InterruptAudioAndAnnounce)}"); scope.Start(); try { - UpdateTranscriptionRequestInternal request = new UpdateTranscriptionRequestInternal( - locale: locale, - speechModelEndpointId: null, - operationContext: null, - operationCallbackUri: null); - return await CallMediaRestClient.UpdateTranscriptionAsync(CallConnectionId, request, cancellationToken).ConfigureAwait(false); + InterruptAudioAndAnnounceRequestInternal request = new InterruptAudioAndAnnounceRequestInternal( + announcementOptions.Announcement.Select(t => TranslatePlaySourceToInternal(t)).ToList(), + CommunicationIdentifierSerializer_2025_06_30.Serialize(announcementOptions.PlayTo), + announcementOptions.OperationContext); + + var response = CallMediaRestClient.InterruptAudioAndAnnounce(CallConnectionId, request, cancellationToken); + var result = new InterruptAudioAndAnnounceResult(); + + result.SetEventProcessor(EventProcessor, CallConnectionId, request.OperationContext); + return Response.FromValue(result, response); } catch (Exception ex) { @@ -1431,20 +1178,26 @@ public virtual async Task UpdateTranscriptionAsync(string locale, Canc } /// - /// API to change transcription language. + /// Plays a file. /// - /// An optional object containing update transcription options and configurations. - /// An optional CancellationToken to cancel the request. - /// Returns an HTTP response with a 202 status code for success, or an HTTP failure error code in case of an error. - public virtual async Task UpdateTranscriptionAsync(UpdateTranscriptionOptions options = default, CancellationToken cancellationToken = default) + /// + /// + /// Returns , which can be used to wait for Play's related events. + public async virtual Task> InterruptAudioAndAnnounceAsync(InterruptAudioAndAnnounceOptions announcementOptions, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(UpdateTranscription)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(InterruptAudioAndAnnounce)}"); scope.Start(); try { - UpdateTranscriptionRequestInternal request = new(options.Locale, options.SpeechRecognitionModelEndpointId, options.OperationContext, options.OperationCallbackUri); + InterruptAudioAndAnnounceRequestInternal request = new InterruptAudioAndAnnounceRequestInternal( + announcementOptions.Announcement.Select(t => TranslatePlaySourceToInternal(t)).ToList(), + CommunicationIdentifierSerializer_2025_06_30.Serialize(announcementOptions.PlayTo)); - return await CallMediaRestClient.UpdateTranscriptionAsync(CallConnectionId, request, cancellationToken).ConfigureAwait(false); + var response = await CallMediaRestClient.InterruptAudioAndAnnounceAsync(CallConnectionId, request, cancellationToken).ConfigureAwait(false); + var result = new InterruptAudioAndAnnounceResult(); + + result.SetEventProcessor(EventProcessor, CallConnectionId, request.OperationContext); + return Response.FromValue(result, response); } catch (Exception ex) { @@ -1542,7 +1295,7 @@ public virtual async Task StopMediaStreamingAsync(StopMediaStreamingOp { var request = options == default ? new StopMediaStreamingRequestInternal() - : new StopMediaStreamingRequestInternal() { OperationCallbackUri = options.OperationCallbackUri?.AbsoluteUri }; // OperationContext = options.OperationContext + : new StopMediaStreamingRequestInternal() { OperationCallbackUri = options.OperationCallbackUri?.AbsoluteUri, OperationContext = options.OperationContext }; return await CallMediaRestClient.StopMediaStreamingAsync(CallConnectionId, request, cancellationToken).ConfigureAwait(false); } @@ -1552,64 +1305,5 @@ public virtual async Task StopMediaStreamingAsync(StopMediaStreamingOp throw; } } - - /// - /// Interrupts current hold audio and plays the announcement passed as a parameter. Resumes the hold audio after announcement completes. - /// - /// - /// - /// Returns , which can be used to wait for Play's related events. - public virtual Response InterruptAudioAndAnnounce(InterruptAudioAndAnnounceOptions announcementOptions, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(InterruptAudioAndAnnounce)}"); - scope.Start(); - try - { - InterruptAudioAndAnnounceRequestInternal request = new InterruptAudioAndAnnounceRequestInternal( - announcementOptions.Announcement.Select(t => TranslatePlaySourceToInternal(t)).ToList(), - CommunicationIdentifierSerializer.Serialize(announcementOptions.PlayTo), - announcementOptions.OperationContext); - - var response = CallMediaRestClient.InterruptAudioAndAnnounce(CallConnectionId, request, cancellationToken); - var result = new InterruptAudioAndAnnounceResult(); - - result.SetEventProcessor(EventProcessor, CallConnectionId, request.OperationContext); - return Response.FromValue(result, response); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Plays a file. - /// - /// - /// - /// Returns , which can be used to wait for Play's related events. - public async virtual Task> InterruptAudioAndAnnounceAsync(InterruptAudioAndAnnounceOptions announcementOptions, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallMedia)}.{nameof(InterruptAudioAndAnnounce)}"); - scope.Start(); - try - { - InterruptAudioAndAnnounceRequestInternal request = new InterruptAudioAndAnnounceRequestInternal( - announcementOptions.Announcement.Select(t => TranslatePlaySourceToInternal(t)).ToList(), - CommunicationIdentifierSerializer.Serialize(announcementOptions.PlayTo)); - - var response = await CallMediaRestClient.InterruptAudioAndAnnounceAsync(CallConnectionId, request, cancellationToken).ConfigureAwait(false); - var result = new InterruptAudioAndAnnounceResult(); - - result.SetEventProcessor(EventProcessor, CallConnectionId, request.OperationContext); - return Response.FromValue(result, response); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/CallRecording.cs b/sdk/communication/Azure.Communication.CallAutomation/src/CallRecording.cs index 834f7844d698..1f36ba86de8d 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/CallRecording.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/CallRecording.cs @@ -2,6 +2,7 @@ // Licensed under the MIT License. using System; +using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; @@ -61,8 +62,7 @@ public virtual Response Start(StartRecordingOptions option RecordingChannelType = options.RecordingChannel, RecordingContentType = options.RecordingContent, RecordingFormatType = options.RecordingFormat, - PauseOnStart = options.PauseOnStart, - PostProcessingOptions = options.PostProcessingOptions, + PauseOnStart = options.PauseOnStart }; if (options.CallLocator != null) @@ -78,7 +78,7 @@ public virtual Response Start(StartRecordingOptions option { foreach (var c in options.AudioChannelParticipantOrdering) { - request.AudioChannelParticipantOrdering.Add(CommunicationIdentifierSerializer.Serialize(c)); + request.AudioChannelParticipantOrdering.Add(CommunicationIdentifierSerializer_2025_06_30.Serialize(c)); } } @@ -86,7 +86,7 @@ public virtual Response Start(StartRecordingOptions option { foreach (var c in options.ChannelAffinity) { - ChannelAffinityInternal newChannelAffinity = new ChannelAffinityInternal(CommunicationIdentifierSerializer.Serialize(c.Participant)); + ChannelAffinityInternal newChannelAffinity = new ChannelAffinityInternal(CommunicationIdentifierSerializer_2025_06_30.Serialize(c.Participant)); if (c.Channel != null) { newChannelAffinity.Channel = c.Channel; @@ -95,15 +95,6 @@ public virtual Response Start(StartRecordingOptions option } } - if (options.RecordingStorage != null) - { - // This is required only when blob storage in use - if (options.RecordingStorage is AzureBlobContainerRecordingStorage blobStorage) - { - request.ExternalStorage = new RecordingStorageInternal(blobStorage.RecordingStorageKind, blobStorage.RecordingDestinationContainerUri); - } - } - return _callRecordingRestClient.StartRecording(request, cancellationToken: cancellationToken); } catch (Exception ex) @@ -134,7 +125,6 @@ public virtual async Task> StartAsync(StartRecord RecordingContentType = options.RecordingContent, RecordingFormatType = options.RecordingFormat, PauseOnStart = options.PauseOnStart, - PostProcessingOptions = options.PostProcessingOptions, }; if (options.CallLocator != null) @@ -150,7 +140,7 @@ public virtual async Task> StartAsync(StartRecord { foreach (var c in options.AudioChannelParticipantOrdering) { - request.AudioChannelParticipantOrdering.Add(CommunicationIdentifierSerializer.Serialize(c)); + request.AudioChannelParticipantOrdering.Add(CommunicationIdentifierSerializer_2025_06_30.Serialize(c)); } }; @@ -158,7 +148,7 @@ public virtual async Task> StartAsync(StartRecord { foreach (var c in options.ChannelAffinity) { - ChannelAffinityInternal newChannelAffinity = new ChannelAffinityInternal(CommunicationIdentifierSerializer.Serialize(c.Participant)); + ChannelAffinityInternal newChannelAffinity = new ChannelAffinityInternal(CommunicationIdentifierSerializer_2025_06_30.Serialize(c.Participant)); if (c.Channel != null) { newChannelAffinity.Channel = c.Channel; @@ -167,15 +157,6 @@ public virtual async Task> StartAsync(StartRecord } } - if (options.RecordingStorage != null) - { - // This is required only when blob storage in use - if (options.RecordingStorage is AzureBlobContainerRecordingStorage blobStorage) - { - request.ExternalStorage = new RecordingStorageInternal(blobStorage.RecordingStorageKind, blobStorage.RecordingDestinationContainerUri); - } - } - return await _callRecordingRestClient.StartRecordingAsync(request, cancellationToken: cancellationToken).ConfigureAwait(false); } catch (Exception ex) @@ -369,50 +350,6 @@ public virtual Response Resume(string recordingId, CancellationToken cancellatio } } - /// Get recording result. This includes the download URLs for the recording chunks. - /// The recording id. - /// The cancellation token to use. - /// is null. - public virtual Response GetRecording(string recordingId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallRecording)}.{nameof(GetRecording)}"); - scope.Start(); - try - { - return _callRecordingRestClient.GetRecordingResult( - recordingId: recordingId, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Get recording result. This includes the download URLs for the recording chunks. - /// The recording id. - /// The cancellation token to use. - /// is null. - public virtual async Task> GetRecordingAsync(string recordingId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallRecording)}.{nameof(GetRecording)}"); - scope.Start(); - try - { - return await _callRecordingRestClient.GetRecordingResultAsync( - recordingId: recordingId, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - /// /// The /// operation downloads the recording's content. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/CustomCallContextHelpers.cs b/sdk/communication/Azure.Communication.CallAutomation/src/CustomCallContextHelpers.cs deleted file mode 100644 index 0ed86641ac9f..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/CustomCallContextHelpers.cs +++ /dev/null @@ -1,135 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Linq; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - internal static class CustomCallContextHelpers - { - /// - /// Converts a public TeamsPhoneCallDetails instance to an internal TeamsPhoneCallDetailsInternal instance. - /// - /// The public TeamsPhoneCallDetails instance to convert. - /// - /// A new TeamsPhoneCallDetailsInternal instance containing the converted data, or null if the input is null. - /// - internal static TeamsPhoneCallDetailsInternal CreateTeamsPhoneCallDetailsInternal(TeamsPhoneCallDetails teamsPhoneCallDetails) - { - if (teamsPhoneCallDetails == null) - { - return null; - } - - return new TeamsPhoneCallDetailsInternal( - CreateTeamsPhoneCallerDetailsInternal(teamsPhoneCallDetails.TeamsPhoneCallerDetails), - CreateTeamsPhoneSourceDetailsInternal(teamsPhoneCallDetails.TeamsPhoneSourceDetails), - teamsPhoneCallDetails.SessionId, - teamsPhoneCallDetails.Intent, - teamsPhoneCallDetails.CallTopic, - teamsPhoneCallDetails.CallContext, - teamsPhoneCallDetails.TranscriptUrl, - teamsPhoneCallDetails.CallSentiment, - teamsPhoneCallDetails.SuggestedActions); - } - - /// - /// Converts a public TeamsPhoneCallerDetails instance to an internal TeamsPhoneCallerDetailsInternal instance. - /// - /// The public TeamsPhoneCallerDetails instance to convert. - /// - /// A new TeamsPhoneCallerDetailsInternal instance containing the converted data, or null if the input is null. - /// - internal static TeamsPhoneCallerDetailsInternal CreateTeamsPhoneCallerDetailsInternal(TeamsPhoneCallerDetails teamsPhoneCallerDetails) - { - if (teamsPhoneCallerDetails == null) - { - return null; - } - - return new TeamsPhoneCallerDetailsInternal( - CommunicationIdentifierSerializer.Serialize(teamsPhoneCallerDetails.Caller), - teamsPhoneCallerDetails.Name, - teamsPhoneCallerDetails.PhoneNumber, - teamsPhoneCallerDetails.RecordId, - teamsPhoneCallerDetails.ScreenPopUrl, - teamsPhoneCallerDetails.IsAuthenticated, - teamsPhoneCallerDetails.AdditionalCallerInformation); - } - - /// - /// Converts a public TeamsPhoneSourceDetails instance to an internal TeamsPhoneSourceDetailsInternal instance. - /// - /// The public TeamsPhoneSourceDetails instance to convert. - /// - /// A new TeamsPhoneSourceDetailsInternal instance containing the converted data, or null if the input is null. - /// - internal static TeamsPhoneSourceDetailsInternal CreateTeamsPhoneSourceDetailsInternal(TeamsPhoneSourceDetails teamsPhoneSourceDetails) - { - if (teamsPhoneSourceDetails == null) - { - return null; - } - - return new TeamsPhoneSourceDetailsInternal( - CommunicationIdentifierSerializer.Serialize(teamsPhoneSourceDetails.Source), - teamsPhoneSourceDetails.Language, - teamsPhoneSourceDetails.Status, - teamsPhoneSourceDetails.IntendedTargets?.ToDictionary( - pair => pair.Key, - pair => CommunicationIdentifierSerializer.Serialize(pair.Value)) - ); - } - - internal static TeamsPhoneCallDetails CreateTeamsPhoneCallDetails(TeamsPhoneCallDetailsInternal internalTeamsPhoneCallDetails) - { - if (internalTeamsPhoneCallDetails == null) - { - return null; - } - return new TeamsPhoneCallDetails( - CreateTeamsPhoneCallerDetails(internalTeamsPhoneCallDetails.TeamsPhoneCallerDetails), - CreateTeamsPhoneSourceDetails(internalTeamsPhoneCallDetails.TeamsPhoneSourceDetails), - internalTeamsPhoneCallDetails.SessionId, - internalTeamsPhoneCallDetails.Intent, - internalTeamsPhoneCallDetails.CallTopic, - internalTeamsPhoneCallDetails.CallContext, - internalTeamsPhoneCallDetails.TranscriptUrl, - internalTeamsPhoneCallDetails.CallSentiment, - internalTeamsPhoneCallDetails.SuggestedActions); - } - internal static TeamsPhoneCallerDetails CreateTeamsPhoneCallerDetails(TeamsPhoneCallerDetailsInternal internalTeamsPhoneCallerDetails) - { - if (internalTeamsPhoneCallerDetails == null) - { - return null; - } - return new TeamsPhoneCallerDetails( - CommunicationIdentifierSerializer.Deserialize(internalTeamsPhoneCallerDetails.Caller), - internalTeamsPhoneCallerDetails.Name, - internalTeamsPhoneCallerDetails.PhoneNumber, - internalTeamsPhoneCallerDetails.RecordId, - internalTeamsPhoneCallerDetails.ScreenPopUrl, - internalTeamsPhoneCallerDetails.IsAuthenticated, - internalTeamsPhoneCallerDetails.AdditionalCallerInformation - ); - } - internal static TeamsPhoneSourceDetails CreateTeamsPhoneSourceDetails(TeamsPhoneSourceDetailsInternal internalTeamsPhoneSourceDetails) - { - if (internalTeamsPhoneSourceDetails == null) - { - return null; - } - return new TeamsPhoneSourceDetails( - CommunicationIdentifierSerializer.Deserialize(internalTeamsPhoneSourceDetails.Source), - internalTeamsPhoneSourceDetails.Language, - internalTeamsPhoneSourceDetails.Status, - internalTeamsPhoneSourceDetails.IntendedTargets?.ToDictionary( - pair => pair.Key, - pair => CommunicationIdentifierSerializer.Deserialize(pair.Value)) - ); - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/AzureCommunicationServicesRestClient.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/AzureCommunicationServicesRestClient.cs index f8ba203319ed..6390d41ee46d 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/AzureCommunicationServicesRestClient.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/AzureCommunicationServicesRestClient.cs @@ -29,7 +29,7 @@ internal partial class AzureCommunicationServicesRestClient /// The endpoint of the Azure Communication resource. /// Api Version. /// , , or is null. - public AzureCommunicationServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint, string apiVersion = "2024-09-01-preview") + public AzureCommunicationServicesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint, string apiVersion = "2024-01-22-preview") { ClientDiagnostics = clientDiagnostics ?? throw new ArgumentNullException(nameof(clientDiagnostics)); _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallAutomationModelFactory.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallAutomationModelFactory.cs index 7d5a8d2526cc..95e3dbf78ba2 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallAutomationModelFactory.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallAutomationModelFactory.cs @@ -38,74 +38,14 @@ public static MuteParticipantResult MuteParticipantResult(string operationContex return new MuteParticipantResult(operationContext); } - /// Initializes a new instance of . - /// The operation context provided by client. - /// A new instance for mocking. - public static UnmuteParticipantResult UnmuteParticipantResult(string operationContext = null) - { - return new UnmuteParticipantResult(operationContext); - } - - /// Initializes a new instance of . + /// Initializes a new instance of . /// - /// Container for chunks. - /// - /// - /// - /// - /// - /// A new instance for mocking. - public static RecordingResult RecordingResult(string recordingId = null, RecordingStorageInfo recordingStorageInfo = null, IEnumerable errors = null, DateTimeOffset? recordingStartTime = null, long? recordingDurationMs = null, CallSessionEndReason? sessionEndReason = null, DateTimeOffset? recordingExpirationTime = null) - { - errors ??= new List(); - - return new RecordingResult( - recordingId, - recordingStorageInfo, - errors?.ToList(), - recordingStartTime, - recordingDurationMs, - sessionEndReason, - recordingExpirationTime); - } - - /// Initializes a new instance of . - /// Collection of {Microsoft.Skype.Platform.ExecutionAgent.Azure.Communication.Service.ServerCalling.Content.Contracts.ALPHA4_2024_09_01_preview.Models.RecordingChunkStorageInfo}. - /// A new instance for mocking. - public static RecordingStorageInfo RecordingStorageInfo(IEnumerable recordingChunks = null) - { - recordingChunks ??= new List(); - - return new RecordingStorageInfo(recordingChunks?.ToList()); - } - - /// Initializes a new instance of . - /// Chunk document id. - /// Chunks order in a multi chunk recording. - /// Reason this chunk ended. - /// Location of the chunk. - /// Location of chunk metadata. - /// Callback for deleting chunk. - /// A new instance for mocking. - public static RecordingChunkStorageInfo RecordingChunkStorageInfo(string documentId = null, int? index = null, ChunkEndReason? endReason = null, string contentLocation = null, string metadataLocation = null, string deleteLocation = null) - { - return new RecordingChunkStorageInfo( - documentId, - index, - endReason, - contentLocation, - metadataLocation, - deleteLocation); - } - - /// Initializes a new instance of . - /// Error code. - /// Error message. - /// Inner error details. - /// A new instance for mocking. - public static ErrorDetails ErrorDetails(string code = null, string message = null, ErrorDetails innerError = null) + /// + /// + /// A new instance for mocking. + public static RecordingStateResult RecordingStateResult(string recordingId = null, RecordingState? recordingState = null, RecordingKind? recordingKind = null) { - return new ErrorDetails(code, message, innerError); + return new RecordingStateResult(recordingId, recordingState, recordingKind); } /// Initializes a new instance of . @@ -118,6 +58,31 @@ public static ResultInformation ResultInformation(int? code = null, int? subCode return new ResultInformation(code, subCode, message); } + /// Initializes a new instance of . + /// The call recording id. + /// + /// The time of the recording started. + /// + /// 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. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// A new instance for mocking. + public static RecordingStateChanged RecordingStateChanged(string recordingId = null, RecordingState state = default, DateTimeOffset? startDateTime = null, RecordingKind? recordingKind = null, string operationContext = null, ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) + { + return new RecordingStateChanged( + recordingId, + state, + startDateTime, + recordingKind, + operationContext, + resultInformation, + callConnectionId, + serverCallId, + correlationId); + } + /// Initializes a new instance of . /// /// A new instance for mocking. @@ -128,6 +93,14 @@ public static DtmfResult DtmfResult(IEnumerable tones = null) return new DtmfResult(tones?.ToList()); } + /// Initializes a new instance of . + /// The recognized speech in string. + /// A new instance for mocking. + public static SpeechResult SpeechResult(string speech = null) + { + return new SpeechResult(speech); + } + /// Initializes a new instance of . /// Label is the primary identifier for the choice detected. /// @@ -140,15 +113,6 @@ public static ChoiceResult ChoiceResult(string label = null, string recognizedPh return new ChoiceResult(label, recognizedPhrase); } - /// Initializes a new instance of . - /// The recognized speech in string. - /// The confidence of the recognized speech. - /// A new instance for mocking. - public static SpeechResult SpeechResult(string speech = null, double? confidence = null) - { - return new SpeechResult(speech, confidence); - } - /// Initializes a new instance of . /// /// A new instance for mocking. @@ -157,33 +121,63 @@ public static UserConsent UserConsent(int? recording = null) return new UserConsent(recording); } + /// Initializes a new instance of . + /// Result information defines the code, subcode and message. + /// The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. + /// + /// + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// A new instance for mocking. + public static ContinuousDtmfRecognitionToneReceived ContinuousDtmfRecognitionToneReceived(ResultInformation resultInformation = null, int? sequenceId = null, DtmfTone? tone = null, string operationContext = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) + { + return new ContinuousDtmfRecognitionToneReceived( + resultInformation, + sequenceId, + tone, + operationContext, + callConnectionId, + serverCallId, + correlationId); + } + /// Initializes a new instance of . + /// The call recording Id. + /// + /// Result information defines the code, subcode and message. /// Call connection ID. - /// Correlation ID for event to call correlation. - /// The call recording id. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. /// A new instance for mocking. - public static StartRecordingFailed StartRecordingFailed(string callConnectionId = null, string correlationId = null, string recordingId = null) + public static StartRecordingFailed StartRecordingFailed(string recordingId = null, string operationContext = null, ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { - return new StartRecordingFailed(callConnectionId, correlationId, recordingId); + return new StartRecordingFailed( + recordingId, + operationContext, + resultInformation, + callConnectionId, + serverCallId, + correlationId); } /// Initializes a new instance of . - /// Defines the result for TranscriptionUpdate with the current status and the details about the status. + /// 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. + /// Defines the result for TranscriptionUpdate with the current status and the details about the status. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. /// A new instance for mocking. - public static TranscriptionStarted TranscriptionStarted(TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + public static TranscriptionStarted TranscriptionStarted(string operationContext = null, ResultInformation resultInformation = null, TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { return new TranscriptionStarted( - transcriptionUpdate, + operationContext, + resultInformation, + transcriptionUpdateResult, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Initializes a new instance of . @@ -196,79 +190,79 @@ public static TranscriptionUpdate TranscriptionUpdate(TranscriptionStatus? trans } /// Initializes a new instance of . - /// Defines the result for TranscriptionUpdate with the current status and the details about the status. + /// 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. + /// Defines the result for TranscriptionUpdate with the current status and the details about the status. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. /// A new instance for mocking. - public static TranscriptionStopped TranscriptionStopped(TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + public static TranscriptionStopped TranscriptionStopped(string operationContext = null, ResultInformation resultInformation = null, TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { return new TranscriptionStopped( - transcriptionUpdate, + operationContext, + resultInformation, + transcriptionUpdateResult, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Initializes a new instance of . - /// Defines the result for TranscriptionUpdate with the current status and the details about the status. + /// 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. + /// Defines the result for TranscriptionUpdate with the current status and the details about the status. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. /// A new instance for mocking. - public static TranscriptionFailed TranscriptionFailed(TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + public static TranscriptionFailed TranscriptionFailed(string operationContext = null, ResultInformation resultInformation = null, TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { return new TranscriptionFailed( - transcriptionUpdate, + operationContext, + resultInformation, + transcriptionUpdateResult, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Initializes a new instance of . - /// Defines the result for TranscriptionUpdate with the current status and the details about the status. + /// 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. + /// Defines the result for TranscriptionUpdate with the current status and the details about the status. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. /// A new instance for mocking. - public static TranscriptionUpdated TranscriptionUpdated(TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + public static TranscriptionUpdated TranscriptionUpdated(string operationContext = null, ResultInformation resultInformation = null, TranscriptionUpdate transcriptionUpdateResult = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { return new TranscriptionUpdated( - transcriptionUpdate, + operationContext, + resultInformation, + transcriptionUpdateResult, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Initializes a new instance of . - /// Defines the result for MediaStreamingUpdate with the current status and the details about the status. + /// Defines the result for audio streaming update with the current status and the details about the status. + /// 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. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. /// A new instance for mocking. - public static MediaStreamingFailed MediaStreamingFailed(MediaStreamingUpdate mediaStreamingUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + public static MediaStreamingFailed MediaStreamingFailed(MediaStreamingUpdate mediaStreamingUpdate = null, string operationContext = null, ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { return new MediaStreamingFailed( mediaStreamingUpdate, + operationContext, + resultInformation, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Initializes a new instance of . @@ -276,47 +270,47 @@ public static MediaStreamingFailed MediaStreamingFailed(MediaStreamingUpdate med /// /// /// A new instance for mocking. - public static MediaStreamingUpdate MediaStreamingUpdate(string contentType = null, MediaStreamingStatus? mediaStreamingStatus = null, MediaStreamingStatusDetails? mediaStreamingStatusDetails = null) + public static MediaStreamingUpdate MediaStreamingUpdate(string contentType = null, MediaStreamingStatus mediaStreamingStatus = default, MediaStreamingStatusDetails mediaStreamingStatusDetails = default) { return new MediaStreamingUpdate(contentType, mediaStreamingStatus, mediaStreamingStatusDetails); } /// Initializes a new instance of . - /// Defines the result for MediaStreamingUpdate with the current status and the details about the status. + /// Defines the result for audio streaming update with the current status and the details about the status. + /// 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. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. /// A new instance for mocking. - public static MediaStreamingStarted MediaStreamingStarted(MediaStreamingUpdate mediaStreamingUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + public static MediaStreamingStarted MediaStreamingStarted(MediaStreamingUpdate mediaStreamingUpdate = null, string operationContext = null, ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { return new MediaStreamingStarted( mediaStreamingUpdate, + operationContext, + resultInformation, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Initializes a new instance of . - /// Defines the result for MediaStreamingUpdate with the current status and the details about the status. + /// Defines the result for audio streaming update with the current status and the details about the status. + /// 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. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. /// A new instance for mocking. - public static MediaStreamingStopped MediaStreamingStopped(MediaStreamingUpdate mediaStreamingUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + public static MediaStreamingStopped MediaStreamingStopped(MediaStreamingUpdate mediaStreamingUpdate = null, string operationContext = null, ResultInformation resultInformation = null, string callConnectionId = null, string serverCallId = null, string correlationId = null) { return new MediaStreamingStopped( mediaStreamingUpdate, + operationContext, + resultInformation, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallConnectionRestClient.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallConnectionRestClient.cs index 30e0499f4756..5d917c57af20 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallConnectionRestClient.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallConnectionRestClient.cs @@ -29,7 +29,7 @@ internal partial class CallConnectionRestClient /// The endpoint of the Azure Communication resource. /// Api Version. /// , , or is null. - public CallConnectionRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint, string apiVersion = "2024-09-01-preview") + public CallConnectionRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint, string apiVersion = "2024-01-22-preview") { ClientDiagnostics = clientDiagnostics ?? throw new ArgumentNullException(nameof(clientDiagnostics)); _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); @@ -407,7 +407,7 @@ internal HttpMessage CreateAddParticipantRequest(string callConnectionId, AddPar /// Add a participant to the call. /// The call connection Id. - /// The add participants request. + /// The to use. /// The cancellation token to use. /// or is null. public async Task> AddParticipantAsync(string callConnectionId, AddParticipantRequestInternal addParticipantRequestInternal, CancellationToken cancellationToken = default) @@ -439,7 +439,7 @@ public async Task> AddParticipantAsync( /// Add a participant to the call. /// The call connection Id. - /// The add participants request. + /// The to use. /// The cancellation token to use. /// or is null. public Response AddParticipant(string callConnectionId, AddParticipantRequestInternal addParticipantRequestInternal, CancellationToken cancellationToken = default) @@ -641,92 +641,6 @@ public Response Mute(string callConnectionId, MutePartici } } - internal HttpMessage CreateUnmuteRequest(string callConnectionId, UnmuteParticipantsRequestInternal unmuteParticipantsRequestInternal) - { - var message = _pipeline.CreateMessage(); - var request = message.Request; - request.Method = RequestMethod.Post; - var uri = new RawRequestUriBuilder(); - uri.Reset(_endpoint); - uri.AppendPath("/calling/callConnections/", false); - uri.AppendPath(callConnectionId, true); - uri.AppendPath("/participants:unmute", false); - uri.AppendQuery("api-version", _apiVersion, true); - request.Uri = uri; - request.Headers.Add("Repeatability-Request-ID", Guid.NewGuid()); - request.Headers.Add("Repeatability-First-Sent", DateTimeOffset.Now, "R"); - request.Headers.Add("Accept", "application/json"); - request.Headers.Add("Content-Type", "application/json"); - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(unmuteParticipantsRequestInternal); - request.Content = content; - return message; - } - - /// Unmute participants from the call using identifier. - /// The call connection id. - /// The participants to be unmuted from the call. - /// The cancellation token to use. - /// or is null. - public async Task> UnmuteAsync(string callConnectionId, UnmuteParticipantsRequestInternal unmuteParticipantsRequestInternal, CancellationToken cancellationToken = default) - { - if (callConnectionId == null) - { - throw new ArgumentNullException(nameof(callConnectionId)); - } - if (unmuteParticipantsRequestInternal == null) - { - throw new ArgumentNullException(nameof(unmuteParticipantsRequestInternal)); - } - - using var message = CreateUnmuteRequest(callConnectionId, unmuteParticipantsRequestInternal); - await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); - switch (message.Response.Status) - { - case 200: - { - UnmuteParticipantResult value = default; - using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions, cancellationToken).ConfigureAwait(false); - value = UnmuteParticipantResult.DeserializeUnmuteParticipantResult(document.RootElement); - return Response.FromValue(value, message.Response); - } - default: - throw new RequestFailedException(message.Response); - } - } - - /// Unmute participants from the call using identifier. - /// The call connection id. - /// The participants to be unmuted from the call. - /// The cancellation token to use. - /// or is null. - public Response Unmute(string callConnectionId, UnmuteParticipantsRequestInternal unmuteParticipantsRequestInternal, CancellationToken cancellationToken = default) - { - if (callConnectionId == null) - { - throw new ArgumentNullException(nameof(callConnectionId)); - } - if (unmuteParticipantsRequestInternal == null) - { - throw new ArgumentNullException(nameof(unmuteParticipantsRequestInternal)); - } - - using var message = CreateUnmuteRequest(callConnectionId, unmuteParticipantsRequestInternal); - _pipeline.Send(message, cancellationToken); - switch (message.Response.Status) - { - case 200: - { - UnmuteParticipantResult value = default; - using var document = JsonDocument.Parse(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions); - value = UnmuteParticipantResult.DeserializeUnmuteParticipantResult(document.RootElement); - return Response.FromValue(value, message.Response); - } - default: - throw new RequestFailedException(message.Response); - } - } - internal HttpMessage CreateCancelAddParticipantRequest(string callConnectionId, CancelAddParticipantRequestInternal cancelAddParticipantRequestInternal) { var message = _pipeline.CreateMessage(); diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallDialogRestClient.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallDialogRestClient.cs index a47a5500f438..9767ced5e1c1 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallDialogRestClient.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallDialogRestClient.cs @@ -29,7 +29,7 @@ internal partial class CallDialogRestClient /// The endpoint of the Azure Communication resource. /// Api Version. /// , , or is null. - public CallDialogRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint, string apiVersion = "2024-09-01-preview") + public CallDialogRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint, string apiVersion = "2024-01-22-preview") { ClientDiagnostics = clientDiagnostics ?? throw new ArgumentNullException(nameof(clientDiagnostics)); _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); @@ -58,13 +58,11 @@ internal HttpMessage CreateStartDialogRequest(string callConnectionId, string di return message; } - /// Start a dialog targeting a particular participant on the call. - /// The call connection id. - /// The dialog id. - /// The start dialog request. + /// The to use. + /// The to use. + /// The to use. /// The cancellation token to use. /// , or is null. - /// Start a dialog. public async Task> StartDialogAsync(string callConnectionId, string dialogId, StartDialogRequestInternal startDialogRequestInternal, CancellationToken cancellationToken = default) { if (callConnectionId == null) @@ -96,13 +94,11 @@ public async Task> StartDialogAsync(string } } - /// Start a dialog targeting a particular participant on the call. - /// The call connection id. - /// The dialog id. - /// The start dialog request. + /// The to use. + /// The to use. + /// The to use. /// The cancellation token to use. /// , or is null. - /// Start a dialog. public Response StartDialog(string callConnectionId, string dialogId, StartDialogRequestInternal startDialogRequestInternal, CancellationToken cancellationToken = default) { if (callConnectionId == null) @@ -155,9 +151,10 @@ internal HttpMessage CreateStopDialogRequest(string callConnectionId, string dia return message; } - /// The to use. - /// The to use. - /// The to use. + /// Stop a dialog. + /// The call connection id. + /// The dialog id. + /// Operation callback URI. /// The cancellation token to use. /// or is null. public async Task StopDialogAsync(string callConnectionId, string dialogId, string operationCallbackUri = null, CancellationToken cancellationToken = default) @@ -182,9 +179,10 @@ public async Task StopDialogAsync(string callConnectionId, string dial } } - /// The to use. - /// The to use. - /// The to use. + /// Stop a dialog. + /// The call connection id. + /// The dialog id. + /// Operation callback URI. /// The cancellation token to use. /// or is null. public Response StopDialog(string callConnectionId, string dialogId, string operationCallbackUri = null, CancellationToken cancellationToken = default) @@ -208,92 +206,5 @@ public Response StopDialog(string callConnectionId, string dialogId, string oper throw new RequestFailedException(message.Response); } } - - internal HttpMessage CreateUpdateDialogRequest(string callConnectionId, string dialogId, UpdateDialogRequestInternal updateDialogRequestInternal) - { - var message = _pipeline.CreateMessage(); - var request = message.Request; - request.Method = RequestMethod.Patch; - var uri = new RawRequestUriBuilder(); - uri.Reset(_endpoint); - uri.AppendPath("/calling/callConnections/", false); - uri.AppendPath(callConnectionId, true); - uri.AppendPath("/dialogs/", false); - uri.AppendPath(dialogId, true); - uri.AppendQuery("api-version", _apiVersion, true); - request.Uri = uri; - request.Headers.Add("Accept", "application/json"); - request.Headers.Add("Content-Type", "application/json"); - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(updateDialogRequestInternal); - request.Content = content; - return message; - } - - /// Update an ongoing dialog in a call. - /// The call connection id. - /// The dialog id. - /// The update dialog request. - /// The cancellation token to use. - /// , or is null. - /// Update a dialog. - public async Task UpdateDialogAsync(string callConnectionId, string dialogId, UpdateDialogRequestInternal updateDialogRequestInternal, CancellationToken cancellationToken = default) - { - if (callConnectionId == null) - { - throw new ArgumentNullException(nameof(callConnectionId)); - } - if (dialogId == null) - { - throw new ArgumentNullException(nameof(dialogId)); - } - if (updateDialogRequestInternal == null) - { - throw new ArgumentNullException(nameof(updateDialogRequestInternal)); - } - - using var message = CreateUpdateDialogRequest(callConnectionId, dialogId, updateDialogRequestInternal); - await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); - switch (message.Response.Status) - { - case 200: - return message.Response; - default: - throw new RequestFailedException(message.Response); - } - } - - /// Update an ongoing dialog in a call. - /// The call connection id. - /// The dialog id. - /// The update dialog request. - /// The cancellation token to use. - /// , or is null. - /// Update a dialog. - public Response UpdateDialog(string callConnectionId, string dialogId, UpdateDialogRequestInternal updateDialogRequestInternal, CancellationToken cancellationToken = default) - { - if (callConnectionId == null) - { - throw new ArgumentNullException(nameof(callConnectionId)); - } - if (dialogId == null) - { - throw new ArgumentNullException(nameof(dialogId)); - } - if (updateDialogRequestInternal == null) - { - throw new ArgumentNullException(nameof(updateDialogRequestInternal)); - } - - using var message = CreateUpdateDialogRequest(callConnectionId, dialogId, updateDialogRequestInternal); - _pipeline.Send(message, cancellationToken); - switch (message.Response.Status) - { - case 200: - return message.Response; - default: - throw new RequestFailedException(message.Response); - } - } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallMediaRestClient.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallMediaRestClient.cs index 6b5b75968b52..78a0e00f24ee 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallMediaRestClient.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallMediaRestClient.cs @@ -29,7 +29,7 @@ internal partial class CallMediaRestClient /// The endpoint of the Azure Communication resource. /// Api Version. /// , , or is null. - public CallMediaRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint, string apiVersion = "2024-09-01-preview") + public CallMediaRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint, string apiVersion = "2024-01-22-preview") { ClientDiagnostics = clientDiagnostics ?? throw new ArgumentNullException(nameof(clientDiagnostics)); _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); @@ -259,6 +259,82 @@ public Response StopTranscription(string callConnectionId, StopTranscriptionRequ } } + internal HttpMessage CreateUpdateTranscriptionRequest(string callConnectionId, UpdateTranscriptionRequestInternal updateTranscriptionRequestInternal) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/calling/callConnections/", false); + uri.AppendPath(callConnectionId, true); + uri.AppendPath(":updateTranscription", false); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(updateTranscriptionRequestInternal); + request.Content = content; + return message; + } + + /// UpdateTranscription Api. + /// The call connection id. + /// The UpdateTranscription request. + /// The cancellation token to use. + /// or is null. + /// API to change transcription language. + public async Task UpdateTranscriptionAsync(string callConnectionId, UpdateTranscriptionRequestInternal updateTranscriptionRequestInternal, CancellationToken cancellationToken = default) + { + if (callConnectionId == null) + { + throw new ArgumentNullException(nameof(callConnectionId)); + } + if (updateTranscriptionRequestInternal == null) + { + throw new ArgumentNullException(nameof(updateTranscriptionRequestInternal)); + } + + using var message = CreateUpdateTranscriptionRequest(callConnectionId, updateTranscriptionRequestInternal); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + /// UpdateTranscription Api. + /// The call connection id. + /// The UpdateTranscription request. + /// The cancellation token to use. + /// or is null. + /// API to change transcription language. + public Response UpdateTranscription(string callConnectionId, UpdateTranscriptionRequestInternal updateTranscriptionRequestInternal, CancellationToken cancellationToken = default) + { + if (callConnectionId == null) + { + throw new ArgumentNullException(nameof(callConnectionId)); + } + if (updateTranscriptionRequestInternal == null) + { + throw new ArgumentNullException(nameof(updateTranscriptionRequestInternal)); + } + + using var message = CreateUpdateTranscriptionRequest(callConnectionId, updateTranscriptionRequestInternal); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + internal HttpMessage CreateCancelAllMediaOperationsRequest(string callConnectionId) { var message = _pipeline.CreateMessage(); @@ -541,7 +617,7 @@ public Response StopContinuousDtmfRecognition(string callConnectionId, Continuou } } - internal HttpMessage CreateSendDtmfTonesRequest(string callConnectionId, SendDtmfTonesRequestInternal sendDtmfTonesRequestInternal) + internal HttpMessage CreateHoldRequest(string callConnectionId, HoldRequestInternal holdRequestInternal) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -550,84 +626,72 @@ internal HttpMessage CreateSendDtmfTonesRequest(string callConnectionId, SendDtm uri.Reset(_endpoint); uri.AppendPath("/calling/callConnections/", false); uri.AppendPath(callConnectionId, true); - uri.AppendPath(":sendDtmfTones", false); + uri.AppendPath(":hold", false); uri.AppendQuery("api-version", _apiVersion, true); request.Uri = uri; - request.Headers.Add("Repeatability-Request-ID", Guid.NewGuid()); - request.Headers.Add("Repeatability-First-Sent", DateTimeOffset.Now, "R"); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(sendDtmfTonesRequestInternal); + content.JsonWriter.WriteObjectValue(holdRequestInternal); request.Content = content; return message; } - /// Send dtmf tones. + /// Hold participant from the call using identifier. /// The call connection id. - /// The send dtmf tones request. + /// The participants to be hold from the call. /// The cancellation token to use. - /// or is null. - public async Task> SendDtmfTonesAsync(string callConnectionId, SendDtmfTonesRequestInternal sendDtmfTonesRequestInternal, CancellationToken cancellationToken = default) + /// or is null. + public async Task HoldAsync(string callConnectionId, HoldRequestInternal holdRequestInternal, CancellationToken cancellationToken = default) { if (callConnectionId == null) { throw new ArgumentNullException(nameof(callConnectionId)); } - if (sendDtmfTonesRequestInternal == null) + if (holdRequestInternal == null) { - throw new ArgumentNullException(nameof(sendDtmfTonesRequestInternal)); + throw new ArgumentNullException(nameof(holdRequestInternal)); } - using var message = CreateSendDtmfTonesRequest(callConnectionId, sendDtmfTonesRequestInternal); + using var message = CreateHoldRequest(callConnectionId, holdRequestInternal); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { - case 202: - { - SendDtmfTonesResult value = default; - using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions, cancellationToken).ConfigureAwait(false); - value = SendDtmfTonesResult.DeserializeSendDtmfTonesResult(document.RootElement); - return Response.FromValue(value, message.Response); - } + case 200: + return message.Response; default: throw new RequestFailedException(message.Response); } } - /// Send dtmf tones. + /// Hold participant from the call using identifier. /// The call connection id. - /// The send dtmf tones request. + /// The participants to be hold from the call. /// The cancellation token to use. - /// or is null. - public Response SendDtmfTones(string callConnectionId, SendDtmfTonesRequestInternal sendDtmfTonesRequestInternal, CancellationToken cancellationToken = default) + /// or is null. + public Response Hold(string callConnectionId, HoldRequestInternal holdRequestInternal, CancellationToken cancellationToken = default) { if (callConnectionId == null) { throw new ArgumentNullException(nameof(callConnectionId)); } - if (sendDtmfTonesRequestInternal == null) + if (holdRequestInternal == null) { - throw new ArgumentNullException(nameof(sendDtmfTonesRequestInternal)); + throw new ArgumentNullException(nameof(holdRequestInternal)); } - using var message = CreateSendDtmfTonesRequest(callConnectionId, sendDtmfTonesRequestInternal); + using var message = CreateHoldRequest(callConnectionId, holdRequestInternal); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { - case 202: - { - SendDtmfTonesResult value = default; - using var document = JsonDocument.Parse(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions); - value = SendDtmfTonesResult.DeserializeSendDtmfTonesResult(document.RootElement); - return Response.FromValue(value, message.Response); - } + case 200: + return message.Response; default: throw new RequestFailedException(message.Response); } } - internal HttpMessage CreateUpdateTranscriptionRequest(string callConnectionId, UpdateTranscriptionRequestInternal updateTranscriptionRequestInternal) + internal HttpMessage CreateUnholdRequest(string callConnectionId, UnholdRequestInternal unholdRequestInternal) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -636,74 +700,72 @@ internal HttpMessage CreateUpdateTranscriptionRequest(string callConnectionId, U uri.Reset(_endpoint); uri.AppendPath("/calling/callConnections/", false); uri.AppendPath(callConnectionId, true); - uri.AppendPath(":updateTranscription", false); + uri.AppendPath(":unhold", false); uri.AppendQuery("api-version", _apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(updateTranscriptionRequestInternal); + content.JsonWriter.WriteObjectValue(unholdRequestInternal); request.Content = content; return message; } - /// UpdateTranscription Api. + /// Unhold participants from the call using identifier. /// The call connection id. - /// The UpdateTranscription request. + /// The participants to be hold from the call. /// The cancellation token to use. - /// or is null. - /// API to change transcription language. - public async Task UpdateTranscriptionAsync(string callConnectionId, UpdateTranscriptionRequestInternal updateTranscriptionRequestInternal, CancellationToken cancellationToken = default) + /// or is null. + public async Task UnholdAsync(string callConnectionId, UnholdRequestInternal unholdRequestInternal, CancellationToken cancellationToken = default) { if (callConnectionId == null) { throw new ArgumentNullException(nameof(callConnectionId)); } - if (updateTranscriptionRequestInternal == null) + if (unholdRequestInternal == null) { - throw new ArgumentNullException(nameof(updateTranscriptionRequestInternal)); + throw new ArgumentNullException(nameof(unholdRequestInternal)); } - using var message = CreateUpdateTranscriptionRequest(callConnectionId, updateTranscriptionRequestInternal); + using var message = CreateUnholdRequest(callConnectionId, unholdRequestInternal); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { - case 202: + case 200: return message.Response; default: throw new RequestFailedException(message.Response); } } - /// UpdateTranscription Api. + /// Unhold participants from the call using identifier. /// The call connection id. - /// The UpdateTranscription request. + /// The participants to be hold from the call. /// The cancellation token to use. - /// or is null. - /// API to change transcription language. - public Response UpdateTranscription(string callConnectionId, UpdateTranscriptionRequestInternal updateTranscriptionRequestInternal, CancellationToken cancellationToken = default) + /// or is null. + public Response Unhold(string callConnectionId, UnholdRequestInternal unholdRequestInternal, CancellationToken cancellationToken = default) { if (callConnectionId == null) { throw new ArgumentNullException(nameof(callConnectionId)); } - if (updateTranscriptionRequestInternal == null) + if (unholdRequestInternal == null) { - throw new ArgumentNullException(nameof(updateTranscriptionRequestInternal)); + throw new ArgumentNullException(nameof(unholdRequestInternal)); } - using var message = CreateUpdateTranscriptionRequest(callConnectionId, updateTranscriptionRequestInternal); + using var message = CreateUnholdRequest(callConnectionId, unholdRequestInternal); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { - case 202: + case 200: return message.Response; default: throw new RequestFailedException(message.Response); } } - internal HttpMessage CreateHoldRequest(string callConnectionId, HoldRequestInternal holdRequestInternal) + internal HttpMessage CreateSendDtmfTonesRequest(string callConnectionId, SendDtmfTonesRequestInternal sendDtmfTonesRequestInternal) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -712,72 +774,84 @@ internal HttpMessage CreateHoldRequest(string callConnectionId, HoldRequestInter uri.Reset(_endpoint); uri.AppendPath("/calling/callConnections/", false); uri.AppendPath(callConnectionId, true); - uri.AppendPath(":hold", false); + uri.AppendPath(":sendDtmfTones", false); uri.AppendQuery("api-version", _apiVersion, true); request.Uri = uri; + request.Headers.Add("Repeatability-Request-ID", Guid.NewGuid()); + request.Headers.Add("Repeatability-First-Sent", DateTimeOffset.Now, "R"); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(holdRequestInternal); + content.JsonWriter.WriteObjectValue(sendDtmfTonesRequestInternal); request.Content = content; return message; } - /// Hold participant from the call using identifier. + /// Send dtmf tones. /// The call connection id. - /// The participants to be hold from the call. + /// The send dtmf tones request. /// The cancellation token to use. - /// or is null. - public async Task HoldAsync(string callConnectionId, HoldRequestInternal holdRequestInternal, CancellationToken cancellationToken = default) + /// or is null. + public async Task> SendDtmfTonesAsync(string callConnectionId, SendDtmfTonesRequestInternal sendDtmfTonesRequestInternal, CancellationToken cancellationToken = default) { if (callConnectionId == null) { throw new ArgumentNullException(nameof(callConnectionId)); } - if (holdRequestInternal == null) + if (sendDtmfTonesRequestInternal == null) { - throw new ArgumentNullException(nameof(holdRequestInternal)); + throw new ArgumentNullException(nameof(sendDtmfTonesRequestInternal)); } - using var message = CreateHoldRequest(callConnectionId, holdRequestInternal); + using var message = CreateSendDtmfTonesRequest(callConnectionId, sendDtmfTonesRequestInternal); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { - case 200: - return message.Response; + case 202: + { + SendDtmfTonesResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions, cancellationToken).ConfigureAwait(false); + value = SendDtmfTonesResult.DeserializeSendDtmfTonesResult(document.RootElement); + return Response.FromValue(value, message.Response); + } default: throw new RequestFailedException(message.Response); } } - /// Hold participant from the call using identifier. + /// Send dtmf tones. /// The call connection id. - /// The participants to be hold from the call. + /// The send dtmf tones request. /// The cancellation token to use. - /// or is null. - public Response Hold(string callConnectionId, HoldRequestInternal holdRequestInternal, CancellationToken cancellationToken = default) + /// or is null. + public Response SendDtmfTones(string callConnectionId, SendDtmfTonesRequestInternal sendDtmfTonesRequestInternal, CancellationToken cancellationToken = default) { if (callConnectionId == null) { throw new ArgumentNullException(nameof(callConnectionId)); } - if (holdRequestInternal == null) + if (sendDtmfTonesRequestInternal == null) { - throw new ArgumentNullException(nameof(holdRequestInternal)); + throw new ArgumentNullException(nameof(sendDtmfTonesRequestInternal)); } - using var message = CreateHoldRequest(callConnectionId, holdRequestInternal); + using var message = CreateSendDtmfTonesRequest(callConnectionId, sendDtmfTonesRequestInternal); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { - case 200: - return message.Response; + case 202: + { + SendDtmfTonesResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions); + value = SendDtmfTonesResult.DeserializeSendDtmfTonesResult(document.RootElement); + return Response.FromValue(value, message.Response); + } default: throw new RequestFailedException(message.Response); } } - internal HttpMessage CreateUnholdRequest(string callConnectionId, UnholdRequestInternal unholdRequestInternal) + internal HttpMessage CreateInterruptAudioAndAnnounceRequest(string callConnectionId, InterruptAudioAndAnnounceRequestInternal interruptRequest) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -786,65 +860,65 @@ internal HttpMessage CreateUnholdRequest(string callConnectionId, UnholdRequestI uri.Reset(_endpoint); uri.AppendPath("/calling/callConnections/", false); uri.AppendPath(callConnectionId, true); - uri.AppendPath(":unhold", false); + uri.AppendPath(":interruptAudioAndAnnounce", false); uri.AppendQuery("api-version", _apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(unholdRequestInternal); + content.JsonWriter.WriteObjectValue(interruptRequest); request.Content = content; return message; } - /// Unhold participants from the call using identifier. + /// Plays audio to participants in the call. /// The call connection id. - /// The participants to be hold from the call. + /// play request payload. /// The cancellation token to use. - /// or is null. - public async Task UnholdAsync(string callConnectionId, UnholdRequestInternal unholdRequestInternal, CancellationToken cancellationToken = default) + /// or is null. + public async Task InterruptAudioAndAnnounceAsync(string callConnectionId, InterruptAudioAndAnnounceRequestInternal interruptRequest, CancellationToken cancellationToken = default) { if (callConnectionId == null) { throw new ArgumentNullException(nameof(callConnectionId)); } - if (unholdRequestInternal == null) + if (interruptRequest == null) { - throw new ArgumentNullException(nameof(unholdRequestInternal)); + throw new ArgumentNullException(nameof(interruptRequest)); } - using var message = CreateUnholdRequest(callConnectionId, unholdRequestInternal); + using var message = CreateInterruptAudioAndAnnounceRequest(callConnectionId, interruptRequest); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { - case 200: + case 202: return message.Response; default: throw new RequestFailedException(message.Response); } } - /// Unhold participants from the call using identifier. + /// Plays audio to participants in the call. /// The call connection id. - /// The participants to be hold from the call. + /// play request payload. /// The cancellation token to use. - /// or is null. - public Response Unhold(string callConnectionId, UnholdRequestInternal unholdRequestInternal, CancellationToken cancellationToken = default) + /// or is null. + public Response InterruptAudioAndAnnounce(string callConnectionId, InterruptAudioAndAnnounceRequestInternal interruptRequest, CancellationToken cancellationToken = default) { if (callConnectionId == null) { throw new ArgumentNullException(nameof(callConnectionId)); } - if (unholdRequestInternal == null) + if (interruptRequest == null) { - throw new ArgumentNullException(nameof(unholdRequestInternal)); + throw new ArgumentNullException(nameof(interruptRequest)); } - using var message = CreateUnholdRequest(callConnectionId, unholdRequestInternal); + using var message = CreateInterruptAudioAndAnnounceRequest(callConnectionId, interruptRequest); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { - case 200: + case 202: return message.Response; default: throw new RequestFailedException(message.Response); @@ -1002,79 +1076,5 @@ public Response StopMediaStreaming(string callConnectionId, StopMediaStreamingRe throw new RequestFailedException(message.Response); } } - - internal HttpMessage CreateInterruptAudioAndAnnounceRequest(string callConnectionId, InterruptAudioAndAnnounceRequestInternal interruptRequest) - { - var message = _pipeline.CreateMessage(); - var request = message.Request; - request.Method = RequestMethod.Post; - var uri = new RawRequestUriBuilder(); - uri.Reset(_endpoint); - uri.AppendPath("/calling/callConnections/", false); - uri.AppendPath(callConnectionId, true); - uri.AppendPath(":interruptAudioAndAnnounce", false); - uri.AppendQuery("api-version", _apiVersion, true); - request.Uri = uri; - request.Headers.Add("Accept", "application/json"); - request.Headers.Add("Content-Type", "application/json"); - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(interruptRequest); - request.Content = content; - return message; - } - - /// Plays audio to participants in the call. - /// The call connection id. - /// play request payload. - /// The cancellation token to use. - /// or is null. - public async Task InterruptAudioAndAnnounceAsync(string callConnectionId, InterruptAudioAndAnnounceRequestInternal interruptRequest, CancellationToken cancellationToken = default) - { - if (callConnectionId == null) - { - throw new ArgumentNullException(nameof(callConnectionId)); - } - if (interruptRequest == null) - { - throw new ArgumentNullException(nameof(interruptRequest)); - } - - using var message = CreateInterruptAudioAndAnnounceRequest(callConnectionId, interruptRequest); - await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); - switch (message.Response.Status) - { - case 202: - return message.Response; - default: - throw new RequestFailedException(message.Response); - } - } - - /// Plays audio to participants in the call. - /// The call connection id. - /// play request payload. - /// The cancellation token to use. - /// or is null. - public Response InterruptAudioAndAnnounce(string callConnectionId, InterruptAudioAndAnnounceRequestInternal interruptRequest, CancellationToken cancellationToken = default) - { - if (callConnectionId == null) - { - throw new ArgumentNullException(nameof(callConnectionId)); - } - if (interruptRequest == null) - { - throw new ArgumentNullException(nameof(interruptRequest)); - } - - using var message = CreateInterruptAudioAndAnnounceRequest(callConnectionId, interruptRequest); - _pipeline.Send(message, cancellationToken); - switch (message.Response.Status) - { - case 202: - return message.Response; - default: - throw new RequestFailedException(message.Response); - } - } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallRecordingRestClient.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallRecordingRestClient.cs index 1a6fcfb5f181..8dd94667599e 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallRecordingRestClient.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/CallRecordingRestClient.cs @@ -29,7 +29,7 @@ internal partial class CallRecordingRestClient /// The endpoint of the Azure Communication resource. /// Api Version. /// , , or is null. - public CallRecordingRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint, string apiVersion = "2024-09-01-preview") + public CallRecordingRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint, string apiVersion = "2024-01-22-preview") { ClientDiagnostics = clientDiagnostics ?? throw new ArgumentNullException(nameof(clientDiagnostics)); _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); @@ -360,75 +360,5 @@ public Response ResumeRecording(string recordingId, CancellationToken cancellati throw new RequestFailedException(message.Response); } } - - internal HttpMessage CreateGetRecordingResultRequest(string recordingId) - { - var message = _pipeline.CreateMessage(); - var request = message.Request; - request.Method = RequestMethod.Get; - var uri = new RawRequestUriBuilder(); - uri.Reset(_endpoint); - uri.AppendPath("/calling/recordings/", false); - uri.AppendPath(recordingId, true); - uri.AppendPath("/result", false); - uri.AppendQuery("api-version", _apiVersion, true); - request.Uri = uri; - request.Headers.Add("Accept", "application/json"); - return message; - } - - /// Get recording result. This includes the download URLs for the recording chunks. - /// The recording id. - /// The cancellation token to use. - /// is null. - public async Task> GetRecordingResultAsync(string recordingId, CancellationToken cancellationToken = default) - { - if (recordingId == null) - { - throw new ArgumentNullException(nameof(recordingId)); - } - - using var message = CreateGetRecordingResultRequest(recordingId); - await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); - switch (message.Response.Status) - { - case 200: - { - RecordingResult value = default; - using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions, cancellationToken).ConfigureAwait(false); - value = RecordingResult.DeserializeRecordingResult(document.RootElement); - return Response.FromValue(value, message.Response); - } - default: - throw new RequestFailedException(message.Response); - } - } - - /// Get recording result. This includes the download URLs for the recording chunks. - /// The recording id. - /// The cancellation token to use. - /// is null. - public Response GetRecordingResult(string recordingId, CancellationToken cancellationToken = default) - { - if (recordingId == null) - { - throw new ArgumentNullException(nameof(recordingId)); - } - - using var message = CreateGetRecordingResultRequest(recordingId); - _pipeline.Send(message, cancellationToken); - switch (message.Response.Status) - { - case 200: - { - RecordingResult value = default; - using var document = JsonDocument.Parse(message.Response.ContentStream, ModelSerializationExtensions.JsonDocumentOptions); - value = RecordingResult.DeserializeRecordingResult(document.RootElement); - return Response.FromValue(value, message.Response); - } - default: - throw new RequestFailedException(message.Response); - } - } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AnswerCallRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AnswerCallRequestInternal.Serialization.cs index eedd4d26e2db..fa91ecee7cab 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AnswerCallRequestInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AnswerCallRequestInternal.Serialization.cs @@ -39,15 +39,15 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("answeredBy"u8); writer.WriteObjectValue(AnsweredBy); } - if (Optional.IsDefined(MediaStreamingOptions)) + if (Optional.IsDefined(TranscriptionConfiguration)) { - writer.WritePropertyName("mediaStreamingOptions"u8); - writer.WriteObjectValue(MediaStreamingOptions); + writer.WritePropertyName("transcriptionConfiguration"u8); + writer.WriteObjectValue(TranscriptionConfiguration); } - if (Optional.IsDefined(TranscriptionOptions)) + if (Optional.IsDefined(MediaStreamingConfiguration)) { - writer.WritePropertyName("transcriptionOptions"u8); - writer.WriteObjectValue(TranscriptionOptions); + writer.WritePropertyName("mediaStreamingConfiguration"u8); + writer.WriteObjectValue(MediaStreamingConfiguration); } writer.WriteEndObject(); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AnswerCallRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AnswerCallRequestInternal.cs index 0b89298c4137..d2fe67b645e7 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AnswerCallRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AnswerCallRequestInternal.cs @@ -32,9 +32,9 @@ public AnswerCallRequestInternal(string incomingCallContext, string callbackUri) /// A customer set value used to track the answering of a call. /// AI options for the call. /// The identifier of the call automation entity which answers the call. - /// Media Streaming Options. - /// Transcription Options. - internal AnswerCallRequestInternal(string incomingCallContext, string callbackUri, CustomCallingContextInternal customCallingContext, string operationContext, CallIntelligenceOptionsInternal callIntelligenceOptions, CommunicationUserIdentifierModel answeredBy, MediaStreamingOptionsInternal mediaStreamingOptions, TranscriptionOptionsInternal transcriptionOptions) + /// Live Transcription Configuration. + /// Media Streaming Configuration. + internal AnswerCallRequestInternal(string incomingCallContext, string callbackUri, CustomCallingContextInternal customCallingContext, string operationContext, CallIntelligenceOptionsInternal callIntelligenceOptions, CommunicationUserIdentifierModel answeredBy, TranscriptionOptionsInternal transcriptionConfiguration, MediaStreamingOptionsInternal mediaStreamingConfiguration) { IncomingCallContext = incomingCallContext; CallbackUri = callbackUri; @@ -42,8 +42,8 @@ internal AnswerCallRequestInternal(string incomingCallContext, string callbackUr OperationContext = operationContext; CallIntelligenceOptions = callIntelligenceOptions; AnsweredBy = answeredBy; - MediaStreamingOptions = mediaStreamingOptions; - TranscriptionOptions = transcriptionOptions; + TranscriptionConfiguration = transcriptionConfiguration; + MediaStreamingConfiguration = mediaStreamingConfiguration; } /// The context associated with the call. @@ -58,9 +58,9 @@ internal AnswerCallRequestInternal(string incomingCallContext, string callbackUr public CallIntelligenceOptionsInternal CallIntelligenceOptions { get; set; } /// The identifier of the call automation entity which answers the call. public CommunicationUserIdentifierModel AnsweredBy { get; set; } - /// Media Streaming Options. - public MediaStreamingOptionsInternal MediaStreamingOptions { get; set; } - /// Transcription Options. - public TranscriptionOptionsInternal TranscriptionOptions { get; set; } + /// Live Transcription Configuration. + public TranscriptionOptionsInternal TranscriptionConfiguration { get; set; } + /// Media Streaming Configuration. + public MediaStreamingOptionsInternal MediaStreamingConfiguration { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AzureOpenAIDialog.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AzureOpenAIDialog.Serialization.cs deleted file mode 100644 index 01b901860ce7..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AzureOpenAIDialog.Serialization.cs +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - public partial class AzureOpenAIDialog : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - writer.WritePropertyName("kind"u8); - writer.WriteStringValue(Kind.ToString()); - writer.WritePropertyName("context"u8); - writer.WriteStartObject(); - foreach (var item in Context) - { - writer.WritePropertyName(item.Key); - if (item.Value == null) - { - writer.WriteNullValue(); - continue; - } - writer.WriteObjectValue(item.Value); - } - writer.WriteEndObject(); - writer.WriteEndObject(); - } - - internal static AzureOpenAIDialog DeserializeAzureOpenAIDialog(JsonElement element) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - DialogInputType kind = default; - IDictionary context = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("kind"u8)) - { - kind = new DialogInputType(property.Value.GetString()); - continue; - } - if (property.NameEquals("context"u8)) - { - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - if (property0.Value.ValueKind == JsonValueKind.Null) - { - dictionary.Add(property0.Name, null); - } - else - { - dictionary.Add(property0.Name, property0.Value.GetObject()); - } - } - context = dictionary; - continue; - } - } - return new AzureOpenAIDialog(kind, context); - } - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static new AzureOpenAIDialog FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeAzureOpenAIDialog(document.RootElement); - } - - /// Convert into a . - internal override RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this); - return content; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AzureOpenAIDialog.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AzureOpenAIDialog.cs deleted file mode 100644 index b08c233373b7..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AzureOpenAIDialog.cs +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; - -namespace Azure.Communication.CallAutomation -{ - /// Azure Open AI Dialog. - public partial class AzureOpenAIDialog : BaseDialog - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AzureOpenAIDialogUpdate.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AzureOpenAIDialogUpdate.Serialization.cs deleted file mode 100644 index e14b5eef0cd3..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AzureOpenAIDialogUpdate.Serialization.cs +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - public partial class AzureOpenAIDialogUpdate : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - writer.WritePropertyName("kind"u8); - writer.WriteStringValue(Kind.ToString()); - if (Optional.IsCollectionDefined(Context)) - { - writer.WritePropertyName("context"u8); - writer.WriteStartObject(); - foreach (var item in Context) - { - writer.WritePropertyName(item.Key); - if (item.Value == null) - { - writer.WriteNullValue(); - continue; - } - writer.WriteObjectValue(item.Value); - } - writer.WriteEndObject(); - } - writer.WriteEndObject(); - } - - /// Convert into a . - internal override RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this); - return content; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AzureOpenAIDialogUpdate.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AzureOpenAIDialogUpdate.cs deleted file mode 100644 index 64a54a153175..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/AzureOpenAIDialogUpdate.cs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; - -namespace Azure.Communication.CallAutomation -{ - /// Azure Open AI Dialog for UpdateDialog API Call. - public partial class AzureOpenAIDialogUpdate : DialogUpdateBase - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/BaseDialog.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/BaseDialog.Serialization.cs index 27f7a7682327..27f267be9f91 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/BaseDialog.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/BaseDialog.Serialization.cs @@ -43,7 +43,6 @@ internal static BaseDialog DeserializeBaseDialog(JsonElement element) { switch (discriminator.GetString()) { - case "azureOpenAI": return AzureOpenAIDialog.DeserializeAzureOpenAIDialog(element); case "powerVirtualAgents": return PowerVirtualAgentsDialog.DeserializePowerVirtualAgentsDialog(element); } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/BaseDialog.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/BaseDialog.cs index 0ec7cd037001..ac30c49f7cb7 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/BaseDialog.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/BaseDialog.cs @@ -13,7 +13,7 @@ namespace Azure.Communication.CallAutomation /// /// The BaseDialog. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include and . + /// The available derived classes include . /// public abstract partial class BaseDialog { diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallConnected.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallConnected.cs index d85f3121dbc0..8a61249eef65 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallConnected.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallConnected.cs @@ -19,7 +19,7 @@ internal CallConnected() /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// Used by customers when calling mid-call actions to correlate the request to the response event. + /// Used by customers to set the context for creating a new call. This property will be null for answering a call. /// Contains the resulting SIP code, sub-code and message. internal CallConnected(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) { diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallConnectionPropertiesInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallConnectionPropertiesInternal.Serialization.cs index 6c14e09c93a2..30ff6c43bc02 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallConnectionPropertiesInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallConnectionPropertiesInternal.Serialization.cs @@ -23,16 +23,13 @@ internal static CallConnectionPropertiesInternal DeserializeCallConnectionProper IReadOnlyList targets = default; CallConnectionState? callConnectionState = default; string callbackUri = default; + string dataSubscriptionId = default; PhoneNumberIdentifierModel sourceCallerIdNumber = default; string sourceDisplayName = default; CommunicationIdentifierModel source = default; string correlationId = default; CommunicationUserIdentifierModel answeredBy = default; - string mediaSubscriptionId = default; - string dataSubscriptionId = default; MediaStreamingSubscriptionInternal mediaStreamingSubscription = default; - TranscriptionSubscriptionInternal transcriptionSubscription = default; - PhoneNumberIdentifierModel answeredFor = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("callConnectionId"u8)) @@ -73,6 +70,11 @@ internal static CallConnectionPropertiesInternal DeserializeCallConnectionProper callbackUri = property.Value.GetString(); continue; } + if (property.NameEquals("dataSubscriptionId"u8)) + { + dataSubscriptionId = property.Value.GetString(); + continue; + } if (property.NameEquals("sourceCallerIdNumber"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -110,16 +112,6 @@ internal static CallConnectionPropertiesInternal DeserializeCallConnectionProper answeredBy = CommunicationUserIdentifierModel.DeserializeCommunicationUserIdentifierModel(property.Value); continue; } - if (property.NameEquals("mediaSubscriptionId"u8)) - { - mediaSubscriptionId = property.Value.GetString(); - continue; - } - if (property.NameEquals("dataSubscriptionId"u8)) - { - dataSubscriptionId = property.Value.GetString(); - continue; - } if (property.NameEquals("mediaStreamingSubscription"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -129,24 +121,6 @@ internal static CallConnectionPropertiesInternal DeserializeCallConnectionProper mediaStreamingSubscription = MediaStreamingSubscriptionInternal.DeserializeMediaStreamingSubscriptionInternal(property.Value); continue; } - if (property.NameEquals("transcriptionSubscription"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - transcriptionSubscription = TranscriptionSubscriptionInternal.DeserializeTranscriptionSubscriptionInternal(property.Value); - continue; - } - if (property.NameEquals("answeredFor"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - answeredFor = PhoneNumberIdentifierModel.DeserializePhoneNumberIdentifierModel(property.Value); - continue; - } } return new CallConnectionPropertiesInternal( callConnectionId, @@ -154,16 +128,13 @@ internal static CallConnectionPropertiesInternal DeserializeCallConnectionProper targets ?? new ChangeTrackingList(), callConnectionState, callbackUri, + dataSubscriptionId, sourceCallerIdNumber, sourceDisplayName, source, correlationId, answeredBy, - mediaSubscriptionId, - dataSubscriptionId, - mediaStreamingSubscription, - transcriptionSubscription, - answeredFor); + mediaStreamingSubscription); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallConnectionPropertiesInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallConnectionPropertiesInternal.cs index 4244c2849309..74acbd8f4347 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallConnectionPropertiesInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallConnectionPropertiesInternal.cs @@ -24,6 +24,7 @@ internal CallConnectionPropertiesInternal() /// The targets of the call. /// The state of the call connection. /// The callback URI. + /// SubscriptionId for transcription. /// /// The source caller Id, a phone number, that's shown to the PSTN participant being invited. /// Required only when calling a PSTN callee. @@ -32,28 +33,21 @@ internal CallConnectionPropertiesInternal() /// Source identity. /// The correlation ID. /// Identity of the answering entity. Only populated when identity is provided in the request. - /// SubscriptionId for media streaming. - /// SubscriptionId for transcription. /// The state of media streaming subscription for the call. - /// Transcription Subscription. - /// Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. - internal CallConnectionPropertiesInternal(string callConnectionId, string serverCallId, IReadOnlyList targets, CallConnectionState? callConnectionState, string callbackUri, PhoneNumberIdentifierModel sourceCallerIdNumber, string sourceDisplayName, CommunicationIdentifierModel source, string correlationId, CommunicationUserIdentifierModel answeredBy, string mediaSubscriptionId, string dataSubscriptionId, MediaStreamingSubscriptionInternal mediaStreamingSubscription, TranscriptionSubscriptionInternal transcriptionSubscription, PhoneNumberIdentifierModel answeredFor) + internal CallConnectionPropertiesInternal(string callConnectionId, string serverCallId, IReadOnlyList targets, CallConnectionState? callConnectionState, string callbackUri, string dataSubscriptionId, PhoneNumberIdentifierModel sourceCallerIdNumber, string sourceDisplayName, CommunicationIdentifierModel source, string correlationId, CommunicationUserIdentifierModel answeredBy, MediaStreamingSubscriptionInternal mediaStreamingSubscription) { CallConnectionId = callConnectionId; ServerCallId = serverCallId; Targets = targets; CallConnectionState = callConnectionState; CallbackUri = callbackUri; + DataSubscriptionId = dataSubscriptionId; SourceCallerIdNumber = sourceCallerIdNumber; SourceDisplayName = sourceDisplayName; Source = source; CorrelationId = correlationId; AnsweredBy = answeredBy; - MediaSubscriptionId = mediaSubscriptionId; - DataSubscriptionId = dataSubscriptionId; MediaStreamingSubscription = mediaStreamingSubscription; - TranscriptionSubscription = transcriptionSubscription; - AnsweredFor = answeredFor; } /// The call connection id. @@ -66,6 +60,8 @@ internal CallConnectionPropertiesInternal(string callConnectionId, string server public CallConnectionState? CallConnectionState { get; } /// The callback URI. public string CallbackUri { get; } + /// SubscriptionId for transcription. + public string DataSubscriptionId { get; } /// /// The source caller Id, a phone number, that's shown to the PSTN participant being invited. /// Required only when calling a PSTN callee. @@ -79,15 +75,7 @@ internal CallConnectionPropertiesInternal(string callConnectionId, string server public string CorrelationId { get; } /// Identity of the answering entity. Only populated when identity is provided in the request. public CommunicationUserIdentifierModel AnsweredBy { get; } - /// SubscriptionId for media streaming. - public string MediaSubscriptionId { get; } - /// SubscriptionId for transcription. - public string DataSubscriptionId { get; } /// The state of media streaming subscription for the call. public MediaStreamingSubscriptionInternal MediaStreamingSubscription { get; } - /// Transcription Subscription. - public TranscriptionSubscriptionInternal TranscriptionSubscription { get; } - /// Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. - public PhoneNumberIdentifierModel AnsweredFor { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallDisconnected.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallDisconnected.cs index 3b655b623a25..fa85733602e3 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallDisconnected.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallDisconnected.cs @@ -19,7 +19,7 @@ internal CallDisconnected() /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// Used by customers when calling mid-call actions to correlate the request to the response event. + /// Used by customers to set the context for creating a new call. This property will be null for answering a call. /// Contains the resulting SIP code, sub-code and message. internal CallDisconnected(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) { diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallSessionEndReason.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallSessionEndReason.cs deleted file mode 100644 index 9fa7e00d4460..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CallSessionEndReason.cs +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ComponentModel; - -namespace Azure.Communication.CallAutomation -{ - /// The CallSessionEndReason. - public readonly partial struct CallSessionEndReason : IEquatable - { - private readonly string _value; - - /// Initializes a new instance of . - /// is null. - public CallSessionEndReason(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - private const string SessionStillOngoingValue = "sessionStillOngoing"; - private const string CallEndedValue = "callEnded"; - private const string InitiatorLeftValue = "initiatorLeft"; - private const string HandedOverOrTransferedValue = "handedOverOrTransfered"; - private const string MaximumSessionTimeReachedValue = "maximumSessionTimeReached"; - private const string CallStartTimeoutValue = "callStartTimeout"; - private const string MediaTimeoutValue = "mediaTimeout"; - private const string AudioStreamFailureValue = "audioStreamFailure"; - private const string AllInstancesBusyValue = "allInstancesBusy"; - private const string TeamsTokenConversionFailedValue = "teamsTokenConversionFailed"; - private const string ReportCallStateFailedValue = "reportCallStateFailed"; - private const string ReportCallStateFailedAndSessionMustBeDiscardedValue = "reportCallStateFailedAndSessionMustBeDiscarded"; - private const string CouldNotRejoinCallValue = "couldNotRejoinCall"; - private const string InvalidBotDataValue = "invalidBotData"; - private const string CouldNotStartValue = "couldNotStart"; - private const string AppHostedMediaFailureOutcomeWithErrorValue = "appHostedMediaFailureOutcomeWithError"; - private const string AppHostedMediaFailureOutcomeGracefullyValue = "appHostedMediaFailureOutcomeGracefully"; - private const string HandedOverDueToMediaTimeoutValue = "handedOverDueToMediaTimeout"; - private const string HandedOverDueToAudioStreamFailureValue = "handedOverDueToAudioStreamFailure"; - private const string SpeechRecognitionSessionNonRetriableErrorValue = "speechRecognitionSessionNonRetriableError"; - private const string SpeechRecognitionSessionRetriableErrorMaxRetryCountReachedValue = "speechRecognitionSessionRetriableErrorMaxRetryCountReached"; - private const string HandedOverDueToChunkCreationFailureValue = "handedOverDueToChunkCreationFailure"; - private const string ChunkCreationFailedValue = "chunkCreationFailed"; - private const string HandedOverDueToProcessingTimeoutValue = "handedOverDueToProcessingTimeout"; - private const string ProcessingTimeoutValue = "processingTimeout"; - private const string TranscriptObjectCreationFailedValue = "transcriptObjectCreationFailed"; - - /// sessionStillOngoing. - public static CallSessionEndReason SessionStillOngoing { get; } = new CallSessionEndReason(SessionStillOngoingValue); - /// callEnded. - public static CallSessionEndReason CallEnded { get; } = new CallSessionEndReason(CallEndedValue); - /// initiatorLeft. - public static CallSessionEndReason InitiatorLeft { get; } = new CallSessionEndReason(InitiatorLeftValue); - /// handedOverOrTransfered. - public static CallSessionEndReason HandedOverOrTransfered { get; } = new CallSessionEndReason(HandedOverOrTransferedValue); - /// maximumSessionTimeReached. - public static CallSessionEndReason MaximumSessionTimeReached { get; } = new CallSessionEndReason(MaximumSessionTimeReachedValue); - /// callStartTimeout. - public static CallSessionEndReason CallStartTimeout { get; } = new CallSessionEndReason(CallStartTimeoutValue); - /// mediaTimeout. - public static CallSessionEndReason MediaTimeout { get; } = new CallSessionEndReason(MediaTimeoutValue); - /// audioStreamFailure. - public static CallSessionEndReason AudioStreamFailure { get; } = new CallSessionEndReason(AudioStreamFailureValue); - /// allInstancesBusy. - public static CallSessionEndReason AllInstancesBusy { get; } = new CallSessionEndReason(AllInstancesBusyValue); - /// teamsTokenConversionFailed. - public static CallSessionEndReason TeamsTokenConversionFailed { get; } = new CallSessionEndReason(TeamsTokenConversionFailedValue); - /// reportCallStateFailed. - public static CallSessionEndReason ReportCallStateFailed { get; } = new CallSessionEndReason(ReportCallStateFailedValue); - /// reportCallStateFailedAndSessionMustBeDiscarded. - public static CallSessionEndReason ReportCallStateFailedAndSessionMustBeDiscarded { get; } = new CallSessionEndReason(ReportCallStateFailedAndSessionMustBeDiscardedValue); - /// couldNotRejoinCall. - public static CallSessionEndReason CouldNotRejoinCall { get; } = new CallSessionEndReason(CouldNotRejoinCallValue); - /// invalidBotData. - public static CallSessionEndReason InvalidBotData { get; } = new CallSessionEndReason(InvalidBotDataValue); - /// couldNotStart. - public static CallSessionEndReason CouldNotStart { get; } = new CallSessionEndReason(CouldNotStartValue); - /// appHostedMediaFailureOutcomeWithError. - public static CallSessionEndReason AppHostedMediaFailureOutcomeWithError { get; } = new CallSessionEndReason(AppHostedMediaFailureOutcomeWithErrorValue); - /// appHostedMediaFailureOutcomeGracefully. - public static CallSessionEndReason AppHostedMediaFailureOutcomeGracefully { get; } = new CallSessionEndReason(AppHostedMediaFailureOutcomeGracefullyValue); - /// handedOverDueToMediaTimeout. - public static CallSessionEndReason HandedOverDueToMediaTimeout { get; } = new CallSessionEndReason(HandedOverDueToMediaTimeoutValue); - /// handedOverDueToAudioStreamFailure. - public static CallSessionEndReason HandedOverDueToAudioStreamFailure { get; } = new CallSessionEndReason(HandedOverDueToAudioStreamFailureValue); - /// speechRecognitionSessionNonRetriableError. - public static CallSessionEndReason SpeechRecognitionSessionNonRetriableError { get; } = new CallSessionEndReason(SpeechRecognitionSessionNonRetriableErrorValue); - /// speechRecognitionSessionRetriableErrorMaxRetryCountReached. - public static CallSessionEndReason SpeechRecognitionSessionRetriableErrorMaxRetryCountReached { get; } = new CallSessionEndReason(SpeechRecognitionSessionRetriableErrorMaxRetryCountReachedValue); - /// handedOverDueToChunkCreationFailure. - public static CallSessionEndReason HandedOverDueToChunkCreationFailure { get; } = new CallSessionEndReason(HandedOverDueToChunkCreationFailureValue); - /// chunkCreationFailed. - public static CallSessionEndReason ChunkCreationFailed { get; } = new CallSessionEndReason(ChunkCreationFailedValue); - /// handedOverDueToProcessingTimeout. - public static CallSessionEndReason HandedOverDueToProcessingTimeout { get; } = new CallSessionEndReason(HandedOverDueToProcessingTimeoutValue); - /// processingTimeout. - public static CallSessionEndReason ProcessingTimeout { get; } = new CallSessionEndReason(ProcessingTimeoutValue); - /// transcriptObjectCreationFailed. - public static CallSessionEndReason TranscriptObjectCreationFailed { get; } = new CallSessionEndReason(TranscriptObjectCreationFailedValue); - /// Determines if two values are the same. - public static bool operator ==(CallSessionEndReason left, CallSessionEndReason right) => left.Equals(right); - /// Determines if two values are not the same. - public static bool operator !=(CallSessionEndReason left, CallSessionEndReason right) => !left.Equals(right); - /// Converts a to a . - public static implicit operator CallSessionEndReason(string value) => new CallSessionEndReason(value); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is CallSessionEndReason other && Equals(other); - /// - public bool Equals(CallSessionEndReason other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; - /// - public override string ToString() => _value; - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CancelAddParticipantFailedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CancelAddParticipantFailedInternal.cs index f56046f0c63d..eff98bb758b6 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CancelAddParticipantFailedInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CancelAddParticipantFailedInternal.cs @@ -20,7 +20,7 @@ internal CancelAddParticipantFailedInternal() /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. /// 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. + /// Contains the resulting SIP code/sub-code and message from NGC services. /// Invitation ID used to cancel the request. internal CancelAddParticipantFailedInternal(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation, string invitationId) { @@ -40,7 +40,7 @@ internal CancelAddParticipantFailedInternal(string callConnectionId, string serv public string CorrelationId { get; } /// Used by customers when calling mid-call actions to correlate the request to the response event. public string OperationContext { get; } - /// Contains the resulting SIP code, sub-code and message. + /// Contains the resulting SIP code/sub-code and message from NGC services. public ResultInformation ResultInformation { get; } /// Invitation ID used to cancel the request. public string InvitationId { get; } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ChunkEndReason.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ChunkEndReason.cs deleted file mode 100644 index cf89be42a725..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ChunkEndReason.cs +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ComponentModel; - -namespace Azure.Communication.CallAutomation -{ - /// Reason this chunk ended. - public readonly partial struct ChunkEndReason : IEquatable - { - private readonly string _value; - - /// Initializes a new instance of . - /// is null. - public ChunkEndReason(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - private const string ChunkIsBeingRecordedValue = "chunkIsBeingRecorded"; - private const string SessionEndedValue = "sessionEnded"; - private const string ChunkMaximumSizeExceededValue = "chunkMaximumSizeExceeded"; - private const string ChunkMaximumTimeExceededValue = "chunkMaximumTimeExceeded"; - private const string ChunkUploadFailureValue = "chunkUploadFailure"; - - /// chunkIsBeingRecorded. - public static ChunkEndReason ChunkIsBeingRecorded { get; } = new ChunkEndReason(ChunkIsBeingRecordedValue); - /// sessionEnded. - public static ChunkEndReason SessionEnded { get; } = new ChunkEndReason(SessionEndedValue); - /// chunkMaximumSizeExceeded. - public static ChunkEndReason ChunkMaximumSizeExceeded { get; } = new ChunkEndReason(ChunkMaximumSizeExceededValue); - /// chunkMaximumTimeExceeded. - public static ChunkEndReason ChunkMaximumTimeExceeded { get; } = new ChunkEndReason(ChunkMaximumTimeExceededValue); - /// chunkUploadFailure. - public static ChunkEndReason ChunkUploadFailure { get; } = new ChunkEndReason(ChunkUploadFailureValue); - /// Determines if two values are the same. - public static bool operator ==(ChunkEndReason left, ChunkEndReason right) => left.Equals(right); - /// Determines if two values are not the same. - public static bool operator !=(ChunkEndReason left, ChunkEndReason right) => !left.Equals(right); - /// Converts a to a . - public static implicit operator ChunkEndReason(string value) => new ChunkEndReason(value); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is ChunkEndReason other && Equals(other); - /// - public bool Equals(ChunkEndReason other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; - /// - public override string ToString() => _value; - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CommunicationIdentifierModel.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CommunicationIdentifierModel.cs index e218f47e8d10..6e980ecf9753 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CommunicationIdentifierModel.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CommunicationIdentifierModel.cs @@ -5,8 +5,6 @@ #nullable disable -using Azure.Communication.CallAutomation; - namespace Azure.Communication { /// 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. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ConnectFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ConnectFailed.cs index 82dc1462fe5f..6044a44ec804 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ConnectFailed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ConnectFailed.cs @@ -19,7 +19,7 @@ internal ConnectFailed() /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// Used by customers when calling mid-call actions to correlate the request to the response event. + /// Used by customers to correlate the request to the response event. /// Contains the resulting SIP code, sub-code and message. internal ConnectFailed(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) { diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ConnectRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ConnectRequestInternal.Serialization.cs index 7cb650920ebf..2bdca2fcbe5d 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ConnectRequestInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ConnectRequestInternal.Serialization.cs @@ -29,15 +29,15 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("callIntelligenceOptions"u8); writer.WriteObjectValue(CallIntelligenceOptions); } - if (Optional.IsDefined(MediaStreamingOptions)) + if (Optional.IsDefined(MediaStreamingConfiguration)) { - writer.WritePropertyName("mediaStreamingOptions"u8); - writer.WriteObjectValue(MediaStreamingOptions); + writer.WritePropertyName("mediaStreamingConfiguration"u8); + writer.WriteObjectValue(MediaStreamingConfiguration); } - if (Optional.IsDefined(TranscriptionOptions)) + if (Optional.IsDefined(TranscriptionConfiguration)) { - writer.WritePropertyName("transcriptionOptions"u8); - writer.WriteObjectValue(TranscriptionOptions); + writer.WritePropertyName("transcriptionConfiguration"u8); + writer.WriteObjectValue(TranscriptionConfiguration); } writer.WriteEndObject(); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ConnectRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ConnectRequestInternal.cs index 3692047ce8d5..4a5af9e7387b 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ConnectRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ConnectRequestInternal.cs @@ -30,16 +30,16 @@ public ConnectRequestInternal(CallLocatorInternal callLocator, string callbackUr /// The callback URI. /// Used by customers to correlate the request to the response event. /// AI options for the call. - /// Media Streaming Options. - /// Transcription Options. - internal ConnectRequestInternal(CallLocatorInternal callLocator, string callbackUri, string operationContext, CallIntelligenceOptionsInternal callIntelligenceOptions, MediaStreamingOptionsInternal mediaStreamingOptions, TranscriptionOptionsInternal transcriptionOptions) + /// Media Streaming Configuration. + /// Live Transcription Configuration. + internal ConnectRequestInternal(CallLocatorInternal callLocator, string callbackUri, string operationContext, CallIntelligenceOptionsInternal callIntelligenceOptions, MediaStreamingOptionsInternal mediaStreamingConfiguration, TranscriptionOptionsInternal transcriptionConfiguration) { CallLocator = callLocator; CallbackUri = callbackUri; OperationContext = operationContext; CallIntelligenceOptions = callIntelligenceOptions; - MediaStreamingOptions = mediaStreamingOptions; - TranscriptionOptions = transcriptionOptions; + MediaStreamingConfiguration = mediaStreamingConfiguration; + TranscriptionConfiguration = transcriptionConfiguration; } /// The call locator. @@ -50,9 +50,9 @@ internal ConnectRequestInternal(CallLocatorInternal callLocator, string callback public string OperationContext { get; set; } /// AI options for the call. public CallIntelligenceOptionsInternal CallIntelligenceOptions { get; set; } - /// Media Streaming Options. - public MediaStreamingOptionsInternal MediaStreamingOptions { get; set; } - /// Transcription Options. - public TranscriptionOptionsInternal TranscriptionOptions { get; set; } + /// Media Streaming Configuration. + public MediaStreamingOptionsInternal MediaStreamingConfiguration { get; set; } + /// Live Transcription Configuration. + public TranscriptionOptionsInternal TranscriptionConfiguration { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionStopped.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionStopped.Serialization.cs index 44a116b011a8..86d626560d94 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionStopped.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionStopped.Serialization.cs @@ -17,44 +17,44 @@ internal static ContinuousDtmfRecognitionStopped DeserializeContinuousDtmfRecogn { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } - return new ContinuousDtmfRecognitionStopped(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new ContinuousDtmfRecognitionStopped(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionStopped.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionStopped.cs index 41c76f74a944..2296bbc62d2f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionStopped.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionStopped.cs @@ -16,18 +16,18 @@ internal ContinuousDtmfRecognitionStopped() } /// Initializes a new instance of . + /// + /// Contains the resulting SIP code/sub-code and message from NGC services. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal ContinuousDtmfRecognitionStopped(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal ContinuousDtmfRecognitionStopped(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneFailed.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneFailed.Serialization.cs index 69957e59778d..2fb53b48c575 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneFailed.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneFailed.Serialization.cs @@ -17,44 +17,44 @@ internal static ContinuousDtmfRecognitionToneFailed DeserializeContinuousDtmfRec { return null; } + ResultInformation resultInformation = default; + string operationContext = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - ResultInformation resultInformation = default; - string operationContext = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("resultInformation"u8)) { - callConnectionId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("operationContext"u8)) { - serverCallId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("serverCallId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("correlationId"u8)) { - operationContext = property.Value.GetString(); + correlationId = property.Value.GetString(); continue; } } - return new ContinuousDtmfRecognitionToneFailed(callConnectionId, serverCallId, correlationId, resultInformation, operationContext); + return new ContinuousDtmfRecognitionToneFailed(resultInformation, operationContext, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneFailed.cs index 7df347401b88..a41b515aac3d 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneFailed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneFailed.cs @@ -16,18 +16,18 @@ internal ContinuousDtmfRecognitionToneFailed() } /// Initializes a new instance of . + /// Result information defines the code, subcode and message. + /// /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal ContinuousDtmfRecognitionToneFailed(string callConnectionId, string serverCallId, string correlationId, ResultInformation resultInformation, string operationContext) + internal ContinuousDtmfRecognitionToneFailed(ResultInformation resultInformation, string operationContext, string callConnectionId, string serverCallId, string correlationId) { + ResultInformation = resultInformation; + OperationContext = operationContext; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - ResultInformation = resultInformation; - OperationContext = operationContext; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneReceived.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneReceived.Serialization.cs index 5518f7aa4c07..86833a08190a 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneReceived.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneReceived.Serialization.cs @@ -17,15 +17,24 @@ internal static ContinuousDtmfRecognitionToneReceived DeserializeContinuousDtmfR { return null; } + ResultInformation resultInformation = default; int? sequenceId = default; DtmfTone? tone = default; + string operationContext = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { + if (property.NameEquals("resultInformation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + continue; + } if (property.NameEquals("sequenceId"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -44,6 +53,11 @@ internal static ContinuousDtmfRecognitionToneReceived DeserializeContinuousDtmfR tone = new DtmfTone(property.Value.GetString()); continue; } + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } if (property.NameEquals("callConnectionId"u8)) { callConnectionId = property.Value.GetString(); @@ -59,29 +73,15 @@ internal static ContinuousDtmfRecognitionToneReceived DeserializeContinuousDtmfR correlationId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("resultInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); - continue; - } } return new ContinuousDtmfRecognitionToneReceived( + resultInformation, sequenceId, tone, + operationContext, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneReceived.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneReceived.cs index 37337deb1ecf..235162b194b1 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneReceived.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ContinuousDtmfRecognitionToneReceived.cs @@ -16,24 +16,23 @@ internal ContinuousDtmfRecognitionToneReceived() } /// Initializes a new instance of . + /// Result information defines the code, subcode and message. /// The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. /// + /// /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal ContinuousDtmfRecognitionToneReceived(int? sequenceId, DtmfTone? tone, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal ContinuousDtmfRecognitionToneReceived(ResultInformation resultInformation, int? sequenceId, DtmfTone? tone, string operationContext, string callConnectionId, string serverCallId, string correlationId) { + ResultInformation = resultInformation; SequenceId = sequenceId; Tone = tone; + OperationContext = operationContext; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } - /// The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. public int? SequenceId { get; } /// Gets the tone. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CreateCallRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CreateCallRequestInternal.Serialization.cs index d5f46c3470af..73bca817a57c 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CreateCallRequestInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CreateCallRequestInternal.Serialization.cs @@ -49,25 +49,20 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("callIntelligenceOptions"u8); writer.WriteObjectValue(CallIntelligenceOptions); } - if (Optional.IsDefined(TeamsAppSource)) - { - writer.WritePropertyName("teamsAppSource"u8); - writer.WriteObjectValue(TeamsAppSource); - } - if (Optional.IsDefined(CustomCallingContext)) + if (Optional.IsDefined(TranscriptionConfiguration)) { - writer.WritePropertyName("customCallingContext"u8); - writer.WriteObjectValue(CustomCallingContext); + writer.WritePropertyName("transcriptionConfiguration"u8); + writer.WriteObjectValue(TranscriptionConfiguration); } - if (Optional.IsDefined(MediaStreamingOptions)) + if (Optional.IsDefined(MediaStreamingConfiguration)) { - writer.WritePropertyName("mediaStreamingOptions"u8); - writer.WriteObjectValue(MediaStreamingOptions); + writer.WritePropertyName("mediaStreamingConfiguration"u8); + writer.WriteObjectValue(MediaStreamingConfiguration); } - if (Optional.IsDefined(TranscriptionOptions)) + if (Optional.IsDefined(TeamsAppSource)) { - writer.WritePropertyName("transcriptionOptions"u8); - writer.WriteObjectValue(TranscriptionOptions); + writer.WritePropertyName("teamsAppSource"u8); + writer.WriteObjectValue(TeamsAppSource); } writer.WriteEndObject(); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CreateCallRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CreateCallRequestInternal.cs index f3008edc7e40..63b08cf199dd 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CreateCallRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CreateCallRequestInternal.cs @@ -38,11 +38,10 @@ public CreateCallRequestInternal(IEnumerable targe /// A customer set value used to track the answering of a call. /// The callback URI. /// AI options for the call. + /// Live Transcription Configuration. + /// Media Streaming Configuration. /// The identifier of the source for creating call with Teams resource account ID. - /// Used by customer to send custom calling context to targets. - /// Media Streaming Options. - /// Transcription Options. - internal CreateCallRequestInternal(IList targets, PhoneNumberIdentifierModel sourceCallerIdNumber, string sourceDisplayName, CommunicationUserIdentifierModel source, string operationContext, string callbackUri, CallIntelligenceOptionsInternal callIntelligenceOptions, MicrosoftTeamsAppIdentifierModel teamsAppSource, CustomCallingContextInternal customCallingContext, MediaStreamingOptionsInternal mediaStreamingOptions, TranscriptionOptionsInternal transcriptionOptions) + internal CreateCallRequestInternal(IList targets, PhoneNumberIdentifierModel sourceCallerIdNumber, string sourceDisplayName, CommunicationUserIdentifierModel source, string operationContext, string callbackUri, CallIntelligenceOptionsInternal callIntelligenceOptions, TranscriptionOptionsInternal transcriptionConfiguration, MediaStreamingOptionsInternal mediaStreamingConfiguration, MicrosoftTeamsAppIdentifierModel teamsAppSource) { Targets = targets; SourceCallerIdNumber = sourceCallerIdNumber; @@ -51,10 +50,9 @@ internal CreateCallRequestInternal(IList targets, OperationContext = operationContext; CallbackUri = callbackUri; CallIntelligenceOptions = callIntelligenceOptions; + TranscriptionConfiguration = transcriptionConfiguration; + MediaStreamingConfiguration = mediaStreamingConfiguration; TeamsAppSource = teamsAppSource; - CustomCallingContext = customCallingContext; - MediaStreamingOptions = mediaStreamingOptions; - TranscriptionOptions = transcriptionOptions; } /// The targets of the call. @@ -74,13 +72,11 @@ internal CreateCallRequestInternal(IList targets, public string CallbackUri { get; } /// AI options for the call. public CallIntelligenceOptionsInternal CallIntelligenceOptions { get; set; } + /// Live Transcription Configuration. + public TranscriptionOptionsInternal TranscriptionConfiguration { get; set; } + /// Media Streaming Configuration. + public MediaStreamingOptionsInternal MediaStreamingConfiguration { get; set; } /// The identifier of the source for creating call with Teams resource account ID. public MicrosoftTeamsAppIdentifierModel TeamsAppSource { get; set; } - /// Used by customer to send custom calling context to targets. - public CustomCallingContextInternal CustomCallingContext { get; set; } - /// Media Streaming Options. - public MediaStreamingOptionsInternal MediaStreamingOptions { get; set; } - /// Transcription Options. - public TranscriptionOptionsInternal TranscriptionOptions { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CustomCallingContextInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CustomCallingContextInternal.Serialization.cs index 35a869a51450..06372adb427b 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CustomCallingContextInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CustomCallingContextInternal.Serialization.cs @@ -38,11 +38,6 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) } writer.WriteEndObject(); } - if (Optional.IsDefined(TeamsPhoneCallDetails)) - { - writer.WritePropertyName("teamsPhoneCallDetails"u8); - writer.WriteObjectValue(TeamsPhoneCallDetails); - } writer.WriteEndObject(); } @@ -54,7 +49,6 @@ internal static CustomCallingContextInternal DeserializeCustomCallingContextInte } IDictionary voipHeaders = default; IDictionary sipHeaders = default; - TeamsPhoneCallDetailsInternal teamsPhoneCallDetails = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("voipHeaders"u8)) @@ -85,17 +79,8 @@ internal static CustomCallingContextInternal DeserializeCustomCallingContextInte sipHeaders = dictionary; continue; } - if (property.NameEquals("teamsPhoneCallDetails"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - teamsPhoneCallDetails = TeamsPhoneCallDetailsInternal.DeserializeTeamsPhoneCallDetailsInternal(property.Value); - continue; - } } - return new CustomCallingContextInternal(voipHeaders ?? new ChangeTrackingDictionary(), sipHeaders ?? new ChangeTrackingDictionary(), teamsPhoneCallDetails); + return new CustomCallingContextInternal(voipHeaders ?? new ChangeTrackingDictionary(), sipHeaders ?? new ChangeTrackingDictionary()); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CustomCallingContextInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CustomCallingContextInternal.cs index bb8952514758..9f7727dddbd1 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CustomCallingContextInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/CustomCallingContextInternal.cs @@ -19,22 +19,9 @@ public CustomCallingContextInternal() SipHeaders = new ChangeTrackingDictionary(); } - /// Initializes a new instance of . - /// Custom calling context VoiP headers. - /// Custom calling context SIP headers. - /// Custom calling context TeamsPhoneCallDetails. - internal CustomCallingContextInternal(IDictionary voipHeaders, IDictionary sipHeaders, TeamsPhoneCallDetailsInternal teamsPhoneCallDetails) - { - VoipHeaders = voipHeaders; - SipHeaders = sipHeaders; - TeamsPhoneCallDetails = teamsPhoneCallDetails; - } - /// Custom calling context VoiP headers. public IDictionary VoipHeaders { get; } /// Custom calling context SIP headers. public IDictionary SipHeaders { get; } - /// Custom calling context TeamsPhoneCallDetails. - public TeamsPhoneCallDetailsInternal TeamsPhoneCallDetails { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogCompletedInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogCompletedInternal.Serialization.cs index 025af24f289b..f053a5e6e0e4 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogCompletedInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogCompletedInternal.Serialization.cs @@ -17,15 +17,30 @@ internal static DialogCompletedInternal DeserializeDialogCompletedInternal(JsonE { return null; } + string operationContext = default; + ResultInformation resultInformation = default; DialogInputType? dialogInputType = default; string dialogId = default; + object ivrContext = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } + if (property.NameEquals("resultInformation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + continue; + } if (property.NameEquals("dialogInputType"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -40,6 +55,15 @@ internal static DialogCompletedInternal DeserializeDialogCompletedInternal(JsonE dialogId = property.Value.GetString(); continue; } + if (property.NameEquals("ivrContext"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + ivrContext = property.Value.GetObject(); + continue; + } if (property.NameEquals("callConnectionId"u8)) { callConnectionId = property.Value.GetString(); @@ -55,29 +79,16 @@ internal static DialogCompletedInternal DeserializeDialogCompletedInternal(JsonE correlationId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("resultInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); - continue; - } } return new DialogCompletedInternal( + operationContext, + resultInformation, dialogInputType, dialogId, + ivrContext, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogCompletedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogCompletedInternal.cs index 5414d3eea1d7..99b8e87a647e 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogCompletedInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogCompletedInternal.cs @@ -16,37 +16,41 @@ internal DialogCompletedInternal() } /// Initializes a new instance of . + /// + /// /// Determines the type of the dialog. - /// Dialog ID. + /// + /// Any object. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal DialogCompletedInternal(DialogInputType? dialogInputType, string dialogId, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal DialogCompletedInternal(string operationContext, ResultInformation resultInformation, DialogInputType? dialogInputType, string dialogId, object ivrContext, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; DialogInputType = dialogInputType; DialogId = dialogId; + IvrContext = ivrContext; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } + /// Gets the operation context. + public string OperationContext { get; } + /// Gets the result information. + public ResultInformation ResultInformation { get; } /// Determines the type of the dialog. public DialogInputType? DialogInputType { get; } - /// Dialog ID. + /// Gets the dialog id. public string DialogId { get; } + /// Any object. + public object IvrContext { get; } /// Call connection ID. public string CallConnectionId { get; } /// Server call ID. public string ServerCallId { get; } /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. public string CorrelationId { get; } - /// Used by customers when calling mid-call actions to correlate the request to the response event. - public string OperationContext { get; } - /// Contains the resulting SIP code, sub-code and message. - public ResultInformation ResultInformation { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogConsentInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogConsentInternal.Serialization.cs index 9b3002c78136..5dbb19d650f6 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogConsentInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogConsentInternal.Serialization.cs @@ -17,32 +17,47 @@ internal static DialogConsentInternal DeserializeDialogConsentInternal(JsonEleme { return null; } - DialogInputType? dialogInputType = default; UserConsent userConsent = default; + string operationContext = default; + ResultInformation resultInformation = default; + DialogInputType? dialogInputType = default; string dialogId = default; + object ivrContext = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("dialogInputType"u8)) + if (property.NameEquals("userConsent"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) { continue; } - dialogInputType = new DialogInputType(property.Value.GetString()); + userConsent = UserConsent.DeserializeUserConsent(property.Value); continue; } - if (property.NameEquals("userConsent"u8)) + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } + if (property.NameEquals("resultInformation"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) { continue; } - userConsent = UserConsent.DeserializeUserConsent(property.Value); + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + continue; + } + if (property.NameEquals("dialogInputType"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + dialogInputType = new DialogInputType(property.Value.GetString()); continue; } if (property.NameEquals("dialogId"u8)) @@ -50,6 +65,15 @@ internal static DialogConsentInternal DeserializeDialogConsentInternal(JsonEleme dialogId = property.Value.GetString(); continue; } + if (property.NameEquals("ivrContext"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + ivrContext = property.Value.GetObject(); + continue; + } if (property.NameEquals("callConnectionId"u8)) { callConnectionId = property.Value.GetString(); @@ -65,30 +89,17 @@ internal static DialogConsentInternal DeserializeDialogConsentInternal(JsonEleme correlationId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("resultInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); - continue; - } } return new DialogConsentInternal( - dialogInputType, userConsent, + operationContext, + resultInformation, + dialogInputType, dialogId, + ivrContext, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogConsentInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogConsentInternal.cs index 37dee25016f5..8c5db38cbec4 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogConsentInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogConsentInternal.cs @@ -16,41 +16,45 @@ internal DialogConsentInternal() } /// Initializes a new instance of . + /// + /// + /// /// Determines the type of the dialog. - /// UserConsent data from the Conversation Conductor. - /// Dialog ID. + /// + /// Any object. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal DialogConsentInternal(DialogInputType? dialogInputType, UserConsent userConsent, string dialogId, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal DialogConsentInternal(UserConsent userConsent, string operationContext, ResultInformation resultInformation, DialogInputType? dialogInputType, string dialogId, object ivrContext, string callConnectionId, string serverCallId, string correlationId) { - DialogInputType = dialogInputType; UserConsent = userConsent; + OperationContext = operationContext; + ResultInformation = resultInformation; + DialogInputType = dialogInputType; DialogId = dialogId; + IvrContext = ivrContext; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } + /// Gets the user consent. + public UserConsent UserConsent { get; } + /// Gets the operation context. + public string OperationContext { get; } + /// Gets the result information. + public ResultInformation ResultInformation { get; } /// Determines the type of the dialog. public DialogInputType? DialogInputType { get; } - /// UserConsent data from the Conversation Conductor. - public UserConsent UserConsent { get; } - /// Dialog ID. + /// Gets the dialog id. public string DialogId { get; } + /// Any object. + public object IvrContext { get; } /// Call connection ID. public string CallConnectionId { get; } /// Server call ID. public string ServerCallId { get; } /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. public string CorrelationId { get; } - /// Used by customers when calling mid-call actions to correlate the request to the response event. - public string OperationContext { get; } - /// Contains the resulting SIP code, sub-code and message. - public ResultInformation ResultInformation { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogFailedInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogFailedInternal.Serialization.cs index b5d85cb726aa..3c1b575e3d6e 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogFailedInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogFailedInternal.Serialization.cs @@ -17,15 +17,30 @@ internal static DialogFailedInternal DeserializeDialogFailedInternal(JsonElement { return null; } + string operationContext = default; + ResultInformation resultInformation = default; DialogInputType? dialogInputType = default; string dialogId = default; + object ivrContext = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } + if (property.NameEquals("resultInformation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + continue; + } if (property.NameEquals("dialogInputType"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -40,6 +55,15 @@ internal static DialogFailedInternal DeserializeDialogFailedInternal(JsonElement dialogId = property.Value.GetString(); continue; } + if (property.NameEquals("ivrContext"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + ivrContext = property.Value.GetObject(); + continue; + } if (property.NameEquals("callConnectionId"u8)) { callConnectionId = property.Value.GetString(); @@ -55,29 +79,16 @@ internal static DialogFailedInternal DeserializeDialogFailedInternal(JsonElement correlationId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("resultInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); - continue; - } } return new DialogFailedInternal( + operationContext, + resultInformation, dialogInputType, dialogId, + ivrContext, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogFailedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogFailedInternal.cs index b442788c4587..f53902341417 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogFailedInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogFailedInternal.cs @@ -16,37 +16,41 @@ internal DialogFailedInternal() } /// Initializes a new instance of . + /// + /// /// Determines the type of the dialog. - /// Dialog ID. + /// + /// Any object. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal DialogFailedInternal(DialogInputType? dialogInputType, string dialogId, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal DialogFailedInternal(string operationContext, ResultInformation resultInformation, DialogInputType? dialogInputType, string dialogId, object ivrContext, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; DialogInputType = dialogInputType; DialogId = dialogId; + IvrContext = ivrContext; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } + /// Gets the operation context. + public string OperationContext { get; } + /// Gets the result information. + public ResultInformation ResultInformation { get; } /// Determines the type of the dialog. public DialogInputType? DialogInputType { get; } - /// Dialog ID. + /// Gets the dialog id. public string DialogId { get; } + /// Any object. + public object IvrContext { get; } /// Call connection ID. public string CallConnectionId { get; } /// Server call ID. public string ServerCallId { get; } /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. public string CorrelationId { get; } - /// Used by customers when calling mid-call actions to correlate the request to the response event. - public string OperationContext { get; } - /// Contains the resulting SIP code, sub-code and message. - public ResultInformation ResultInformation { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogHangupInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogHangupInternal.Serialization.cs index 55d7fdc18d81..bd2b37ee3024 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogHangupInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogHangupInternal.Serialization.cs @@ -17,16 +17,30 @@ internal static DialogHangupInternal DeserializeDialogHangupInternal(JsonElement { return null; } + string operationContext = default; + ResultInformation resultInformation = default; DialogInputType? dialogInputType = default; string dialogId = default; object ivrContext = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } + if (property.NameEquals("resultInformation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + continue; + } if (property.NameEquals("dialogInputType"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -65,30 +79,16 @@ internal static DialogHangupInternal DeserializeDialogHangupInternal(JsonElement correlationId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("resultInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); - continue; - } } return new DialogHangupInternal( + operationContext, + resultInformation, dialogInputType, dialogId, ivrContext, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogHangupInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogHangupInternal.cs index c214ada07bf6..e1624404f4d3 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogHangupInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogHangupInternal.cs @@ -16,31 +16,35 @@ internal DialogHangupInternal() } /// Initializes a new instance of . + /// + /// /// Determines the type of the dialog. - /// Dialog ID. - /// Ivr Context. + /// + /// Any object. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal DialogHangupInternal(DialogInputType? dialogInputType, string dialogId, object ivrContext, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal DialogHangupInternal(string operationContext, ResultInformation resultInformation, DialogInputType? dialogInputType, string dialogId, object ivrContext, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; DialogInputType = dialogInputType; DialogId = dialogId; IvrContext = ivrContext; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } + /// Gets the operation context. + public string OperationContext { get; } + /// Gets the result information. + public ResultInformation ResultInformation { get; } /// Determines the type of the dialog. public DialogInputType? DialogInputType { get; } - /// Dialog ID. + /// Gets the dialog id. public string DialogId { get; } - /// Ivr Context. + /// Any object. public object IvrContext { get; } /// Call connection ID. public string CallConnectionId { get; } @@ -48,9 +52,5 @@ internal DialogHangupInternal(DialogInputType? dialogInputType, string dialogId, public string ServerCallId { get; } /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. public string CorrelationId { get; } - /// Used by customers when calling mid-call actions to correlate the request to the response event. - public string OperationContext { get; } - /// Contains the resulting SIP code, sub-code and message. - public ResultInformation ResultInformation { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogInputType.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogInputType.cs index 48b4750d39f5..58ae5d2caab8 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogInputType.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogInputType.cs @@ -23,12 +23,9 @@ public DialogInputType(string value) } private const string PowerVirtualAgentsValue = "powerVirtualAgents"; - private const string AzureOpenAIValue = "azureOpenAI"; /// powerVirtualAgents. public static DialogInputType PowerVirtualAgents { get; } = new DialogInputType(PowerVirtualAgentsValue); - /// azureOpenAI. - public static DialogInputType AzureOpenAI { get; } = new DialogInputType(AzureOpenAIValue); /// Determines if two values are the same. public static bool operator ==(DialogInputType left, DialogInputType right) => left.Equals(right); /// Determines if two values are not the same. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogLanguageChangeInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogLanguageChangeInternal.Serialization.cs index a3b87f0b7b01..8e62bd5bb33d 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogLanguageChangeInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogLanguageChangeInternal.Serialization.cs @@ -17,17 +17,36 @@ internal static DialogLanguageChangeInternal DeserializeDialogLanguageChangeInte { return null; } + string selectedLanguage = default; + string operationContext = default; + ResultInformation resultInformation = default; DialogInputType? dialogInputType = default; string dialogId = default; - string selectedLanguage = default; object ivrContext = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { + if (property.NameEquals("selectedLanguage"u8)) + { + selectedLanguage = property.Value.GetString(); + continue; + } + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } + if (property.NameEquals("resultInformation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + continue; + } if (property.NameEquals("dialogInputType"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -42,11 +61,6 @@ internal static DialogLanguageChangeInternal DeserializeDialogLanguageChangeInte dialogId = property.Value.GetString(); continue; } - if (property.NameEquals("selectedLanguage"u8)) - { - selectedLanguage = property.Value.GetString(); - continue; - } if (property.NameEquals("ivrContext"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -71,31 +85,17 @@ internal static DialogLanguageChangeInternal DeserializeDialogLanguageChangeInte correlationId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("resultInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); - continue; - } } return new DialogLanguageChangeInternal( + selectedLanguage, + operationContext, + resultInformation, dialogInputType, dialogId, - selectedLanguage, ivrContext, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogLanguageChangeInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogLanguageChangeInternal.cs index c4c245d4c472..e47825b7469e 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogLanguageChangeInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogLanguageChangeInternal.cs @@ -16,35 +16,39 @@ internal DialogLanguageChangeInternal() } /// Initializes a new instance of . + /// + /// + /// /// Determines the type of the dialog. - /// Dialog ID. - /// Selected Language. - /// Ivr Context. + /// + /// Any object. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal DialogLanguageChangeInternal(DialogInputType? dialogInputType, string dialogId, string selectedLanguage, object ivrContext, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal DialogLanguageChangeInternal(string selectedLanguage, string operationContext, ResultInformation resultInformation, DialogInputType? dialogInputType, string dialogId, object ivrContext, string callConnectionId, string serverCallId, string correlationId) { + SelectedLanguage = selectedLanguage; + OperationContext = operationContext; + ResultInformation = resultInformation; DialogInputType = dialogInputType; DialogId = dialogId; - SelectedLanguage = selectedLanguage; IvrContext = ivrContext; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } + /// Gets the selected language. + public string SelectedLanguage { get; } + /// Gets the operation context. + public string OperationContext { get; } + /// Gets the result information. + public ResultInformation ResultInformation { get; } /// Determines the type of the dialog. public DialogInputType? DialogInputType { get; } - /// Dialog ID. + /// Gets the dialog id. public string DialogId { get; } - /// Selected Language. - public string SelectedLanguage { get; } - /// Ivr Context. + /// Any object. public object IvrContext { get; } /// Call connection ID. public string CallConnectionId { get; } @@ -52,9 +56,5 @@ internal DialogLanguageChangeInternal(DialogInputType? dialogInputType, string d public string ServerCallId { get; } /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. public string CorrelationId { get; } - /// Used by customers when calling mid-call actions to correlate the request to the response event. - public string OperationContext { get; } - /// Contains the resulting SIP code, sub-code and message. - public ResultInformation ResultInformation { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogSensitivityUpdateInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogSensitivityUpdateInternal.Serialization.cs index 2563a7694af9..39133a03f6e4 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogSensitivityUpdateInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogSensitivityUpdateInternal.Serialization.cs @@ -17,16 +17,40 @@ internal static DialogSensitivityUpdateInternal DeserializeDialogSensitivityUpda { return null; } + bool? sensitiveMask = default; + string operationContext = default; + ResultInformation resultInformation = default; DialogInputType? dialogInputType = default; string dialogId = default; - bool? sensitiveMask = default; + object ivrContext = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { + if (property.NameEquals("sensitiveMask"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + sensitiveMask = property.Value.GetBoolean(); + continue; + } + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } + if (property.NameEquals("resultInformation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + continue; + } if (property.NameEquals("dialogInputType"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -41,13 +65,13 @@ internal static DialogSensitivityUpdateInternal DeserializeDialogSensitivityUpda dialogId = property.Value.GetString(); continue; } - if (property.NameEquals("sensitiveMask"u8)) + if (property.NameEquals("ivrContext"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) { continue; } - sensitiveMask = property.Value.GetBoolean(); + ivrContext = property.Value.GetObject(); continue; } if (property.NameEquals("callConnectionId"u8)) @@ -65,30 +89,17 @@ internal static DialogSensitivityUpdateInternal DeserializeDialogSensitivityUpda correlationId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("resultInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); - continue; - } } return new DialogSensitivityUpdateInternal( + sensitiveMask, + operationContext, + resultInformation, dialogInputType, dialogId, - sensitiveMask, + ivrContext, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogSensitivityUpdateInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogSensitivityUpdateInternal.cs index c53ec140a30d..dd6575daec23 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogSensitivityUpdateInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogSensitivityUpdateInternal.cs @@ -16,41 +16,45 @@ internal DialogSensitivityUpdateInternal() } /// Initializes a new instance of . + /// + /// + /// /// Determines the type of the dialog. - /// Dialog ID. - /// SensitiveMask. + /// + /// Any object. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal DialogSensitivityUpdateInternal(DialogInputType? dialogInputType, string dialogId, bool? sensitiveMask, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal DialogSensitivityUpdateInternal(bool? sensitiveMask, string operationContext, ResultInformation resultInformation, DialogInputType? dialogInputType, string dialogId, object ivrContext, string callConnectionId, string serverCallId, string correlationId) { + SensitiveMask = sensitiveMask; + OperationContext = operationContext; + ResultInformation = resultInformation; DialogInputType = dialogInputType; DialogId = dialogId; - SensitiveMask = sensitiveMask; + IvrContext = ivrContext; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } + /// Gets the sensitive mask. + public bool? SensitiveMask { get; } + /// Gets the operation context. + public string OperationContext { get; } + /// Gets the result information. + public ResultInformation ResultInformation { get; } /// Determines the type of the dialog. public DialogInputType? DialogInputType { get; } - /// Dialog ID. + /// Gets the dialog id. public string DialogId { get; } - /// SensitiveMask. - public bool? SensitiveMask { get; } + /// Any object. + public object IvrContext { get; } /// Call connection ID. public string CallConnectionId { get; } /// Server call ID. public string ServerCallId { get; } /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. public string CorrelationId { get; } - /// Used by customers when calling mid-call actions to correlate the request to the response event. - public string OperationContext { get; } - /// Contains the resulting SIP code, sub-code and message. - public ResultInformation ResultInformation { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogStartedInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogStartedInternal.Serialization.cs index 443003225fd7..69bcb36d671e 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogStartedInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogStartedInternal.Serialization.cs @@ -17,15 +17,30 @@ internal static DialogStartedInternal DeserializeDialogStartedInternal(JsonEleme { return null; } + string operationContext = default; + ResultInformation resultInformation = default; DialogInputType? dialogInputType = default; string dialogId = default; + object ivrContext = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } + if (property.NameEquals("resultInformation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + continue; + } if (property.NameEquals("dialogInputType"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -40,6 +55,15 @@ internal static DialogStartedInternal DeserializeDialogStartedInternal(JsonEleme dialogId = property.Value.GetString(); continue; } + if (property.NameEquals("ivrContext"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + ivrContext = property.Value.GetObject(); + continue; + } if (property.NameEquals("callConnectionId"u8)) { callConnectionId = property.Value.GetString(); @@ -55,29 +79,16 @@ internal static DialogStartedInternal DeserializeDialogStartedInternal(JsonEleme correlationId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("resultInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); - continue; - } } return new DialogStartedInternal( + operationContext, + resultInformation, dialogInputType, dialogId, + ivrContext, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogStartedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogStartedInternal.cs index 43e1e9f53b72..b0bd242a9115 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogStartedInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogStartedInternal.cs @@ -16,37 +16,41 @@ internal DialogStartedInternal() } /// Initializes a new instance of . + /// + /// /// Determines the type of the dialog. - /// Dialog ID. + /// + /// Any object. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal DialogStartedInternal(DialogInputType? dialogInputType, string dialogId, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal DialogStartedInternal(string operationContext, ResultInformation resultInformation, DialogInputType? dialogInputType, string dialogId, object ivrContext, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; DialogInputType = dialogInputType; DialogId = dialogId; + IvrContext = ivrContext; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } + /// Gets the operation context. + public string OperationContext { get; } + /// Gets the result information. + public ResultInformation ResultInformation { get; } /// Determines the type of the dialog. public DialogInputType? DialogInputType { get; } - /// Dialog ID. + /// Gets the dialog id. public string DialogId { get; } + /// Any object. + public object IvrContext { get; } /// Call connection ID. public string CallConnectionId { get; } /// Server call ID. public string ServerCallId { get; } /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. public string CorrelationId { get; } - /// Used by customers when calling mid-call actions to correlate the request to the response event. - public string OperationContext { get; } - /// Contains the resulting SIP code, sub-code and message. - public ResultInformation ResultInformation { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogStateResponseInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogStateResponseInternal.cs index 295a284847b4..f54c847530bd 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogStateResponseInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogStateResponseInternal.cs @@ -20,7 +20,7 @@ internal DialogStateResponseInternal() /// /// Defines dialog. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include and . + /// The available derived classes include . /// /// The value to identify context of the operation. internal DialogStateResponseInternal(string dialogId, BaseDialog dialog, string operationContext) @@ -35,7 +35,7 @@ internal DialogStateResponseInternal(string dialogId, BaseDialog dialog, string /// /// Defines dialog. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include and . + /// The available derived classes include . /// public BaseDialog Dialog { get; } /// The value to identify context of the operation. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogTransferInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogTransferInternal.Serialization.cs index e076e5f24d00..e5bfe7f1d0de 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogTransferInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogTransferInternal.Serialization.cs @@ -17,18 +17,42 @@ internal static DialogTransferInternal DeserializeDialogTransferInternal(JsonEle { return null; } - DialogInputType? dialogInputType = default; - string dialogId = default; string transferType = default; string transferDestination = default; + string operationContext = default; + ResultInformation resultInformation = default; + DialogInputType? dialogInputType = default; + string dialogId = default; object ivrContext = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { + if (property.NameEquals("transferType"u8)) + { + transferType = property.Value.GetString(); + continue; + } + if (property.NameEquals("transferDestination"u8)) + { + transferDestination = property.Value.GetString(); + continue; + } + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } + if (property.NameEquals("resultInformation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + continue; + } if (property.NameEquals("dialogInputType"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -43,16 +67,6 @@ internal static DialogTransferInternal DeserializeDialogTransferInternal(JsonEle dialogId = property.Value.GetString(); continue; } - if (property.NameEquals("transferType"u8)) - { - transferType = property.Value.GetString(); - continue; - } - if (property.NameEquals("transferDestination"u8)) - { - transferDestination = property.Value.GetString(); - continue; - } if (property.NameEquals("ivrContext"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -77,32 +91,18 @@ internal static DialogTransferInternal DeserializeDialogTransferInternal(JsonEle correlationId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("resultInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); - continue; - } } return new DialogTransferInternal( - dialogInputType, - dialogId, transferType, transferDestination, + operationContext, + resultInformation, + dialogInputType, + dialogId, ivrContext, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogTransferInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogTransferInternal.cs index 02fada96a19a..77cce7c551b1 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogTransferInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogTransferInternal.cs @@ -16,39 +16,43 @@ internal DialogTransferInternal() } /// Initializes a new instance of . + /// + /// + /// + /// /// Determines the type of the dialog. - /// Dialog ID. - /// Transfer type. - /// Transfer destination. - /// IVR context. + /// + /// Any object. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal DialogTransferInternal(DialogInputType? dialogInputType, string dialogId, string transferType, string transferDestination, object ivrContext, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal DialogTransferInternal(string transferType, string transferDestination, string operationContext, ResultInformation resultInformation, DialogInputType? dialogInputType, string dialogId, object ivrContext, string callConnectionId, string serverCallId, string correlationId) { - DialogInputType = dialogInputType; - DialogId = dialogId; TransferType = transferType; TransferDestination = transferDestination; + OperationContext = operationContext; + ResultInformation = resultInformation; + DialogInputType = dialogInputType; + DialogId = dialogId; IvrContext = ivrContext; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } + /// Gets the transfer type. + public string TransferType { get; } + /// Gets the transfer destination. + public string TransferDestination { get; } + /// Gets the operation context. + public string OperationContext { get; } + /// Gets the result information. + public ResultInformation ResultInformation { get; } /// Determines the type of the dialog. public DialogInputType? DialogInputType { get; } - /// Dialog ID. + /// Gets the dialog id. public string DialogId { get; } - /// Transfer type. - public string TransferType { get; } - /// Transfer destination. - public string TransferDestination { get; } - /// IVR context. + /// Any object. public object IvrContext { get; } /// Call connection ID. public string CallConnectionId { get; } @@ -56,9 +60,5 @@ internal DialogTransferInternal(DialogInputType? dialogInputType, string dialogI public string ServerCallId { get; } /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. public string CorrelationId { get; } - /// Used by customers when calling mid-call actions to correlate the request to the response event. - public string OperationContext { get; } - /// Contains the resulting SIP code, sub-code and message. - public ResultInformation ResultInformation { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogUpdateBase.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogUpdateBase.Serialization.cs deleted file mode 100644 index b92c9281a7bc..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogUpdateBase.Serialization.cs +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - public partial class DialogUpdateBase : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - writer.WritePropertyName("kind"u8); - writer.WriteStringValue(Kind.ToString()); - if (Optional.IsCollectionDefined(Context)) - { - writer.WritePropertyName("context"u8); - writer.WriteStartObject(); - foreach (var item in Context) - { - writer.WritePropertyName(item.Key); - if (item.Value == null) - { - writer.WriteNullValue(); - continue; - } - writer.WriteObjectValue(item.Value); - } - writer.WriteEndObject(); - } - writer.WriteEndObject(); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this); - return content; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogUpdateBase.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogUpdateBase.cs deleted file mode 100644 index 4b921c0391c5..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogUpdateBase.cs +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; - -namespace Azure.Communication.CallAutomation -{ - /// - /// The DialogUpdateBase. - /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include . - /// - public abstract partial class DialogUpdateBase - { - /// Initializes a new instance of . - protected DialogUpdateBase() - { - Context = new ChangeTrackingDictionary(); - } - - /// Initializes a new instance of . - /// Determines the type of the dialog. - /// Dialog context. - internal DialogUpdateBase(DialogInputType kind, IDictionary context) - { - Kind = kind; - Context = context; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogUpdatedInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogUpdatedInternal.Serialization.cs deleted file mode 100644 index 2c70b72f5149..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogUpdatedInternal.Serialization.cs +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; - -namespace Azure.Communication.CallAutomation -{ - internal partial class DialogUpdatedInternal - { - internal static DialogUpdatedInternal DeserializeDialogUpdatedInternal(JsonElement element) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - DialogInputType? dialogInputType = default; - string dialogId = default; - object ivrContext = default; - string callConnectionId = default; - string serverCallId = default; - string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("dialogInputType"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - dialogInputType = new DialogInputType(property.Value.GetString()); - continue; - } - if (property.NameEquals("dialogId"u8)) - { - dialogId = property.Value.GetString(); - continue; - } - if (property.NameEquals("ivrContext"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - ivrContext = property.Value.GetObject(); - continue; - } - if (property.NameEquals("callConnectionId"u8)) - { - callConnectionId = property.Value.GetString(); - continue; - } - if (property.NameEquals("serverCallId"u8)) - { - serverCallId = property.Value.GetString(); - continue; - } - if (property.NameEquals("correlationId"u8)) - { - correlationId = property.Value.GetString(); - continue; - } - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("resultInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); - continue; - } - } - return new DialogUpdatedInternal( - dialogInputType, - dialogId, - ivrContext, - callConnectionId, - serverCallId, - correlationId, - operationContext, - resultInformation); - } - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static DialogUpdatedInternal FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeDialogUpdatedInternal(document.RootElement); - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogUpdatedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogUpdatedInternal.cs deleted file mode 100644 index 764fd4566ea0..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/DialogUpdatedInternal.cs +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallAutomation -{ - /// The DialogUpdated. - internal partial class DialogUpdatedInternal - { - /// Initializes a new instance of . - internal DialogUpdatedInternal() - { - } - - /// Initializes a new instance of . - /// Determines the type of the dialog. - /// Dialog ID. - /// IVR context. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal DialogUpdatedInternal(DialogInputType? dialogInputType, string dialogId, object ivrContext, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) - { - DialogInputType = dialogInputType; - DialogId = dialogId; - IvrContext = ivrContext; - CallConnectionId = callConnectionId; - ServerCallId = serverCallId; - CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; - } - - /// Determines the type of the dialog. - public DialogInputType? DialogInputType { get; } - /// Dialog ID. - public string DialogId { get; } - /// IVR context. - public object IvrContext { get; } - /// Call connection ID. - public string CallConnectionId { get; } - /// Server call ID. - public string ServerCallId { get; } - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - public string CorrelationId { get; } - /// Used by customers when calling mid-call actions to correlate the request to the response event. - public string OperationContext { get; } - /// Contains the resulting SIP code, sub-code and message. - public ResultInformation ResultInformation { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ErrorDetails.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ErrorDetails.Serialization.cs deleted file mode 100644 index 164913a9dc82..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ErrorDetails.Serialization.cs +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; - -namespace Azure.Communication.CallAutomation -{ - public partial class ErrorDetails - { - internal static ErrorDetails DeserializeErrorDetails(JsonElement element) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - string code = default; - string message = default; - ErrorDetails innerError = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("code"u8)) - { - code = property.Value.GetString(); - continue; - } - if (property.NameEquals("message"u8)) - { - message = property.Value.GetString(); - continue; - } - if (property.NameEquals("innerError"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - innerError = DeserializeErrorDetails(property.Value); - continue; - } - } - return new ErrorDetails(code, message, innerError); - } - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static ErrorDetails FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeErrorDetails(document.RootElement); - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ErrorDetails.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ErrorDetails.cs deleted file mode 100644 index 4bcdd59a2314..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/ErrorDetails.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallAutomation -{ - /// Error details. - public partial class ErrorDetails - { - /// Initializes a new instance of . - internal ErrorDetails() - { - } - - /// Initializes a new instance of . - /// Error code. - /// Error message. - /// Inner error details. - internal ErrorDetails(string code, string message, ErrorDetails innerError) - { - Code = code; - Message = message; - InnerError = innerError; - } - - /// Error code. - public string Code { get; } - /// Error message. - public string Message { get; } - /// Inner error details. - public ErrorDetails InnerError { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioCompleted.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioCompleted.Serialization.cs index fe574d40ae7a..c36c558cec49 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioCompleted.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioCompleted.Serialization.cs @@ -17,44 +17,44 @@ internal static HoldAudioCompleted DeserializeHoldAudioCompleted(JsonElement ele { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } - return new HoldAudioCompleted(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new HoldAudioCompleted(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioCompleted.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioCompleted.cs index ee1b48effc59..8c4c1458fa5f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioCompleted.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioCompleted.cs @@ -7,7 +7,7 @@ namespace Azure.Communication.CallAutomation { - /// Hold Audio Completed event. + /// The HoldAudioCompleted. public partial class HoldAudioCompleted { /// Initializes a new instance of . diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioPaused.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioPaused.Serialization.cs index ba346c1dde21..ba6fc6f99b1b 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioPaused.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioPaused.Serialization.cs @@ -17,44 +17,44 @@ internal static HoldAudioPaused DeserializeHoldAudioPaused(JsonElement element) { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } - return new HoldAudioPaused(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new HoldAudioPaused(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioPaused.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioPaused.cs index f2083127cc84..8c8afecb0dfe 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioPaused.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioPaused.cs @@ -7,7 +7,7 @@ namespace Azure.Communication.CallAutomation { - /// Hold Audio Paused event. + /// The HoldAudioPaused. public partial class HoldAudioPaused { /// Initializes a new instance of . diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioResumed.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioResumed.Serialization.cs index 575a614b8e02..3b065e09df77 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioResumed.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioResumed.Serialization.cs @@ -17,44 +17,44 @@ internal static HoldAudioResumed DeserializeHoldAudioResumed(JsonElement element { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } - return new HoldAudioResumed(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new HoldAudioResumed(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioResumed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioResumed.cs index eee73d335447..57ce92473a46 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioResumed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioResumed.cs @@ -7,7 +7,7 @@ namespace Azure.Communication.CallAutomation { - /// Hold Audio Resumed event. + /// The HoldAudioResumed. public partial class HoldAudioResumed { /// Initializes a new instance of . diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioStarted.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioStarted.Serialization.cs index 1791dd10621c..c40fc4c94366 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioStarted.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioStarted.Serialization.cs @@ -17,44 +17,44 @@ internal static HoldAudioStarted DeserializeHoldAudioStarted(JsonElement element { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } - return new HoldAudioStarted(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new HoldAudioStarted(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioStarted.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioStarted.cs index 3310a7836251..9e3d8dee696c 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioStarted.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldAudioStarted.cs @@ -7,7 +7,7 @@ namespace Azure.Communication.CallAutomation { - /// Hold Audio Started event. + /// The HoldAudioStarted. public partial class HoldAudioStarted { /// Initializes a new instance of . diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldFailedInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldFailed.Serialization.cs similarity index 83% rename from sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldFailedInternal.Serialization.cs rename to sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldFailed.Serialization.cs index 6547dc895e16..e32f442a8aaa 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldFailedInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldFailed.Serialization.cs @@ -9,60 +9,60 @@ namespace Azure.Communication.CallAutomation { - internal partial class HoldFailedInternal + public partial class HoldFailed { - internal static HoldFailedInternal DeserializeHoldFailedInternal(JsonElement element) + internal static HoldFailed DeserializeHoldFailed(JsonElement element) { if (element.ValueKind == JsonValueKind.Null) { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } - return new HoldFailedInternal(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new HoldFailed(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static HoldFailedInternal FromResponse(Response response) + internal static HoldFailed FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeHoldFailedInternal(document.RootElement); + return DeserializeHoldFailed(document.RootElement); } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldFailed.cs new file mode 100644 index 000000000000..e0721196e11e --- /dev/null +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldFailed.cs @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.Communication.CallAutomation +{ + /// The HoldFailed. + public partial class HoldFailed + { + /// Initializes a new instance of . + internal HoldFailed() + { + } + } +} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldFailedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldFailedInternal.cs deleted file mode 100644 index 53c66b1b7e3b..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/HoldFailedInternal.cs +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallAutomation -{ - /// Hold Failed event. - internal partial class HoldFailedInternal - { - /// Initializes a new instance of . - internal HoldFailedInternal() - { - } - - /// Initializes a new instance of . - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal HoldFailedInternal(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) - { - CallConnectionId = callConnectionId; - ServerCallId = serverCallId; - CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingFailed.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingFailed.Serialization.cs index b2336ad18509..6536a03dd236 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingFailed.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingFailed.Serialization.cs @@ -18,11 +18,11 @@ internal static MediaStreamingFailed DeserializeMediaStreamingFailed(JsonElement return null; } MediaStreamingUpdate mediaStreamingUpdate = default; + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("mediaStreamingUpdate"u8)) @@ -34,43 +34,43 @@ internal static MediaStreamingFailed DeserializeMediaStreamingFailed(JsonElement mediaStreamingUpdate = MediaStreamingUpdate.DeserializeMediaStreamingUpdate(property.Value); continue; } - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } return new MediaStreamingFailed( mediaStreamingUpdate, + operationContext, + resultInformation, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingFailed.cs index ff75df9e64ef..36c012a4bc43 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingFailed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingFailed.cs @@ -16,23 +16,23 @@ internal MediaStreamingFailed() } /// Initializes a new instance of . - /// Defines the result for MediaStreamingUpdate with the current status and the details about the status. + /// Defines the result for audio streaming update with the current status and the details about the status. + /// 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. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal MediaStreamingFailed(MediaStreamingUpdate mediaStreamingUpdate, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal MediaStreamingFailed(MediaStreamingUpdate mediaStreamingUpdate, string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { MediaStreamingUpdate = mediaStreamingUpdate; + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } - /// Defines the result for MediaStreamingUpdate with the current status and the details about the status. + /// Defines the result for audio streaming update with the current status and the details about the status. public MediaStreamingUpdate MediaStreamingUpdate { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStarted.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStarted.Serialization.cs index 87b640f75a38..0c5278141a0c 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStarted.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStarted.Serialization.cs @@ -18,11 +18,11 @@ internal static MediaStreamingStarted DeserializeMediaStreamingStarted(JsonEleme return null; } MediaStreamingUpdate mediaStreamingUpdate = default; + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("mediaStreamingUpdate"u8)) @@ -34,43 +34,43 @@ internal static MediaStreamingStarted DeserializeMediaStreamingStarted(JsonEleme mediaStreamingUpdate = MediaStreamingUpdate.DeserializeMediaStreamingUpdate(property.Value); continue; } - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } return new MediaStreamingStarted( mediaStreamingUpdate, + operationContext, + resultInformation, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStarted.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStarted.cs index 6211ba74022d..a58050ff54d0 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStarted.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStarted.cs @@ -16,23 +16,23 @@ internal MediaStreamingStarted() } /// Initializes a new instance of . - /// Defines the result for MediaStreamingUpdate with the current status and the details about the status. + /// Defines the result for audio streaming update with the current status and the details about the status. + /// 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. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal MediaStreamingStarted(MediaStreamingUpdate mediaStreamingUpdate, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal MediaStreamingStarted(MediaStreamingUpdate mediaStreamingUpdate, string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { MediaStreamingUpdate = mediaStreamingUpdate; + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } - /// Defines the result for MediaStreamingUpdate with the current status and the details about the status. + /// Defines the result for audio streaming update with the current status and the details about the status. public MediaStreamingUpdate MediaStreamingUpdate { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStopped.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStopped.Serialization.cs index ec8d65467c2e..41c23a61d45e 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStopped.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStopped.Serialization.cs @@ -18,11 +18,11 @@ internal static MediaStreamingStopped DeserializeMediaStreamingStopped(JsonEleme return null; } MediaStreamingUpdate mediaStreamingUpdate = default; + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("mediaStreamingUpdate"u8)) @@ -34,43 +34,43 @@ internal static MediaStreamingStopped DeserializeMediaStreamingStopped(JsonEleme mediaStreamingUpdate = MediaStreamingUpdate.DeserializeMediaStreamingUpdate(property.Value); continue; } - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } return new MediaStreamingStopped( mediaStreamingUpdate, + operationContext, + resultInformation, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStopped.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStopped.cs index 26be58f0c2c4..cc0f31adce0f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStopped.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingStopped.cs @@ -16,23 +16,23 @@ internal MediaStreamingStopped() } /// Initializes a new instance of . - /// Defines the result for MediaStreamingUpdate with the current status and the details about the status. + /// Defines the result for audio streaming update with the current status and the details about the status. + /// 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. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal MediaStreamingStopped(MediaStreamingUpdate mediaStreamingUpdate, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal MediaStreamingStopped(MediaStreamingUpdate mediaStreamingUpdate, string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { MediaStreamingUpdate = mediaStreamingUpdate; + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } - /// Defines the result for MediaStreamingUpdate with the current status and the details about the status. + /// Defines the result for audio streaming update with the current status and the details about the status. public MediaStreamingUpdate MediaStreamingUpdate { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingUpdate.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingUpdate.Serialization.cs index 88cfce3e9205..c335ddfd0fac 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingUpdate.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingUpdate.Serialization.cs @@ -18,8 +18,8 @@ internal static MediaStreamingUpdate DeserializeMediaStreamingUpdate(JsonElement return null; } string contentType = default; - MediaStreamingStatus? mediaStreamingStatus = default; - MediaStreamingStatusDetails? mediaStreamingStatusDetails = default; + MediaStreamingStatus mediaStreamingStatus = default; + MediaStreamingStatusDetails mediaStreamingStatusDetails = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("contentType"u8)) diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingUpdate.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingUpdate.cs index e7e9b7128d7a..cdd9916702ea 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingUpdate.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/MediaStreamingUpdate.cs @@ -19,7 +19,7 @@ internal MediaStreamingUpdate() /// /// /// - internal MediaStreamingUpdate(string contentType, MediaStreamingStatus? mediaStreamingStatus, MediaStreamingStatusDetails? mediaStreamingStatusDetails) + internal MediaStreamingUpdate(string contentType, MediaStreamingStatus mediaStreamingStatus, MediaStreamingStatusDetails mediaStreamingStatusDetails) { ContentType = contentType; MediaStreamingStatus = mediaStreamingStatus; @@ -28,9 +28,5 @@ internal MediaStreamingUpdate(string contentType, MediaStreamingStatus? mediaStr /// Gets the content type. public string ContentType { get; } - /// Gets the media streaming status. - public MediaStreamingStatus? MediaStreamingStatus { get; } - /// Gets the media streaming status details. - public MediaStreamingStatusDetails? MediaStreamingStatusDetails { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCanceled.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCanceled.Serialization.cs index bfc6654bfc40..c46993c19ad3 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCanceled.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCanceled.Serialization.cs @@ -17,44 +17,44 @@ internal static PlayCanceled DeserializePlayCanceled(JsonElement element) { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } - return new PlayCanceled(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new PlayCanceled(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCanceled.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCanceled.cs index 8108f76d5297..4845eae8d17a 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCanceled.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCanceled.cs @@ -16,18 +16,18 @@ internal PlayCanceled() } /// Initializes a new instance of . + /// + /// Contains the resulting SIP code/sub-code and message from NGC services. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal PlayCanceled(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal PlayCanceled(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCompletedInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCompleted.Serialization.cs similarity index 83% rename from sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCompletedInternal.Serialization.cs rename to sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCompleted.Serialization.cs index ffb3b4a80656..2c03a43c0447 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCompletedInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCompleted.Serialization.cs @@ -9,60 +9,60 @@ namespace Azure.Communication.CallAutomation { - internal partial class PlayCompletedInternal + public partial class PlayCompleted { - internal static PlayCompletedInternal DeserializePlayCompletedInternal(JsonElement element) + internal static PlayCompleted DeserializePlayCompleted(JsonElement element) { if (element.ValueKind == JsonValueKind.Null) { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } - return new PlayCompletedInternal(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new PlayCompleted(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static PlayCompletedInternal FromResponse(Response response) + internal static PlayCompleted FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializePlayCompletedInternal(document.RootElement); + return DeserializePlayCompleted(document.RootElement); } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCompleted.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCompleted.cs new file mode 100644 index 000000000000..8cff443664ad --- /dev/null +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCompleted.cs @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.Communication.CallAutomation +{ + /// The PlayCompleted. + public partial class PlayCompleted + { + /// Initializes a new instance of . + internal PlayCompleted() + { + } + } +} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCompletedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCompletedInternal.cs deleted file mode 100644 index 16a95b5623b8..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayCompletedInternal.cs +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallAutomation -{ - /// The PlayCompleted. - internal partial class PlayCompletedInternal - { - /// Initializes a new instance of . - internal PlayCompletedInternal() - { - } - - /// Initializes a new instance of . - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal PlayCompletedInternal(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) - { - CallConnectionId = callConnectionId; - ServerCallId = serverCallId; - CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayFailedInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayFailed.Serialization.cs similarity index 69% rename from sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayFailedInternal.Serialization.cs rename to sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayFailed.Serialization.cs index c68a4696be20..87aa044b7d75 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayFailedInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayFailed.Serialization.cs @@ -9,37 +9,21 @@ namespace Azure.Communication.CallAutomation { - internal partial class PlayFailedInternal + public partial class PlayFailed { - internal static PlayFailedInternal DeserializePlayFailedInternal(JsonElement element) + internal static PlayFailed DeserializePlayFailed(JsonElement element) { if (element.ValueKind == JsonValueKind.Null) { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; - int? failedPlaySourceIndex = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) - { - callConnectionId = property.Value.GetString(); - continue; - } - if (property.NameEquals("serverCallId"u8)) - { - serverCallId = property.Value.GetString(); - continue; - } - if (property.NameEquals("correlationId"u8)) - { - correlationId = property.Value.GetString(); - continue; - } if (property.NameEquals("operationContext"u8)) { operationContext = property.Value.GetString(); @@ -54,31 +38,31 @@ internal static PlayFailedInternal DeserializePlayFailedInternal(JsonElement ele resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("failedPlaySourceIndex"u8)) + if (property.NameEquals("callConnectionId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - failedPlaySourceIndex = property.Value.GetInt32(); + callConnectionId = property.Value.GetString(); + continue; + } + if (property.NameEquals("serverCallId"u8)) + { + serverCallId = property.Value.GetString(); + continue; + } + if (property.NameEquals("correlationId"u8)) + { + correlationId = property.Value.GetString(); continue; } } - return new PlayFailedInternal( - callConnectionId, - serverCallId, - correlationId, - operationContext, - resultInformation, - failedPlaySourceIndex); + return new PlayFailed(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static PlayFailedInternal FromResponse(Response response) + internal static PlayFailed FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializePlayFailedInternal(document.RootElement); + return DeserializePlayFailed(document.RootElement); } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayFailed.cs new file mode 100644 index 000000000000..b912a09f16f5 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayFailed.cs @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.Communication.CallAutomation +{ + /// The PlayFailed. + public partial class PlayFailed + { + /// Initializes a new instance of . + internal PlayFailed() + { + } + } +} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayFailedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayFailedInternal.cs deleted file mode 100644 index b030fb7678aa..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayFailedInternal.cs +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallAutomation -{ - /// The PlayFailed. - internal partial class PlayFailedInternal - { - /// Initializes a new instance of . - internal PlayFailedInternal() - { - } - - /// Initializes a new instance of . - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - /// Contains the index of the failed play source. - internal PlayFailedInternal(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation, int? failedPlaySourceIndex) - { - CallConnectionId = callConnectionId; - ServerCallId = serverCallId; - CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; - FailedPlaySourceIndex = failedPlaySourceIndex; - } - /// Contains the index of the failed play source. - public int? FailedPlaySourceIndex { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayPaused.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayPaused.Serialization.cs index 366d8e7de356..caa3e82da036 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayPaused.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayPaused.Serialization.cs @@ -17,44 +17,44 @@ internal static PlayPaused DeserializePlayPaused(JsonElement element) { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } - return new PlayPaused(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new PlayPaused(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayPaused.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayPaused.cs index 2501310ccb4c..2662388bc247 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayPaused.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayPaused.cs @@ -7,7 +7,7 @@ namespace Azure.Communication.CallAutomation { - /// Play Paused event. + /// The PlayPaused. public partial class PlayPaused { /// Initializes a new instance of . diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayResumed.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayResumed.Serialization.cs index 115773f5c465..702b4ad94d88 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayResumed.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayResumed.Serialization.cs @@ -17,44 +17,44 @@ internal static PlayResumed DeserializePlayResumed(JsonElement element) { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } - return new PlayResumed(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new PlayResumed(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayResumed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayResumed.cs index 8e7a85a982c0..a56706b81ba0 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayResumed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayResumed.cs @@ -7,7 +7,7 @@ namespace Azure.Communication.CallAutomation { - /// Play Resumed event. + /// The PlayResumed. public partial class PlayResumed { /// Initializes a new instance of . diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayStarted.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayStarted.Serialization.cs index a77fcacee95b..4e5487feba15 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayStarted.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayStarted.Serialization.cs @@ -17,44 +17,44 @@ internal static PlayStarted DeserializePlayStarted(JsonElement element) { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } - return new PlayStarted(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new PlayStarted(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayStarted.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayStarted.cs index 2e09231978d9..db52aa5365ab 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayStarted.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PlayStarted.cs @@ -7,27 +7,12 @@ namespace Azure.Communication.CallAutomation { - /// Play started event. + /// The PlayStarted. public partial class PlayStarted { /// Initializes a new instance of . internal PlayStarted() { } - - /// Initializes a new instance of . - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal PlayStarted(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) - { - CallConnectionId = callConnectionId; - ServerCallId = serverCallId; - CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; - } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PostProcessingOptions.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PostProcessingOptions.Serialization.cs deleted file mode 100644 index 72d99042185b..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PostProcessingOptions.Serialization.cs +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - public partial class PostProcessingOptions : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - if (Optional.IsDefined(CognitiveServicesEndpoint)) - { - writer.WritePropertyName("cognitiveServicesEndpoint"u8); - writer.WriteStringValue(CognitiveServicesEndpoint); - } - writer.WritePropertyName("transcription"u8); - writer.WriteObjectValue(Transcription); - if (Optional.IsDefined(Summarization)) - { - writer.WritePropertyName("summarization"u8); - writer.WriteObjectValue(Summarization); - } - writer.WriteEndObject(); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this); - return content; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PostProcessingOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PostProcessingOptions.cs deleted file mode 100644 index c20e94a900d8..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/PostProcessingOptions.cs +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; - -namespace Azure.Communication.CallAutomation -{ - /// The PostProcessingOptions. - public partial class PostProcessingOptions - { - /// Initializes a new instance of . - /// - /// The identifier of the Cognitive Service resource assigned to the post recording processing. - /// The Cognitive Service resource will be used by the summarization feature. - /// - /// Define options of the transcription for the post recording processing. - /// Define options of the summarization for the post recording processing. - internal PostProcessingOptions(string cognitiveServicesEndpoint, TranscriptionSettings transcription, SummarizationSettings summarization) - { - CognitiveServicesEndpoint = cognitiveServicesEndpoint; - Transcription = transcription; - Summarization = summarization; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCanceled.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCanceled.Serialization.cs index adc08e11bd21..9437d2e53fb6 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCanceled.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCanceled.Serialization.cs @@ -17,44 +17,44 @@ internal static RecognizeCanceled DeserializeRecognizeCanceled(JsonElement eleme { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } - return new RecognizeCanceled(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new RecognizeCanceled(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCanceled.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCanceled.cs index ad565aa3628f..dd4b1ec0937f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCanceled.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCanceled.cs @@ -16,18 +16,18 @@ internal RecognizeCanceled() } /// Initializes a new instance of . + /// + /// Contains the resulting SIP code/sub-code and message from NGC services. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal RecognizeCanceled(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal RecognizeCanceled(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCompletedInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCompletedInternal.Serialization.cs index 66ffd53946b7..d77a656a34d6 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCompletedInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCompletedInternal.Serialization.cs @@ -17,32 +17,17 @@ internal static RecognizeCompletedInternal DeserializeRecognizeCompletedInternal { return null; } - string callConnectionId = default; - string serverCallId = default; - string correlationId = default; string operationContext = default; ResultInformation resultInformation = default; CallMediaRecognitionType recognitionType = default; DtmfResult dtmfResult = default; - ChoiceResult choiceResult = default; SpeechResult speechResult = default; + ChoiceResult choiceResult = default; + string callConnectionId = default; + string serverCallId = default; + string correlationId = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) - { - callConnectionId = property.Value.GetString(); - continue; - } - if (property.NameEquals("serverCallId"u8)) - { - serverCallId = property.Value.GetString(); - continue; - } - if (property.NameEquals("correlationId"u8)) - { - correlationId = property.Value.GetString(); - continue; - } if (property.NameEquals("operationContext"u8)) { operationContext = property.Value.GetString(); @@ -75,35 +60,50 @@ internal static RecognizeCompletedInternal DeserializeRecognizeCompletedInternal dtmfResult = DtmfResult.DeserializeDtmfResult(property.Value); continue; } - if (property.NameEquals("choiceResult"u8)) + if (property.NameEquals("speechResult"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) { continue; } - choiceResult = ChoiceResult.DeserializeChoiceResult(property.Value); + speechResult = SpeechResult.DeserializeSpeechResult(property.Value); continue; } - if (property.NameEquals("speechResult"u8)) + if (property.NameEquals("choiceResult"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) { continue; } - speechResult = SpeechResult.DeserializeSpeechResult(property.Value); + choiceResult = ChoiceResult.DeserializeChoiceResult(property.Value); + continue; + } + if (property.NameEquals("callConnectionId"u8)) + { + callConnectionId = property.Value.GetString(); + continue; + } + if (property.NameEquals("serverCallId"u8)) + { + serverCallId = property.Value.GetString(); + continue; + } + if (property.NameEquals("correlationId"u8)) + { + correlationId = property.Value.GetString(); continue; } } return new RecognizeCompletedInternal( - callConnectionId, - serverCallId, - correlationId, operationContext, resultInformation, recognitionType, dtmfResult, + speechResult, choiceResult, - speechResult); + callConnectionId, + serverCallId, + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCompletedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCompletedInternal.cs index 3492a6c8ba21..eb632b5f7fb1 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCompletedInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeCompletedInternal.cs @@ -16,35 +16,35 @@ internal RecognizeCompletedInternal() } /// Initializes a new instance of . - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. + /// + /// Result information defines the code, subcode and message. /// /// Determines the sub-type of the recognize operation. /// In case of cancel operation the this field is not set and is returned empty /// /// Defines the result for RecognitionType = Dtmf. - /// Defines the result for RecognitionType = Choices. /// Defines the result for RecognitionType = Speech and SpeechOrDtmf. - internal RecognizeCompletedInternal(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation, CallMediaRecognitionType recognitionType, DtmfResult dtmfResult, ChoiceResult choiceResult, SpeechResult speechResult) + /// Defines the result for RecognitionType = Choices. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + internal RecognizeCompletedInternal(string operationContext, ResultInformation resultInformation, CallMediaRecognitionType recognitionType, DtmfResult dtmfResult, SpeechResult speechResult, ChoiceResult choiceResult, string callConnectionId, string serverCallId, string correlationId) { - CallConnectionId = callConnectionId; - ServerCallId = serverCallId; - CorrelationId = correlationId; OperationContext = operationContext; ResultInformation = resultInformation; RecognitionType = recognitionType; DtmfResult = dtmfResult; - ChoiceResult = choiceResult; SpeechResult = speechResult; + ChoiceResult = choiceResult; + CallConnectionId = callConnectionId; + ServerCallId = serverCallId; + CorrelationId = correlationId; } /// Defines the result for RecognitionType = Dtmf. public DtmfResult DtmfResult { get; } - /// Defines the result for RecognitionType = Choices. - public ChoiceResult ChoiceResult { get; } /// Defines the result for RecognitionType = Speech and SpeechOrDtmf. public SpeechResult SpeechResult { get; } + /// Defines the result for RecognitionType = Choices. + public ChoiceResult ChoiceResult { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeFailedInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeFailed.Serialization.cs similarity index 68% rename from sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeFailedInternal.Serialization.cs rename to sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeFailed.Serialization.cs index f8efe704a78f..5a94244ebcf8 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeFailedInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeFailed.Serialization.cs @@ -9,37 +9,21 @@ namespace Azure.Communication.CallAutomation { - internal partial class RecognizeFailedInternal + public partial class RecognizeFailed { - internal static RecognizeFailedInternal DeserializeRecognizeFailedInternal(JsonElement element) + internal static RecognizeFailed DeserializeRecognizeFailed(JsonElement element) { if (element.ValueKind == JsonValueKind.Null) { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; - int? failedPlaySourceIndex = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) - { - callConnectionId = property.Value.GetString(); - continue; - } - if (property.NameEquals("serverCallId"u8)) - { - serverCallId = property.Value.GetString(); - continue; - } - if (property.NameEquals("correlationId"u8)) - { - correlationId = property.Value.GetString(); - continue; - } if (property.NameEquals("operationContext"u8)) { operationContext = property.Value.GetString(); @@ -54,31 +38,31 @@ internal static RecognizeFailedInternal DeserializeRecognizeFailedInternal(JsonE resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("failedPlaySourceIndex"u8)) + if (property.NameEquals("callConnectionId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - failedPlaySourceIndex = property.Value.GetInt32(); + callConnectionId = property.Value.GetString(); + continue; + } + if (property.NameEquals("serverCallId"u8)) + { + serverCallId = property.Value.GetString(); + continue; + } + if (property.NameEquals("correlationId"u8)) + { + correlationId = property.Value.GetString(); continue; } } - return new RecognizeFailedInternal( - callConnectionId, - serverCallId, - correlationId, - operationContext, - resultInformation, - failedPlaySourceIndex); + return new RecognizeFailed(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static RecognizeFailedInternal FromResponse(Response response) + internal static RecognizeFailed FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeRecognizeFailedInternal(document.RootElement); + return DeserializeRecognizeFailed(document.RootElement); } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeFailed.cs new file mode 100644 index 000000000000..160ec6d4bff9 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeFailed.cs @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.Communication.CallAutomation +{ + /// The RecognizeFailed. + public partial class RecognizeFailed + { + /// Initializes a new instance of . + internal RecognizeFailed() + { + } + } +} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeFailedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeFailedInternal.cs deleted file mode 100644 index 62599fe20aa7..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeFailedInternal.cs +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallAutomation -{ - /// The RecognizeFailed. - internal partial class RecognizeFailedInternal - { - /// Initializes a new instance of . - internal RecognizeFailedInternal() - { - } - - /// Initializes a new instance of . - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - /// Contains the index of the failed play source. - internal RecognizeFailedInternal(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation, int? failedPlaySourceIndex) - { - CallConnectionId = callConnectionId; - ServerCallId = serverCallId; - CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; - FailedPlaySourceIndex = failedPlaySourceIndex; - } - /// Contains the index of the failed play source. - public int? FailedPlaySourceIndex { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeRequestInternal.Serialization.cs index aa8cc290a6c0..b1f605d222b3 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeRequestInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeRequestInternal.Serialization.cs @@ -22,16 +22,6 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("playPrompt"u8); writer.WriteObjectValue(PlayPrompt); } - if (Optional.IsCollectionDefined(PlayPrompts)) - { - writer.WritePropertyName("playPrompts"u8); - writer.WriteStartArray(); - foreach (var item in PlayPrompts) - { - writer.WriteObjectValue(item); - } - writer.WriteEndArray(); - } if (Optional.IsDefined(InterruptCallMediaOperation)) { writer.WritePropertyName("interruptCallMediaOperation"u8); diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeRequestInternal.cs index 385cde631fec..b1349072fc1f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecognizeRequestInternal.cs @@ -6,7 +6,6 @@ #nullable disable using System; -using System.Collections.Generic; namespace Azure.Communication.CallAutomation { @@ -22,14 +21,12 @@ public RecognizeRequestInternal(RecognizeInputType recognizeInputType, Recognize Argument.AssertNotNull(recognizeOptions, nameof(recognizeOptions)); RecognizeInputType = recognizeInputType; - PlayPrompts = new ChangeTrackingList(); RecognizeOptions = recognizeOptions; } /// Initializes a new instance of . /// Determines the type of the recognition. /// The source of the audio to be played for recognition. - /// The source of the audio to be played for recognition. /// If set recognize can barge into other existing queued-up/currently-processing requests. /// Defines options for recognition. /// The value to identify context of the operation. @@ -37,11 +34,10 @@ public RecognizeRequestInternal(RecognizeInputType recognizeInputType, Recognize /// 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. /// - internal RecognizeRequestInternal(RecognizeInputType recognizeInputType, PlaySourceInternal playPrompt, IList playPrompts, bool? interruptCallMediaOperation, RecognizeOptionsInternal recognizeOptions, string operationContext, string operationCallbackUri) + internal RecognizeRequestInternal(RecognizeInputType recognizeInputType, PlaySourceInternal playPrompt, bool? interruptCallMediaOperation, RecognizeOptionsInternal recognizeOptions, string operationContext, string operationCallbackUri) { RecognizeInputType = recognizeInputType; PlayPrompt = playPrompt; - PlayPrompts = playPrompts; InterruptCallMediaOperation = interruptCallMediaOperation; RecognizeOptions = recognizeOptions; OperationContext = operationContext; diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingChunkStorageInfo.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingChunkStorageInfo.Serialization.cs deleted file mode 100644 index 68194ad7fe44..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingChunkStorageInfo.Serialization.cs +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; - -namespace Azure.Communication.CallAutomation -{ - public partial class RecordingChunkStorageInfo - { - internal static RecordingChunkStorageInfo DeserializeRecordingChunkStorageInfo(JsonElement element) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - string documentId = default; - int? index = default; - ChunkEndReason? endReason = default; - string contentLocation = default; - string metadataLocation = default; - string deleteLocation = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("documentId"u8)) - { - documentId = property.Value.GetString(); - continue; - } - if (property.NameEquals("index"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - index = property.Value.GetInt32(); - continue; - } - if (property.NameEquals("endReason"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - endReason = new ChunkEndReason(property.Value.GetString()); - continue; - } - if (property.NameEquals("contentLocation"u8)) - { - contentLocation = property.Value.GetString(); - continue; - } - if (property.NameEquals("metadataLocation"u8)) - { - metadataLocation = property.Value.GetString(); - continue; - } - if (property.NameEquals("deleteLocation"u8)) - { - deleteLocation = property.Value.GetString(); - continue; - } - } - return new RecordingChunkStorageInfo( - documentId, - index, - endReason, - contentLocation, - metadataLocation, - deleteLocation); - } - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static RecordingChunkStorageInfo FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeRecordingChunkStorageInfo(document.RootElement); - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingChunkStorageInfo.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingChunkStorageInfo.cs deleted file mode 100644 index 564370223671..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingChunkStorageInfo.cs +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallAutomation -{ - /// Recording chunk data. - public partial class RecordingChunkStorageInfo - { - /// Initializes a new instance of . - internal RecordingChunkStorageInfo() - { - } - - /// Initializes a new instance of . - /// Chunk document id. - /// Chunks order in a multi chunk recording. - /// Reason this chunk ended. - /// Location of the chunk. - /// Location of chunk metadata. - /// Callback for deleting chunk. - internal RecordingChunkStorageInfo(string documentId, int? index, ChunkEndReason? endReason, string contentLocation, string metadataLocation, string deleteLocation) - { - DocumentId = documentId; - Index = index; - EndReason = endReason; - ContentLocation = contentLocation; - MetadataLocation = metadataLocation; - DeleteLocation = deleteLocation; - } - - /// Chunk document id. - public string DocumentId { get; } - /// Chunks order in a multi chunk recording. - public int? Index { get; } - /// Reason this chunk ended. - public ChunkEndReason? EndReason { get; } - /// Location of the chunk. - public string ContentLocation { get; } - /// Location of chunk metadata. - public string MetadataLocation { get; } - /// Callback for deleting chunk. - public string DeleteLocation { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingKind.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingKind.cs index 5aed85365821..562d055b719c 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingKind.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingKind.cs @@ -22,15 +22,15 @@ public RecordingKind(string value) _value = value ?? throw new ArgumentNullException(nameof(value)); } - private const string AzureCommunicationServicesValue = "AzureCommunicationServices"; - private const string TeamsValue = "Teams"; - private const string TeamsComplianceValue = "TeamsCompliance"; + private const string AzureCommunicationServicesValue = "azureCommunicationServices"; + private const string TeamsValue = "teams"; + private const string TeamsComplianceValue = "teamsCompliance"; - /// Recording initiated by Azure Communication Services. + /// azureCommunicationServices. public static RecordingKind AzureCommunicationServices { get; } = new RecordingKind(AzureCommunicationServicesValue); - /// Recording initiated by Teams user. + /// teams. public static RecordingKind Teams { get; } = new RecordingKind(TeamsValue); - /// Recording initiated by Teams compliance policy. + /// teamsCompliance. public static RecordingKind TeamsCompliance { get; } = new RecordingKind(TeamsComplianceValue); /// Determines if two values are the same. public static bool operator ==(RecordingKind left, RecordingKind right) => left.Equals(right); diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingResult.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingResult.Serialization.cs deleted file mode 100644 index 04f38f963032..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingResult.Serialization.cs +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; -using System.Text.Json; - -namespace Azure.Communication.CallAutomation -{ - public partial class RecordingResult - { - internal static RecordingResult DeserializeRecordingResult(JsonElement element) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - string recordingId = default; - RecordingStorageInfo recordingStorageInfo = default; - IReadOnlyList errors = default; - DateTimeOffset? recordingStartTime = default; - long? recordingDurationMs = default; - CallSessionEndReason? sessionEndReason = default; - DateTimeOffset? recordingExpirationTime = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("recordingId"u8)) - { - recordingId = property.Value.GetString(); - continue; - } - if (property.NameEquals("recordingStorageInfo"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - recordingStorageInfo = RecordingStorageInfo.DeserializeRecordingStorageInfo(property.Value); - continue; - } - if (property.NameEquals("errors"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(ErrorDetails.DeserializeErrorDetails(item)); - } - errors = array; - continue; - } - if (property.NameEquals("recordingStartTime"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - recordingStartTime = property.Value.GetDateTimeOffset("O"); - continue; - } - if (property.NameEquals("recordingDurationMs"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - recordingDurationMs = property.Value.GetInt64(); - continue; - } - if (property.NameEquals("sessionEndReason"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - sessionEndReason = new CallSessionEndReason(property.Value.GetString()); - continue; - } - if (property.NameEquals("recordingExpirationTime"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - recordingExpirationTime = property.Value.GetDateTimeOffset("O"); - continue; - } - } - return new RecordingResult( - recordingId, - recordingStorageInfo, - errors ?? new ChangeTrackingList(), - recordingStartTime, - recordingDurationMs, - sessionEndReason, - recordingExpirationTime); - } - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static RecordingResult FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeRecordingResult(document.RootElement); - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingResult.cs deleted file mode 100644 index 2349832b0482..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; - -namespace Azure.Communication.CallAutomation -{ - /// Recording result data. - public partial class RecordingResult - { - /// Initializes a new instance of . - internal RecordingResult() - { - Errors = new ChangeTrackingList(); - } - - /// Initializes a new instance of . - /// - /// Container for chunks. - /// - /// - /// - /// - /// - internal RecordingResult(string recordingId, RecordingStorageInfo recordingStorageInfo, IReadOnlyList errors, DateTimeOffset? recordingStartTime, long? recordingDurationMs, CallSessionEndReason? sessionEndReason, DateTimeOffset? recordingExpirationTime) - { - RecordingId = recordingId; - RecordingStorageInfo = recordingStorageInfo; - Errors = errors; - RecordingStartTime = recordingStartTime; - RecordingDurationMs = recordingDurationMs; - SessionEndReason = sessionEndReason; - RecordingExpirationTime = recordingExpirationTime; - } - - /// Gets the recording id. - public string RecordingId { get; } - /// Container for chunks. - public RecordingStorageInfo RecordingStorageInfo { get; } - /// Gets the errors. - public IReadOnlyList Errors { get; } - /// Gets the recording start time. - public DateTimeOffset? RecordingStartTime { get; } - /// Gets the recording duration ms. - public long? RecordingDurationMs { get; } - /// Gets the session end reason. - public CallSessionEndReason? SessionEndReason { get; } - /// Gets the recording expiration time. - public DateTimeOffset? RecordingExpirationTime { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStateChanged.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStateChanged.Serialization.cs index 2d1583c8e7be..9366d7db54ab 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStateChanged.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStateChanged.Serialization.cs @@ -18,31 +18,17 @@ internal static RecordingStateChanged DeserializeRecordingStateChanged(JsonEleme { return null; } - string callConnectionId = default; - string serverCallId = default; - string correlationId = default; string recordingId = default; RecordingState state = default; DateTimeOffset? startDateTime = default; RecordingKind? recordingKind = default; + string operationContext = default; ResultInformation resultInformation = default; + string callConnectionId = default; + string serverCallId = default; + string correlationId = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) - { - callConnectionId = property.Value.GetString(); - continue; - } - if (property.NameEquals("serverCallId"u8)) - { - serverCallId = property.Value.GetString(); - continue; - } - if (property.NameEquals("correlationId"u8)) - { - correlationId = property.Value.GetString(); - continue; - } if (property.NameEquals("recordingId"u8)) { recordingId = property.Value.GetString(); @@ -75,6 +61,11 @@ internal static RecordingStateChanged DeserializeRecordingStateChanged(JsonEleme recordingKind = new RecordingKind(property.Value.GetString()); continue; } + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } if (property.NameEquals("resultInformation"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -84,16 +75,32 @@ internal static RecordingStateChanged DeserializeRecordingStateChanged(JsonEleme resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } + if (property.NameEquals("callConnectionId"u8)) + { + callConnectionId = property.Value.GetString(); + continue; + } + if (property.NameEquals("serverCallId"u8)) + { + serverCallId = property.Value.GetString(); + continue; + } + if (property.NameEquals("correlationId"u8)) + { + correlationId = property.Value.GetString(); + continue; + } } return new RecordingStateChanged( - callConnectionId, - serverCallId, - correlationId, recordingId, state, startDateTime, recordingKind, - resultInformation); + operationContext, + resultInformation, + callConnectionId, + serverCallId, + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStateChanged.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStateChanged.cs index 615e36a463fc..3f9717084bc7 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStateChanged.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStateChanged.cs @@ -18,25 +18,28 @@ internal RecordingStateChanged() } /// Initializes a new instance of . - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. /// The call recording id. /// /// The time of the recording started. /// - /// Contains the resulting SIP code, sub-code and message. - internal RecordingStateChanged(string callConnectionId, string serverCallId, string correlationId, string recordingId, RecordingState state, DateTimeOffset? startDateTime, RecordingKind? recordingKind, ResultInformation resultInformation) + /// 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. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + internal RecordingStateChanged(string recordingId, RecordingState state, DateTimeOffset? startDateTime, RecordingKind? recordingKind, string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { - CallConnectionId = callConnectionId; - ServerCallId = serverCallId; - CorrelationId = correlationId; RecordingId = recordingId; State = state; StartDateTime = startDateTime; RecordingKind = recordingKind; + OperationContext = operationContext; ResultInformation = resultInformation; + CallConnectionId = callConnectionId; + ServerCallId = serverCallId; + CorrelationId = correlationId; } + /// The call recording id. public string RecordingId { get; } /// The time of the recording started. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageInfo.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageInfo.Serialization.cs deleted file mode 100644 index da22626ec96f..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageInfo.Serialization.cs +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; -using System.Text.Json; - -namespace Azure.Communication.CallAutomation -{ - public partial class RecordingStorageInfo - { - internal static RecordingStorageInfo DeserializeRecordingStorageInfo(JsonElement element) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - IReadOnlyList recordingChunks = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("recordingChunks"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(RecordingChunkStorageInfo.DeserializeRecordingChunkStorageInfo(item)); - } - recordingChunks = array; - continue; - } - } - return new RecordingStorageInfo(recordingChunks ?? new ChangeTrackingList()); - } - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static RecordingStorageInfo FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeRecordingStorageInfo(document.RootElement); - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageInfo.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageInfo.cs deleted file mode 100644 index 439d9ec238eb..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageInfo.cs +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; - -namespace Azure.Communication.CallAutomation -{ - /// Container for chunks. - public partial class RecordingStorageInfo - { - /// Initializes a new instance of . - internal RecordingStorageInfo() - { - RecordingChunks = new ChangeTrackingList(); - } - - /// Initializes a new instance of . - /// Collection of {Microsoft.Skype.Platform.ExecutionAgent.Azure.Communication.Service.ServerCalling.Content.Contracts.ALPHA4_2024_09_01_preview.Models.RecordingChunkStorageInfo}. - internal RecordingStorageInfo(IReadOnlyList recordingChunks) - { - RecordingChunks = recordingChunks; - } - - /// Collection of {Microsoft.Skype.Platform.ExecutionAgent.Azure.Communication.Service.ServerCalling.Content.Contracts.ALPHA4_2024_09_01_preview.Models.RecordingChunkStorageInfo}. - public IReadOnlyList RecordingChunks { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageInternal.Serialization.cs deleted file mode 100644 index 356e67dd6875..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageInternal.Serialization.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - internal partial class RecordingStorageInternal : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - writer.WritePropertyName("recordingStorageKind"u8); - writer.WriteStringValue(RecordingStorageKind.ToString()); - if (Optional.IsDefined(RecordingDestinationContainerUrl)) - { - writer.WritePropertyName("recordingDestinationContainerUrl"u8); - writer.WriteStringValue(RecordingDestinationContainerUrl.AbsoluteUri); - } - writer.WriteEndObject(); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this); - return content; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageInternal.cs deleted file mode 100644 index 35201386b1c1..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageInternal.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; - -namespace Azure.Communication.CallAutomation -{ - /// The ExternalStorage. - internal partial class RecordingStorageInternal - { - /// Initializes a new instance of . - /// Defines the kind of external storage. - public RecordingStorageInternal(RecordingStorageKind recordingStorageKind) - { - RecordingStorageKind = recordingStorageKind; - } - - /// Initializes a new instance of . - /// Defines the kind of external storage. - /// Uri of a container or a location within a container. - internal RecordingStorageInternal(RecordingStorageKind recordingStorageKind, Uri recordingDestinationContainerUrl) - { - RecordingStorageKind = recordingStorageKind; - RecordingDestinationContainerUrl = recordingDestinationContainerUrl; - } - - /// Defines the kind of external storage. - public RecordingStorageKind RecordingStorageKind { get; } - /// Uri of a container or a location within a container. - public Uri RecordingDestinationContainerUrl { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageKind.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageKind.cs deleted file mode 100644 index 7393cf71c80a..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RecordingStorageKind.cs +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ComponentModel; - -namespace Azure.Communication.CallAutomation -{ - /// Defines the kind of external storage. - public readonly partial struct RecordingStorageKind : IEquatable - { - private readonly string _value; - - /// Initializes a new instance of . - /// is null. - public RecordingStorageKind(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - private const string AzureCommunicationServicesValue = "AzureCommunicationServices"; - private const string AzureBlobStorageValue = "AzureBlobStorage"; - - /// Storage managed by Azure Communication Services. - public static RecordingStorageKind AzureCommunicationServices { get; } = new RecordingStorageKind(AzureCommunicationServicesValue); - /// Storage managed by provided Azure blob. - public static RecordingStorageKind AzureBlobStorage { get; } = new RecordingStorageKind(AzureBlobStorageValue); - /// Determines if two values are the same. - public static bool operator ==(RecordingStorageKind left, RecordingStorageKind right) => left.Equals(right); - /// Determines if two values are not the same. - public static bool operator !=(RecordingStorageKind left, RecordingStorageKind right) => !left.Equals(right); - /// Converts a to a . - public static implicit operator RecordingStorageKind(string value) => new RecordingStorageKind(value); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is RecordingStorageKind other && Equals(other); - /// - public bool Equals(RecordingStorageKind other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; - /// - public override string ToString() => _value; - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RedirectCallRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RedirectCallRequestInternal.Serialization.cs index 32eaa36dd811..09a29b4fcc44 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RedirectCallRequestInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RedirectCallRequestInternal.Serialization.cs @@ -19,11 +19,6 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteStringValue(IncomingCallContext); writer.WritePropertyName("target"u8); writer.WriteObjectValue(Target); - if (Optional.IsDefined(CustomCallingContext)) - { - writer.WritePropertyName("customCallingContext"u8); - writer.WriteObjectValue(CustomCallingContext); - } writer.WriteEndObject(); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RedirectCallRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RedirectCallRequestInternal.cs index 0c6e839d0324..b641ba8a3977 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RedirectCallRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/RedirectCallRequestInternal.cs @@ -25,22 +25,9 @@ public RedirectCallRequestInternal(string incomingCallContext, CommunicationIden Target = target; } - /// Initializes a new instance of . - /// The context associated with the call. - /// The target identity to redirect the call to. - /// Used by customer to send custom calling context to targets. - internal RedirectCallRequestInternal(string incomingCallContext, CommunicationIdentifierModel target, CustomCallingContextInternal customCallingContext) - { - IncomingCallContext = incomingCallContext; - Target = target; - CustomCallingContext = customCallingContext; - } - /// The context associated with the call. public string IncomingCallContext { get; } /// The target identity to redirect the call to. public CommunicationIdentifierModel Target { get; } - /// Used by customer to send custom calling context to targets. - public CustomCallingContextInternal CustomCallingContext { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesCompletedInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesCompletedInternal.Serialization.cs index 1edfaa820266..a7d8e26b54da 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesCompletedInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesCompletedInternal.Serialization.cs @@ -17,44 +17,44 @@ internal static SendDtmfTonesCompletedInternal DeserializeSendDtmfTonesCompleted { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } - return new SendDtmfTonesCompletedInternal(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new SendDtmfTonesCompletedInternal(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesCompletedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesCompletedInternal.cs index 0d7ed430172d..27d8481505b5 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesCompletedInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesCompletedInternal.cs @@ -16,29 +16,29 @@ internal SendDtmfTonesCompletedInternal() } /// Initializes a new instance of . + /// + /// /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal SendDtmfTonesCompletedInternal(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal SendDtmfTonesCompletedInternal(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } + /// Gets the operation context. + public string OperationContext { get; } + /// Gets the result information. + public ResultInformation ResultInformation { get; } /// Call connection ID. public string CallConnectionId { get; } /// Server call ID. public string ServerCallId { get; } /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. public string CorrelationId { get; } - /// Used by customers when calling mid-call actions to correlate the request to the response event. - public string OperationContext { get; } - /// Contains the resulting SIP code, sub-code and message. - public ResultInformation ResultInformation { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesFailedInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesFailedInternal.Serialization.cs index ee48389c5822..623eb7e15d15 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesFailedInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesFailedInternal.Serialization.cs @@ -17,44 +17,44 @@ internal static SendDtmfTonesFailedInternal DeserializeSendDtmfTonesFailedIntern { return null; } + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callConnectionId"u8)) + if (property.NameEquals("operationContext"u8)) { - callConnectionId = property.Value.GetString(); + operationContext = property.Value.GetString(); continue; } - if (property.NameEquals("serverCallId"u8)) + if (property.NameEquals("resultInformation"u8)) { - serverCallId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("callConnectionId"u8)) { - correlationId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) + if (property.NameEquals("serverCallId"u8)) { - operationContext = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("resultInformation"u8)) + if (property.NameEquals("correlationId"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + correlationId = property.Value.GetString(); continue; } } - return new SendDtmfTonesFailedInternal(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new SendDtmfTonesFailedInternal(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesFailedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesFailedInternal.cs index e416f3434cd8..921d432aea55 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesFailedInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SendDtmfTonesFailedInternal.cs @@ -16,29 +16,29 @@ internal SendDtmfTonesFailedInternal() } /// Initializes a new instance of . + /// + /// /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal SendDtmfTonesFailedInternal(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal SendDtmfTonesFailedInternal(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } + /// Gets the operation context. + public string OperationContext { get; } + /// Gets the result information. + public ResultInformation ResultInformation { get; } /// Call connection ID. public string CallConnectionId { get; } /// Server call ID. public string ServerCallId { get; } /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. public string CorrelationId { get; } - /// Used by customers when calling mid-call actions to correlate the request to the response event. - public string OperationContext { get; } - /// Contains the resulting SIP code, sub-code and message. - public ResultInformation ResultInformation { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SpeechResult.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SpeechResult.Serialization.cs index e0ad28b14740..c14786d1d6b1 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SpeechResult.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SpeechResult.Serialization.cs @@ -18,7 +18,6 @@ internal static SpeechResult DeserializeSpeechResult(JsonElement element) return null; } string speech = default; - double? confidence = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("speech"u8)) @@ -26,17 +25,8 @@ internal static SpeechResult DeserializeSpeechResult(JsonElement element) speech = property.Value.GetString(); continue; } - if (property.NameEquals("confidence"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - confidence = property.Value.GetDouble(); - continue; - } } - return new SpeechResult(speech, confidence); + return new SpeechResult(speech); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SpeechResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SpeechResult.cs index 9e56ef3153bf..5ebcb61e3f2f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SpeechResult.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SpeechResult.cs @@ -7,7 +7,7 @@ namespace Azure.Communication.CallAutomation { - /// The speech status as a result. + /// The speech recognition status as a result. public partial class SpeechResult { /// Initializes a new instance of . @@ -17,16 +17,12 @@ internal SpeechResult() /// Initializes a new instance of . /// The recognized speech in string. - /// The confidence of the recognized speech. - internal SpeechResult(string speech, double? confidence) + internal SpeechResult(string speech) { Speech = speech; - Confidence = confidence; } /// The recognized speech in string. public string Speech { get; } - /// The confidence of the recognized speech. - public double? Confidence { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartCallRecordingRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartCallRecordingRequestInternal.Serialization.cs index 3e5713a9e3a9..dff80cb59ea4 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartCallRecordingRequestInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartCallRecordingRequestInternal.Serialization.cs @@ -70,16 +70,6 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("pauseOnStart"u8); writer.WriteBooleanValue(PauseOnStart.Value); } - if (Optional.IsDefined(ExternalStorage)) - { - writer.WritePropertyName("externalStorage"u8); - writer.WriteObjectValue(ExternalStorage); - } - if (Optional.IsDefined(PostProcessingOptions)) - { - writer.WritePropertyName("postProcessingOptions"u8); - writer.WriteObjectValue(PostProcessingOptions); - } writer.WriteEndObject(); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartCallRecordingRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartCallRecordingRequestInternal.cs index 5161464fff3f..4679c25d785f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartCallRecordingRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartCallRecordingRequestInternal.cs @@ -21,7 +21,7 @@ public StartCallRecordingRequestInternal() /// Initializes a new instance of . /// The call locator. (Only one of callLocator or callConnectionId to be used). - /// The call connectionId. (Only one of callLocator or callConnectionId to be used). + /// The call connection Id. (Only one of callLocator or callConnectionId to be used). /// The uri to send notifications to. /// The content type of call recording. /// The channel type of call recording. @@ -38,10 +38,8 @@ public StartCallRecordingRequestInternal() /// Channel-Participant mapping details can be found in the metadata of the recording. /// /// /// - /// When set to true will start recording in Pause mode, which can be resumed. - /// Optional property to specify location where recording will be stored. - /// The post processing options for the recording. - internal StartCallRecordingRequestInternal(CallLocatorInternal callLocator, string callConnectionId, string recordingStateCallbackUri, RecordingContent? recordingContentType, RecordingChannel? recordingChannelType, RecordingFormat? recordingFormatType, IList audioChannelParticipantOrdering, IList channelAffinity, bool? pauseOnStart, RecordingStorageInternal externalStorage, PostProcessingOptions postProcessingOptions) + /// When set to true will start recording in Pause mode, which could be resumed. + internal StartCallRecordingRequestInternal(CallLocatorInternal callLocator, string callConnectionId, string recordingStateCallbackUri, RecordingContent? recordingContentType, RecordingChannel? recordingChannelType, RecordingFormat? recordingFormatType, IList audioChannelParticipantOrdering, IList channelAffinity, bool? pauseOnStart) { CallLocator = callLocator; CallConnectionId = callConnectionId; @@ -52,13 +50,11 @@ internal StartCallRecordingRequestInternal(CallLocatorInternal callLocator, stri AudioChannelParticipantOrdering = audioChannelParticipantOrdering; ChannelAffinity = channelAffinity; PauseOnStart = pauseOnStart; - ExternalStorage = externalStorage; - PostProcessingOptions = postProcessingOptions; } /// The call locator. (Only one of callLocator or callConnectionId to be used). public CallLocatorInternal CallLocator { get; set; } - /// The call connectionId. (Only one of callLocator or callConnectionId to be used). + /// The call connection Id. (Only one of callLocator or callConnectionId to be used). public string CallConnectionId { get; set; } /// The uri to send notifications to. public string RecordingStateCallbackUri { get; set; } @@ -82,11 +78,7 @@ internal StartCallRecordingRequestInternal(CallLocatorInternal callLocator, stri /// /// /// public IList ChannelAffinity { get; } - /// When set to true will start recording in Pause mode, which can be resumed. + /// When set to true will start recording in Pause mode, which could be resumed. public bool? PauseOnStart { get; set; } - /// Optional property to specify location where recording will be stored. - public RecordingStorageInternal ExternalStorage { get; set; } - /// The post processing options for the recording. - public PostProcessingOptions PostProcessingOptions { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartDialogRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartDialogRequestInternal.cs index 20ab99dd9c3b..3d17b13459d2 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartDialogRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartDialogRequestInternal.cs @@ -16,7 +16,7 @@ internal partial class StartDialogRequestInternal /// /// Defines the dialog. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include and . + /// The available derived classes include . /// /// is null. public StartDialogRequestInternal(BaseDialog dialog) @@ -30,7 +30,7 @@ public StartDialogRequestInternal(BaseDialog dialog) /// /// Defines the dialog. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include and . + /// The available derived classes include . /// /// /// Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. @@ -47,7 +47,7 @@ internal StartDialogRequestInternal(BaseDialog dialog, string operationCallbackU /// /// Defines the dialog. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include and . + /// The available derived classes include . /// public BaseDialog Dialog { get; } /// diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartRecordingFailed.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartRecordingFailed.Serialization.cs index 89ae81304165..83de6af07ddb 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartRecordingFailed.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartRecordingFailed.Serialization.cs @@ -17,28 +17,56 @@ internal static StartRecordingFailed DeserializeStartRecordingFailed(JsonElement { return null; } + string recordingId = default; + string operationContext = default; + ResultInformation resultInformation = default; string callConnectionId = default; + string serverCallId = default; string correlationId = default; - string recordingId = default; foreach (var property in element.EnumerateObject()) { + if (property.NameEquals("recordingId"u8)) + { + recordingId = property.Value.GetString(); + continue; + } + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } + if (property.NameEquals("resultInformation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + continue; + } if (property.NameEquals("callConnectionId"u8)) { callConnectionId = property.Value.GetString(); continue; } - if (property.NameEquals("correlationId"u8)) + if (property.NameEquals("serverCallId"u8)) { - correlationId = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } - if (property.NameEquals("recordingId"u8)) + if (property.NameEquals("correlationId"u8)) { - recordingId = property.Value.GetString(); + correlationId = property.Value.GetString(); continue; } } - return new StartRecordingFailed(callConnectionId, correlationId, recordingId); + return new StartRecordingFailed( + recordingId, + operationContext, + resultInformation, + callConnectionId, + serverCallId, + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartRecordingFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartRecordingFailed.cs index 16d5303f1b06..b9eec79fe0fe 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartRecordingFailed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartRecordingFailed.cs @@ -16,16 +16,23 @@ internal StartRecordingFailed() } /// Initializes a new instance of . + /// The call recording Id. + /// + /// Result information defines the code, subcode and message. /// Call connection ID. - /// Correlation ID for event to call correlation. - /// The call recording id. - internal StartRecordingFailed(string callConnectionId, string correlationId, string recordingId) + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + internal StartRecordingFailed(string recordingId, string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { + RecordingId = recordingId; + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; + ServerCallId = serverCallId; CorrelationId = correlationId; - RecordingId = recordingId; } - /// The call recording id. + + /// The call recording Id. public string RecordingId { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartTranscriptionRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartTranscriptionRequestInternal.Serialization.cs index a9f32c8180d3..297f08fb1e8f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartTranscriptionRequestInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartTranscriptionRequestInternal.Serialization.cs @@ -20,21 +20,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("locale"u8); writer.WriteStringValue(Locale); } - if (Optional.IsDefined(SpeechModelEndpointId)) - { - writer.WritePropertyName("speechModelEndpointId"u8); - writer.WriteStringValue(SpeechModelEndpointId); - } if (Optional.IsDefined(OperationContext)) { writer.WritePropertyName("operationContext"u8); writer.WriteStringValue(OperationContext); } - if (Optional.IsDefined(OperationCallbackUri)) - { - writer.WritePropertyName("operationCallbackUri"u8); - writer.WriteStringValue(OperationCallbackUri); - } writer.WriteEndObject(); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartTranscriptionRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartTranscriptionRequestInternal.cs index 48a26ef12d43..66e0e10735a0 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartTranscriptionRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StartTranscriptionRequestInternal.cs @@ -17,30 +17,16 @@ public StartTranscriptionRequestInternal() /// Initializes a new instance of . /// Defines Locale for the transcription e,g en-US. - /// Endpoint where the custom model was deployed. /// The value to identify context of the operation. - /// - /// 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. - /// - internal StartTranscriptionRequestInternal(string locale, string speechModelEndpointId, string operationContext, string operationCallbackUri) + internal StartTranscriptionRequestInternal(string locale, string operationContext) { Locale = locale; - SpeechModelEndpointId = speechModelEndpointId; OperationContext = operationContext; - OperationCallbackUri = operationCallbackUri; } /// Defines Locale for the transcription e,g en-US. public string Locale { get; set; } - /// Endpoint where the custom model was deployed. - public string SpeechModelEndpointId { get; set; } /// The value to identify context of the operation. public string OperationContext { get; set; } - /// - /// 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. - /// - public string OperationCallbackUri { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StopTranscriptionRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StopTranscriptionRequestInternal.Serialization.cs index 5fb29980b922..2ed80f343f88 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StopTranscriptionRequestInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StopTranscriptionRequestInternal.Serialization.cs @@ -20,11 +20,6 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("operationContext"u8); writer.WriteStringValue(OperationContext); } - if (Optional.IsDefined(OperationCallbackUri)) - { - writer.WritePropertyName("operationCallbackUri"u8); - writer.WriteStringValue(OperationCallbackUri); - } writer.WriteEndObject(); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StopTranscriptionRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StopTranscriptionRequestInternal.cs index 4e4376055599..b7155839ed26 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StopTranscriptionRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/StopTranscriptionRequestInternal.cs @@ -17,22 +17,12 @@ public StopTranscriptionRequestInternal() /// Initializes a new instance of . /// The value to identify context of the operation. - /// - /// 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. - /// - internal StopTranscriptionRequestInternal(string operationContext, string operationCallbackUri) + internal StopTranscriptionRequestInternal(string operationContext) { OperationContext = operationContext; - OperationCallbackUri = operationCallbackUri; } /// The value to identify context of the operation. public string OperationContext { get; set; } - /// - /// 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. - /// - public string OperationCallbackUri { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SummarizationSettings.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SummarizationSettings.Serialization.cs deleted file mode 100644 index aa6c3d007bf6..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SummarizationSettings.Serialization.cs +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - public partial class SummarizationSettings : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - writer.WritePropertyName("enableSummarization"u8); - writer.WriteBooleanValue(EnableSummarization); - writer.WriteEndObject(); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this); - return content; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SummarizationSettings.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SummarizationSettings.cs deleted file mode 100644 index 5041629e98a9..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/SummarizationSettings.cs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallAutomation -{ - /// The Summarization. - public partial class SummarizationSettings - { - /// Initializes a new instance of . - /// Determine if the summarization should be enabled for the post recording processing. - public SummarizationSettings(bool enableSummarization) - { - EnableSummarization = enableSummarization; - } - - /// Determine if the summarization should be enabled for the post recording processing. - public bool EnableSummarization { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsExtensionUserIdentifierModel.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsExtensionUserIdentifierModel.Serialization.cs index 1463137821af..042cf23844e4 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsExtensionUserIdentifierModel.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsExtensionUserIdentifierModel.Serialization.cs @@ -6,11 +6,12 @@ #nullable disable using System.Text.Json; +using Azure.Communication.CallAutomation; using Azure.Core; -namespace Azure.Communication.CallAutomation +namespace Azure.Communication { - public partial class TeamsExtensionUserIdentifierModel : IUtf8JsonSerializable + internal partial class TeamsExtensionUserIdentifierModel : IUtf8JsonSerializable { void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { @@ -21,7 +22,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteStringValue(TenantId); writer.WritePropertyName("resourceId"u8); writer.WriteStringValue(ResourceId); - if (Optional.IsDefined(Cloud)) + if (CallAutomation.Optional.IsDefined(Cloud)) { writer.WritePropertyName("cloud"u8); writer.WriteStringValue(Cloud.Value.ToString()); @@ -80,7 +81,7 @@ internal static TeamsExtensionUserIdentifierModel FromResponse(Response response /// Convert into a . internal virtual RequestContent ToRequestContent() { - var content = new Utf8JsonRequestContent(); + var content = new CallAutomation.Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(this); return content; } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsExtensionUserIdentifierModel.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsExtensionUserIdentifierModel.cs index 3d491b81cd10..ff82e308bcc9 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsExtensionUserIdentifierModel.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsExtensionUserIdentifierModel.cs @@ -6,11 +6,12 @@ #nullable disable using System; +using Azure.Communication.CallAutomation; -namespace Azure.Communication.CallAutomation +namespace Azure.Communication { /// A Microsoft Teams Phone user who is using a Communication Services resource to extend their Teams Phone set up. - public partial class TeamsExtensionUserIdentifierModel + internal partial class TeamsExtensionUserIdentifierModel { /// Initializes a new instance of . /// The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user. @@ -47,5 +48,7 @@ internal TeamsExtensionUserIdentifierModel(string userId, string tenantId, strin public string TenantId { get; set; } /// The Communication Services resource Id. public string ResourceId { get; set; } + /// The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing. + public CommunicationCloudEnvironmentModel? Cloud { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneCallDetailsInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneCallDetailsInternal.Serialization.cs deleted file mode 100644 index 05e3edf28191..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneCallDetailsInternal.Serialization.cs +++ /dev/null @@ -1,165 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - internal partial class TeamsPhoneCallDetailsInternal : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - if (Optional.IsDefined(TeamsPhoneCallerDetails)) - { - writer.WritePropertyName("teamsPhoneCallerDetails"u8); - writer.WriteObjectValue(TeamsPhoneCallerDetails); - } - if (Optional.IsDefined(TeamsPhoneSourceDetails)) - { - writer.WritePropertyName("teamsPhoneSourceDetails"u8); - writer.WriteObjectValue(TeamsPhoneSourceDetails); - } - if (Optional.IsDefined(SessionId)) - { - writer.WritePropertyName("sessionId"u8); - writer.WriteStringValue(SessionId); - } - if (Optional.IsDefined(Intent)) - { - writer.WritePropertyName("intent"u8); - writer.WriteStringValue(Intent); - } - if (Optional.IsDefined(CallTopic)) - { - writer.WritePropertyName("callTopic"u8); - writer.WriteStringValue(CallTopic); - } - if (Optional.IsDefined(CallContext)) - { - writer.WritePropertyName("callContext"u8); - writer.WriteStringValue(CallContext); - } - if (Optional.IsDefined(TranscriptUrl)) - { - writer.WritePropertyName("transcriptUrl"u8); - writer.WriteStringValue(TranscriptUrl); - } - if (Optional.IsDefined(CallSentiment)) - { - writer.WritePropertyName("callSentiment"u8); - writer.WriteStringValue(CallSentiment); - } - if (Optional.IsDefined(SuggestedActions)) - { - writer.WritePropertyName("suggestedActions"u8); - writer.WriteStringValue(SuggestedActions); - } - writer.WriteEndObject(); - } - - internal static TeamsPhoneCallDetailsInternal DeserializeTeamsPhoneCallDetailsInternal(JsonElement element) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - TeamsPhoneCallerDetailsInternal teamsPhoneCallerDetails = default; - TeamsPhoneSourceDetailsInternal teamsPhoneSourceDetails = default; - string sessionId = default; - string intent = default; - string callTopic = default; - string callContext = default; - string transcriptUrl = default; - string callSentiment = default; - string suggestedActions = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("teamsPhoneCallerDetails"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - teamsPhoneCallerDetails = TeamsPhoneCallerDetailsInternal.DeserializeTeamsPhoneCallerDetailsInternal(property.Value); - continue; - } - if (property.NameEquals("teamsPhoneSourceDetails"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - teamsPhoneSourceDetails = TeamsPhoneSourceDetailsInternal.DeserializeTeamsPhoneSourceDetailsInternal(property.Value); - continue; - } - if (property.NameEquals("sessionId"u8)) - { - sessionId = property.Value.GetString(); - continue; - } - if (property.NameEquals("intent"u8)) - { - intent = property.Value.GetString(); - continue; - } - if (property.NameEquals("callTopic"u8)) - { - callTopic = property.Value.GetString(); - continue; - } - if (property.NameEquals("callContext"u8)) - { - callContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("transcriptUrl"u8)) - { - transcriptUrl = property.Value.GetString(); - continue; - } - if (property.NameEquals("callSentiment"u8)) - { - callSentiment = property.Value.GetString(); - continue; - } - if (property.NameEquals("suggestedActions"u8)) - { - suggestedActions = property.Value.GetString(); - continue; - } - } - return new TeamsPhoneCallDetailsInternal( - teamsPhoneCallerDetails, - teamsPhoneSourceDetails, - sessionId, - intent, - callTopic, - callContext, - transcriptUrl, - callSentiment, - suggestedActions); - } - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static TeamsPhoneCallDetailsInternal FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeTeamsPhoneCallDetailsInternal(document.RootElement); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this); - return content; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneCallDetailsInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneCallDetailsInternal.cs deleted file mode 100644 index 949624a647e3..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneCallDetailsInternal.cs +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallAutomation -{ - /// The call details which will be sent to the target. - internal partial class TeamsPhoneCallDetailsInternal - { - /// Initializes a new instance of . - public TeamsPhoneCallDetailsInternal() - { - } - - /// Initializes a new instance of . - /// Container for details relating to the original caller of the call. - /// Container for details relating to the entity responsible for the creation of these call details. - /// Id to exclusively identify this call session. IVR will use this for their telemetry/reporting. - /// The intent of the call. - /// A very short description (max 48 chars) of the reason for the call. To be displayed in Teams CallNotification. - /// A summary of the call thus far. It will be displayed on a side panel in the Teams UI. - /// Url for fetching the transcript of the call. - /// Sentiment of the call thus far. - /// Recommendations for resolving the issue based on the customer’s intent and interaction history. - internal TeamsPhoneCallDetailsInternal(TeamsPhoneCallerDetailsInternal teamsPhoneCallerDetails, TeamsPhoneSourceDetailsInternal teamsPhoneSourceDetails, string sessionId, string intent, string callTopic, string callContext, string transcriptUrl, string callSentiment, string suggestedActions) - { - TeamsPhoneCallerDetails = teamsPhoneCallerDetails; - TeamsPhoneSourceDetails = teamsPhoneSourceDetails; - SessionId = sessionId; - Intent = intent; - CallTopic = callTopic; - CallContext = callContext; - TranscriptUrl = transcriptUrl; - CallSentiment = callSentiment; - SuggestedActions = suggestedActions; - } - - /// Container for details relating to the original caller of the call. - public TeamsPhoneCallerDetailsInternal TeamsPhoneCallerDetails { get; set; } - /// Container for details relating to the entity responsible for the creation of these call details. - public TeamsPhoneSourceDetailsInternal TeamsPhoneSourceDetails { get; set; } - /// Id to exclusively identify this call session. IVR will use this for their telemetry/reporting. - public string SessionId { get; set; } - /// The intent of the call. - public string Intent { get; set; } - /// A very short description (max 48 chars) of the reason for the call. To be displayed in Teams CallNotification. - public string CallTopic { get; set; } - /// A summary of the call thus far. It will be displayed on a side panel in the Teams UI. - public string CallContext { get; set; } - /// Url for fetching the transcript of the call. - public string TranscriptUrl { get; set; } - /// Sentiment of the call thus far. - public string CallSentiment { get; set; } - /// Recommendations for resolving the issue based on the customer’s intent and interaction history. - public string SuggestedActions { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneCallerDetailsInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneCallerDetailsInternal.Serialization.cs deleted file mode 100644 index 3c4bd34dc19a..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneCallerDetailsInternal.Serialization.cs +++ /dev/null @@ -1,144 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - internal partial class TeamsPhoneCallerDetailsInternal : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - writer.WritePropertyName("caller"u8); - writer.WriteObjectValue(Caller); - writer.WritePropertyName("name"u8); - writer.WriteStringValue(Name); - writer.WritePropertyName("phoneNumber"u8); - writer.WriteStringValue(PhoneNumber); - if (Optional.IsDefined(RecordId)) - { - writer.WritePropertyName("recordId"u8); - writer.WriteStringValue(RecordId); - } - if (Optional.IsDefined(ScreenPopUrl)) - { - writer.WritePropertyName("screenPopUrl"u8); - writer.WriteStringValue(ScreenPopUrl); - } - if (Optional.IsDefined(IsAuthenticated)) - { - writer.WritePropertyName("isAuthenticated"u8); - writer.WriteBooleanValue(IsAuthenticated.Value); - } - if (Optional.IsCollectionDefined(AdditionalCallerInformation)) - { - writer.WritePropertyName("additionalCallerInformation"u8); - writer.WriteStartObject(); - foreach (var item in AdditionalCallerInformation) - { - writer.WritePropertyName(item.Key); - writer.WriteStringValue(item.Value); - } - writer.WriteEndObject(); - } - writer.WriteEndObject(); - } - - internal static TeamsPhoneCallerDetailsInternal DeserializeTeamsPhoneCallerDetailsInternal(JsonElement element) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - CommunicationIdentifierModel caller = default; - string name = default; - string phoneNumber = default; - string recordId = default; - string screenPopUrl = default; - bool? isAuthenticated = default; - IDictionary additionalCallerInformation = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("caller"u8)) - { - caller = CommunicationIdentifierModel.DeserializeCommunicationIdentifierModel(property.Value); - continue; - } - if (property.NameEquals("name"u8)) - { - name = property.Value.GetString(); - continue; - } - if (property.NameEquals("phoneNumber"u8)) - { - phoneNumber = property.Value.GetString(); - continue; - } - if (property.NameEquals("recordId"u8)) - { - recordId = property.Value.GetString(); - continue; - } - if (property.NameEquals("screenPopUrl"u8)) - { - screenPopUrl = property.Value.GetString(); - continue; - } - if (property.NameEquals("isAuthenticated"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - isAuthenticated = property.Value.GetBoolean(); - continue; - } - if (property.NameEquals("additionalCallerInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - dictionary.Add(property0.Name, property0.Value.GetString()); - } - additionalCallerInformation = dictionary; - continue; - } - } - return new TeamsPhoneCallerDetailsInternal( - caller, - name, - phoneNumber, - recordId, - screenPopUrl, - isAuthenticated, - additionalCallerInformation ?? new ChangeTrackingDictionary()); - } - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static TeamsPhoneCallerDetailsInternal FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeTeamsPhoneCallerDetailsInternal(document.RootElement); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this); - return content; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneCallerDetailsInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneCallerDetailsInternal.cs deleted file mode 100644 index 6b23c9190c58..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneCallerDetailsInternal.cs +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; - -namespace Azure.Communication.CallAutomation -{ - /// Container for details relating to the original caller of the call. - internal partial class TeamsPhoneCallerDetailsInternal - { - /// Initializes a new instance of . - /// Caller's ID. - /// Caller's name. - /// Caller's phone number. - /// , or is null. - public TeamsPhoneCallerDetailsInternal(CommunicationIdentifierModel caller, string name, string phoneNumber) - { - Argument.AssertNotNull(caller, nameof(caller)); - Argument.AssertNotNull(name, nameof(name)); - Argument.AssertNotNull(phoneNumber, nameof(phoneNumber)); - - Caller = caller; - Name = name; - PhoneNumber = phoneNumber; - AdditionalCallerInformation = new ChangeTrackingDictionary(); - } - - /// Initializes a new instance of . - /// Caller's ID. - /// Caller's name. - /// Caller's phone number. - /// Caller's record ID (ex in CRM). - /// Caller's screen pop URL. - /// Flag indicating whether the caller was authenticated. - /// A set of key value pairs (max 10, any additional entries would be ignored) which a bot author wants to pass to the Teams Client for display to the agent. - internal TeamsPhoneCallerDetailsInternal(CommunicationIdentifierModel caller, string name, string phoneNumber, string recordId, string screenPopUrl, bool? isAuthenticated, IDictionary additionalCallerInformation) - { - Caller = caller; - Name = name; - PhoneNumber = phoneNumber; - RecordId = recordId; - ScreenPopUrl = screenPopUrl; - IsAuthenticated = isAuthenticated; - AdditionalCallerInformation = additionalCallerInformation; - } - - /// Caller's ID. - public CommunicationIdentifierModel Caller { get; set; } - /// Caller's name. - public string Name { get; set; } - /// Caller's phone number. - public string PhoneNumber { get; set; } - /// Caller's record ID (ex in CRM). - public string RecordId { get; set; } - /// Caller's screen pop URL. - public string ScreenPopUrl { get; set; } - /// Flag indicating whether the caller was authenticated. - public bool? IsAuthenticated { get; set; } - /// A set of key value pairs (max 10, any additional entries would be ignored) which a bot author wants to pass to the Teams Client for display to the agent. - public IDictionary AdditionalCallerInformation { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneSourceDetailsInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneSourceDetailsInternal.Serialization.cs deleted file mode 100644 index 4282c0e96934..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneSourceDetailsInternal.Serialization.cs +++ /dev/null @@ -1,100 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - internal partial class TeamsPhoneSourceDetailsInternal : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - writer.WritePropertyName("source"u8); - writer.WriteObjectValue(Source); - writer.WritePropertyName("language"u8); - writer.WriteStringValue(Language); - writer.WritePropertyName("status"u8); - writer.WriteStringValue(Status); - if (Optional.IsCollectionDefined(IntendedTargets)) - { - writer.WritePropertyName("intendedTargets"u8); - writer.WriteStartObject(); - foreach (var item in IntendedTargets) - { - writer.WritePropertyName(item.Key); - writer.WriteObjectValue(item.Value); - } - writer.WriteEndObject(); - } - writer.WriteEndObject(); - } - - internal static TeamsPhoneSourceDetailsInternal DeserializeTeamsPhoneSourceDetailsInternal(JsonElement element) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - CommunicationIdentifierModel source = default; - string language = default; - string status = default; - IDictionary intendedTargets = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("source"u8)) - { - source = CommunicationIdentifierModel.DeserializeCommunicationIdentifierModel(property.Value); - continue; - } - if (property.NameEquals("language"u8)) - { - language = property.Value.GetString(); - continue; - } - if (property.NameEquals("status"u8)) - { - status = property.Value.GetString(); - continue; - } - if (property.NameEquals("intendedTargets"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - dictionary.Add(property0.Name, CommunicationIdentifierModel.DeserializeCommunicationIdentifierModel(property0.Value)); - } - intendedTargets = dictionary; - continue; - } - } - return new TeamsPhoneSourceDetailsInternal(source, language, status, intendedTargets ?? new ChangeTrackingDictionary()); - } - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static TeamsPhoneSourceDetailsInternal FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeTeamsPhoneSourceDetailsInternal(document.RootElement); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this); - return content; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneSourceDetailsInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneSourceDetailsInternal.cs deleted file mode 100644 index bee6af0e134d..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TeamsPhoneSourceDetailsInternal.cs +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; - -namespace Azure.Communication.CallAutomation -{ - /// Container for details relating to the entity responsible for the creation of these call details. - internal partial class TeamsPhoneSourceDetailsInternal - { - /// Initializes a new instance of . - /// ID of the source entity passing along the call details (ex. Application Instance ID of - CQ/AA). - /// Language of the source entity passing along the call details, passed in the ISO-639 standard. - /// Status of the source entity passing along the call details. - /// , or is null. - public TeamsPhoneSourceDetailsInternal(CommunicationIdentifierModel source, string language, string status) - { - Argument.AssertNotNull(source, nameof(source)); - Argument.AssertNotNull(language, nameof(language)); - Argument.AssertNotNull(status, nameof(status)); - - Source = source; - Language = language; - Status = status; - IntendedTargets = new ChangeTrackingDictionary(); - } - - /// Initializes a new instance of . - /// ID of the source entity passing along the call details (ex. Application Instance ID of - CQ/AA). - /// Language of the source entity passing along the call details, passed in the ISO-639 standard. - /// Status of the source entity passing along the call details. - /// Intended targets of the source entity passing along the call details. - internal TeamsPhoneSourceDetailsInternal(CommunicationIdentifierModel source, string language, string status, IDictionary intendedTargets) - { - Source = source; - Language = language; - Status = status; - IntendedTargets = intendedTargets; - } - - /// ID of the source entity passing along the call details (ex. Application Instance ID of - CQ/AA). - public CommunicationIdentifierModel Source { get; set; } - /// Language of the source entity passing along the call details, passed in the ISO-639 standard. - public string Language { get; set; } - /// Status of the source entity passing along the call details. - public string Status { get; set; } - /// Intended targets of the source entity passing along the call details. - public IDictionary IntendedTargets { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionFailed.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionFailed.Serialization.cs index a4a8042f699b..a32127ab6982 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionFailed.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionFailed.Serialization.cs @@ -17,21 +17,35 @@ internal static TranscriptionFailed DeserializeTranscriptionFailed(JsonElement e { return null; } - TranscriptionUpdate transcriptionUpdate = default; + string operationContext = default; + ResultInformation resultInformation = default; + TranscriptionUpdate transcriptionUpdateResult = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("transcriptionUpdate"u8)) + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } + if (property.NameEquals("resultInformation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + continue; + } + if (property.NameEquals("transcriptionUpdateResult"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) { continue; } - transcriptionUpdate = TranscriptionUpdate.DeserializeTranscriptionUpdate(property.Value); + transcriptionUpdateResult = TranscriptionUpdate.DeserializeTranscriptionUpdate(property.Value); continue; } if (property.NameEquals("callConnectionId"u8)) @@ -49,28 +63,14 @@ internal static TranscriptionFailed DeserializeTranscriptionFailed(JsonElement e correlationId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("resultInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); - continue; - } } return new TranscriptionFailed( - transcriptionUpdate, + operationContext, + resultInformation, + transcriptionUpdateResult, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionFailed.cs index 2e9db7b9f1b1..94771e9f95b3 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionFailed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionFailed.cs @@ -16,23 +16,22 @@ internal TranscriptionFailed() } /// Initializes a new instance of . - /// Defines the result for TranscriptionUpdate with the current status and the details about the status. + /// 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. + /// Defines the result for TranscriptionUpdate with the current status and the details about the status. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal TranscriptionFailed(TranscriptionUpdate transcriptionUpdate, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal TranscriptionFailed(string operationContext, ResultInformation resultInformation, TranscriptionUpdate transcriptionUpdateResult, string callConnectionId, string serverCallId, string correlationId) { - TranscriptionUpdate = transcriptionUpdate; + OperationContext = operationContext; + ResultInformation = resultInformation; + TranscriptionUpdateResult = transcriptionUpdateResult; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } - /// Defines the result for TranscriptionUpdate with the current status and the details about the status. - public TranscriptionUpdate TranscriptionUpdate { get; } + public TranscriptionUpdate TranscriptionUpdateResult { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionOptionsInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionOptionsInternal.Serialization.cs index 887074776b13..351e4109d2ce 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionOptionsInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionOptionsInternal.Serialization.cs @@ -21,18 +21,8 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteStringValue(TransportType.ToString()); writer.WritePropertyName("locale"u8); writer.WriteStringValue(Locale); - if (Optional.IsDefined(SpeechModelEndpointId)) - { - writer.WritePropertyName("speechModelEndpointId"u8); - writer.WriteStringValue(SpeechModelEndpointId); - } writer.WritePropertyName("startTranscription"u8); writer.WriteBooleanValue(StartTranscription); - if (Optional.IsDefined(EnableIntermediateResults)) - { - writer.WritePropertyName("enableIntermediateResults"u8); - writer.WriteBooleanValue(EnableIntermediateResults.Value); - } writer.WriteEndObject(); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionOptionsInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionOptionsInternal.cs index c75a3794ba19..042896478b48 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionOptionsInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionOptionsInternal.cs @@ -29,34 +29,13 @@ public TranscriptionOptionsInternal(string transportUrl, TranscriptionTransport StartTranscription = startTranscription; } - /// Initializes a new instance of . - /// Transport URL for live transcription. - /// The type of transport to be used for live transcription, eg. Websocket. - /// Defines the locale for the data e.g en-CA, en-AU. - /// Endpoint where the custom model was deployed. - /// Determines if the transcription should be started immediately after call is answered or not. - /// Enables intermediate results for the transcribed speech. - internal TranscriptionOptionsInternal(string transportUrl, TranscriptionTransport transportType, string locale, string speechModelEndpointId, bool startTranscription, bool? enableIntermediateResults) - { - TransportUrl = transportUrl; - TransportType = transportType; - Locale = locale; - SpeechModelEndpointId = speechModelEndpointId; - StartTranscription = startTranscription; - EnableIntermediateResults = enableIntermediateResults; - } - /// Transport URL for live transcription. public string TransportUrl { get; } /// The type of transport to be used for live transcription, eg. Websocket. public TranscriptionTransport TransportType { get; } /// Defines the locale for the data e.g en-CA, en-AU. public string Locale { get; } - /// Endpoint where the custom model was deployed. - public string SpeechModelEndpointId { get; set; } /// Determines if the transcription should be started immediately after call is answered or not. public bool StartTranscription { get; } - /// Enables intermediate results for the transcribed speech. - public bool? EnableIntermediateResults { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionResultState.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionResultState.cs deleted file mode 100644 index 182f241dd5d2..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionResultState.cs +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ComponentModel; - -namespace Azure.Communication.CallAutomation -{ - /// The TranscriptionResultType. - public readonly partial struct TranscriptionResultState : IEquatable - { - private readonly string _value; - - /// Initializes a new instance of . - /// is null. - public TranscriptionResultState(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - private const string FinalValue = "final"; - private const string IntermediateValue = "intermediate"; - - /// final. - public static TranscriptionResultState Final { get; } = new TranscriptionResultState(FinalValue); - /// intermediate. - public static TranscriptionResultState Intermediate { get; } = new TranscriptionResultState(IntermediateValue); - /// Determines if two values are the same. - public static bool operator ==(TranscriptionResultState left, TranscriptionResultState right) => left.Equals(right); - /// Determines if two values are not the same. - public static bool operator !=(TranscriptionResultState left, TranscriptionResultState right) => !left.Equals(right); - /// Converts a to a . - public static implicit operator TranscriptionResultState(string value) => new TranscriptionResultState(value); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is TranscriptionResultState other && Equals(other); - /// - public bool Equals(TranscriptionResultState other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; - /// - public override string ToString() => _value; - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSettings.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSettings.Serialization.cs deleted file mode 100644 index 137831711d86..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSettings.Serialization.cs +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - public partial class TranscriptionSettings : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - writer.WritePropertyName("enableTranscription"u8); - writer.WriteBooleanValue(EnableTranscription); - writer.WriteEndObject(); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this); - return content; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSettings.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSettings.cs deleted file mode 100644 index 1b82957dc55e..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSettings.cs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallAutomation -{ - /// The Transcription. - public partial class TranscriptionSettings - { - /// Initializes a new instance of . - /// Determine if the Transcription should be enabled for the post recording processing. - public TranscriptionSettings(bool enableTranscription) - { - EnableTranscription = enableTranscription; - } - - /// Determine if the Transcription should be enabled for the post recording processing. - public bool EnableTranscription { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStarted.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStarted.Serialization.cs index 15e909e2480e..fb14b9493be4 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStarted.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStarted.Serialization.cs @@ -17,21 +17,35 @@ internal static TranscriptionStarted DeserializeTranscriptionStarted(JsonElement { return null; } - TranscriptionUpdate transcriptionUpdate = default; + string operationContext = default; + ResultInformation resultInformation = default; + TranscriptionUpdate transcriptionUpdateResult = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("transcriptionUpdate"u8)) + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } + if (property.NameEquals("resultInformation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + continue; + } + if (property.NameEquals("transcriptionUpdateResult"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) { continue; } - transcriptionUpdate = TranscriptionUpdate.DeserializeTranscriptionUpdate(property.Value); + transcriptionUpdateResult = TranscriptionUpdate.DeserializeTranscriptionUpdate(property.Value); continue; } if (property.NameEquals("callConnectionId"u8)) @@ -49,28 +63,14 @@ internal static TranscriptionStarted DeserializeTranscriptionStarted(JsonElement correlationId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("resultInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); - continue; - } } return new TranscriptionStarted( - transcriptionUpdate, + operationContext, + resultInformation, + transcriptionUpdateResult, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStarted.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStarted.cs index 08783c93ce44..c5b224e9e133 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStarted.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStarted.cs @@ -16,23 +16,22 @@ internal TranscriptionStarted() } /// Initializes a new instance of . - /// Defines the result for TranscriptionUpdate with the current status and the details about the status. + /// 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. + /// Defines the result for TranscriptionUpdate with the current status and the details about the status. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal TranscriptionStarted(TranscriptionUpdate transcriptionUpdate, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal TranscriptionStarted(string operationContext, ResultInformation resultInformation, TranscriptionUpdate transcriptionUpdateResult, string callConnectionId, string serverCallId, string correlationId) { - TranscriptionUpdate = transcriptionUpdate; + OperationContext = operationContext; + ResultInformation = resultInformation; + TranscriptionUpdateResult = transcriptionUpdateResult; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } - /// Defines the result for TranscriptionUpdate with the current status and the details about the status. - public TranscriptionUpdate TranscriptionUpdate { get; } + public TranscriptionUpdate TranscriptionUpdateResult { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStopped.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStopped.Serialization.cs index 7c92460ef20f..a2dac77bb4ac 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStopped.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStopped.Serialization.cs @@ -17,21 +17,35 @@ internal static TranscriptionStopped DeserializeTranscriptionStopped(JsonElement { return null; } - TranscriptionUpdate transcriptionUpdate = default; + string operationContext = default; + ResultInformation resultInformation = default; + TranscriptionUpdate transcriptionUpdateResult = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("transcriptionUpdate"u8)) + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } + if (property.NameEquals("resultInformation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + continue; + } + if (property.NameEquals("transcriptionUpdateResult"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) { continue; } - transcriptionUpdate = TranscriptionUpdate.DeserializeTranscriptionUpdate(property.Value); + transcriptionUpdateResult = TranscriptionUpdate.DeserializeTranscriptionUpdate(property.Value); continue; } if (property.NameEquals("callConnectionId"u8)) @@ -49,28 +63,14 @@ internal static TranscriptionStopped DeserializeTranscriptionStopped(JsonElement correlationId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("resultInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); - continue; - } } return new TranscriptionStopped( - transcriptionUpdate, + operationContext, + resultInformation, + transcriptionUpdateResult, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStopped.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStopped.cs index f65945b9b940..971396f4f3d5 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStopped.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionStopped.cs @@ -16,23 +16,22 @@ internal TranscriptionStopped() } /// Initializes a new instance of . - /// Defines the result for TranscriptionUpdate with the current status and the details about the status. + /// 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. + /// Defines the result for TranscriptionUpdate with the current status and the details about the status. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal TranscriptionStopped(TranscriptionUpdate transcriptionUpdate, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal TranscriptionStopped(string operationContext, ResultInformation resultInformation, TranscriptionUpdate transcriptionUpdateResult, string callConnectionId, string serverCallId, string correlationId) { - TranscriptionUpdate = transcriptionUpdate; + OperationContext = operationContext; + ResultInformation = resultInformation; + TranscriptionUpdateResult = transcriptionUpdateResult; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } - /// Defines the result for TranscriptionUpdate with the current status and the details about the status. - public TranscriptionUpdate TranscriptionUpdate { get; } + public TranscriptionUpdate TranscriptionUpdateResult { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSubscriptionInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSubscriptionInternal.Serialization.cs deleted file mode 100644 index dabb11827777..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSubscriptionInternal.Serialization.cs +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; -using System.Text.Json; - -namespace Azure.Communication.CallAutomation -{ - internal partial class TranscriptionSubscriptionInternal - { - internal static TranscriptionSubscriptionInternal DeserializeTranscriptionSubscriptionInternal(JsonElement element) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - string id = default; - TranscriptionSubscriptionState? state = default; - IReadOnlyList subscribedResultTypes = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("id"u8)) - { - id = property.Value.GetString(); - continue; - } - if (property.NameEquals("state"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - state = new TranscriptionSubscriptionState(property.Value.GetString()); - continue; - } - if (property.NameEquals("subscribedResultTypes"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(new TranscriptionResultState(item.GetString())); - } - subscribedResultTypes = array; - continue; - } - } - return new TranscriptionSubscriptionInternal(id, state, subscribedResultTypes ?? new ChangeTrackingList()); - } - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static TranscriptionSubscriptionInternal FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeTranscriptionSubscriptionInternal(document.RootElement); - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSubscriptionInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSubscriptionInternal.cs deleted file mode 100644 index 253f6d4abd65..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSubscriptionInternal.cs +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; - -namespace Azure.Communication.CallAutomation -{ - /// Transcription Subscription Object. - internal partial class TranscriptionSubscriptionInternal - { - /// Initializes a new instance of . - internal TranscriptionSubscriptionInternal() - { - SubscribedResultTypes = new ChangeTrackingList(); - } - - /// Initializes a new instance of . - /// Subscription Id. - /// Transcription subscription state. - /// Subscribed transcription result types. - internal TranscriptionSubscriptionInternal(string id, TranscriptionSubscriptionState? state, IReadOnlyList subscribedResultTypes) - { - Id = id; - State = state; - SubscribedResultTypes = subscribedResultTypes; - } - - /// Subscription Id. - public string Id { get; } - /// Transcription subscription state. - public TranscriptionSubscriptionState? State { get; } - /// Subscribed transcription result types. - public IReadOnlyList SubscribedResultTypes { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSubscriptionState.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSubscriptionState.cs deleted file mode 100644 index 14b1df831ff0..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionSubscriptionState.cs +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ComponentModel; - -namespace Azure.Communication.CallAutomation -{ - /// Transcription subscription state. - public readonly partial struct TranscriptionSubscriptionState : IEquatable - { - private readonly string _value; - - /// Initializes a new instance of . - /// is null. - public TranscriptionSubscriptionState(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - private const string DisabledValue = "disabled"; - private const string InactiveValue = "inactive"; - private const string ActiveValue = "active"; - - /// disabled. - public static TranscriptionSubscriptionState Disabled { get; } = new TranscriptionSubscriptionState(DisabledValue); - /// inactive. - public static TranscriptionSubscriptionState Inactive { get; } = new TranscriptionSubscriptionState(InactiveValue); - /// active. - public static TranscriptionSubscriptionState Active { get; } = new TranscriptionSubscriptionState(ActiveValue); - /// Determines if two values are the same. - public static bool operator ==(TranscriptionSubscriptionState left, TranscriptionSubscriptionState right) => left.Equals(right); - /// Determines if two values are not the same. - public static bool operator !=(TranscriptionSubscriptionState left, TranscriptionSubscriptionState right) => !left.Equals(right); - /// Converts a to a . - public static implicit operator TranscriptionSubscriptionState(string value) => new TranscriptionSubscriptionState(value); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is TranscriptionSubscriptionState other && Equals(other); - /// - public bool Equals(TranscriptionSubscriptionState other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; - /// - public override string ToString() => _value; - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionUpdated.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionUpdated.Serialization.cs index ccc43bed23e6..ed9dc51ca636 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionUpdated.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionUpdated.Serialization.cs @@ -17,21 +17,35 @@ internal static TranscriptionUpdated DeserializeTranscriptionUpdated(JsonElement { return null; } - TranscriptionUpdate transcriptionUpdate = default; + string operationContext = default; + ResultInformation resultInformation = default; + TranscriptionUpdate transcriptionUpdateResult = default; string callConnectionId = default; string serverCallId = default; string correlationId = default; - string operationContext = default; - ResultInformation resultInformation = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("transcriptionUpdate"u8)) + if (property.NameEquals("operationContext"u8)) + { + operationContext = property.Value.GetString(); + continue; + } + if (property.NameEquals("resultInformation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resultInformation = ResultInformation.DeserializeResultInformation(property.Value); + continue; + } + if (property.NameEquals("transcriptionUpdateResult"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) { continue; } - transcriptionUpdate = TranscriptionUpdate.DeserializeTranscriptionUpdate(property.Value); + transcriptionUpdateResult = TranscriptionUpdate.DeserializeTranscriptionUpdate(property.Value); continue; } if (property.NameEquals("callConnectionId"u8)) @@ -49,28 +63,14 @@ internal static TranscriptionUpdated DeserializeTranscriptionUpdated(JsonElement correlationId = property.Value.GetString(); continue; } - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("resultInformation"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - resultInformation = ResultInformation.DeserializeResultInformation(property.Value); - continue; - } } return new TranscriptionUpdated( - transcriptionUpdate, + operationContext, + resultInformation, + transcriptionUpdateResult, callConnectionId, serverCallId, - correlationId, - operationContext, - resultInformation); + correlationId); } /// Deserializes the model from a raw response. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionUpdated.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionUpdated.cs index 2ee96f988d7b..67265af96c6b 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionUpdated.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TranscriptionUpdated.cs @@ -16,23 +16,22 @@ internal TranscriptionUpdated() } /// Initializes a new instance of . - /// Defines the result for TranscriptionUpdate with the current status and the details about the status. + /// 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. + /// Defines the result for TranscriptionUpdate with the current status and the details about the status. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal TranscriptionUpdated(TranscriptionUpdate transcriptionUpdate, string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal TranscriptionUpdated(string operationContext, ResultInformation resultInformation, TranscriptionUpdate transcriptionUpdateResult, string callConnectionId, string serverCallId, string correlationId) { - TranscriptionUpdate = transcriptionUpdate; + OperationContext = operationContext; + ResultInformation = resultInformation; + TranscriptionUpdateResult = transcriptionUpdateResult; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; } - /// Defines the result for TranscriptionUpdate with the current status and the details about the status. - public TranscriptionUpdate TranscriptionUpdate { get; } + public TranscriptionUpdate TranscriptionUpdateResult { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TransferToParticipantRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TransferToParticipantRequestInternal.Serialization.cs index a8eae012d588..b07b5bd75eac 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TransferToParticipantRequestInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TransferToParticipantRequestInternal.Serialization.cs @@ -37,11 +37,6 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("customCallingContext"u8); writer.WriteObjectValue(CustomCallingContext); } - if (Optional.IsDefined(SourceCallerIdNumber)) - { - writer.WritePropertyName("sourceCallerIdNumber"u8); - writer.WriteObjectValue(SourceCallerIdNumber); - } writer.WriteEndObject(); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TransferToParticipantRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TransferToParticipantRequestInternal.cs index ba20e2eaf470..d409c0194f54 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TransferToParticipantRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/TransferToParticipantRequestInternal.cs @@ -31,15 +31,13 @@ public TransferToParticipantRequestInternal(CommunicationIdentifierModel targetP /// This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. /// /// Used by customer to send custom calling context to targets. - /// 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. - internal TransferToParticipantRequestInternal(CommunicationIdentifierModel targetParticipant, string operationContext, CommunicationIdentifierModel transferee, string operationCallbackUri, CustomCallingContextInternal customCallingContext, PhoneNumberIdentifierModel sourceCallerIdNumber) + internal TransferToParticipantRequestInternal(CommunicationIdentifierModel targetParticipant, string operationContext, CommunicationIdentifierModel transferee, string operationCallbackUri, CustomCallingContextInternal customCallingContext) { TargetParticipant = targetParticipant; OperationContext = operationContext; Transferee = transferee; OperationCallbackUri = operationCallbackUri; CustomCallingContext = customCallingContext; - SourceCallerIdNumber = sourceCallerIdNumber; } /// The identity of the target where call should be transferred to. @@ -55,7 +53,5 @@ internal TransferToParticipantRequestInternal(CommunicationIdentifierModel targe public string OperationCallbackUri { get; set; } /// Used by customer to send custom calling context to targets. public CustomCallingContextInternal CustomCallingContext { get; set; } - /// 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. - public PhoneNumberIdentifierModel SourceCallerIdNumber { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UnmuteParticipantResult.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UnmuteParticipantResult.Serialization.cs deleted file mode 100644 index c2add747ee3b..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UnmuteParticipantResult.Serialization.cs +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; - -namespace Azure.Communication.CallAutomation -{ - public partial class UnmuteParticipantResult - { - internal static UnmuteParticipantResult DeserializeUnmuteParticipantResult(JsonElement element) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - string operationContext = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("operationContext"u8)) - { - operationContext = property.Value.GetString(); - continue; - } - } - return new UnmuteParticipantResult(operationContext); - } - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static UnmuteParticipantResult FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeUnmuteParticipantResult(document.RootElement); - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UnmuteParticipantResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UnmuteParticipantResult.cs deleted file mode 100644 index d8dd908b923d..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UnmuteParticipantResult.cs +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallAutomation -{ - /// The response payload for unmuting participants from the call. - public partial class UnmuteParticipantResult - { - /// Initializes a new instance of . - internal UnmuteParticipantResult() - { - } - - /// Initializes a new instance of . - /// The operation context provided by client. - internal UnmuteParticipantResult(string operationContext) - { - OperationContext = operationContext; - } - - /// The operation context provided by client. - public string OperationContext { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UnmuteParticipantsRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UnmuteParticipantsRequestInternal.Serialization.cs deleted file mode 100644 index ca732f5b502e..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UnmuteParticipantsRequestInternal.Serialization.cs +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - internal partial class UnmuteParticipantsRequestInternal : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - writer.WritePropertyName("targetParticipants"u8); - writer.WriteStartArray(); - foreach (var item in TargetParticipants) - { - writer.WriteObjectValue(item); - } - writer.WriteEndArray(); - if (Optional.IsDefined(OperationContext)) - { - writer.WritePropertyName("operationContext"u8); - writer.WriteStringValue(OperationContext); - } - writer.WriteEndObject(); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this); - return content; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UnmuteParticipantsRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UnmuteParticipantsRequestInternal.cs deleted file mode 100644 index b6c1f4132d5f..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UnmuteParticipantsRequestInternal.cs +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Azure.Communication.CallAutomation -{ - /// The request payload for unmuting participant from the call. - internal partial class UnmuteParticipantsRequestInternal - { - /// Initializes a new instance of . - /// - /// Participants to be unmuted from the call. - /// Only ACS Users are supported. - /// - /// is null. - public UnmuteParticipantsRequestInternal(IEnumerable targetParticipants) - { - Argument.AssertNotNull(targetParticipants, nameof(targetParticipants)); - - TargetParticipants = targetParticipants.ToList(); - } - - /// Initializes a new instance of . - /// - /// Participants to be unmuted from the call. - /// Only ACS Users are supported. - /// - /// Used by customers when calling mid-call actions to correlate the request to the response event. - internal UnmuteParticipantsRequestInternal(IList targetParticipants, string operationContext) - { - TargetParticipants = targetParticipants; - OperationContext = operationContext; - } - - /// - /// Participants to be unmuted from the call. - /// Only ACS Users are supported. - /// - public IList TargetParticipants { get; } - /// Used by customers when calling mid-call actions to correlate the request to the response event. - public string OperationContext { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UpdateDialogRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UpdateDialogRequestInternal.Serialization.cs deleted file mode 100644 index 8dfc47171177..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UpdateDialogRequestInternal.Serialization.cs +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - internal partial class UpdateDialogRequestInternal : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - writer.WritePropertyName("dialog"u8); - writer.WriteObjectValue(Dialog); - if (Optional.IsDefined(OperationCallbackUri)) - { - writer.WritePropertyName("operationCallbackUri"u8); - writer.WriteStringValue(OperationCallbackUri); - } - if (Optional.IsDefined(OperationContext)) - { - writer.WritePropertyName("operationContext"u8); - writer.WriteStringValue(OperationContext); - } - writer.WriteEndObject(); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this); - return content; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UpdateDialogRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UpdateDialogRequestInternal.cs deleted file mode 100644 index 9d16ee473dfc..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UpdateDialogRequestInternal.cs +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; - -namespace Azure.Communication.CallAutomation -{ - /// The UpdateDialogRequest. - internal partial class UpdateDialogRequestInternal - { - /// Initializes a new instance of . - /// - /// Dialog context. - /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include . - /// - /// is null. - public UpdateDialogRequestInternal(DialogUpdateBase dialog) - { - Argument.AssertNotNull(dialog, nameof(dialog)); - - Dialog = dialog; - } - - /// Initializes a new instance of . - /// - /// Dialog context. - /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include . - /// - /// - /// 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 value to identify context of the operation. - internal UpdateDialogRequestInternal(DialogUpdateBase dialog, string operationCallbackUri, string operationContext) - { - Dialog = dialog; - OperationCallbackUri = operationCallbackUri; - OperationContext = operationContext; - } - - /// - /// Dialog context. - /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include . - /// - public DialogUpdateBase Dialog { get; } - /// - /// 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. - /// - public string OperationCallbackUri { get; set; } - /// The value to identify context of the operation. - public string OperationContext { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UpdateTranscriptionRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UpdateTranscriptionRequestInternal.Serialization.cs index a629d1e63255..7f576586a689 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UpdateTranscriptionRequestInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UpdateTranscriptionRequestInternal.Serialization.cs @@ -15,26 +15,8 @@ internal partial class UpdateTranscriptionRequestInternal : IUtf8JsonSerializabl void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Locale)) - { - writer.WritePropertyName("locale"u8); - writer.WriteStringValue(Locale); - } - if (Optional.IsDefined(SpeechModelEndpointId)) - { - writer.WritePropertyName("speechModelEndpointId"u8); - writer.WriteStringValue(SpeechModelEndpointId); - } - if (Optional.IsDefined(OperationContext)) - { - writer.WritePropertyName("operationContext"u8); - writer.WriteStringValue(OperationContext); - } - if (Optional.IsDefined(OperationCallbackUri)) - { - writer.WritePropertyName("operationCallbackUri"u8); - writer.WriteStringValue(OperationCallbackUri); - } + writer.WritePropertyName("locale"u8); + writer.WriteStringValue(Locale); writer.WriteEndObject(); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UpdateTranscriptionRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UpdateTranscriptionRequestInternal.cs index 18f2eb40c036..865d8725f11a 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UpdateTranscriptionRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Generated/Models/UpdateTranscriptionRequestInternal.cs @@ -5,42 +5,24 @@ #nullable disable +using System; + namespace Azure.Communication.CallAutomation { /// The UpdateTranscriptionRequest. internal partial class UpdateTranscriptionRequestInternal { - /// Initializes a new instance of . - public UpdateTranscriptionRequestInternal() - { - } - /// Initializes a new instance of . /// Defines new locale for transcription. - /// Sets Endpoint id where the custom model was deployed. - /// The value to identify context of the operation. - /// - /// 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. - /// - internal UpdateTranscriptionRequestInternal(string locale, string speechModelEndpointId, string operationContext, string operationCallbackUri) + /// is null. + public UpdateTranscriptionRequestInternal(string locale) { + Argument.AssertNotNull(locale, nameof(locale)); + Locale = locale; - SpeechModelEndpointId = speechModelEndpointId; - OperationContext = operationContext; - OperationCallbackUri = operationCallbackUri; } /// Defines new locale for transcription. - public string Locale { get; set; } - /// Sets Endpoint id where the custom model was deployed. - public string SpeechModelEndpointId { get; set; } - /// The value to identify context of the operation. - public string OperationContext { get; set; } - /// - /// 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. - /// - public string OperationCallbackUri { get; set; } + public string Locale { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/AnswerCallOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/AnswerCallOptions.cs index f94bb9801213..a4d029c6fe74 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/AnswerCallOptions.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/AnswerCallOptions.cs @@ -20,7 +20,7 @@ public AnswerCallOptions(string incomingCallContext, Uri callbackUri) { IncomingCallContext = incomingCallContext; CallbackUri = callbackUri; - CustomCallingContext = new CustomCallingContext(sipHeaders: new Dictionary(), voipHeaders: new Dictionary(), teamsPhoneCallDetails: null); + CustomCallingContext = new CustomCallingContext(sipHeaders: new Dictionary(), voipHeaders: new Dictionary()); } /// @@ -34,14 +34,14 @@ public AnswerCallOptions(string incomingCallContext, Uri callbackUri) public Uri CallbackUri { get; } /// - /// Media Streaming Configuration. + /// Live Transcription Configuration. /// - public MediaStreamingOptions MediaStreamingOptions { get; set; } + public TranscriptionOptions TranscriptionOptions { get; set; } /// - /// Live Transcription Configuration. + /// Media Streaming Configuration. /// - public TranscriptionOptions TranscriptionOptions { get; set; } + public MediaStreamingOptions MediaStreamingOptions { get; set; } /// /// AI options for the call such as endpoint URI of the Azure Cognitive Services resource diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/AudioFormat.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/AudioFormat.cs index e2db4f8ed599..3e2ec5b5621b 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/AudioFormat.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/AudioFormat.cs @@ -6,7 +6,7 @@ namespace Azure.Communication.CallAutomation { /// - /// The states of a call. + /// AudioFormat for media streaming. /// [CodeGenModel("AudioFormat", Usage = new string[] { "output" }, Formats = new string[] { "json" })] public readonly partial struct AudioFormat diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/AzureBlobContainerRecordingStorage.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/AzureBlobContainerRecordingStorage.cs deleted file mode 100644 index 2805644aae5c..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/AzureBlobContainerRecordingStorage.cs +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; - -namespace Azure.Communication.CallAutomation -{ - /// The AzureBlobContainerRecordingStorage. - internal class AzureBlobContainerRecordingStorage : RecordingStorage - { - /// Initializes a new instance of . - public AzureBlobContainerRecordingStorage(Uri recordingDestinationContainerUri) - : base(RecordingStorageKind.AzureBlobStorage) - { - RecordingDestinationContainerUri = recordingDestinationContainerUri; - } - - /// The Azure blob storage container uri. - public Uri RecordingDestinationContainerUri { get; set; } - } -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/AzureCommunicationsRecordingStorage.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/AzureCommunicationsRecordingStorage.cs deleted file mode 100644 index a6e07c9cc8a1..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/AzureCommunicationsRecordingStorage.cs +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -using System; - -namespace Azure.Communication.CallAutomation -{ - /// The AzureCommunicationsRecordingStorage. - internal class AzureCommunicationsRecordingStorage : RecordingStorage - { - /// Initializes a new instance of . - public AzureCommunicationsRecordingStorage() - : base(RecordingStorageKind.AzureCommunicationServices) - { - } - } -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/AzureOpenAIDialog.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/AzureOpenAIDialog.cs deleted file mode 100644 index a72ae7ae7a65..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/AzureOpenAIDialog.cs +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Text; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - /// The AzureOpenAIDialog. - [CodeGenModel("AzureOpenAIDialog")] - [CodeGenSuppress("AzureOpenAIDialog")] - public partial class AzureOpenAIDialog : BaseDialog - { - /// Initializes a new instance of AzureOpenAIDialogInternal. - /// Dialog context. - /// is null. - public AzureOpenAIDialog(IDictionary context) : base(DialogInputType.AzureOpenAI) - { - Argument.AssertNotNull(context, nameof(context)); - - Context = context; - } - - internal AzureOpenAIDialog(DialogInputType kind, IDictionary context) : base(DialogInputType.AzureOpenAI, context) - { - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/AzureOpenAIDialogUpdate.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/AzureOpenAIDialogUpdate.cs deleted file mode 100644 index be0ac1c239c0..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/AzureOpenAIDialogUpdate.cs +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Text; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - /// The AzureOpenAIDialog. - [CodeGenModel("AzureOpenAIDialogUpdate")] - [CodeGenSuppress("AzureOpenAIDialogUpdate")] - public partial class AzureOpenAIDialogUpdate : DialogUpdateBase - { - /// Initializes a new instance of AzureOpenAIDialogInternal. - /// Dialog context. - /// is null. - public AzureOpenAIDialogUpdate(IDictionary context) : base(DialogInputType.AzureOpenAI) - { - Argument.AssertNotNull(context, nameof(context)); - - Context = context; - } - - internal AzureOpenAIDialogUpdate(DialogInputType kind, IDictionary context) : base(DialogInputType.AzureOpenAI, context) - { - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallAutomationModelFactory.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallAutomationModelFactory.cs index e0aa2c9dc943..974b9a8bad5f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallAutomationModelFactory.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallAutomationModelFactory.cs @@ -10,26 +10,171 @@ namespace Azure.Communication.CallAutomation { /// Model factory for read-only models. - [CodeGenSuppress("CallTransferFailed", typeof(string), typeof(ResultInformation), typeof(string), typeof(string), typeof(string))] - [CodeGenSuppress("ContinuousDtmfRecognitionStopped", typeof(string), typeof(ResultInformation), typeof(string), typeof(string), typeof(string))] - [CodeGenSuppress("ContinuousDtmfRecognitionToneFailed", typeof(ResultInformation), typeof(string), typeof(string), typeof(string), typeof(string))] - [CodeGenSuppress("ContinuousDtmfRecognitionToneReceived", typeof(int?), typeof(DtmfTone?), typeof(string), typeof(string), typeof(string), typeof(string), typeof(ResultInformation))] - [CodeGenSuppress("PlayCompleted", typeof(ResultInformation), typeof(string), typeof(string), typeof(string), typeof(string))] - [CodeGenSuppress("PlayFailed", typeof(string), typeof(ResultInformation), typeof(string), typeof(string), typeof(string))] - [CodeGenSuppress("RecognizeFailed", typeof(string), typeof(ResultInformation), typeof(string), typeof(string), typeof(string))] - [CodeGenSuppress("RecordingStateChanged", typeof(string), typeof(RecordingState), typeof(DateTimeOffset?), typeof(RecordingKind?), typeof(string), typeof(string), typeof(string))] - [CodeGenSuppress("SendDtmfTonesCompleted", typeof(string), typeof(ResultInformation), typeof(string), typeof(string), typeof(string))] - [CodeGenSuppress("SendDtmfTonesFailed", typeof(string), typeof(ResultInformation), typeof(string), typeof(string), typeof(string))] - [CodeGenSuppress("HoldFailed", typeof(string), typeof(ResultInformation), typeof(string), typeof(string), typeof(string))] [CodeGenModel("CommunicationCallAutomationModelFactory")] public static partial class CallAutomationModelFactory { + /// Initializes a new instance of CallConnected. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// 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. + /// A new instance for mocking. + public static CallConnected CallConnected(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + { + return new CallConnected(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + } + + /// Initializes a new instance of CallDisconnected. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// 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. + /// A new instance for mocking. + public static CallDisconnected CallDisconnected(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + { + return new CallDisconnected(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + } + + /// Initializes a new instance of CallTransferFailed. + /// 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. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// A new instance for mocking. + public static CallTransferFailed CallTransferFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + { + return new CallTransferFailed(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + } + + /// Initializes a new instance of ContinuousDtmfRecognitionStopped. + /// 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. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// A new instance for mocking. + public static ContinuousDtmfRecognitionStopped ContinuousDtmfRecognitionStopped(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + { + return new ContinuousDtmfRecognitionStopped(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); + } + + /// Initializes a new instance of ContinuousDtmfRecognitionToneFailed. + /// Result information defines the code, subcode and message. + /// Used by customers when calling mid-call actions to correlate the request to the response event. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// A new instance for mocking. + public static ContinuousDtmfRecognitionToneFailed ContinuousDtmfRecognitionToneFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, ResultInformation resultInformation = null, string operationContext = null) + { + return new ContinuousDtmfRecognitionToneFailed(resultInformation, operationContext,callConnectionId,serverCallId,correlationId); + } + + /// Initializes a new instance of PlayCompleted. + /// Result information defines the code, subcode and message. + /// Used by customers when calling mid-call actions to correlate the request to the response event. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// A new instance for mocking. + public static PlayCompleted PlayCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + { + return new PlayCompleted(operationContext,resultInformation,callConnectionId,serverCallId,correlationId); + } + + /// Initializes a new instance of PlayStarted. + /// Result information defines the code, subcode and message. + /// Used by customers when calling mid-call actions to correlate the request to the response event. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// A new instance for mocking. + public static PlayStarted PlayStarted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + { + return new PlayStarted(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); + } + + /// Initializes a new instance of PlayPaused. + /// Result information defines the code, subcode and message. + /// Used by customers when calling mid-call actions to correlate the request to the response event. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// A new instance for mocking. + public static PlayPaused PlayPaused(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + { + return new PlayPaused(operationContext,resultInformation,callConnectionId,serverCallId,correlationId); + } + + /// Initializes a new instance of PlayResumed. + /// Result information defines the code, subcode and message. + /// Used by customers when calling mid-call actions to correlate the request to the response event. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// A new instance for mocking. + public static PlayResumed PlayResumed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + { + return new PlayResumed(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); + } + + /// Initializes a new instance of PlayFailed. + /// 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. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// A new instance for mocking. + public static PlayFailed PlayFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + { + return new PlayFailed(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); + } + + /// Initializes a new instance of PlayCanceled. + /// Used by customers when calling mid-call actions to correlate the request to the response event. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// Contains the resulting SIP code, sub-code and message. + /// A new instance for mocking. + public static PlayCanceled PlayCanceled(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + { + return new PlayCanceled(operationContext,resultInformation,callConnectionId,serverCallId,correlationId); + } + + /// Initializes a new instance of RecognizeCanceled. + /// Used by customers when calling mid-call actions to correlate the request to the response event. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// Contains the resulting SIP code, sub-code and message. + /// A new instance for mocking. + public static RecognizeCanceled RecognizeCanceled(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + { + return new RecognizeCanceled(operationContext,resultInformation,callConnectionId,serverCallId,correlationId); + } + + /// Initializes a new instance of RecognizeFailed. + /// 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. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + /// A new instance for mocking. + public static RecognizeFailed RecognizeFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + { + return new RecognizeFailed(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); + } + /// Initializes a new instance of AddParticipantsResult. /// Participant of the call. /// The operation context provided by client. - /// The Invitation id of this call + /// The Invitation ID used to cancel the add participant action /// A new instance for mocking. - public static AddParticipantResult AddParticipantsResult(CallParticipant participant = default, string operationContext = default, string invitationId = null) + public static AddParticipantResult AddParticipantsResult(CallParticipant participant = default, string operationContext = default, string invitationId = default) { return new AddParticipantResult(participant, operationContext, invitationId); } @@ -52,10 +197,9 @@ public static AnswerCallResult AnswerCallResult(CallConnection callConnection = /// Source identity. /// Caller ID phone number to appear on the invitee. /// Display name to appear on the invitee. - /// The subscription details for Media Streaming. - /// The subscription details for transcription. + /// The subscriptionId for transcription. /// Identifier that answered the call. - /// Identity of the original Pstn target of an incoming Call. + /// /// The subscription details for Media Streaming. /// A new instance for mocking. public static CallConnectionProperties CallConnectionProperties( string callConnectionId = default, @@ -67,11 +211,10 @@ public static CallConnectionProperties CallConnectionProperties( PhoneNumberIdentifier sourceCallerIdNumber = default, string sourceDisplayName = default, CommunicationUserIdentifier answeredBy = default, - MediaStreamingSubscription mediaStreamingSubscription = default, - TranscriptionSubscription transcriptionSubscription = default, - PhoneNumberIdentifier answeredFor = default) + string dataSubscriptionId = default, + MediaStreamingSubscription mediaStreamingSubscription = default) { - return new CallConnectionProperties(callConnectionId, serverCallId, targets, callConnectionState, callbackUri, sourceIdentity, sourceCallerIdNumber, sourceDisplayName, mediaStreamingSubscription, transcriptionSubscription, answeredBy, answeredFor); + return new CallConnectionProperties(callConnectionId, serverCallId, targets, callConnectionState, callbackUri, sourceIdentity, sourceCallerIdNumber, sourceDisplayName, dataSubscriptionId, answeredBy, mediaStreamingSubscription); } /// Initializes a new instance of CallParticipant. @@ -137,7 +280,7 @@ public static AddParticipantFailed AddParticipantFailed(string callConnectionId correlationId, operationContext, resultInformation, - participant: CommunicationIdentifierSerializer.Serialize(participant) + participant: CommunicationIdentifierSerializer_2025_06_30.Serialize(participant) ); return new AddParticipantFailed(internalObject); @@ -154,148 +297,64 @@ public static AddParticipantSucceeded AddParticipantSucceeded(string callConnect correlationId, operationContext, resultInformation, - participant: CommunicationIdentifierSerializer.Serialize(participant) + participant: CommunicationIdentifierSerializer_2025_06_30.Serialize(participant) ); return new AddParticipantSucceeded(internalObject); } /// - /// Initializes a new instance of Participants Updated event. - /// - public static ParticipantsUpdated ParticipantsUpdated(string callConnectionId = default, string serverCallId = default, string correlationId = default, IEnumerable participants = default, int sequenceNumber = default, ResultInformation resultInformation = null) - { - var internalObject = new ParticipantsUpdatedInternal( - callConnectionId, - serverCallId, - correlationId, - sequenceNumber: sequenceNumber, - participants: participants == null - ? new List() - : participants.Select(p => new CallParticipantInternal(CommunicationIdentifierSerializer.Serialize(p.Identifier), p.IsMuted, p.IsOnHold)).ToList(), - resultInformation: resultInformation - ); - - return new ParticipantsUpdated(internalObject); - } - - /// - /// Initializes a new instance of remove participant failed event. - /// - public static RemoveParticipantFailed RemoveParticipantFailed(string callConnectionId = default, string serverCallId = default, string correlationId = default, string operationContext = default, ResultInformation resultInformation = default, CommunicationIdentifier participant = default) - { - var internalObject = new RemoveParticipantFailedInternal( - callConnectionId, - serverCallId, - correlationId, - operationContext, - resultInformation, - participant: CommunicationIdentifierSerializer.Serialize(participant) - ); - - return new RemoveParticipantFailed(internalObject); - } - - /// - /// Initializes a new instance of remove participant success event. + /// Initializes a new instance of cancel add participant failed event. /// - public static RemoveParticipantSucceeded RemoveParticipantSucceeded(string callConnectionId = default, string serverCallId = default, string correlationId = default, string operationContext = default, ResultInformation resultInformation = default, CommunicationIdentifier participant = default) + public static CancelAddParticipantFailed CancelAddParticipantFailed(string callConnectionId = default, string serverCallId = default, string correlationId = default, string invitationId = default, ResultInformation resultInformation = default, string operationContext = default) { - var internalObject = new RemoveParticipantSucceededInternal( + var internalObject = new CancelAddParticipantFailedInternal( callConnectionId, serverCallId, correlationId, operationContext, resultInformation, - participant: CommunicationIdentifierSerializer.Serialize(participant) + invitationId ); - return new RemoveParticipantSucceeded(internalObject); - } - - /// Initializes a new instance of RecognizeCompletedInternal. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - /// - /// Determines the sub-type of the recognize operation. - /// In case of cancel operation the this field is not set and is returned empty - /// - /// Defines the result for general recognizeResult. - /// A new instance for mocking. - public static RecognizeCompleted RecognizeCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null, CallMediaRecognitionType recognitionType = default, RecognizeResult recognizeResult = null) - { - return new RecognizeCompleted(callConnectionId, serverCallId, correlationId, operationContext, resultInformation, recognitionType, recognizeResult); - } - - /// Initializes a new instance of CallTransferAccepted. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - /// Target who the call is transferred to. - /// the participant who is being transferred away. - /// A new instance for mocking. - public static CallTransferAccepted CallTransferAccepted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null, CommunicationIdentifier transferee = null, CommunicationIdentifier transferTarget = null) - { - var internalEvent = new CallTransferAcceptedInternal( - callConnectionId, - serverCallId, - correlationId, - operationContext, - resultInformation, - transferTarget: transferTarget == null ? null : CommunicationIdentifierSerializer.Serialize(transferTarget), - transferee: transferee == null ? null : CommunicationIdentifierSerializer.Serialize(transferee) - ); - return new CallTransferAccepted(internalEvent); + return new CancelAddParticipantFailed(internalObject); } /// - /// Initializes a new instance of add participant cancelled event. + /// Initializes a new instance of cancel add participant success event. /// - public static CancelAddParticipantSucceeded CancelAddParticipantSucceeded( - string callConnectionId = default, - string serverCallId = default, - string correlationId = default, - string invitationId = default, - string operationContext = default, - ResultInformation resultInformation = null) + public static CancelAddParticipantSucceeded CancelAddParticipantSucceeded(string callConnectionId = default, string serverCallId = default, string correlationId = default, string invitationId = default, string operationContext = default, ResultInformation resultInformation = null) { var internalObject = new CancelAddParticipantSucceededInternal( callConnectionId, serverCallId, correlationId, operationContext, - invitationId: invitationId, - resultInformation: resultInformation + invitationId, + resultInformation ); return new CancelAddParticipantSucceeded(internalObject); } /// - /// Initializes a new instance of cancel add participant failed event. + /// Initializes a new instance of create call failed event. /// - public static CancelAddParticipantFailed CancelAddParticipantFailed( + public static CreateCallFailed CreateCallFailed( string callConnectionId = default, string serverCallId = default, string correlationId = default, - string invitationId = default, ResultInformation resultInformation = default, string operationContext = default) { - var internalObject = new CancelAddParticipantFailedInternal( + var internalObject = new CreateCallFailedInternal( callConnectionId, serverCallId, correlationId, operationContext, - resultInformation, - invitationId: invitationId); + resultInformation); - return new CancelAddParticipantFailed(internalObject); + return new CreateCallFailed(internalObject); } /// @@ -318,245 +377,127 @@ public static AnswerFailed AnswerFailed( return new AnswerFailed(internalObject); } - /// Initializes a new instance of CallConnected. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// Used by customers to set the context for creating a new call. This property will be null for answering a call. - /// Contains the resulting SIP code, sub-code and message. - /// A new instance for mocking. - public static CallConnected CallConnected(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) - { - return new CallConnected(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); - } - - ///// Initializes a new instance of CallConnected. - ///// Call connection ID. - ///// Server call ID. - ///// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - ///// Used by customers to set the context for creating a new call. This property will be null for answering a call. - ///// /// Contains the resulting SIP code, sub-code and message. - ///// A new instance for mocking. - //public static ConnectFailed ConnectFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) - //{ - // return new ConnectFailed(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); - //} - - /// Initializes a new instance of CallDisconnected. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// Used by customers to set the context for creating a new call. This property will be null for answering a call. - /// Contains the resulting SIP code, sub-code and message. - /// A new instance for mocking. - public static CallDisconnected CallDisconnected(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) - { - return new CallDisconnected(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); - } - - /// Initializes a new instance of CallTransferFailed. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - /// A new instance for mocking. - public static CallTransferFailed CallTransferFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) - { - return new CallTransferFailed(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); - } - - /// Initializes a new instance of ContinuousDtmfRecognitionStopped. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. - /// 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. - /// A new instance for mocking. - public static ContinuousDtmfRecognitionStopped ContinuousDtmfRecognitionStopped(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) - { - return new ContinuousDtmfRecognitionStopped(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); - } - - /// Initializes a new instance of ContinuousDtmfRecognitionToneFailed. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. - /// 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. - /// A new instance for mocking. - public static ContinuousDtmfRecognitionToneFailed ContinuousDtmfRecognitionToneFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, ResultInformation resultInformation = null, string operationContext = null) + /// + /// Initializes a new instance of Participants Updated event. + /// + public static ParticipantsUpdated ParticipantsUpdated(string callConnectionId = default, string serverCallId = default, string correlationId = default, IEnumerable participants = default, int sequenceNumber = default, ResultInformation resultInformation = null) { - return new ContinuousDtmfRecognitionToneFailed(callConnectionId, serverCallId, correlationId, resultInformation, operationContext); - } + var internalObject = new ParticipantsUpdatedInternal( + callConnectionId, + serverCallId, + correlationId, + sequenceNumber, + participants == null + ? new List() + : participants.Select(p => new CallParticipantInternal(CommunicationIdentifierSerializer_2025_06_30.Serialize(p.Identifier), p.IsMuted,p.IsOnHold)).ToList(), + resultInformation + ); - /// Initializes a new instance of ContinuousDtmfRecognitionToneReceived. - /// The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. - /// - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId or skype chain ID. - /// 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. - /// A new instance for mocking. - public static ContinuousDtmfRecognitionToneReceived ContinuousDtmfRecognitionToneReceived(int? sequenceId = null, DtmfTone? tone = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, ResultInformation resultInformation = null, string operationContext = null) - { - return new ContinuousDtmfRecognitionToneReceived(sequenceId, tone, callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new ParticipantsUpdated(internalObject); } - /// Initializes a new instance of PlayCompleted. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. - /// 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. - /// A new instance for mocking. - public static PlayCompleted PlayCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + /// + /// Initializes a new instance of remove participant failed event. + /// + public static RemoveParticipantFailed RemoveParticipantFailed(string callConnectionId = default, string serverCallId = default, string correlationId = default, string operationContext = default, ResultInformation resultInformation = default, CommunicationIdentifier participant = default) { - var internalObject = new PlayCompletedInternal(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + var internalObject = new RemoveParticipantFailedInternal( + callConnectionId, + serverCallId, + correlationId, + operationContext, + resultInformation, + participant: CommunicationIdentifierSerializer_2025_06_30.Serialize(participant) + ); - return new PlayCompleted(internalObject); + return new RemoveParticipantFailed(internalObject); } - /// Initializes a new instance of PlayFailed. - /// 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. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// A new instance for mocking. - public static PlayFailed PlayFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null, int? failedPlaySourceIndex = null) + /// + /// Initializes a new instance of remove participant success event. + /// + public static RemoveParticipantSucceeded RemoveParticipantSucceeded(string callConnectionId = default, string serverCallId = default, string correlationId = default, string operationContext = default, ResultInformation resultInformation = default, CommunicationIdentifier participant = default) { - var internalObject = new PlayFailedInternal(callConnectionId, serverCallId, correlationId, operationContext, resultInformation, failedPlaySourceIndex); + var internalObject = new RemoveParticipantSucceededInternal( + callConnectionId, + serverCallId, + correlationId, + operationContext, + resultInformation, + participant: CommunicationIdentifierSerializer_2025_06_30.Serialize(participant) + ); - return new PlayFailed(internalObject); + return new RemoveParticipantSucceeded(internalObject); } - /// Initializes a new instance of PlayStarted. - /// 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. + /// Initializes a new instance of RecognizeCompletedInternal. /// Call connection ID. /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// A new instance for mocking. - public static PlayStarted PlayStarted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) - { - return new PlayStarted(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); - } - - /// Initializes a new instance of PlayPaused. - /// Result information defines the code, subcode and message. + /// Correlation ID for event to call corre lation. Also called ChainId for skype chain ID. /// Used by customers when calling mid-call actions to correlate the request to the response event. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// A new instance for mocking. - public static PlayPaused PlayPaused(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) + /// Contains the resulting SIP code/sub-code and message. + /// + /// Determines the sub-type of the recognize operation. + /// In case of cancel operation the this field is not set and is returned empty + /// + /// Defines the result for RecognitionType = Dtmf, Choice, Speech. + /// A new instance for mocking. + public static RecognizeCompleted RecognizeCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null, CallMediaRecognitionType recognitionType = default, RecognizeResult recognizeResult = null) { - return new PlayPaused(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new RecognizeCompleted(callConnectionId, serverCallId, correlationId, operationContext, resultInformation, recognitionType, recognizeResult); } - /// Initializes a new instance of PlayResumed. - /// Result information defines the code, subcode and message. - /// Used by customers when calling mid-call actions to correlate the request to the response event. + /// Initializes a new instance of CallTransferAccepted. /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// A new instance for mocking. - public static PlayResumed PlayResumed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) - { - return new PlayResumed(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); - } - - /// Initializes a new instance of PlayCanceled. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. - /// 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. - /// A new instance for mocking. - public static PlayCanceled PlayCanceled(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) - { - return new PlayCanceled(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); - } - - /// Initializes a new instance of RecognizeCanceled. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. - /// 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. - /// A new instance for mocking. - public static RecognizeCanceled RecognizeCanceled(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) - { - return new RecognizeCanceled(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); - } - - /// Initializes a new instance of RecognizeFailed. /// 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. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// A new instance for mocking. - public static RecognizeFailed RecognizeFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null, int? failedPlaySourceIndex = null) - { - var internalObject = new RecognizeFailedInternal(callConnectionId, serverCallId, correlationId, operationContext, resultInformation, failedPlaySourceIndex); - - return new RecognizeFailed(internalObject); - } - - /// Initializes a new instance of RecordingStateChanged. - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. - /// The call recording id. - /// - /// The time of the recording started. - /// - /// Contains the resulting SIP code, sub-code and message. - /// A new instance for mocking. - public static RecordingStateChanged RecordingStateChanged(string callConnectionId = null, string serverCallId = null, string correlationId = null, string recordingId = null, RecordingState state = default, DateTimeOffset? startDateTime = null, RecordingKind? recordingKind = null, ResultInformation resultInformation = null) - { - return new RecordingStateChanged(callConnectionId, serverCallId, correlationId, recordingId, state: state, startDateTime: startDateTime, recordingKind, resultInformation); - } - - /// Initializes a new instance of RecordingStateResult. - /// - /// - /// - /// A new instance for mocking. - public static RecordingStateResult RecordingStateResult(string recordingId = null, RecordingState? recordingState = null, RecordingKind? recordingKind = null) + /// Contains the resulting SIP code/sub-code and message from NGC services. + /// Transferee is the participant who is transferring the call. + /// The identity of the target where call should be transferred to. + /// A new instance for mocking. + public static CallTransferAccepted CallTransferAccepted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null, CommunicationIdentifier transferee = null, CommunicationIdentifier transferTarget = null) { - return new RecordingStateResult(recordingId: recordingId, recordingState: recordingState, recordingKind: recordingKind); + var internalEvent = new CallTransferAcceptedInternal( + callConnectionId, + serverCallId, + correlationId, + operationContext, + resultInformation, + transferTarget == null ? null : CommunicationIdentifierSerializer_2025_06_30.Serialize(transferTarget), + transferee == null ? null : CommunicationIdentifierSerializer_2025_06_30.Serialize(transferee) + ); + return new CallTransferAccepted(internalEvent); } - /// Initializes a new instance of SendDtmfTonesCompleted. + /// + /// Initializes a new instance of SendDtmfTonesCompleted. + /// /// Call connection ID. /// Server call ID. - /// Correlation ID for event to call correlation. + /// Correlation ID for event to call corre lation. Also called ChainId for skype chain ID. /// 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. + /// Contains the resulting SIP code/sub-code and message. /// A new instance for mocking. public static SendDtmfTonesCompleted SendDtmfTonesCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) { - var internalObject = new SendDtmfTonesCompletedInternal(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + var internalObject = new SendDtmfTonesCompletedInternal(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); return new SendDtmfTonesCompleted(internalObject); } - /// Initializes a new instance of SendDtmfTonesFailed. + /// + /// Initializes a new instance of SendDtmfTonesFailed. + /// /// Call connection ID. /// Server call ID. - /// Correlation ID for event to call correlation. + /// Correlation ID for event to call corre lation. Also called ChainId for skype chain ID. /// 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. + /// Contains the resulting SIP code/sub-code and message. /// A new instance for mocking. public static SendDtmfTonesFailed SendDtmfTonesFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) { - var internalObject = new SendDtmfTonesFailedInternal(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + var internalObject = new SendDtmfTonesFailedInternal(operationContext,resultInformation,callConnectionId,serverCallId,correlationId); return new SendDtmfTonesFailed(internalObject); } @@ -570,7 +511,7 @@ public static SendDtmfTonesFailed SendDtmfTonesFailed(string callConnectionId = /// A new instance for mocking. public static HoldAudioStarted HoldAudioStarted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) { - return new HoldAudioStarted(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new HoldAudioStarted(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Initializes a new instance of HoldAudioPaused. @@ -582,7 +523,7 @@ public static HoldAudioStarted HoldAudioStarted(string callConnectionId = null, /// A new instance for mocking. public static HoldAudioPaused HoldAudioPaused(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) { - return new HoldAudioPaused(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new HoldAudioPaused(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Initializes a new instance of HoldAudioResumed. @@ -594,7 +535,7 @@ public static HoldAudioPaused HoldAudioPaused(string callConnectionId = null, st /// A new instance for mocking. public static HoldAudioResumed HoldAudioResumed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) { - return new HoldAudioResumed(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new HoldAudioResumed(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Initializes a new instance of HoldAudioCompleted. @@ -606,7 +547,7 @@ public static HoldAudioResumed HoldAudioResumed(string callConnectionId = null, /// A new instance for mocking. public static HoldAudioCompleted HoldAudioCompleted(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) { - return new HoldAudioCompleted(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); + return new HoldAudioCompleted(operationContext, resultInformation, callConnectionId, serverCallId, correlationId); } /// Initializes a new instance of HoldFailed. @@ -618,23 +559,19 @@ public static HoldAudioCompleted HoldAudioCompleted(string callConnectionId = nu /// A new instance for mocking. public static HoldFailed HoldFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) { - var internalObject = new HoldFailedInternal(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); - - return new HoldFailed(internalObject); + return new HoldFailed(operationContext,resultInformation,callConnectionId,serverCallId,correlationId); } - /// - /// Initializes a new instance of create call failed event. - /// - public static CreateCallFailed CreateCallFailed( - string callConnectionId = default, - string serverCallId = default, - string correlationId = default, - ResultInformation resultInformation = default, - string operationContext = default) + /// Initializes a new instance of ConnectFailed. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. + /// 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. + /// A new instance for mocking. + public static ConnectFailed ConnectFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, ResultInformation resultInformation = null) { - var createdCallFailedInternal = new CreateCallFailedInternal(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); - return new CreateCallFailed(createdCallFailedInternal); + return new ConnectFailed(callConnectionId, serverCallId, correlationId, operationContext, resultInformation); } /// Initializes a new instance of IncomingCall. @@ -651,16 +588,13 @@ public static IncomingCall IncomingCall(CommunicationIdentifier to = null, Commu CustomCallingContext customContext = null, string incomingCallContext = null, CommunicationIdentifier onBehalfOfCallee = null, string correlationId = null) { var internalObject = new IncomingCallInternal( - to == null ? null : CommunicationIdentifierSerializer.Serialize(to), - @from == null ? null : CommunicationIdentifierSerializer.Serialize(@from), + to == null ? null : CommunicationIdentifierSerializer_2025_06_30.Serialize(to), + @from == null ? null : CommunicationIdentifierSerializer_2025_06_30.Serialize(@from), callerDisplayName, serverCallId, - customContext == null ? null : new CustomCallingContextInternal( - customContext.VoipHeaders, - customContext.SipHeaders, - CustomCallContextHelpers.CreateTeamsPhoneCallDetailsInternal(customContext.TeamsPhoneCallDetails)), + customContext == null ? null: new CustomCallingContextInternal(customContext.VoipHeaders, customContext.SipHeaders), incomingCallContext, - onBehalfOfCallee == null ? null : CommunicationIdentifierSerializer.Serialize(onBehalfOfCallee), + onBehalfOfCallee == null ? null : CommunicationIdentifierSerializer_2025_06_30.Serialize(onBehalfOfCallee), correlationId ); diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallConnectionProperties.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallConnectionProperties.cs index 0b002c74f7d5..c913847e8e2d 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallConnectionProperties.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallConnectionProperties.cs @@ -19,10 +19,9 @@ internal CallConnectionProperties( CommunicationIdentifier source, PhoneNumberIdentifier sourceCallerIdNumber, string sourceDisplayName, - MediaStreamingSubscription mediaStreamingSubscription, - TranscriptionSubscription transcriptionSubscription, + string dataSubscriptionId, CommunicationUserIdentifier answeredBy, - PhoneNumberIdentifier answeredFor + MediaStreamingSubscription mediaStreamingSubscription ) { CallConnectionId = callConnectionId; @@ -33,19 +32,18 @@ PhoneNumberIdentifier answeredFor Source = source; SourceCallerIdNumber = sourceCallerIdNumber; SourceDisplayName = sourceDisplayName; - MediaStreamingSubscription = mediaStreamingSubscription; - TranscriptionSubscription = transcriptionSubscription; + DataSubscriptionId = dataSubscriptionId; AnsweredBy = answeredBy; - AnsweredFor = answeredFor; + MediaStreamingSubscription = mediaStreamingSubscription; } internal CallConnectionProperties(CallConnectionPropertiesInternal callConnectionPropertiesDtoInternal) { CallConnectionId = callConnectionPropertiesDtoInternal.CallConnectionId; ServerCallId = callConnectionPropertiesDtoInternal.ServerCallId; - Targets = callConnectionPropertiesDtoInternal.Targets.Select(t => CommunicationIdentifierSerializer.Deserialize(t)).ToList(); + Targets = callConnectionPropertiesDtoInternal.Targets.Select(t => CommunicationIdentifierSerializer_2025_06_30.Deserialize(t)).ToList(); - if (callConnectionPropertiesDtoInternal.CallConnectionState == null || callConnectionPropertiesDtoInternal.CallConnectionState == default(CallConnectionState)) + if (callConnectionPropertiesDtoInternal.CallConnectionState == null || callConnectionPropertiesDtoInternal.CallConnectionState == default(CallConnectionState)) { CallConnectionState = CallConnectionState.Unknown; } @@ -55,32 +53,22 @@ internal CallConnectionProperties(CallConnectionPropertiesInternal callConnectio } CallbackUri = new Uri(callConnectionPropertiesDtoInternal.CallbackUri); - MediaStreamingSubscription = callConnectionPropertiesDtoInternal.MediaStreamingSubscription != null ? - new MediaStreamingSubscription( - callConnectionPropertiesDtoInternal.MediaStreamingSubscription.Id, - callConnectionPropertiesDtoInternal.MediaStreamingSubscription.State, - callConnectionPropertiesDtoInternal.MediaStreamingSubscription.SubscribedContentTypes) - : null; - TranscriptionSubscription = callConnectionPropertiesDtoInternal.TranscriptionSubscription != null ? - new TranscriptionSubscription( - callConnectionPropertiesDtoInternal.TranscriptionSubscription.Id, - callConnectionPropertiesDtoInternal.TranscriptionSubscription.State, - callConnectionPropertiesDtoInternal.TranscriptionSubscription.SubscribedResultTypes) - : null; - Source = callConnectionPropertiesDtoInternal.Source == null ? null : CommunicationIdentifierSerializer.Deserialize(callConnectionPropertiesDtoInternal.Source); + DataSubscriptionId = callConnectionPropertiesDtoInternal.DataSubscriptionId; + Source = callConnectionPropertiesDtoInternal.Source == null? null : CommunicationIdentifierSerializer_2025_06_30.Deserialize(callConnectionPropertiesDtoInternal.Source); SourceDisplayName = callConnectionPropertiesDtoInternal.SourceDisplayName; CorrelationId = callConnectionPropertiesDtoInternal.CorrelationId; - AnsweredBy = callConnectionPropertiesDtoInternal.AnsweredBy == null ? null : new CommunicationUserIdentifier(callConnectionPropertiesDtoInternal.AnsweredBy.Id); + AnsweredBy = callConnectionPropertiesDtoInternal.AnsweredBy == null? null : new CommunicationUserIdentifier(callConnectionPropertiesDtoInternal.AnsweredBy.Id); if (callConnectionPropertiesDtoInternal.SourceCallerIdNumber != null) { SourceCallerIdNumber = new PhoneNumberIdentifier(callConnectionPropertiesDtoInternal.SourceCallerIdNumber.Value); } - - if (callConnectionPropertiesDtoInternal.AnsweredFor != null) - { - AnsweredFor = new PhoneNumberIdentifier(callConnectionPropertiesDtoInternal.AnsweredFor.Value); - } + MediaStreamingSubscription = callConnectionPropertiesDtoInternal.MediaStreamingSubscription != null ? + new MediaStreamingSubscription( + callConnectionPropertiesDtoInternal.MediaStreamingSubscription.Id, + callConnectionPropertiesDtoInternal.MediaStreamingSubscription.State, + callConnectionPropertiesDtoInternal.MediaStreamingSubscription.SubscribedContentTypes) + : null; } /// The call connection id. @@ -93,10 +81,8 @@ internal CallConnectionProperties(CallConnectionPropertiesInternal callConnectio public CallConnectionState CallConnectionState { get; } /// The callback URI. public Uri CallbackUri { get; } - /// SubscriptionId for media streaming. - public MediaStreamingSubscription MediaStreamingSubscription { get; } /// SubscriptionId for transcription. - public TranscriptionSubscription TranscriptionSubscription { get; } + public string DataSubscriptionId { get; } /// /// Caller ID phone number to appear on the invitee. /// @@ -121,8 +107,8 @@ internal CallConnectionProperties(CallConnectionPropertiesInternal callConnectio public CommunicationUserIdentifier AnsweredBy { get; } /// - /// Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. + /// Media streaming subscription details. /// - public PhoneNumberIdentifier AnsweredFor { get; } + public MediaStreamingSubscription MediaStreamingSubscription { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallInvite.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallInvite.cs index a806023df2f8..d17f70d3fb1a 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallInvite.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallInvite.cs @@ -12,8 +12,6 @@ public class CallInvite { /// /// Creates a new CallInvite object. - /// When the source of the call is a Teams App source, callerIdNumber is not supported and should be null. - /// Sip Headers are supported for PSTN calls only. Voip Headers are not supported. /// /// /// @@ -21,40 +19,48 @@ public CallInvite(PhoneNumberIdentifier targetPhoneNumberIdentity, PhoneNumberId { Target = targetPhoneNumberIdentity; SourceCallerIdNumber = callerIdNumber; - CustomCallingContext = new CustomCallingContext(sipHeaders: new Dictionary(), voipHeaders: null, teamsPhoneCallDetails:null); + CustomCallingContext = new CustomCallingContext(sipHeaders: new Dictionary(), voipHeaders: null); } /// /// Creates a new CallInvite object. - /// Sip Headers are not supported. Voip Headers are supported for ACS Users. /// /// public CallInvite(CommunicationUserIdentifier targetIdentity) { Target = targetIdentity; - CustomCallingContext = new CustomCallingContext(sipHeaders: null, voipHeaders: new Dictionary(), teamsPhoneCallDetails: null); + CustomCallingContext = new CustomCallingContext(sipHeaders: null, voipHeaders: new Dictionary()); } /// /// Creates a new CallInvite object. - /// Sip Headers are not supported. Voip Headers are supported for Microsoft teams Users. /// /// public CallInvite(MicrosoftTeamsUserIdentifier targetIdentity) { Target = targetIdentity; - CustomCallingContext = new CustomCallingContext(sipHeaders: null, voipHeaders: new Dictionary(), teamsPhoneCallDetails: null); + CustomCallingContext = new CustomCallingContext(sipHeaders: null, voipHeaders: new Dictionary()); } /// /// Creates a new CallInvite object. - /// Sip Headers are not supported. Voip Headers are supported for Microsoft Teams Apps. /// /// public CallInvite(MicrosoftTeamsAppIdentifier targetIdentity) { Target = targetIdentity; - CustomCallingContext = new CustomCallingContext(sipHeaders: null, voipHeaders: new Dictionary(), teamsPhoneCallDetails: null); + CustomCallingContext = new CustomCallingContext(sipHeaders: null, voipHeaders: new Dictionary()); + } + + /// + /// Creates a new CallInvite object. + /// Sip Headers are not supported. Voip Headers are supported for Microsoft Teams Apps. + /// + /// + public CallInvite(TeamsExtensionUserIdentifier targetIdentity) + { + Target = targetIdentity; + CustomCallingContext = new CustomCallingContext(sipHeaders: null, voipHeaders: new Dictionary()); } /// diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallMediaRecognizeOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallMediaRecognizeOptions.cs index d94e34dfacdd..613d85059f6b 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallMediaRecognizeOptions.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallMediaRecognizeOptions.cs @@ -2,7 +2,6 @@ // Licensed under the MIT License. using System; -using System.Collections.Generic; namespace Azure.Communication.CallAutomation { @@ -44,11 +43,6 @@ protected CallMediaRecognizeOptions(RecognizeInputType inputType, CommunicationI /// public PlaySource Prompt { get; set; } - /// - /// PlaySource objects representing the sources to play. - /// - public IList PlayPrompts { get; set; } - /// /// Determines if we interrupt the prompt and start recognizing. /// diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallParticipant.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallParticipant.cs index 349f0bdb3ab2..3016b0ec13a1 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallParticipant.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallParticipant.cs @@ -21,9 +21,9 @@ internal CallParticipant(CommunicationIdentifier identifier, bool isMuted, bool /// The internal call participant. internal CallParticipant(CallParticipantInternal callParticipantInternal) { - Identifier = CommunicationIdentifierSerializer.Deserialize(callParticipantInternal.Identifier); + Identifier = CommunicationIdentifierSerializer_2025_06_30.Deserialize(callParticipantInternal.Identifier); IsMuted = (bool)callParticipantInternal.IsMuted; - IsOnHold = callParticipantInternal.IsOnHold.GetValueOrDefault(false); + IsOnHold = (bool)callParticipantInternal.IsOnHold; } /// The communication identifier. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CancelAddParticipantOperationResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CancelAddParticipantOperationResult.cs index bd2db5fa56c8..1dedf35c1d99 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CancelAddParticipantOperationResult.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CancelAddParticipantOperationResult.cs @@ -92,23 +92,14 @@ private static CancelAddParticipantEventResult SetReturnedEvent(CallAutomationEv case CancelAddParticipantSucceeded: { var successEvent = returnedEvent as CancelAddParticipantSucceeded; - - return new CancelAddParticipantEventResult( - true, - successEvent, - null, - successEvent?.InvitationId); + return new CancelAddParticipantEventResult(true, successEvent, null); } case CancelAddParticipantFailed: { var failedEvent = returnedEvent as CancelAddParticipantFailed; - return new CancelAddParticipantEventResult( - false, - null, - failedEvent, - failedEvent?.InvitationId); + return new CancelAddParticipantEventResult(false, null, failedEvent); } default: diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CreateCallOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CreateCallOptions.cs index 3c7891858d5a..b60006d8f508 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CreateCallOptions.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CreateCallOptions.cs @@ -36,14 +36,14 @@ public CreateCallOptions(CallInvite callInvite, Uri callbackUri) public string OperationContext { get; set; } /// - /// Media Streaming Configuration. + /// Live Transcription Configuration. /// - public MediaStreamingOptions MediaStreamingOptions { get; set; } + public TranscriptionOptions TranscriptionOptions { get; set; } /// - /// Live Transcription Configuration. + /// Media Streaming Configuration. /// - public TranscriptionOptions TranscriptionOptions { get; set; } + public MediaStreamingOptions MediaStreamingOptions { get; set; } /// /// AI options for the call such as endpoint URI of the Azure Cognitive Services resource diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CreateGroupCallOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CreateGroupCallOptions.cs index 0687c85def70..fd7874ebd509 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CreateGroupCallOptions.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CreateGroupCallOptions.cs @@ -18,7 +18,6 @@ public CreateGroupCallOptions(IEnumerable targets, Uri { Targets = targets; CallbackUri = callbackUri; - CustomCallingContext = new CustomCallingContext(sipHeaders: new Dictionary(), voipHeaders: new Dictionary(), teamsPhoneCallDetails: null); } /// @@ -47,25 +46,20 @@ public CreateGroupCallOptions(IEnumerable targets, Uri /// public string OperationContext { get; set; } - /// - /// Media Streaming Configuration. - /// - public MediaStreamingOptions MediaStreamingOptions { get; set; } - /// /// Live Transcription Configuration. /// public TranscriptionOptions TranscriptionOptions { get; set; } /// - /// AI options for the call such as endpoint URI of the Azure Cognitive Services resource + /// Media Streaming Configuration. /// - public CallIntelligenceOptions CallIntelligenceOptions { get; set; } + public MediaStreamingOptions MediaStreamingOptions { get; set; } /// - /// The Custom Context which contains SIP and voip headers. + /// AI options for the call such as endpoint URI of the Azure Cognitive Services resource /// - public CustomCallingContext CustomCallingContext { get; } + public CallIntelligenceOptions CallIntelligenceOptions { get; set; } /// /// Overrides default client source by a MicrosoftTeamsAppIdentifier type source. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CustomCallingContext.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CustomCallingContext.cs index 29b4539324f3..a7fec17c7a42 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CustomCallingContext.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CustomCallingContext.cs @@ -17,17 +17,13 @@ public class CustomCallingContext /// Dictionary of SIP headers. public IDictionary SipHeaders { get; } - /// Teams Phone Call Details. - public TeamsPhoneCallDetails TeamsPhoneCallDetails { get; internal set; } - /// /// Creates a new CustomCallingContext. /// - internal CustomCallingContext(IDictionary voipHeaders, IDictionary sipHeaders, TeamsPhoneCallDetails teamsPhoneCallDetails = null) + internal CustomCallingContext(IDictionary sipHeaders, IDictionary voipHeaders) { - SipHeaders = sipHeaders ?? new ChangeTrackingDictionary(); - VoipHeaders = voipHeaders ?? new ChangeTrackingDictionary(); - TeamsPhoneCallDetails = teamsPhoneCallDetails; + SipHeaders = sipHeaders; + VoipHeaders = voipHeaders; } /// @@ -44,7 +40,7 @@ public void AddSipUui(string value) } /// - /// Add a custom calling context sip X header. The provided key is appended to such as 'X-MS-Custom-{key}' + /// Add a custom calling context sip X header (X-* or X-MS-Custom-*). /// /// custom calling context sip X header's key. /// custom calling context sip X header's value. @@ -79,17 +75,6 @@ public void AddVoip(string key, string value) VoipHeaders.Add(key, value); } - /// - /// Sets Teams Phone Call Details for the custom calling context. - /// - /// Teams Phone Call Details to set. - /// is null. - public void SetTeamsPhoneCallDetails(TeamsPhoneCallDetails teamsPhoneCallDetails) - { - Argument.AssertNotNull(teamsPhoneCallDetails, nameof(teamsPhoneCallDetails)); - TeamsPhoneCallDetails = teamsPhoneCallDetails; - } - /// /// Enum representing the prefix to be used for SIP X headers. /// diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CustomCallingContextInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CustomCallingContextInternal.cs index 6b401034614d..1e54cfc33e26 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CustomCallingContextInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CustomCallingContextInternal.cs @@ -10,5 +10,10 @@ namespace Azure.Communication.CallAutomation [CodeGenModel("CustomCallingContext", Usage = new string[] { "output" }, Formats = new string[] { "json" })] internal partial class CustomCallingContextInternal { + public CustomCallingContextInternal(IDictionary voipHeaders, IDictionary sipHeaders) + { + SipHeaders = sipHeaders; + VoipHeaders = voipHeaders; + } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/DialogResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/DialogResult.cs index 809a91a78c52..17518d9101f4 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/DialogResult.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/DialogResult.cs @@ -33,7 +33,7 @@ internal void SetEventProcessor(CallAutomationEventProcessor evHandler, string c /// /// Wait for using . /// - /// Returns which contains either event, event, event, event, event, , , , event. + /// Returns which contains either event, event, event, event, event, , , event. public DialogEventResult WaitForEventProcessor(CancellationToken cancellationToken = default) { if (_evHandler is null) @@ -51,8 +51,7 @@ public DialogEventResult WaitForEventProcessor(CancellationToken cancellationTok || filter.GetType() == typeof(DialogStarted) || filter.GetType() == typeof(DialogTransfer) || filter.GetType() == typeof(DialogSensitivityUpdate) - || filter.GetType() == typeof(DialogLanguageChange) - || filter.GetType() == typeof(DialogUpdated)), + || filter.GetType() == typeof(DialogLanguageChange)), cancellationToken); return SetReturnedEvent(returnedEvent); @@ -61,7 +60,7 @@ public DialogEventResult WaitForEventProcessor(CancellationToken cancellationTok /// /// Wait for using . /// - /// Returns which contains either event, event, event, event, event, , , , event. + /// Returns which contains either event, event, event, event, event, , , event. public async Task WaitForEventProcessorAsync(CancellationToken cancellationToken = default) { if (_evHandler is null) @@ -79,8 +78,7 @@ public async Task WaitForEventProcessorAsync(CancellationToke || filter.GetType() == typeof(DialogStarted) || filter.GetType() == typeof(DialogTransfer) || filter.GetType() == typeof(DialogSensitivityUpdate) - || filter.GetType() == typeof(DialogLanguageChange) - || filter.GetType() == typeof(DialogUpdated)), + || filter.GetType() == typeof(DialogLanguageChange)), cancellationToken).ConfigureAwait(false); return SetReturnedEvent(returnedEvent); @@ -92,31 +90,28 @@ private static DialogEventResult SetReturnedEvent(CallAutomationEventBase return switch (returnedEvent) { case DialogCompleted: - result = new DialogEventResult(true, (DialogCompleted)returnedEvent, null, null, null, null, null, null, null, null); + result = new DialogEventResult(true, (DialogCompleted)returnedEvent, null, null, null, null, null, null, null); break; case DialogConsent: - result = new DialogEventResult(true, null, (DialogConsent)returnedEvent, null, null, null, null, null, null, null); + result = new DialogEventResult(true, null, (DialogConsent)returnedEvent, null, null, null, null, null, null); break; case DialogFailed: - result = new DialogEventResult(false, null, null, (DialogFailed)returnedEvent, null, null, null, null, null, null); + result = new DialogEventResult(false, null, null, (DialogFailed)returnedEvent, null, null, null, null, null); break; case DialogHangup: - result = new DialogEventResult(true, null, null, null, (DialogHangup)returnedEvent, null, null, null, null, null); + result = new DialogEventResult(true, null, null, null, (DialogHangup)returnedEvent, null, null, null, null); break; case DialogStarted: - result = new DialogEventResult(true, null, null, null, null, (DialogStarted)returnedEvent, null, null, null, null); + result = new DialogEventResult(true, null, null, null, null, (DialogStarted)returnedEvent, null, null, null); break; case DialogTransfer: - result = new DialogEventResult(true, null, null, null, null, null, (DialogTransfer)returnedEvent, null, null, null); + result = new DialogEventResult(true, null, null, null, null, null, (DialogTransfer)returnedEvent, null, null); break; case DialogSensitivityUpdate: - result = new DialogEventResult(true, null, null, null, null, null, null, (DialogSensitivityUpdate)returnedEvent, null, null); + result = new DialogEventResult(true, null, null, null, null, null, null, (DialogSensitivityUpdate)returnedEvent, null); break; case DialogLanguageChange: - result = new DialogEventResult(true, null, null, null, null, null, null, null, (DialogLanguageChange)returnedEvent, null); - break; - case DialogUpdated: - result = new DialogEventResult(true, null, null, null, null, null, null, null, null, (DialogUpdated)returnedEvent); + result = new DialogEventResult(true, null, null, null, null, null, null, null, (DialogLanguageChange)returnedEvent); break; default: throw new NotSupportedException(returnedEvent.GetType().Name); diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/DialogUpdateBase.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/DialogUpdateBase.cs deleted file mode 100644 index 3e018519c799..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/DialogUpdateBase.cs +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Collections.Generic; -using System.Text; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - /// The base object for DialogUpdate. - [CodeGenModel("DialogUpdateBase")] - public abstract partial class DialogUpdateBase - { - /// Initializes a new instance of DialogUpdateBase. - /// Determines the type of the dialog. - internal DialogUpdateBase(DialogInputType kind) - { - Kind = kind; - } - - /// Determines the type of the dialog. - internal DialogInputType Kind { get; } - - /// Dialog context. - public IDictionary Context { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/ErrorDetails.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/ErrorDetails.cs deleted file mode 100644 index 8593be58000b..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/ErrorDetails.cs +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - [CodeGenModel("Error")] - public partial class ErrorDetails - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/AddParticipantFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/AddParticipantFailed.cs index c863d94e95c7..8036af650175 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/AddParticipantFailed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/AddParticipantFailed.cs @@ -21,7 +21,7 @@ internal AddParticipantFailed(AddParticipantFailedInternal internalEvent) { OperationContext = internalEvent.OperationContext; ResultInformation = internalEvent.ResultInformation; - Participant = CommunicationIdentifierSerializer.Deserialize(internalEvent.Participant); + Participant = CommunicationIdentifierSerializer_2025_06_30.Deserialize(internalEvent.Participant); CallConnectionId = internalEvent.CallConnectionId; ServerCallId = internalEvent.ServerCallId; CorrelationId = internalEvent.CorrelationId; diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/AddParticipantSucceeded.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/AddParticipantSucceeded.cs index 386c67961cb2..5a164df9cb1c 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/AddParticipantSucceeded.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/AddParticipantSucceeded.cs @@ -21,7 +21,7 @@ internal AddParticipantSucceeded(AddParticipantSucceededInternal internalEvent) { OperationContext = internalEvent.OperationContext; ResultInformation = internalEvent.ResultInformation; - Participant = CommunicationIdentifierSerializer.Deserialize(internalEvent.Participant); + Participant = CommunicationIdentifierSerializer_2025_06_30.Deserialize(internalEvent.Participant); CallConnectionId = internalEvent.CallConnectionId; ServerCallId = internalEvent.ServerCallId; CorrelationId = internalEvent.CorrelationId; diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/CallAutomationEventParser.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/CallAutomationEventParser.cs index f803d94bdfb7..5e258b80a4d8 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/CallAutomationEventParser.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/CallAutomationEventParser.cs @@ -98,14 +98,14 @@ private static CallAutomationEventBase Deserialize(string eventData, string type return AddParticipantSucceeded.Deserialize(eventData); case nameof(CallConnected): return CallConnected.Deserialize(eventData); - case nameof(ConnectFailed): - return ConnectFailed.Deserialize(eventData); case nameof(CallDisconnected): return CallDisconnected.Deserialize(eventData); case nameof(CallTransferAccepted): return CallTransferAccepted.Deserialize(eventData); case nameof(CallTransferFailed): return CallTransferFailed.Deserialize(eventData); + case nameof(ConnectFailed): + return ConnectFailed.Deserialize(eventData); case nameof(ParticipantsUpdated): return ParticipantsUpdated.Deserialize(eventData); case nameof(RecordingStateChanged): @@ -114,6 +114,12 @@ private static CallAutomationEventBase Deserialize(string eventData, string type return StartRecordingFailed.Deserialize(eventData); case nameof(PlayCompleted): return PlayCompleted.Deserialize(eventData); + case nameof(PlayStarted): + return PlayStarted.Deserialize(eventData); + case nameof(PlayResumed): + return PlayResumed.Deserialize(eventData); + case nameof(PlayPaused): + return PlayPaused.Deserialize(eventData); case nameof(PlayFailed): return PlayFailed.Deserialize(eventData); case nameof(PlayCanceled): @@ -124,10 +130,6 @@ private static CallAutomationEventBase Deserialize(string eventData, string type return RecognizeFailed.Deserialize(eventData); case nameof(RecognizeCanceled): return RecognizeCanceled.Deserialize(eventData); - case nameof(MoveParticipantFailed): - return MoveParticipantFailed.Deserialize(eventData); - case nameof(MoveParticipantSucceeded): - return MoveParticipantSucceeded.Deserialize(eventData); case nameof(RemoveParticipantSucceeded): return RemoveParticipantSucceeded.Deserialize(eventData); case nameof(RemoveParticipantFailed): @@ -154,12 +156,6 @@ private static CallAutomationEventBase Deserialize(string eventData, string type return TranscriptionStopped.Deserialize(eventData); case nameof(TranscriptionFailed): return TranscriptionFailed.Deserialize(eventData); - case nameof(PlayStarted): - return PlayStarted.Deserialize(eventData); - case nameof(PlayResumed): - return PlayResumed.Deserialize(eventData); - case nameof(PlayPaused): - return PlayPaused.Deserialize(eventData); case nameof(AnswerFailed): return AnswerFailed.Deserialize(eventData); case nameof(CreateCallFailed): @@ -180,6 +176,10 @@ private static CallAutomationEventBase Deserialize(string eventData, string type return MediaStreamingStopped.Deserialize(eventData); case nameof(MediaStreamingFailed): return MediaStreamingFailed.Deserialize(eventData); + case nameof(MoveParticipantFailed): + return MoveParticipantFailed.Deserialize(eventData); + case nameof(MoveParticipantSucceeded): + return MoveParticipantSucceeded.Deserialize(eventData); #region Dialog case nameof(DialogCompleted): return DialogCompleted.Deserialize(eventData); @@ -197,8 +197,6 @@ private static CallAutomationEventBase Deserialize(string eventData, string type return DialogSensitivityUpdate.Deserialize(eventData); case nameof(DialogLanguageChange): return DialogLanguageChange.Deserialize(eventData); - case nameof(DialogUpdated): - return DialogUpdated.Deserialize(eventData); #endregion #region Incoming Call case nameof(IncomingCall): diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/CallTransferAccepted.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/CallTransferAccepted.cs index f8021ec96151..2022c2952201 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/CallTransferAccepted.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/CallTransferAccepted.cs @@ -31,8 +31,8 @@ internal CallTransferAccepted(CallTransferAcceptedInternal internalEvent) CallConnectionId = internalEvent.CallConnectionId; ServerCallId = internalEvent.ServerCallId; CorrelationId = internalEvent.CorrelationId; - Transferee = internalEvent.Transferee == null ? null : CommunicationIdentifierSerializer.Deserialize(internalEvent.Transferee); - TransferTarget = internalEvent.TransferTarget == null ? null : CommunicationIdentifierSerializer.Deserialize(internalEvent.TransferTarget); + Transferee = internalEvent.Transferee == null ? null : CommunicationIdentifierSerializer_2025_06_30.Deserialize(internalEvent.Transferee); + TransferTarget = internalEvent.TransferTarget == null ? null : CommunicationIdentifierSerializer_2025_06_30.Deserialize(internalEvent.TransferTarget); } /// diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/CancelAddParticipantSucceeded.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/CancelAddParticipantSucceeded.cs index 5e682b7a31c5..f31bb7af2362 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/CancelAddParticipantSucceeded.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/CancelAddParticipantSucceeded.cs @@ -24,6 +24,7 @@ internal CancelAddParticipantSucceeded(CancelAddParticipantSucceededInternal int ServerCallId = internalEvent.ServerCallId; CorrelationId = internalEvent.CorrelationId; InvitationId = internalEvent.InvitationId; + ResultInformation = internalEvent.ResultInformation; } /// diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/ConnectFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/ConnectFailed.cs similarity index 91% rename from sdk/communication/Azure.Communication.CallAutomation/src/Models/ConnectFailed.cs rename to sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/ConnectFailed.cs index fa49385465f5..892b71542da4 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/ConnectFailed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/ConnectFailed.cs @@ -22,8 +22,7 @@ public static ConnectFailed Deserialize(string content) using var document = JsonDocument.Parse(content); JsonElement element = document.RootElement; - // return DeserializeConnectFailed(element); - return null; + return DeserializeConnectFailed(element); } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/DialogSensitivityUpdate.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/DialogSensitivityUpdate.cs index 59eb67c643a2..ebf7e6f630c6 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/DialogSensitivityUpdate.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/DialogSensitivityUpdate.cs @@ -35,7 +35,7 @@ internal DialogSensitivityUpdate(DialogSensitivityUpdateInternal internalEvent) /// Dialog Id public string DialogId { get; } - /// SensitiveMask + /// SensitiveMask public bool? SensitiveMask { get; } /// diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/DialogUpdated.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/DialogUpdated.cs deleted file mode 100644 index b7278817138f..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/DialogUpdated.cs +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System.Text.Json; - -namespace Azure.Communication.CallAutomation -{ - /// - /// The dialog updated event - /// - public class DialogUpdated : CallAutomationEventBase - { - /// Initializes a new instance of DialogUpdatedEvent - internal DialogUpdated() - { - } - - /// Initializes a new instance of DialogUpdatedEvent. - /// Internal Representation of the DialogUpdatedEvent. - internal DialogUpdated(DialogUpdatedInternal internalEvent) - { - CallConnectionId = internalEvent.CallConnectionId; - ServerCallId = internalEvent.ServerCallId; - DialogInputType = internalEvent.DialogInputType; - CorrelationId = internalEvent.CorrelationId; - OperationContext = internalEvent.OperationContext; - ResultInformation = internalEvent.ResultInformation; - IvrContext = internalEvent.IvrContext; - DialogId = internalEvent.DialogId; - } - - /// Determines the type of the dialog. - public DialogInputType? DialogInputType { get; } - /// Dialog Id - public string DialogId { get; } - /// Updated Type - public string UpdatedType { get; } - /// Updated Destination - public string UpdatedDestination { get; } - /// IVR Context - public object IvrContext { get; } - - /// - /// Deserialize event. - /// - /// The json content. - /// The new object. - public static DialogUpdated Deserialize(string content) - { - using var document = JsonDocument.Parse(content); - JsonElement element = document.RootElement; - - var internalEvent = DialogUpdatedInternal.DeserializeDialogUpdatedInternal(element); - return new DialogUpdated(internalEvent); - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/DialogUpdatedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/DialogUpdatedInternal.cs deleted file mode 100644 index 3c26364ca05a..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/DialogUpdatedInternal.cs +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - /// - /// The dialog updated event internal. - /// - [CodeGenModel("DialogUpdated", Usage = new string[] { "output" }, Formats = new string[] { "json" })] - internal partial class DialogUpdatedInternal - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioCompleted.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioCompleted.cs index ecb75c7cb934..468f7e7dd599 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioCompleted.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioCompleted.cs @@ -18,18 +18,18 @@ public partial class HoldAudioCompleted : CallAutomationEventBase public MediaEventReasonCode ReasonCode { get; internal set; } /// Initializes a new instance of . - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. /// 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. - internal HoldAudioCompleted(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + internal HoldAudioCompleted(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; ReasonCode = new MediaEventReasonCode(resultInformation.SubCode.ToString()); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioPaused.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioPaused.cs index 21796d2648c8..cad4a10de928 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioPaused.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioPaused.cs @@ -18,18 +18,18 @@ public partial class HoldAudioPaused : CallAutomationEventBase public MediaEventReasonCode ReasonCode { get; internal set; } /// Initializes a new instance of . - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. /// 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. - internal HoldAudioPaused(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + internal HoldAudioPaused(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; ReasonCode = new MediaEventReasonCode(resultInformation.SubCode.ToString()); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioResumed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioResumed.cs index 985f94802f9c..aa30b7e6e1d0 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioResumed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioResumed.cs @@ -18,18 +18,18 @@ public partial class HoldAudioResumed : CallAutomationEventBase public MediaEventReasonCode ReasonCode { get; internal set; } /// Initializes a new instance of . - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. /// 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. - internal HoldAudioResumed(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + internal HoldAudioResumed(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; ReasonCode = new MediaEventReasonCode(resultInformation.SubCode.ToString()); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioStarted.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioStarted.cs index 79dbd0170507..c429eb4a5053 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioStarted.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldAudioStarted.cs @@ -18,18 +18,18 @@ public partial class HoldAudioStarted : CallAutomationEventBase public MediaEventReasonCode ReasonCode { get; internal set; } /// Initializes a new instance of . - /// Call connection ID. - /// Server call ID. - /// Correlation ID for event to call correlation. /// 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. - internal HoldAudioStarted(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + internal HoldAudioStarted(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; ReasonCode = new MediaEventReasonCode(resultInformation.SubCode.ToString()); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldFailed.cs index 9449ca356ffc..2c9784e7a5f3 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldFailed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldFailed.cs @@ -7,8 +7,9 @@ namespace Azure.Communication.CallAutomation { /// - /// The Hold Failed event. + /// The HoldFailed event. /// + [CodeGenModel("HoldFailed", Usage = new string[] { "output" }, Formats = new string[] { "json" })] public partial class HoldFailed : CallAutomationEventBase { /// @@ -16,16 +17,20 @@ public partial class HoldFailed : CallAutomationEventBase /// public MediaEventReasonCode ReasonCode { get; internal set; } - /// Initializes a new instance of HoldFailed. - /// HoldFailedInternal event. - internal HoldFailed(HoldFailedInternal internalEvent) + /// Initializes a new instance of . + /// 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. + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + internal HoldFailed(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { - CallConnectionId = internalEvent.CallConnectionId; - ServerCallId = internalEvent.ServerCallId; - CorrelationId = internalEvent.CorrelationId; - OperationContext = internalEvent.OperationContext; - ResultInformation = internalEvent.ResultInformation; - ReasonCode = new MediaEventReasonCode(ResultInformation.SubCode.ToString()); + OperationContext = operationContext; + ResultInformation = resultInformation; + CallConnectionId = callConnectionId; + ServerCallId = serverCallId; + CorrelationId = correlationId; + ReasonCode = new MediaEventReasonCode(resultInformation.SubCode.ToString()); } /// @@ -38,7 +43,7 @@ public static HoldFailed Deserialize(string content) using var document = JsonDocument.Parse(content); JsonElement element = document.RootElement; - return new HoldFailed(HoldFailedInternal.DeserializeHoldFailedInternal(element)); + return DeserializeHoldFailed(element); } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldFailedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldFailedInternal.cs deleted file mode 100644 index 4e1888b6efbf..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/HoldFailedInternal.cs +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System.Text.Json.Serialization; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - /// - /// The recognize completed event internal. - /// - [CodeGenModel("HoldFailed", Usage = new string[] { "output" }, Formats = new string[] { "json" })] - internal partial class HoldFailedInternal : CallAutomationEventBase - { - /// - /// Reason code. - /// - public MediaEventReasonCode ReasonCode { get; internal set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/IncomingCall.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/IncomingCall.cs index 2726ec73ae0f..3efba68af4d8 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/IncomingCall.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/IncomingCall.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Text.Json; @@ -15,21 +15,20 @@ internal IncomingCall() { } - /// Initializes a new instance of . - /// Internal Representation of the IncomingCall. + /// Initializes a new instance of IncomingCallEvent. + /// Internal Representation of the IncomingCallEvent. internal IncomingCall(IncomingCallInternal internalEvent) { - To = CommunicationIdentifierSerializer.Deserialize(internalEvent.To); - From = CommunicationIdentifierSerializer.Deserialize(internalEvent.From); + To = CommunicationIdentifierSerializer_2025_06_30.Deserialize(internalEvent.To); + From = CommunicationIdentifierSerializer_2025_06_30.Deserialize(internalEvent.From); ServerCallId = internalEvent.ServerCallId; CallerDisplayName = internalEvent.CallerDisplayName; - CustomContext = new CustomCallingContext(internalEvent.CustomContext?.VoipHeaders, internalEvent.CustomContext?.SipHeaders, CustomCallContextHelpers.CreateTeamsPhoneCallDetails(internalEvent.CustomContext?.TeamsPhoneCallDetails)); - + CustomContext = new CustomCallingContext(internalEvent.CustomContext.SipHeaders, internalEvent.CustomContext.VoipHeaders); IncomingCallContext = internalEvent.IncomingCallContext; if (internalEvent.OnBehalfOfCallee != null) { - OnBehalfOfCallee = CommunicationIdentifierSerializer.Deserialize(internalEvent.OnBehalfOfCallee); + OnBehalfOfCallee = CommunicationIdentifierSerializer_2025_06_30.Deserialize(internalEvent.OnBehalfOfCallee); } CorrelationId = internalEvent.CorrelationId; diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingFailed.cs index 247442d9ce30..c24a1bd267b6 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingFailed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingFailed.cs @@ -7,9 +7,8 @@ namespace Azure.Communication.CallAutomation { /// - /// The MediaStreamingFailed event. + /// The media streaming failed event. /// - [CodeGenModel("MediaStreamingFailed", Usage = new string[] { "output" }, Formats = new string[] { "json" })] public partial class MediaStreamingFailed : CallAutomationEventBase { diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingStarted.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingStarted.cs index 907b1ef14333..baf10d483e27 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingStarted.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingStarted.cs @@ -7,9 +7,8 @@ namespace Azure.Communication.CallAutomation { /// - /// The MediaStreamingStarted event. + /// The media streaming started event. /// - [CodeGenModel("MediaStreamingStarted", Usage = new string[] { "output" }, Formats = new string[] { "json" })] public partial class MediaStreamingStarted : CallAutomationEventBase { diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingStopped.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingStopped.cs index 96196afedf0e..44677d9fdced 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingStopped.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingStopped.cs @@ -7,9 +7,8 @@ namespace Azure.Communication.CallAutomation { /// - /// The MediaStreamingStopped event. + /// The media streaming stopped event. /// - [CodeGenModel("MediaStreamingStopped", Usage = new string[] { "output" }, Formats = new string[] { "json" })] public partial class MediaStreamingStopped : CallAutomationEventBase { diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingUpdate.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingUpdate.cs index 8a02f71ef525..13224e214fbc 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingUpdate.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MediaStreamingUpdate.cs @@ -5,8 +5,15 @@ namespace Azure.Communication.CallAutomation { + /// + /// The media streaming update for media streaming events. + /// [CodeGenModel("MediaStreamingUpdate", Usage = new string[] { "output" }, Formats = new string[] { "json" })] public partial class MediaStreamingUpdate { + /// Gets the media streaming status. + public MediaStreamingStatus MediaStreamingStatus { get; } + /// Gets the media streaming status details. + public MediaStreamingStatusDetails MediaStreamingStatusDetails { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MoveParticipantFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MoveParticipantFailed.cs index 7f76e564c82e..3a188ce0f4f5 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MoveParticipantFailed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MoveParticipantFailed.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; @@ -23,7 +23,7 @@ internal MoveParticipantFailed(MoveParticipantFailedInternal internalEvent) CorrelationId = internalEvent.CorrelationId; OperationContext = internalEvent.OperationContext; FromCall = internalEvent.FromCall; - Participant = CommunicationIdentifierSerializer.Deserialize(internalEvent.Participant); + Participant = CommunicationIdentifierSerializer_2025_06_30.Deserialize(internalEvent.Participant); ResultInformation = internalEvent.ResultInformation; } /// diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MoveParticipantFailedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MoveParticipantFailedInternal.cs index 10f7726d9d4b..69355a45f91e 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MoveParticipantFailedInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MoveParticipantFailedInternal.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core; diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MoveParticipantSucceeded.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MoveParticipantSucceeded.cs index 31454345fe1c..88e4216ad57c 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MoveParticipantSucceeded.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/MoveParticipantSucceeded.cs @@ -23,7 +23,7 @@ internal MoveParticipantSucceeded(MoveParticipantSucceededInternal internalEvent CorrelationId = internalEvent.CorrelationId; OperationContext = internalEvent.OperationContext; FromCall = internalEvent.FromCall; - Participant = CommunicationIdentifierSerializer.Deserialize(internalEvent.Participant); + Participant = CommunicationIdentifierSerializer_2025_06_30.Deserialize(internalEvent.Participant); } /// diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/ParticipantsUpdated.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/ParticipantsUpdated.cs index cf646f3aa351..c69c0dccdea8 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/ParticipantsUpdated.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/ParticipantsUpdated.cs @@ -28,6 +28,7 @@ internal ParticipantsUpdated(ParticipantsUpdatedInternal internalEvent) ServerCallId = internalEvent.ServerCallId; CorrelationId = internalEvent.CorrelationId; SequenceNumber = internalEvent.SequenceNumber; + ResultInformation = internalEvent.ResultInformation; } /// List of current participants in the call. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayCompleted.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayCompleted.cs index 235c2097a344..c4c8b243e07b 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayCompleted.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayCompleted.cs @@ -9,6 +9,7 @@ namespace Azure.Communication.CallAutomation /// /// The play completed event. /// + [CodeGenModel("PlayCompleted", Usage = new string[] { "output" }, Formats = new string[] { "json" })] public partial class PlayCompleted : CallAutomationEventBase { /// @@ -16,16 +17,20 @@ public partial class PlayCompleted : CallAutomationEventBase /// public MediaEventReasonCode ReasonCode { get; internal set; } - /// Initializes a new instance of PlayCompleted. - /// PlayCompletedInternal event. - internal PlayCompleted(PlayCompletedInternal internalEvent) + /// Initializes a new instance of . + /// + /// + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + internal PlayCompleted(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { - CallConnectionId = internalEvent.CallConnectionId; - ServerCallId = internalEvent.ServerCallId; - CorrelationId = internalEvent.CorrelationId; - OperationContext = internalEvent.OperationContext; - ResultInformation = internalEvent.ResultInformation; - ReasonCode = new MediaEventReasonCode(ResultInformation.SubCode.ToString()); + OperationContext = operationContext; + ResultInformation = resultInformation; + CallConnectionId = callConnectionId; + ServerCallId = serverCallId; + CorrelationId = correlationId; + ReasonCode = new MediaEventReasonCode(resultInformation.SubCode.ToString()); } /// @@ -38,7 +43,7 @@ public static PlayCompleted Deserialize(string content) using var document = JsonDocument.Parse(content); JsonElement element = document.RootElement; - return new PlayCompleted(PlayCompletedInternal.DeserializePlayCompletedInternal(element)); + return DeserializePlayCompleted(element); } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayCompletedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayCompletedInternal.cs deleted file mode 100644 index a7a9872ee338..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayCompletedInternal.cs +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System.Text.Json.Serialization; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - /// - /// The recognize completed event internal. - /// - [CodeGenModel("PlayCompleted", Usage = new string[] { "output" }, Formats = new string[] { "json" })] - internal partial class PlayCompletedInternal : CallAutomationEventBase - { - /// - /// Reason code. - /// - public MediaEventReasonCode ReasonCode { get; internal set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayFailed.cs index 22d639ee2c9c..41b81de1fe1e 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayFailed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayFailed.cs @@ -9,6 +9,7 @@ namespace Azure.Communication.CallAutomation /// /// The Play Failed event. /// + [CodeGenModel("PlayFailed", Usage = new string[] { "output" }, Formats = new string[] { "json" })] public partial class PlayFailed : CallAutomationEventBase { /// @@ -16,20 +17,20 @@ public partial class PlayFailed : CallAutomationEventBase /// public MediaEventReasonCode ReasonCode { get; internal set; } - /// Contains the index of the failed play source. - public int? FailedPlaySourceIndex { get; internal set; } - - /// Initializes a new instance of PlayFailed. - /// PlayFailedInternal event. - internal PlayFailed(PlayFailedInternal internalEvent) + /// Initializes a new instance of . + /// + /// + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + internal PlayFailed(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { - CallConnectionId = internalEvent.CallConnectionId; - ServerCallId = internalEvent.ServerCallId; - CorrelationId = internalEvent.CorrelationId; - OperationContext = internalEvent.OperationContext; - ResultInformation = internalEvent.ResultInformation; - ReasonCode = new MediaEventReasonCode(ResultInformation.SubCode.ToString()); - FailedPlaySourceIndex = internalEvent.FailedPlaySourceIndex; + OperationContext = operationContext; + ResultInformation = resultInformation; + CallConnectionId = callConnectionId; + ServerCallId = serverCallId; + CorrelationId = correlationId; + ReasonCode = new MediaEventReasonCode(resultInformation.SubCode.ToString()); } /// @@ -42,7 +43,7 @@ public static PlayFailed Deserialize(string content) using var document = JsonDocument.Parse(content); JsonElement element = document.RootElement; - return new PlayFailed(PlayFailedInternal.DeserializePlayFailedInternal(element)); + return DeserializePlayFailed(element); } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayFailedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayFailedInternal.cs deleted file mode 100644 index 980f2440aad2..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayFailedInternal.cs +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System.Text.Json.Serialization; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - /// - /// The recognize completed event internal. - /// - [CodeGenModel("PlayFailed", Usage = new string[] { "output" }, Formats = new string[] { "json" })] - internal partial class PlayFailedInternal : CallAutomationEventBase - { - /// - /// Reason code. - /// - public MediaEventReasonCode ReasonCode { get; internal set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayPaused.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayPaused.cs index 65d577086a8a..19df05fdb9e8 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayPaused.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayPaused.cs @@ -17,19 +17,19 @@ public partial class PlayPaused : CallAutomationEventBase /// public MediaEventReasonCode ReasonCode { get; internal set; } - /// Initializes a new instance of PlayPaused. + /// Initializes a new instance of . + /// + /// /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal PlayPaused(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal PlayPaused(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; ReasonCode = new MediaEventReasonCode(resultInformation.SubCode.ToString()); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayResumed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayResumed.cs index 1e7e77061e6e..ccb72ba0cafe 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayResumed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayResumed.cs @@ -17,19 +17,19 @@ public partial class PlayResumed : CallAutomationEventBase /// public MediaEventReasonCode ReasonCode { get; internal set; } - /// Initializes a new instance of PlayResumed. + /// Initializes a new instance of . + /// + /// /// Call connection ID. /// Server call ID. /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. - /// 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. - internal PlayResumed(string callConnectionId, string serverCallId, string correlationId, string operationContext, ResultInformation resultInformation) + internal PlayResumed(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { + OperationContext = operationContext; + ResultInformation = resultInformation; CallConnectionId = callConnectionId; ServerCallId = serverCallId; CorrelationId = correlationId; - OperationContext = operationContext; - ResultInformation = resultInformation; ReasonCode = new MediaEventReasonCode(resultInformation.SubCode.ToString()); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayStarted.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayStarted.cs index 3fc5a141ac8a..42ba6408d567 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayStarted.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/PlayStarted.cs @@ -7,11 +7,32 @@ namespace Azure.Communication.CallAutomation { /// - /// The Play Started event. + /// The play started event. /// [CodeGenModel("PlayStarted", Usage = new string[] { "output" }, Formats = new string[] { "json" })] public partial class PlayStarted : CallAutomationEventBase { + /// + /// Reason code. + /// + public MediaEventReasonCode ReasonCode { get; internal set; } + + /// Initializes a new instance of . + /// + /// + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + internal PlayStarted(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) + { + OperationContext = operationContext; + ResultInformation = resultInformation; + CallConnectionId = callConnectionId; + ServerCallId = serverCallId; + CorrelationId = correlationId; + ReasonCode = new MediaEventReasonCode(resultInformation.SubCode.ToString()); + } + /// /// Deserialize event. /// diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RecognizeFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RecognizeFailed.cs index 2e063d8583ed..eb4703dd7764 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RecognizeFailed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RecognizeFailed.cs @@ -9,6 +9,7 @@ namespace Azure.Communication.CallAutomation /// /// The Recognize failed event. /// + [CodeGenModel("RecognizeFailed", Usage = new string[] { "output" }, Formats = new string[] { "json" })] public partial class RecognizeFailed : CallAutomationEventBase { /// @@ -16,20 +17,20 @@ public partial class RecognizeFailed : CallAutomationEventBase /// public MediaEventReasonCode ReasonCode { get; internal set; } - /// Contains the index of the failed play source. - public int? FailedPlaySourceIndex { get; internal set; } - - /// Initializes a new instance of RecognizeFailed. - /// RecognizeFailedInternal event - internal RecognizeFailed(RecognizeFailedInternal internalEvent) + /// Initializes a new instance of . + /// + /// + /// Call connection ID. + /// Server call ID. + /// Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + internal RecognizeFailed(string operationContext, ResultInformation resultInformation, string callConnectionId, string serverCallId, string correlationId) { - CallConnectionId = internalEvent.CallConnectionId; - ServerCallId = internalEvent.ServerCallId; - CorrelationId = internalEvent.CorrelationId; - OperationContext = internalEvent.OperationContext; - ResultInformation = internalEvent.ResultInformation; - ReasonCode = new MediaEventReasonCode(ResultInformation.SubCode.ToString()); - FailedPlaySourceIndex = internalEvent.FailedPlaySourceIndex; + OperationContext = operationContext; + ResultInformation = resultInformation; + CallConnectionId = callConnectionId; + ServerCallId = serverCallId; + CorrelationId = correlationId; + ReasonCode = new MediaEventReasonCode(resultInformation.SubCode.ToString()); } /// @@ -42,7 +43,7 @@ public static RecognizeFailed Deserialize(string content) using var document = JsonDocument.Parse(content); JsonElement element = document.RootElement; - return new RecognizeFailed(RecognizeFailedInternal.DeserializeRecognizeFailedInternal(element)); + return DeserializeRecognizeFailed(element); } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RecognizeFailedInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RecognizeFailedInternal.cs deleted file mode 100644 index 3453a083beae..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RecognizeFailedInternal.cs +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System.Text.Json.Serialization; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - /// - /// The recognize completed event internal. - /// - [CodeGenModel("RecognizeFailed", Usage = new string[] { "output" }, Formats = new string[] { "json" })] - internal partial class RecognizeFailedInternal : CallAutomationEventBase - { - /// - /// Reason code. - /// - public MediaEventReasonCode ReasonCode { get; internal set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RemoveParticipantFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RemoveParticipantFailed.cs index c91a89b9cfbb..341d20782d4a 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RemoveParticipantFailed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RemoveParticipantFailed.cs @@ -21,7 +21,7 @@ internal RemoveParticipantFailed(RemoveParticipantFailedInternal internalEvent) { OperationContext = internalEvent.OperationContext; ResultInformation = internalEvent.ResultInformation; - Participant = CommunicationIdentifierSerializer.Deserialize(internalEvent.Participant); + Participant = CommunicationIdentifierSerializer_2025_06_30.Deserialize(internalEvent.Participant); CallConnectionId = internalEvent.CallConnectionId; ServerCallId = internalEvent.ServerCallId; CorrelationId = internalEvent.CorrelationId; diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RemoveParticipantSucceeded.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RemoveParticipantSucceeded.cs index e9e27f2c62af..f119edf47525 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RemoveParticipantSucceeded.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/RemoveParticipantSucceeded.cs @@ -21,7 +21,7 @@ internal RemoveParticipantSucceeded(RemoveParticipantSucceededInternal internalE { OperationContext = internalEvent.OperationContext; ResultInformation = internalEvent.ResultInformation; - Participant = CommunicationIdentifierSerializer.Deserialize(internalEvent.Participant); + Participant = CommunicationIdentifierSerializer_2025_06_30.Deserialize(internalEvent.Participant); CallConnectionId = internalEvent.CallConnectionId; ServerCallId = internalEvent.ServerCallId; CorrelationId = internalEvent.CorrelationId; diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/TranscriptionFailed.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/TranscriptionFailed.cs index 54ab3e315b2d..9b5dd5baa4e2 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/TranscriptionFailed.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Events/TranscriptionFailed.cs @@ -13,11 +13,6 @@ namespace Azure.Communication.CallAutomation [CodeGenModel("TranscriptionFailed", Usage = new string[] { "output" }, Formats = new string[] { "json" })] public partial class TranscriptionFailed : CallAutomationEventBase { - /// - /// Reason code. - /// - public MediaEventReasonCode ReasonCode { get; internal set; } - /// /// Deserialize event. /// diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/HoldResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/HoldResult.cs index 7ca541e98de7..6c29a62162db 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/HoldResult.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/HoldResult.cs @@ -1,13 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; using System.Threading; +using System; using System.Threading.Tasks; namespace Azure.Communication.CallAutomation { - /// The result from playing audio. + /// The result from hold audio. public class HoldResult { private CallAutomationEventProcessor _evHandler; @@ -54,7 +54,7 @@ public HoldEventResult WaitForEventProcessor(CancellationToken cancellationToken /// Wait for using . /// /// Cancellation Token can be used to set timeout or cancel this WaitForEventProcessor. - /// Returns which contains event. + /// Returns which contains either event or event. public async Task WaitForEventProcessorAsync(CancellationToken cancellationToken = default) { if (_evHandler is null) @@ -65,10 +65,10 @@ public async Task WaitForEventProcessorAsync(CancellationToken var returnedEvent = await _evHandler.WaitForEventProcessorAsync(filter => filter.CallConnectionId == _callConnectionId && (filter.OperationContext == _operationContext || _operationContext is null) - && (filter.GetType() == typeof(HoldAudioCompleted) - || filter.GetType() == typeof(HoldAudioStarted) + && (filter.GetType() == typeof(HoldAudioStarted) || filter.GetType() == typeof(HoldAudioPaused) || filter.GetType() == typeof(HoldAudioResumed) + || filter.GetType() == typeof(HoldAudioCompleted) || filter.GetType() == typeof(HoldFailed)), cancellationToken).ConfigureAwait(false); diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/InterruptAudioAndAnnounceResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/InterruptAudioAndAnnounceResult.cs index ae1b4f2a012f..008ce9cec252 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/InterruptAudioAndAnnounceResult.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/InterruptAudioAndAnnounceResult.cs @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System.Threading.Tasks; using System; using System.Threading; -using System.Threading.Tasks; namespace Azure.Communication.CallAutomation { @@ -42,9 +42,7 @@ public PlayEventResult WaitForEventProcessor(CancellationToken cancellationToken && (filter.OperationContext == _operationContext || _operationContext is null) && (filter.GetType() == typeof(PlayCompleted) || filter.GetType() == typeof(PlayStarted) - || filter.GetType() == typeof(PlayFailed) - || filter.GetType() == typeof(PlayPaused) - || filter.GetType() == typeof(PlayResumed)), + || filter.GetType() == typeof(PlayFailed)), cancellationToken); return SetReturnedEvent(returnedEvent); @@ -67,9 +65,7 @@ public async Task WaitForEventProcessorAsync(CancellationToken && (filter.OperationContext == _operationContext || _operationContext is null) && (filter.GetType() == typeof(PlayCompleted) || filter.GetType() == typeof(PlayStarted) - || filter.GetType() == typeof(PlayFailed) - || filter.GetType() == typeof(PlayPaused) - || filter.GetType() == typeof(PlayResumed)), + || filter.GetType() == typeof(PlayFailed)), cancellationToken).ConfigureAwait(false); return SetReturnedEvent(returnedEvent); @@ -89,12 +85,6 @@ private static PlayEventResult SetReturnedEvent(CallAutomationEventBase returned case PlayStarted: result = new PlayEventResult(true, null, null, (PlayStarted)returnedEvent, null, null); break; - case PlayPaused: - result = new PlayEventResult(true, null, null, null, (PlayPaused)returnedEvent, null); - break; - case PlayResumed: - result = new PlayEventResult(true, null, null, null, null, (PlayResumed)returnedEvent); - break; default: throw new NotSupportedException(returnedEvent.GetType().Name); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingAudioChannel.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingAudioChannel.cs index 88e4d3a5faf9..606c053d74ed 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingAudioChannel.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingAudioChannel.cs @@ -6,7 +6,7 @@ namespace Azure.Communication.CallAutomation { /// - /// The states of a call. + /// Media streaming auido channel. /// [CodeGenModel("MediaStreamingAudioChannelType", Usage = new string[] { "input" }, Formats = new string[] { "json" })] public readonly partial struct MediaStreamingAudioChannel diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingContent.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingContent.cs index a4d674d8c911..b3ec07100d47 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingContent.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingContent.cs @@ -1,12 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; -using System.Text.Json.Serialization; using Azure.Core; +using System.Text.Json.Serialization; +using System; namespace Azure.Communication.CallAutomation { + /// + /// Media streaming content. + /// [CodeGenModel("MediaStreamingContentType", Usage = new string[] { "output" }, Formats = new string[] { "json" })] [JsonConverter(typeof(EquatableEnumJsonConverter))] public readonly partial struct MediaStreamingContent : IEquatable diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingOptions.cs index ca3beaa2dc5b..7faace23cdee 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingOptions.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingOptions.cs @@ -13,7 +13,7 @@ public MediaStreamingOptions(Uri transportUri, MediaStreamingContent contentType, MediaStreamingAudioChannel audioChannelType, MediaStreamingTransport transportType = default, bool? startMediaStreaming = null) { TransportUri = transportUri; - MediaStreamingTransport = transportType; + MediaStreamingTransport = transportType == default ? MediaStreamingTransport.Websocket : transportType; MediaStreamingContent = contentType; MediaStreamingAudioChannel = audioChannelType; StartMediaStreaming = startMediaStreaming; diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingStatus.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingStatus.cs index 27ebc2623edb..022506197565 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingStatus.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingStatus.cs @@ -2,11 +2,14 @@ // Licensed under the MIT License. using System; -using System.Text.Json.Serialization; using Azure.Core; +using System.Text.Json.Serialization; namespace Azure.Communication.CallAutomation { + /// + /// The media streaming status for media streaming update in events. + /// [CodeGenModel("MediaStreamingStatus", Usage = new string[] { "output" }, Formats = new string[] { "json" })] [JsonConverter(typeof(EquatableEnumJsonConverter))] public readonly partial struct MediaStreamingStatus : IEquatable diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingStatusDetails.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingStatusDetails.cs index be573be3006e..e4a3b1c9fce3 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingStatusDetails.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingStatusDetails.cs @@ -2,11 +2,14 @@ // Licensed under the MIT License. using System; -using System.Text.Json.Serialization; using Azure.Core; +using System.Text.Json.Serialization; namespace Azure.Communication.CallAutomation { + /// + /// The media streaming status details for media streaming update in events. + /// [CodeGenModel("MediaStreamingStatusDetails", Usage = new string[] { "output" }, Formats = new string[] { "json" })] [JsonConverter(typeof(EquatableEnumJsonConverter))] public readonly partial struct MediaStreamingStatusDetails : IEquatable diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingSubscription.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingSubscription.cs index 8d010a4b771e..f63bcce32a56 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingSubscription.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingSubscription.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; using System.Collections.Generic; namespace Azure.Communication.CallAutomation diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingSubscriptionState.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingSubscriptionState.cs index 93319cf11ca0..fc30a865878d 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingSubscriptionState.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingSubscriptionState.cs @@ -2,8 +2,8 @@ // Licensed under the MIT License. using System; -using System.Text.Json.Serialization; using Azure.Core; +using System.Text.Json.Serialization; namespace Azure.Communication.CallAutomation { diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingTransport.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingTransport.cs index 5b6336fa34a8..ad4d2f023e9b 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingTransport.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MediaStreamingTransport.cs @@ -6,7 +6,7 @@ namespace Azure.Communication.CallAutomation { /// - /// The states of a call. + /// Media streaming transport type. /// [CodeGenModel("MediaStreamingTransportType", Usage = new string[] { "input" }, Formats = new string[] { "json" })] public readonly partial struct MediaStreamingTransport diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MoveParticipantsOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MoveParticipantsOptions.cs index fc7d7fd5727c..e4ac206f23d2 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MoveParticipantsOptions.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MoveParticipantsOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MoveParticipantsResponseInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MoveParticipantsResponseInternal.cs index cc04fc865dab..98f95603b1fd 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MoveParticipantsResponseInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MoveParticipantsResponseInternal.cs @@ -1,8 +1,7 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core; - using System; namespace Azure.Communication.CallAutomation diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MoveParticipantsResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MoveParticipantsResult.cs index b0bd17903610..2465598be1c7 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/MoveParticipantsResult.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/MoveParticipantsResult.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/PlayOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/PlayOptions.cs index 50264c9859c3..5fd1d8b546c6 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/PlayOptions.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/PlayOptions.cs @@ -43,7 +43,9 @@ public class PlayOptions /// internal bool InterruptCallMediaOperation { get; set; } - /// If set, hold audio will be interrupted, then this request will be played, and then the hold audio will be resumed. + /// + /// If set, the hold audio will be paused, the announcement will be played, and the hold audio will be resumed. + /// public bool InterruptHoldAudio { get; set; } /// diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/PlayResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/PlayResult.cs index 1b29e597e76d..027838dc8988 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/PlayResult.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/PlayResult.cs @@ -41,6 +41,9 @@ public PlayEventResult WaitForEventProcessor(CancellationToken cancellationToken => filter.CallConnectionId == _callConnectionId && (filter.OperationContext == _operationContext || _operationContext is null) && (filter.GetType() == typeof(PlayCompleted) + || filter.GetType() == typeof(PlayStarted) + || filter.GetType() == typeof(PlayPaused) + || filter.GetType() == typeof(PlayResumed) || filter.GetType() == typeof(PlayFailed)), cancellationToken); @@ -62,7 +65,10 @@ public async Task WaitForEventProcessorAsync(CancellationToken var returnedEvent = await _evHandler.WaitForEventProcessorAsync(filter => filter.CallConnectionId == _callConnectionId && (filter.OperationContext == _operationContext || _operationContext is null) - && (filter.GetType() == typeof(PlayCompleted) + && (filter.GetType() == typeof(PlayStarted) + || filter.GetType() == typeof(PlayPaused) + || filter.GetType() == typeof(PlayResumed) + || filter.GetType() == typeof(PlayCompleted) || filter.GetType() == typeof(PlayFailed)), cancellationToken).ConfigureAwait(false); @@ -87,7 +93,7 @@ private static PlayEventResult SetReturnedEvent(CallAutomationEventBase returned result = new PlayEventResult(true, (PlayCompleted)returnedEvent, null, null, null, null); break; case PlayFailed: - result = result = new PlayEventResult(false, null, (PlayFailed)returnedEvent, null, null, null); + result = new PlayEventResult(false, null, (PlayFailed)returnedEvent, null, null, null); break; default: throw new NotSupportedException(returnedEvent.GetType().Name); diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/PostProcessingOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/PostProcessingOptions.cs deleted file mode 100644 index 650d2ca2c849..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/PostProcessingOptions.cs +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -using System; - -namespace Azure.Communication.CallAutomation -{ - /// - /// PostProcessingOptions base class - /// - public partial class PostProcessingOptions - { - /// - /// Initializes a new instance of the class. - /// - public PostProcessingOptions( - TranscriptionSettings transcription - ) - { - this.Transcription = transcription; - } - - /// - /// The identifier of the Cognitive Service resource assigned to the post recording processing. - /// The Cognitive Service resource will be used by the summarization feature. - /// - public string CognitiveServicesEndpoint { get; set; } - /// Define options of the transcription for the post recording processing. - public TranscriptionSettings Transcription { get; } - /// Define options of the summarization for the post recording processing. - public SummarizationSettings Summarization { get; set; } - } -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecognizeRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecognizeRequestInternal.cs index 3c3f95d20ae4..18389273af11 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecognizeRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecognizeRequestInternal.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System.Collections.Generic; using Azure.Core; namespace Azure.Communication.CallAutomation @@ -9,7 +8,5 @@ namespace Azure.Communication.CallAutomation [CodeGenModel("RecognizeRequest")] internal partial class RecognizeRequestInternal { - [CodeGenMember("PlayPrompts")] - public IList PlayPrompts { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecognizeResultType.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecognizeResultType.cs index 1011e0a693a5..1a4b6434d501 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecognizeResultType.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecognizeResultType.cs @@ -21,12 +21,9 @@ public RecognizeResultType(string value) } private const string DtmfResultValue = "DtmfResultValue"; - private const string CollectTonesResultValue = "CollectTonesResultValue"; private const string ChoiceResultValue = "ChoiceResultValue"; private const string SpeechResultValue = "SpeechResultValue"; - /// CollectTonesResult. - public static RecognizeResultType CollectTonesResult { get; } = new RecognizeResultType(CollectTonesResultValue); /// DtmfResult. public static RecognizeResultType DtmfResult { get; } = new RecognizeResultType(DtmfResultValue); /// ChoiceResult. diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecordingResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecordingResult.cs deleted file mode 100644 index 356b880a65c4..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecordingResult.cs +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - [CodeGenModel("RecordingResultResponse")] - public partial class RecordingResult - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecordingStorage.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecordingStorage.cs deleted file mode 100644 index 9dc1dd0aaed9..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecordingStorage.cs +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -using System; - -namespace Azure.Communication.CallAutomation -{ - /// - /// Recording Storage base - /// - public abstract partial class RecordingStorage - { - /// - /// Recording storage - /// - /// - public RecordingStorage(RecordingStorageKind recordingStorageKind) - { - this.RecordingStorageKind = recordingStorageKind; - } - - /// - /// Recording storage Kind - /// - public RecordingStorageKind RecordingStorageKind { get; private set; } - - /// Creates AzureBlobContainer Storage for Recording. - public static RecordingStorage CreateAzureBlobContainerRecordingStorage(Uri recordingDestinationContainerUri) - { - return new AzureBlobContainerRecordingStorage(recordingDestinationContainerUri); - } - - /// Creates AzureCommunications Storage for Recording. - public static RecordingStorage CreateAzureCommunicationsRecordingStorage() - { - return new AzureCommunicationsRecordingStorage(); - } - } -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecordingStorageInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecordingStorageInternal.cs deleted file mode 100644 index 7c55bb00876e..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/RecordingStorageInternal.cs +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -using System; - -namespace Azure.Communication.CallAutomation -{ - [CodeGenModel("ExternalStorage")] - internal partial class RecordingStorageInternal - { - } -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartDialogOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartDialog.cs similarity index 80% rename from sdk/communication/Azure.Communication.CallAutomation/src/Models/StartDialogOptions.cs rename to sdk/communication/Azure.Communication.CallAutomation/src/Models/StartDialog.cs index aa696220994b..5e3c64bcf2c8 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartDialogOptions.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartDialog.cs @@ -9,13 +9,13 @@ namespace Azure.Communication.CallAutomation /// /// The Dialog Options. /// - public class StartDialogOptions + public class StartDialog { /// /// Creates a new instance of the DialogOptions. /// /// - public StartDialogOptions(BaseDialog dialog) + public StartDialog(BaseDialog dialog) { DialogId = Guid.NewGuid().ToString(); Dialog = dialog; @@ -25,7 +25,7 @@ public StartDialogOptions(BaseDialog dialog) /// /// /// - public StartDialogOptions(string dialogId, BaseDialog dialog) + public StartDialog(string dialogId, BaseDialog dialog) { DialogId = dialogId; Dialog = dialog; @@ -35,6 +35,8 @@ public StartDialogOptions(string dialogId, BaseDialog dialog) public string DialogId { get; } /// Determines the type of the dialog. public BaseDialog Dialog { get; } + /// The value of the operation callback URI. + public string OperationCallbackUri { get; set; } /// The value to identify context of the operation. public string OperationContext { get; set; } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartHoldMusicOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartHoldMusicOptions.cs deleted file mode 100644 index 3caef136ee80..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartHoldMusicOptions.cs +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -namespace Azure.Communication.CallAutomation -{ - /// - /// Options for the Start Hold Music Request. - /// - public class StartHoldMusicOptions - { - /// - /// Creates a new StartHoldMusicOptions object. - /// - public StartHoldMusicOptions(CommunicationIdentifier targetParticipant, PlaySource playSourceInfo) - { - TargetParticipant = targetParticipant; - PlaySourceInfo = playSourceInfo; - Loop = true; - } - - /// - /// The participant that is going to be put on hold. - /// - public CommunicationIdentifier TargetParticipant { get; } - - /// - /// Prompt to play while on hold. - /// - public PlaySource PlaySourceInfo { get; set; } - - /// - /// If the prompt will be looped or not. - /// - public bool Loop { get; set; } - - /// - /// The operation context to correlate the request to the response event. - /// - public string OperationContext { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartHoldMusicRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartHoldMusicRequestInternal.cs deleted file mode 100644 index 2f398fb6831d..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartHoldMusicRequestInternal.cs +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - [CodeGenModel("StartHoldMusicRequest")] - internal partial class StartHoldMusicRequestInternal - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartRecordingOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartRecordingOptions.cs index 8ac594f2af1b..d959278693a9 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartRecordingOptions.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartRecordingOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; @@ -59,16 +59,6 @@ public StartRecordingOptions(string callConnectionId) /// public RecordingFormat RecordingFormat { get; set; } - /// - /// The pause on start option. - /// - public bool PauseOnStart { get; set; } - - /// - /// The external storage option. - /// - public RecordingStorage RecordingStorage { get; set; } - /// /// The sequential order in which audio channels are assigned to participants in the unmixed recording. /// When 'recordingChannelType' is set to 'unmixed' and `audioChannelParticipantOrdering is not specified, @@ -86,9 +76,7 @@ public StartRecordingOptions(string callConnectionId) /// public IList ChannelAffinity { get; set; } - /// - /// PostProcessingOptions for the Start Recording operation. - /// - public PostProcessingOptions PostProcessingOptions { get; set; } + /// When set to true will start recording in Pause mode, which could be resumed. + public bool PauseOnStart { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartTranscriptionOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartTranscriptionOptions.cs index c0ff74711ea2..7c88f00a3c0b 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartTranscriptionOptions.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartTranscriptionOptions.cs @@ -13,14 +13,8 @@ public class StartTranscriptionOptions { /// Defines Locale for the transcription e,g en-US. public string Locale { get; set; } - /// Endpoint where the custom model was deployed. - public string SpeechRecognitionModelEndpointId { get; set; } + /// The value to identify context of the operation. public string OperationContext { get; set; } - /// - /// 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. - /// - public string OperationCallbackUri { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartTranscriptionRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartTranscriptionRequestInternal.cs index ff733b04304f..bbff6d4ec220 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartTranscriptionRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/StartTranscriptionRequestInternal.cs @@ -3,13 +3,10 @@ using Azure.Core; -#nullable enable - namespace Azure.Communication.CallAutomation { [CodeGenModel("StartTranscriptionRequest")] internal partial class StartTranscriptionRequestInternal { - public string? SpeechRecognitionModelEndpointId { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StopHoldMusicOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/StopHoldMusicOptions.cs deleted file mode 100644 index bdcd88688c4f..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StopHoldMusicOptions.cs +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -namespace Azure.Communication.CallAutomation -{ - /// - /// Options for the Stop Hold Music Request. - /// - public class StopHoldMusicOptions - { - /// - /// Creates a new StopHoldMusicOptions object. - /// - public StopHoldMusicOptions(CommunicationIdentifier targetParticipant) - { - TargetParticipant = targetParticipant; - } - - /// - /// The participant that is currently on hold. - /// - public CommunicationIdentifier TargetParticipant { get; } - - /// - /// The operation context. - /// - public string OperationContext { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StopHoldMusicRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/StopHoldMusicRequestInternal.cs deleted file mode 100644 index 5e2e53f3a70e..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StopHoldMusicRequestInternal.cs +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - [CodeGenModel("StopHoldMusicRequest")] - internal partial class StopHoldMusicRequestInternal - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StopTranscriptionOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/StopTranscriptionOptions.cs index 5bb98b762797..7973652d6a58 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/StopTranscriptionOptions.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/StopTranscriptionOptions.cs @@ -13,13 +13,5 @@ public class StopTranscriptionOptions { /// The value to identify context of the operation. public string OperationContext { get; set; } - - /// Endpoint where the custom model was deployed. - public string SpeechRecognitionModelEndpointId { get; set; } - /// - /// 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. - /// - public string OperationCallbackUri { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/OutStreamingData.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/OutStreamingData.cs index b3818f20b308..95da3615a603 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/OutStreamingData.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/OutStreamingData.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; using System.Text.Json; namespace Azure.Communication.CallAutomation diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/StreamingData.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/StreamingData.cs index 532a3672ec27..4fec85538985 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/StreamingData.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/StreamingData.cs @@ -80,7 +80,7 @@ private static StreamingData ParseStreamingData(string base64Data) transcriptionDataInternal.Duration, transcriptionDataInternal.Words, transcriptionDataInternal.ParticipantRawID, - transcriptionDataInternal.ResultState + transcriptionDataInternal.ResultStatus ); #endregion diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/StreamingDataParser.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/StreamingDataParser.cs new file mode 100644 index 000000000000..944130466977 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/StreamingDataParser.cs @@ -0,0 +1,76 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Text; +using System.Text.Json; + +namespace Azure.Communication.CallAutomation +{ + /// + /// A generic parser for different packages, such as Media(Audio) or Transcription, received as + /// part of streaming over websocket + /// + public static class StreamingDataParser + { + /// + /// Parsing a MediaStreaming package from BinaryData. + /// + /// + /// + public static StreamingData Parse(BinaryData json) + { + return Parse(json.ToString()); + } + + /// + /// Parsing a MediaStreaming package from a byte array. + /// + /// a UTF8 byte array. + /// + public static StreamingData Parse(byte[] receivedBytes) + { + return Parse(Encoding.UTF8.GetString(receivedBytes)); + } + + /// + /// Parse the incoming package. + /// + /// + /// + /// + public static StreamingData Parse(string stringJson) + { + JsonElement package = JsonDocument.Parse(stringJson).RootElement; + + string kind = package.GetProperty("kind").ToString(); + + switch (kind) + { + #region Transcription + case "TranscriptionMetadata": + return JsonSerializer.Deserialize(package.GetProperty("transcriptionMetadata").ToString()); + + case "TranscriptionData": + TranscriptionDataInternal transcriptionDataInternal = JsonSerializer.Deserialize( + package.GetProperty("transcriptionData").ToString() + ); + return new TranscriptionData( + transcriptionDataInternal.Text, + transcriptionDataInternal.Format, + transcriptionDataInternal.Confidence, + transcriptionDataInternal.Offset, + transcriptionDataInternal.Duration, + transcriptionDataInternal.Words, + transcriptionDataInternal.ParticipantRawID, + transcriptionDataInternal.ResultStatus + ); + + #endregion + + default: + throw new NotSupportedException(stringJson); + } + } + } +} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/ResultStatus.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/ResultStatus.cs new file mode 100644 index 000000000000..54387c86fef2 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/ResultStatus.cs @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Azure.Communication.CallAutomation +{ + /// + /// The status of the result of transcription + /// + public enum ResultStatus + { + /// + /// Intermediate result + /// + Intermediate, + + /// + /// Final result + /// + Final + } +} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/TranscriptionData.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/TranscriptionData.cs index c1ac2f0018e9..6b6cd4ee4276 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/TranscriptionData.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/TranscriptionData.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; -using System.Linq; namespace Azure.Communication.CallAutomation { @@ -12,20 +11,19 @@ namespace Azure.Communication.CallAutomation /// public class TranscriptionData : StreamingData { - internal TranscriptionData(string text, string format, double confidence, long offset, long duration, IEnumerable words, string participantRawID, TranscriptionResultState resultState) + internal TranscriptionData(string text, string format, double confidence, ulong offset, ulong duration, IEnumerable words, string participantRawID, string resultStatus) { Text = text; Format = ConvertToTextFormatEnum(format); Confidence = confidence; - Offset = TimeSpan.FromTicks(offset); - Duration = TimeSpan.FromTicks(duration); - if (words != null) - Words = ConvertToWordData(words); + Offset = offset; + Duration = duration; + Words = words; if (participantRawID != null) { Participant = CommunicationIdentifier.FromRawId(participantRawID); } - ResultState = resultState; + ResultStatus = ConvertToResultStatusEnum(resultStatus); } /// @@ -47,12 +45,12 @@ internal TranscriptionData(string text, string format, double confidence, long o /// The position of this payload /// - public TimeSpan Offset { get; set; } + public ulong Offset { get; set; } /// /// Duration in ticks. 1 tick = 100 nanoseconds. /// - public TimeSpan Duration { get; set; } + public ulong Duration { get; set; } /// /// The result for each word of the phrase @@ -67,19 +65,24 @@ internal TranscriptionData(string text, string format, double confidence, long o /// /// Status of the result of transcription /// - public TranscriptionResultState ResultState { get; set; } + public ResultStatus ResultStatus { get; set; } - private static TextFormat ConvertToTextFormatEnum(string format) + private static ResultStatus ConvertToResultStatusEnum(string resultStatus) { - if (TextFormat.Display.ToString().Equals(format, StringComparison.OrdinalIgnoreCase)) - return TextFormat.Display; + if ("Intermediate".Equals(resultStatus, StringComparison.OrdinalIgnoreCase)) + return ResultStatus.Intermediate; + else if ("Final".Equals(resultStatus, StringComparison.OrdinalIgnoreCase)) + return ResultStatus.Final; else - throw new NotSupportedException(format); + throw new NotSupportedException(resultStatus); } - private static IEnumerable ConvertToWordData(IEnumerable wordData) + private static TextFormat ConvertToTextFormatEnum(string format) { - return wordData.Select(w => new WordData(w.Text, w.Offset, w.Duration)); + if ("Display".Equals(format, StringComparison.OrdinalIgnoreCase)) + return TextFormat.Display; + else + throw new NotSupportedException(format); } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/TranscriptionDataInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/TranscriptionDataInternal.cs index c0f5572db0e7..9e37c5c6a273 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/TranscriptionDataInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/TranscriptionDataInternal.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; using System.Collections.Generic; using System.Text.Json.Serialization; @@ -35,19 +34,19 @@ internal class TranscriptionDataInternal /// [JsonPropertyName("offset")] - public long Offset { get; set; } + public ulong Offset { get; set; } /// /// Duration in ticks. 1 tick = 100 nanoseconds. /// [JsonPropertyName("duration")] - public long Duration { get; set; } + public ulong Duration { get; set; } /// /// The result for each word of the phrase /// [JsonPropertyName("words")] - public IEnumerable Words { get; set; } + public IEnumerable Words { get; set; } /// /// The identified speaker based on participant raw ID @@ -59,6 +58,6 @@ internal class TranscriptionDataInternal /// Status of the result of transcription /// [JsonPropertyName("resultStatus")] - public TranscriptionResultState ResultState { get; set; } + public string ResultStatus { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/WordData.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/WordData.cs index 61eb609ce12c..df490a3799bf 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/WordData.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/WordData.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; using System.Text.Json.Serialization; namespace Azure.Communication.CallAutomation @@ -11,19 +10,6 @@ namespace Azure.Communication.CallAutomation /// public class WordData { - /// - /// Initializes a new instance of the class. - /// - /// - /// - /// - internal WordData(string text, long offset, long duration) - { - Text = text; - Offset = TimeSpan.FromTicks(offset); - Duration = TimeSpan.FromTicks(duration); - } - /// /// Text in the phrase. /// @@ -33,12 +19,12 @@ internal WordData(string text, long offset, long duration) /// The word's position within the phrase. /// [JsonPropertyName("offset")] - public TimeSpan Offset { get; set; } + public ulong Offset { get; set; } /// /// Duration in ticks. 1 tick = 100 nanoseconds. /// [JsonPropertyName("duration")] - public TimeSpan Duration { get; set; } + public ulong Duration { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/WordDataInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/WordDataInternal.cs deleted file mode 100644 index c0f138b71b21..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/WordDataInternal.cs +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Text.Json.Serialization; - -namespace Azure.Communication.CallAutomation -{ - /// - /// The result for each word of the phrase - /// - internal class WordDataInternal - { - /// - /// Text in the phrase. - /// - [JsonPropertyName("text")] - public string Text { get; set; } - /// - /// The word's position within the phrase. - /// - [JsonPropertyName("offset")] - public long Offset { get; set; } - - /// - /// Duration in ticks. 1 tick = 100 nanoseconds. - /// - [JsonPropertyName("duration")] - public long Duration { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/SummarizationSettings.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/SummarizationSettings.cs deleted file mode 100644 index fd9e43235560..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/SummarizationSettings.cs +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -using System; - -namespace Azure.Communication.CallAutomation -{ - /// - /// Summarization base class - /// - [CodeGenModel("Summarization")] - public partial class SummarizationSettings - { - } -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsExtensionUserIdentifierModel.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsExtensionUserIdentifierModel.cs index 7f3d3c00a0d9..2272e88086c2 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsExtensionUserIdentifierModel.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsExtensionUserIdentifierModel.cs @@ -1,13 +1,14 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; +using Azure.Core; -namespace Azure.Communication.CallAutomation +namespace Azure.Communication { /// A Microsoft Teams Phone user who is using a Communication Services resource to extend their Teams Phone set up. - public partial class TeamsExtensionUserIdentifierModel + [CodeGenModel("TeamsExtensionUserIdentifierModel", Usage = new string[] { "output" }, Formats = new string[] { "json" })] + internal partial class TeamsExtensionUserIdentifierModel { - internal CommunicationCloudEnvironmentModel? Cloud { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneCallDetails.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneCallDetails.cs deleted file mode 100644 index b2777dd735b6..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneCallDetails.cs +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System.Collections; -using System.Collections.Generic; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - /// - /// TeamsPhoneCallDetails. - /// - public class TeamsPhoneCallDetails - { - /// Initializes a new instance of . - public TeamsPhoneCallDetails() - { - } - - /// Initializes a new instance of . - /// Container for details relating to the original caller of the call. - /// Container for details relating to the entity responsible for the creation of these call details. - /// Id to exclusively identify this call session. IVR will use this for their telemetry/reporting. - /// The intent of the call. - /// A very short description (max 48 chars) of the reason for the call. To be displayed in Teams CallNotification. - /// A summary of the call thus far. It will be displayed on a side panel in the Teams UI. - /// Url for fetching the transcript of the call. - /// Sentiment of the call thus far. - /// Recommendations for resolving the issue based on the customer’s intent and interaction history. - internal TeamsPhoneCallDetails(TeamsPhoneCallerDetails teamsPhoneCallerDetails, TeamsPhoneSourceDetails teamsPhoneSourceDetails, string sessionId, string intent, string callTopic, string callContext, string transcriptUrl, string callSentiment, string suggestedActions) - { - TeamsPhoneCallerDetails = teamsPhoneCallerDetails; - TeamsPhoneSourceDetails = teamsPhoneSourceDetails; - SessionId = sessionId; - Intent = intent; - CallTopic = callTopic; - CallContext = callContext; - TranscriptUrl = transcriptUrl; - CallSentiment = callSentiment; - SuggestedActions = suggestedActions; - } - - /// Container for details relating to the original caller of the call. - public TeamsPhoneCallerDetails TeamsPhoneCallerDetails { get; set; } - /// Container for details relating to the entity responsible for the creation of these call details. - public TeamsPhoneSourceDetails TeamsPhoneSourceDetails { get; set; } - /// Id to exclusively identify this call session. IVR will use this for their telemetry/reporting. - public string SessionId { get; set; } - /// The intent of the call. - public string Intent { get; set; } - /// A very short description (max 48 chars) of the reason for the call. To be displayed in Teams CallNotification. - public string CallTopic { get; set; } - /// A summary of the call thus far. It will be displayed on a side panel in the Teams UI. - public string CallContext { get; set; } - /// Url for fetching the transcript of the call. - public string TranscriptUrl { get; set; } - /// Sentiment of the call thus far. - public string CallSentiment { get; set; } - /// Recommendations for resolving the issue based on the customer’s intent and interaction history. - public string SuggestedActions { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneCallDetailsInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneCallDetailsInternal.cs deleted file mode 100644 index 66f3fe34a1fd..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneCallDetailsInternal.cs +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System.Collections; -using System.Collections.Generic; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - [CodeGenModel("TeamsPhoneCallDetails", Usage = new string[] { "output" }, Formats = new string[] { "json" })] - internal partial class TeamsPhoneCallDetailsInternal - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneCallerDetails.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneCallerDetails.cs deleted file mode 100644 index 91146778a9da..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneCallerDetails.cs +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Collections; -using System.Collections.Generic; -using Azure.Core; -using Azure.Communication; - -namespace Azure.Communication.CallAutomation -{ - /// - /// TeamsPhoneCallerDetails. - /// - public class TeamsPhoneCallerDetails - { - /// Initializes a new instance of . - /// Caller's ID. - /// Caller's name. - /// Caller's phone number. - /// , or is null. - public TeamsPhoneCallerDetails(CommunicationIdentifier caller, string name, string phoneNumber) - { - Argument.AssertNotNull(caller, nameof(caller)); - Argument.AssertNotNull(name, nameof(name)); - Argument.AssertNotNull(phoneNumber, nameof(phoneNumber)); - Caller = caller; - Name = name; - PhoneNumber = phoneNumber; - AdditionalCallerInformation = new ChangeTrackingDictionary(); - } - - /// Initializes a new instance of . - /// Caller's ID. - /// Caller's name. - /// Caller's phone number. - /// Caller's record ID (ex in CRM). - /// Caller's screen pop URL. - /// Flag indicating whether the caller was authenticated. - /// A set of key value pairs (max 10, any additional entries would be ignored) which a bot author wants to pass to the Teams Client for display to the agent. - internal TeamsPhoneCallerDetails(CommunicationIdentifier caller, string name, string phoneNumber, string recordId, string screenPopUrl, bool? isAuthenticated, IDictionary additionalCallerInformation) - { - Caller = caller; - Name = name; - PhoneNumber = phoneNumber; - RecordId = recordId; - ScreenPopUrl = screenPopUrl; - IsAuthenticated = isAuthenticated; - AdditionalCallerInformation = additionalCallerInformation; - } - - /// Caller's ID. - internal CommunicationIdentifier Caller { get; set; } - /// Caller's name. - public string Name { get; set; } - /// Caller's phone number. - public string PhoneNumber { get; set; } - /// Caller's record ID (ex in CRM). - public string RecordId { get; set; } - /// Caller's screen pop URL. - public string ScreenPopUrl { get; set; } - /// Flag indicating whether the caller was authenticated. - public bool? IsAuthenticated { get; set; } - /// A set of key value pairs (max 10, any additional entries would be ignored) which a bot author wants to pass to the Teams Client for display to the agent. - public IDictionary AdditionalCallerInformation { get; } - - /// - /// Adds a key-value pair to the AdditionalCallerInformation dictionary. - /// Will not add entries beyond the maximum limit of 10 items. - /// - /// The key for the caller information. - /// The value for the caller information. - /// True if the item was added, false if the dictionary already contains 10 items. - public bool AddAdditionalCallerInformation(string key, string value) - { - if (AdditionalCallerInformation.Count >= 10) - { - return false; - } - - AdditionalCallerInformation[key] = value; - return true; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneCallerDetailsInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneCallerDetailsInternal.cs deleted file mode 100644 index 820786250a2f..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneCallerDetailsInternal.cs +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System.Collections; -using System.Collections.Generic; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - [CodeGenModel("TeamsPhoneCallerDetails", Usage = new string[] { "output" }, Formats = new string[] { "json" })] - internal partial class TeamsPhoneCallerDetailsInternal - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneSourceDetails.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneSourceDetails.cs deleted file mode 100644 index 8e009adc0b2b..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneSourceDetails.cs +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - /// - /// TeamsPhoneSourceDetails. - /// - public class TeamsPhoneSourceDetails - { - /// Initializes a new instance of . - /// ID of the source entity passing along the call details (ex. Application Instance ID of - CQ/AA). - /// Language of the source entity passing along the call details, passed in the ISO-639 standard. - /// Status of the source entity passing along the call details. - /// , or is null. - public TeamsPhoneSourceDetails(CommunicationIdentifier source, string language, string status) - { - Argument.AssertNotNull(source, nameof(source)); - Argument.AssertNotNull(language, nameof(language)); - Argument.AssertNotNull(status, nameof(status)); - Source = source; - Language = language; - Status = status; - IntendedTargets = new ChangeTrackingDictionary(); - } - - /// Initializes a new instance of . - /// ID of the source entity passing along the call details (ex. Application Instance ID of - CQ/AA). - /// Language of the source entity passing along the call details, passed in the ISO-639 standard. - /// Status of the source entity passing along the call details. - /// Intended targets of the source entity passing along the call details. - internal TeamsPhoneSourceDetails(CommunicationIdentifier source, string language, string status, IDictionary intendedTargets) - { - Source = source; - Language = language; - Status = status; - IntendedTargets = intendedTargets; - } - - /// ID of the source entity passing along the call details (ex. Application Instance ID of - CQ/AA). - public CommunicationIdentifier Source { get; set; } - /// Language of the source entity passing along the call details, passed in the ISO-639 standard. - public string Language { get; set; } - /// Status of the source entity passing along the call details. - public string Status { get; set; } - /// Intended targets of the source entity passing along the call details. - public IDictionary IntendedTargets { get; } - - /// - /// Adds a key-value pair to the IntendedTargets dictionary. - /// Will not add entries beyond the maximum limit of 10 items. - /// - /// The key for the intended target. - /// The communication identifier for the intended target. - /// True if the item was added, false if the dictionary already contains 10 items. - public bool AddIntendedTargets(string key, CommunicationIdentifier target) - { - if (IntendedTargets.Count >= 10) - { - return false; - } - - IntendedTargets[key] = target; - return true; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneSourceDetailsInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneSourceDetailsInternal.cs deleted file mode 100644 index d25593858a2c..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TeamsPhoneSourceDetailsInternal.cs +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System.Collections; -using System.Collections.Generic; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - [CodeGenModel("TeamsPhoneSourceDetails", Usage = new string[] { "output" }, Formats = new string[] { "json" })] - internal partial class TeamsPhoneSourceDetailsInternal - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionOptions.cs index 25fd37a98a0f..28f5687b881f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionOptions.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionOptions.cs @@ -15,17 +15,17 @@ public partial class TranscriptionOptions { /// Initializes a new instance of TranscriptionOptions. /// Transport URL for live transcription. + /// The type of transport to be used for live transcription, eg. Websocket. /// Defines the locale for the data e.g en-CA, en-AU. /// Determines if the transcription should be started immediately after call is answered or not. - /// The type of transport to be used for live transcription, eg. Websocket. /// or is null. - public TranscriptionOptions(Uri transportUri, string locale, bool? startTranscription = null, TranscriptionTransport transcriptionTransport = default) + public TranscriptionOptions(Uri transportUri, TranscriptionTransport transportType, string locale, bool startTranscription) { Argument.AssertNotNull(transportUri, nameof(transportUri)); Argument.AssertNotNull(locale, nameof(locale)); TransportUrl = transportUri; - TranscriptionTransport = transcriptionTransport; + TranscriptionTransport = transportType; Locale = locale; StartTranscription = startTranscription; } @@ -37,10 +37,6 @@ public TranscriptionOptions(Uri transportUri, string locale, bool? startTranscri /// Defines the locale for the data e.g en-CA, en-AU. public string Locale { get; } /// Determines if the transcription should be started immediately after call is answered or not. - public bool? StartTranscription { get; } - /// Endpoint where the custom model was deployed. - public string SpeechRecognitionModelEndpointId { get; set; } - /// Enables intermediate results for the transcribed speech. - public bool? EnableIntermediateResults { get; set; } + public bool StartTranscription { get; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionOptionsInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionOptionsInternal.cs index 89ecf2b46b82..4832ba8e5fcb 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionOptionsInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionOptionsInternal.cs @@ -3,14 +3,10 @@ using Azure.Core; -#nullable enable - namespace Azure.Communication.CallAutomation { - [CodeGenModel("TranscriptionOptions")] + [CodeGenModel("TranscriptionConfiguration")] internal partial class TranscriptionOptionsInternal { - /// Optional speech model endpoint to use for the transcription. - public string? SpeechRecognitionModelEndpointId { get; set; } } -} \ No newline at end of file +} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionResultState.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionResultState.cs deleted file mode 100644 index 1b0634b1e85a..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionResultState.cs +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Text.Json.Serialization; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - [CodeGenModel("TranscriptionResultType", Usage = new string[] { "output" }, Formats = new string[] { "json" })] - [JsonConverter(typeof(EquatableEnumJsonConverter))] - public readonly partial struct TranscriptionResultState : IEquatable - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionSettings.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionSettings.cs deleted file mode 100644 index af04d3e46921..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionSettings.cs +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -using System; - -namespace Azure.Communication.CallAutomation -{ - /// - /// Transcription base class - /// - [CodeGenModel("Transcription")] - public partial class TranscriptionSettings - { - } -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionSubscription.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionSubscription.cs deleted file mode 100644 index 3cb87c1ad50b..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionSubscription.cs +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Collections.Generic; - -namespace Azure.Communication.CallAutomation -{ - /// The TranscriptionSubscription. - public class TranscriptionSubscription - { - /// Initializes a new instance of . - /// Gets or Sets subscription Id. - /// Gets or Sets media streaming subscription state. - /// Gets or Sets the subscribed media streaming content types. - internal TranscriptionSubscription(string id, TranscriptionSubscriptionState? state, IReadOnlyList subscribedResultStates) - { - Id = id; - State = state; - SubscribedResultStates = subscribedResultStates; - } - - /// Gets or Sets subscription Id. - public string Id { get; } - /// Gets or Sets transcription subscription state. - public TranscriptionSubscriptionState? State { get; } - /// Gets or Sets the subscribed transcription result types. - public IReadOnlyList SubscribedResultStates { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionSubscriptionInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionSubscriptionInternal.cs deleted file mode 100644 index a289488d8020..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionSubscriptionInternal.cs +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - [CodeGenModel("TranscriptionSubscription")] - internal partial class TranscriptionSubscriptionInternal - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionSubscriptionState.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionSubscriptionState.cs deleted file mode 100644 index 4b1d9bc489e5..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TranscriptionSubscriptionState.cs +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Text.Json.Serialization; -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - [CodeGenModel("TranscriptionSubscriptionState", Usage = new string[] { "output" }, Formats = new string[] { "json" })] - [JsonConverter(typeof(EquatableEnumJsonConverter))] - public readonly partial struct TranscriptionSubscriptionState : IEquatable - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TransferToParticipantOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TransferToParticipantOptions.cs index 7a7d6e26202a..ffbb41140db0 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/TransferToParticipantOptions.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/TransferToParticipantOptions.cs @@ -18,7 +18,7 @@ public class TransferToParticipantOptions public TransferToParticipantOptions(PhoneNumberIdentifier targetPhoneNumberIdentity) { Target = targetPhoneNumberIdentity; - CustomCallingContext = new CustomCallingContext(sipHeaders: new Dictionary(), voipHeaders: null, teamsPhoneCallDetails: null); + CustomCallingContext = new CustomCallingContext(sipHeaders: new Dictionary(), null); } /// @@ -28,7 +28,7 @@ public TransferToParticipantOptions(PhoneNumberIdentifier targetPhoneNumberIdent public TransferToParticipantOptions(CommunicationUserIdentifier targetIdentity) { Target = targetIdentity; - CustomCallingContext = new CustomCallingContext(sipHeaders: null, voipHeaders: new Dictionary(), teamsPhoneCallDetails: null); + CustomCallingContext = new CustomCallingContext(sipHeaders: null, voipHeaders: new Dictionary()); } /// @@ -38,17 +38,17 @@ public TransferToParticipantOptions(CommunicationUserIdentifier targetIdentity) public TransferToParticipantOptions(MicrosoftTeamsUserIdentifier targetIdentity) { Target = targetIdentity; - CustomCallingContext = new CustomCallingContext(sipHeaders: null, voipHeaders: new Dictionary(), teamsPhoneCallDetails: null); + CustomCallingContext = new CustomCallingContext(sipHeaders: null, voipHeaders: new Dictionary()); } /// /// Creates a new TransferToParticipantOptions object. /// /// The target to transfer the call to. - public TransferToParticipantOptions(MicrosoftTeamsAppIdentifier targetIdentity) + public TransferToParticipantOptions(TeamsExtensionUserIdentifier targetIdentity) { Target = targetIdentity; - CustomCallingContext = new CustomCallingContext(sipHeaders: null, voipHeaders: new Dictionary(), teamsPhoneCallDetails: null); + CustomCallingContext = new CustomCallingContext(sipHeaders: null, voipHeaders: new Dictionary()); } /// @@ -77,10 +77,5 @@ public TransferToParticipantOptions(MicrosoftTeamsAppIdentifier targetIdentity) /// This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. /// public Uri OperationCallbackUri { get; set; } - - /// - /// The phone number that will be used as the transferor(Contoso) caller id when transfering a call a pstn target. - /// - public PhoneNumberIdentifier SourceCallerIdNumber { get; set; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/UnmuteParticipantOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/UnmuteParticipantOptions.cs deleted file mode 100644 index dd108ce2203a..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/UnmuteParticipantOptions.cs +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System.Collections.Generic; -using System.Linq; - -namespace Azure.Communication.CallAutomation -{ - /// - /// Options for the Unmute Participant Request. - /// - public class UnmuteParticipantOptions - { - /// - /// Creates a new UnmuteParticipantOptions object. - /// - public UnmuteParticipantOptions(CommunicationIdentifier targetParticipant) - { - TargetParticipant = targetParticipant; - } - - /// - /// The identity of participants to be unmuted from the call. - /// Only ACS Users are currently supported. - /// - public CommunicationIdentifier TargetParticipant { get; } - - /// - /// The operation context. - /// - public string OperationContext { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/UnmuteParticipantResult.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/UnmuteParticipantResult.cs deleted file mode 100644 index a271f572958c..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/UnmuteParticipantResult.cs +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - [CodeGenModel("UnmuteParticipantsResponse")] - public partial class UnmuteParticipantResult - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/UnmuteParticipantsRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/UnmuteParticipantsRequestInternal.cs deleted file mode 100644 index bb10b324f057..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/UnmuteParticipantsRequestInternal.cs +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - [CodeGenModel("UnmuteParticipantsRequest")] - internal partial class UnmuteParticipantsRequestInternal - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/UpdateDialogOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/UpdateDialogOptions.cs deleted file mode 100644 index 3b6f0c44a5ab..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/UpdateDialogOptions.cs +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Collections.Generic; -using System.Text; - -namespace Azure.Communication.CallAutomation -{ - /// - /// Update Dialog Options bag - /// - public class UpdateDialogOptions - { - /// - /// Creates a new instance of the UpdateDialogOptions. - /// - /// - /// - public UpdateDialogOptions(string dialogId, DialogUpdateBase dialog) - { - DialogId = dialogId; - Dialog = dialog; - } - /// Dialog Id - public string DialogId { get; } - /// Determines the type of the dialog. - public DialogUpdateBase Dialog { get; } - /// The value to identify context of the operation. - public string OperationContext { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/UpdateDialogRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/UpdateDialogRequestInternal.cs deleted file mode 100644 index 8a5af2723447..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/UpdateDialogRequestInternal.cs +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -namespace Azure.Communication.CallAutomation -{ - [CodeGenModel("UpdateDialogRequest")] - internal partial class UpdateDialogRequestInternal - { - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/UpdateTranscriptionOptions.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/UpdateTranscriptionOptions.cs deleted file mode 100644 index 390c688cbd79..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/UpdateTranscriptionOptions.cs +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -namespace Azure.Communication.CallAutomation -{ - /// - /// Options for the stop transcription Request. - /// - public class UpdateTranscriptionOptions - { - /// - /// Options for the Update Transcription operation. - /// - public UpdateTranscriptionOptions(string locale) - { - this.Locale = locale; - } - - /// Defines Locale for the transcription e,g en-US. - internal string Locale { get; set; } - - /// The value to identify context of the operation. - public string OperationContext { get; set; } - - /// Endpoint where the custom model was deployed. - public string SpeechRecognitionModelEndpointId { get; set; } - /// - /// 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. - /// - public string OperationCallbackUri { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/UpdateTranscriptionRequestInternal.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/UpdateTranscriptionRequestInternal.cs index 255c114bd377..722c1966eba7 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/UpdateTranscriptionRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/UpdateTranscriptionRequestInternal.cs @@ -9,4 +9,4 @@ namespace Azure.Communication.CallAutomation internal partial class UpdateTranscriptionRequestInternal { } -} \ No newline at end of file +} diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/autorest.md b/sdk/communication/Azure.Communication.CallAutomation/src/autorest.md index 4c1a26f62e4b..1c6982414a2b 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/autorest.md +++ b/sdk/communication/Azure.Communication.CallAutomation/src/autorest.md @@ -7,10 +7,10 @@ From Folder that contains autorest.md, Run `dotnet msbuild /t:GenerateCode` to g ```yaml model-namespace: false -tag: package-2024-09-01-preview +tag: package-2024-01-22-preview require: - - https://github.com/Azure/azure-rest-api-specs/blob/1a08384511e96c42aaf18edd646baf01e5e5fc84/specification/communication/data-plane/CallAutomation/readme.md + - https://github.com/Azure/azure-rest-api-specs/blob/bf1e4df7c01051e0ccb7f96ed435e3799fa7a25d/specification/communication/data-plane/CallAutomation/readme.md title: Azure Communication Services diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests.yml b/sdk/communication/Azure.Communication.CallAutomation/tests.yml index 6a6e51c48641..2628a9d6474f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests.yml +++ b/sdk/communication/Azure.Communication.CallAutomation/tests.yml @@ -5,11 +5,16 @@ extends: parameters: ServiceDirectory: communication Project: Azure.Communication.CallAutomation + UseFederatedAuth: true CloudConfig: Public: + ServiceConnection: azure-sdk-tests + SubscriptionConfigurationFilePaths: + - eng/common/TestResources/sub-config/AzurePublicMsft.json SubscriptionConfigurations: - $(sub-config-communication-services-cloud-test-resources-common) - $(sub-config-communication-services-cloud-test-resources-net) + Clouds: Public TestResourceDirectories: - communication/ EnvVars: diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/CallAutomationClients/CallAutomationClientAutomatedLiveTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/CallAutomationClients/CallAutomationClientAutomatedLiveTests.cs index d8f1083ef801..f9a7f189061f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/CallAutomationClients/CallAutomationClientAutomatedLiveTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/CallAutomationClients/CallAutomationClientAutomatedLiveTests.cs @@ -130,11 +130,6 @@ public async Task CreateCallAndReject() // check reject response Assert.IsFalse(rejectResponse.IsError); - var createCallFailedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(createCallFailedEvent); - Assert.IsTrue(createCallFailedEvent is CreateCallFailed); - Assert.AreEqual(callConnectionId, ((CreateCallFailed)createCallFailedEvent!).CallConnectionId); - try { // test get properties diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/CallAutomationClients/CallAutomationClientTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/CallAutomationClients/CallAutomationClientTests.cs index bd82262fb103..9602dee87ab9 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/CallAutomationClients/CallAutomationClientTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/CallAutomationClients/CallAutomationClientTests.cs @@ -20,9 +20,9 @@ public class CallAutomationClientTests : CallAutomationTestBase private readonly TranscriptionOptions _transcriptionConfiguration = new TranscriptionOptions( new Uri("https://websocket"), + TranscriptionTransport.Websocket, "en-CA", - true, - TranscriptionTransport.Websocket); + true); [TestCaseSource(nameof(TestData_AnswerCall))] public async Task AnswerCallAsync_200OK(string incomingCallContext, Uri callbackUri) @@ -33,8 +33,7 @@ public async Task AnswerCallAsync_200OK(string incomingCallContext, Uri callback Assert.NotNull(response); Assert.AreEqual((int)HttpStatusCode.OK, response.GetRawResponse().Status); verifyCallConnectionProperties(response.Value.CallConnectionProperties); - Assert.Null(response.Value.CallConnectionProperties.MediaStreamingSubscription); - Assert.Null(response.Value.CallConnectionProperties.TranscriptionSubscription); + Assert.Null(response.Value.CallConnectionProperties.DataSubscriptionId); Assert.AreEqual(CallConnectionId, response.Value.CallConnection.CallConnectionId); } @@ -47,8 +46,7 @@ public void AnswerCall_200OK(string incomingCallContext, Uri callbackUri) Assert.NotNull(response); Assert.AreEqual((int)HttpStatusCode.OK, response.GetRawResponse().Status); verifyCallConnectionProperties(response.Value.CallConnectionProperties); - Assert.Null(response.Value.CallConnectionProperties.MediaStreamingSubscription); - Assert.Null(response.Value.CallConnectionProperties.TranscriptionSubscription); + Assert.Null(response.Value.CallConnectionProperties.DataSubscriptionId); Assert.AreEqual(CallConnectionId, response.Value.CallConnection.CallConnectionId); } @@ -58,8 +56,8 @@ public async Task AnswerCallWithOptionsAsync_200OK(string incomingCallContext, U CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(200, CreateOrAnswerCallOrGetCallConnectionWithMediaSubscriptionAndTranscriptionPayload); AnswerCallOptions options = new AnswerCallOptions(incomingCallContext: incomingCallContext, callbackUri: callbackUri) { - MediaStreamingOptions = _mediaStreamingConfiguration, TranscriptionOptions = _transcriptionConfiguration, + MediaStreamingOptions = _mediaStreamingConfiguration, OperationContext = "operation_context" }; @@ -68,8 +66,8 @@ public async Task AnswerCallWithOptionsAsync_200OK(string incomingCallContext, U Assert.AreEqual((int)HttpStatusCode.OK, response.GetRawResponse().Status); verifyCallConnectionProperties(response.Value.CallConnectionProperties); Assert.AreEqual(CallConnectionId, response.Value.CallConnection.CallConnectionId); + Assert.AreEqual("dataSubscriptionId", response.Value.CallConnectionProperties.DataSubscriptionId); Assert.NotNull(response.Value.CallConnectionProperties.MediaStreamingSubscription); - Assert.NotNull(response.Value.CallConnectionProperties.TranscriptionSubscription); } [TestCaseSource(nameof(TestData_AnswerCall))] @@ -78,8 +76,8 @@ public void AnswerCallWithOptions_200OK(string incomingCallContext, Uri callback CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(200, CreateOrAnswerCallOrGetCallConnectionWithMediaSubscriptionAndTranscriptionPayload); AnswerCallOptions options = new AnswerCallOptions(incomingCallContext: incomingCallContext, callbackUri: callbackUri) { + TranscriptionOptions = _transcriptionConfiguration, MediaStreamingOptions = _mediaStreamingConfiguration, - TranscriptionOptions = _transcriptionConfiguration }; var response = callAutomationClient.AnswerCall(options); @@ -87,8 +85,8 @@ public void AnswerCallWithOptions_200OK(string incomingCallContext, Uri callback Assert.AreEqual((int)HttpStatusCode.OK, response.GetRawResponse().Status); verifyCallConnectionProperties(response.Value.CallConnectionProperties); Assert.AreEqual(CallConnectionId, response.Value.CallConnection.CallConnectionId); + Assert.AreEqual("dataSubscriptionId", response.Value.CallConnectionProperties.DataSubscriptionId); Assert.NotNull(response.Value.CallConnectionProperties.MediaStreamingSubscription); - Assert.NotNull(response.Value.CallConnectionProperties.TranscriptionSubscription); } [TestCaseSource(nameof(TestData_AnswerCall))] @@ -136,7 +134,7 @@ public void RedirectCallAsync_404NotFound(string incomingCallContext, CallInvite { CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(404); - RequestFailedException? ex = Assert.ThrowsAsync(async () => await callAutomationClient.RedirectCallAsync(incomingCallContext, callInvite).ConfigureAwait(false)); + RequestFailedException? ex = Assert.ThrowsAsync(async() => await callAutomationClient.RedirectCallAsync(incomingCallContext, callInvite).ConfigureAwait(false)); Assert.NotNull(ex); Assert.AreEqual(ex?.Status, 404); } @@ -185,7 +183,7 @@ public void RejectCallAsync_404NotFound(string incomingCallContext, CallRejectRe RejectCallOptions rejectOption = new RejectCallOptions(incomingCallContext); rejectOption.CallRejectReason = reason; - RequestFailedException? ex = Assert.ThrowsAsync(async () => await callAutomationClient.RejectCallAsync(rejectOption).ConfigureAwait(false)); + RequestFailedException? ex = Assert.ThrowsAsync(async() => await callAutomationClient.RejectCallAsync(rejectOption).ConfigureAwait(false)); Assert.NotNull(ex); Assert.AreEqual(ex?.Status, 404); } @@ -214,8 +212,7 @@ public async Task CreateCallAsync_201Created(CallInvite target, Uri callbackUri) Assert.NotNull(result); Assert.AreEqual((int)HttpStatusCode.Created, response.GetRawResponse().Status); verifyCallConnectionProperties(result.CallConnectionProperties); - Assert.Null(response.Value.CallConnectionProperties.MediaStreamingSubscription); - Assert.Null(response.Value.CallConnectionProperties.TranscriptionSubscription); + Assert.Null(result.CallConnectionProperties.DataSubscriptionId); Assert.AreEqual(CallConnectionId, result.CallConnection.CallConnectionId); } @@ -230,8 +227,7 @@ public void CreateCall_201Created(CallInvite target, Uri callbackUri) Assert.NotNull(result); Assert.AreEqual((int)HttpStatusCode.Created, response.GetRawResponse().Status); verifyCallConnectionProperties(result.CallConnectionProperties); - Assert.Null(response.Value.CallConnectionProperties.MediaStreamingSubscription); - Assert.Null(response.Value.CallConnectionProperties.TranscriptionSubscription); + Assert.Null(result.CallConnectionProperties.DataSubscriptionId); Assert.AreEqual(CallConnectionId, result.CallConnection.CallConnectionId); } @@ -243,8 +239,8 @@ public async Task CreateCallWithOptionsAsync_201Created(CallInvite target, Uri c callInvite: target, callbackUri: callbackUri) { + TranscriptionOptions = _transcriptionConfiguration, MediaStreamingOptions = _mediaStreamingConfiguration, - TranscriptionOptions = _transcriptionConfiguration }; var response = await callAutomationClient.CreateCallAsync(options).ConfigureAwait(false); @@ -253,8 +249,8 @@ public async Task CreateCallWithOptionsAsync_201Created(CallInvite target, Uri c Assert.AreEqual((int)HttpStatusCode.Created, response.GetRawResponse().Status); verifyCallConnectionProperties(result.CallConnectionProperties); Assert.AreEqual(CallConnectionId, result.CallConnection.CallConnectionId); + Assert.AreEqual("dataSubscriptionId", result.CallConnectionProperties.DataSubscriptionId); Assert.NotNull(response.Value.CallConnectionProperties.MediaStreamingSubscription); - Assert.NotNull(response.Value.CallConnectionProperties.TranscriptionSubscription); } [TestCaseSource(nameof(TestData_CreateCall))] @@ -265,8 +261,8 @@ public void CreateCallWithOptions_201Created(CallInvite target, Uri callbackUri) callInvite: target, callbackUri: callbackUri) { - MediaStreamingOptions = _mediaStreamingConfiguration, - TranscriptionOptions = _transcriptionConfiguration + TranscriptionOptions = _transcriptionConfiguration, + MediaStreamingOptions = _mediaStreamingConfiguration }; var response = callAutomationClient.CreateCall(options); @@ -275,8 +271,8 @@ public void CreateCallWithOptions_201Created(CallInvite target, Uri callbackUri) Assert.AreEqual((int)HttpStatusCode.Created, response.GetRawResponse().Status); verifyCallConnectionProperties(result.CallConnectionProperties); Assert.AreEqual(CallConnectionId, result.CallConnection.CallConnectionId); + Assert.AreEqual("dataSubscriptionId", result.CallConnectionProperties.DataSubscriptionId); Assert.NotNull(response.Value.CallConnectionProperties.MediaStreamingSubscription); - Assert.NotNull(response.Value.CallConnectionProperties.TranscriptionSubscription); } [TestCaseSource(nameof(TestData_CreateCall))] @@ -337,6 +333,45 @@ public void CreateCall_404NotFound(CallInvite target, Uri callbackUri) Assert.AreEqual(ex?.Status, 404); } + [TestCaseSource(nameof(TestData_GetCallConnection))] + public void GetCallConnection(string callConnectionId) + { + var response = new CallAutomationClient(ConnectionString).GetCallConnection(callConnectionId); + CallConnection result = (CallConnection)response; + Assert.NotNull(result); + Assert.AreEqual(callConnectionId, result.CallConnectionId); + } + + [Test] + public void GetCallRecording() + { + var response = new CallAutomationClient(ConnectionString).GetCallRecording(); + Assert.NotNull(response); + } + + [TestCaseSource(nameof(TestData_CreateGroupCall))] + public async Task CreateGroupCallAsync_201Created(IEnumerable targets, Uri callbackUri, PhoneNumberIdentifier callerIdNumber) + { + CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(201, CreateOrAnswerCallOrGetCallConnectionWithMediaSubscriptionAndTranscriptionPayload); + CreateGroupCallOptions options = new( + targets: targets, + callbackUri: callbackUri) + { + TranscriptionOptions = _transcriptionConfiguration, + MediaStreamingOptions = _mediaStreamingConfiguration, + SourceCallerIdNumber = callerIdNumber, + }; + + var response = await callAutomationClient.CreateGroupCallAsync(options).ConfigureAwait(false); + CreateCallResult result = (CreateCallResult)response; + Assert.NotNull(result); + Assert.AreEqual((int)HttpStatusCode.Created, response.GetRawResponse().Status); + verifyCallConnectionProperties(result.CallConnectionProperties); + Assert.AreEqual(CallConnectionId, result.CallConnection.CallConnectionId); + Assert.AreEqual("dataSubscriptionId", result.CallConnectionProperties.DataSubscriptionId); + Assert.NotNull(response.Value.CallConnectionProperties.MediaStreamingSubscription); + } + [TestCaseSource(nameof(TestData_ConnectCall))] public async Task ConnectCallAsync_200OK(CallLocator callLocator, Uri callbackUri) { @@ -391,45 +426,6 @@ public void ConnectCallWithOptions_200OK(CallLocator callLocator, Uri callbackUr Assert.AreEqual(CallConnectionId, result.CallConnection.CallConnectionId); } - [TestCaseSource(nameof(TestData_GetCallConnection))] - public void GetCallConnection(string callConnectionId) - { - var response = new CallAutomationClient(ConnectionString).GetCallConnection(callConnectionId); - CallConnection result = (CallConnection)response; - Assert.NotNull(result); - Assert.AreEqual(callConnectionId, result.CallConnectionId); - } - - [Test] - public void GetCallRecording() - { - var response = new CallAutomationClient(ConnectionString).GetCallRecording(); - Assert.NotNull(response); - } - - [TestCaseSource(nameof(TestData_CreateGroupCall))] - public async Task CreateGroupCallAsync_201Created(IEnumerable targets, Uri callbackUri, PhoneNumberIdentifier callerIdNumber) - { - CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(201, CreateOrAnswerCallOrGetCallConnectionWithMediaSubscriptionAndTranscriptionPayload); - CreateGroupCallOptions options = new( - targets: targets, - callbackUri: callbackUri) - { - MediaStreamingOptions = _mediaStreamingConfiguration, - TranscriptionOptions = _transcriptionConfiguration, - SourceCallerIdNumber = callerIdNumber, - }; - - var response = await callAutomationClient.CreateGroupCallAsync(options).ConfigureAwait(false); - CreateCallResult result = (CreateCallResult)response; - Assert.NotNull(result); - Assert.AreEqual((int)HttpStatusCode.Created, response.GetRawResponse().Status); - verifyCallConnectionProperties(result.CallConnectionProperties); - Assert.AreEqual(CallConnectionId, result.CallConnection.CallConnectionId); - Assert.NotNull(response.Value.CallConnectionProperties.MediaStreamingSubscription); - Assert.NotNull(response.Value.CallConnectionProperties.TranscriptionSubscription); - } - private static void ValidateCreateCallResult(CreateCallResult createCallResult) { Assert.NotNull(createCallResult); @@ -570,6 +566,7 @@ private static void ValidateCallConnectionProperties(CallConnectionProperties pr }, }; } + private static IEnumerable TestData_ConnectCall() { return new[] diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/CallConnections/CallConnectionAutomatedLiveTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/CallConnections/CallConnectionAutomatedLiveTests.cs index 5d5ada0e07dd..ba4b98ac3899 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/CallConnections/CallConnectionAutomatedLiveTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/CallConnections/CallConnectionAutomatedLiveTests.cs @@ -78,14 +78,20 @@ public async Task RemoveAUserCallTest() }; Response removePartResponse = await response.CallConnection.RemoveParticipantAsync(removeParticipantsOptions); Assert.IsTrue(!removePartResponse.GetRawResponse().IsError); - string expectedOperationContext = Mode == RecordedTestMode.Playback ? "Sanitized" : operationContext1; - Assert.AreEqual(expectedOperationContext, removePartResponse.Value.OperationContext); + Assert.AreEqual(operationContext1, removePartResponse.Value.OperationContext); + + // wait for callConnected + var removeParticipantSucceededEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); + Assert.IsNotNull(removeParticipantSucceededEvent); + Assert.IsTrue(removeParticipantSucceededEvent is RemoveParticipantSucceeded); + Assert.AreEqual(callConnectionId, ((RemoveParticipantSucceeded)removeParticipantSucceededEvent!).CallConnectionId); // call should be disconnected after removing participant var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); Assert.IsNotNull(disconnectedEvent); Assert.IsTrue(disconnectedEvent is CallDisconnected); Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); + callConnectionId = null; } catch (Exception) @@ -158,9 +164,7 @@ public async Task CancelAddParticipantTest() OperationContext = operationContext, }; var addParticipantResponse = await callConnection.AddParticipantAsync(addParticipantOptions); - - string expectedOperationContext = Mode == RecordedTestMode.Playback ? "Sanitized" : operationContext; - Assert.AreEqual(expectedOperationContext, addParticipantResponse.Value.OperationContext); + Assert.AreEqual(operationContext, addParticipantResponse.Value.OperationContext); Assert.IsNotNull(addParticipantResponse.Value.InvitationId); // ensure invitation has arrived diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/CallConnections/CallConnectionTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/CallConnections/CallConnectionTests.cs index c68f8769c5f2..7aef881da750 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/CallConnections/CallConnectionTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/CallConnections/CallConnectionTests.cs @@ -16,21 +16,22 @@ public class CallConnectionTests : CallAutomationTestBase "\"operationContext\": \"someOperationContext\"" + "}"; - private const string AddParticipantPayload = "{\"participant\":{\"identifier\":{\"rawId\":\"participantId1\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"participantId1\"}},\"isMuted\":false},\"operationContext\":\"someOperationContext\"}"; + private const string AddParticipantPayload = "{\"participant\":{\"identifier\":{\"rawId\":\"participantId1\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"participantId1\"}},\"isMuted\":false,\"isOnHold\":false},\"operationContext\":\"someOperationContext\"}"; - private const string MoveParticipantsPayload = "{\"participants\":[{\"identifier\":{\"rawId\":\"participantId1\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"participantId1\"}},\"isMuted\":false}],\"operationContext\":\"someOperationContext\"}"; + private const string MoveParticipantsPayload = "{\"participants\":[{\"identifier\":{\"rawId\":\"participantId1\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"participantId1\"}},\"isMuted\":false,\"isOnHold\":false}],\"operationContext\":\"someOperationContext\"}"; private const string GetParticipantPayload = "{" + "\"identifier\":{" + "\"rawId\":\"participantId1\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"participantId1\"}" + "}," + - "\"isMuted\":false" + + "\"isMuted\":false," + + "\"isOnHold\":false" + "}"; private const string GetParticipantsPayload = "{" + "\"value\":[" + - "{\"identifier\":{\"rawId\":\"participantId1\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"participantId1\"}},\"isMuted\":false}," + - "{\"identifier\":{\"rawId\":\"participantId2\",\"kind\":\"phoneNumber\",\"phoneNumber\":{\"value\":\"+11234567\"}},\"isMuted\":true}" + + "{\"identifier\":{\"rawId\":\"participantId1\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"participantId1\"}},\"isMuted\":false,\"isOnHold\":false}," + + "{\"identifier\":{\"rawId\":\"participantId2\",\"kind\":\"phoneNumber\",\"phoneNumber\":{\"value\":\"+11234567\"}},\"isMuted\":true ,\"isOnHold\":true}" + "]" + "}"; @@ -134,16 +135,6 @@ public async Task TransferCallToParticipantAsync_simpleMethod_202Accepted(CallIn verifyOperationContext(response); } - [TestCaseSource(nameof(TestData_TransferCallToParticipant_MicrosoftTeamsAppTarget))] - public async Task TransferCallToParticipantAsync_simpleMethod_MicrosoftTeamsAppAsTarget_202Accepted(CallInvite callInvite) - { - var callConnection = CreateMockCallConnection(202, OperationContextPayload); - - var response = await callConnection.TransferCallToParticipantAsync(callInvite.Target).ConfigureAwait(false); - Assert.AreEqual((int)HttpStatusCode.Accepted, response.GetRawResponse().Status); - verifyOperationContext(response); - } - [TestCaseSource(nameof(TestData_TransferCallToParticipant_PhoneNumberIdentifier))] public async Task TransferCallToParticipantAsync_simpleMethod_PhoneNumberIdentifier_202Accepted(CallInvite callInvite) { @@ -161,6 +152,7 @@ public async Task TransferCallToParticipantAsync_simpleMethod_PhoneNumberIdentif Assert.AreEqual((int)HttpStatusCode.Accepted, response.GetRawResponse().Status); verifyOperationContext(response); } + [TestCaseSource(nameof(TestData_TransferCallToParticipant))] public async Task TransferCallToParticipantAsync_202Accepted(CallInvite callInvite) { @@ -215,15 +207,6 @@ public void TransferCallToParticipantWithTransferee_202Accepted(CallInvite callI verifyOperationContext(response); } - [TestCaseSource(nameof(TestData_TransferCallToParticipant_MicrosoftTeamsAppTarget_TeamsCallContext))] - public async Task TransferCallToParticipantAsync_simpleMethod_MicrosoftTeamsAppAsTarget_WithTeamsCallDetails_202Accepted(CallInvite callInvite) - { - var callConnection = CreateMockCallConnection(202, OperationContextPayload); - - var response = await callConnection.TransferCallToParticipantAsync(callInvite.Target).ConfigureAwait(false); - Assert.AreEqual((int)HttpStatusCode.Accepted, response.GetRawResponse().Status); - verifyOperationContext(response); - } [TestCaseSource(nameof(TestData_TransferCallToParticipant))] public void TransferCallToParticipantAsync_404NotFound(CallInvite callInvite) { @@ -442,15 +425,6 @@ public void MuteParticipant_200Ok(CommunicationIdentifier participant) Assert.AreEqual((int)HttpStatusCode.OK, response.GetRawResponse().Status); } - [TestCaseSource(nameof(TestData_MuteParticipant))] - public void UnmuteParticipant_200Accepted(CommunicationIdentifier participant) - { - var callConnection = CreateMockCallConnection(200, OperationContextPayload); - - var response = callConnection.UnmuteParticipant(participant); - Assert.AreEqual((int)HttpStatusCode.OK, response.GetRawResponse().Status); - } - [TestCaseSource(nameof(TestData_MuteParticipant))] public void MuteParticipant_WithOptions_200Ok(CommunicationIdentifier participant) { @@ -464,20 +438,6 @@ public void MuteParticipant_WithOptions_200Ok(CommunicationIdentifier participan Assert.AreEqual(OperationContext, response.Value.OperationContext); } - [TestCaseSource(nameof(TestData_MuteParticipant))] - public void UnmuteParticipant_WithOptions_200Accepted(CommunicationIdentifier participant) - { - var callConnection = CreateMockCallConnection(200, OperationContextPayload); - var options = new UnmuteParticipantOptions(participant) - { - OperationContext = OperationContext - }; - - var response = callConnection.UnmuteParticipant(options); - Assert.AreEqual((int)HttpStatusCode.OK, response.GetRawResponse().Status); - Assert.AreEqual(OperationContext, response.Value.OperationContext); - } - [TestCaseSource(nameof(TestData_MuteParticipant))] public async Task MuteParticipantAsync_200Accepted(CommunicationIdentifier participant) { @@ -495,23 +455,6 @@ public void MuteParticipantAsync_NotAcsUser_400BadRequest() Assert.ThrowsAsync(typeof(RequestFailedException), async () => await callConnection.MuteParticipantAsync(participant)); } - [TestCaseSource(nameof(TestData_MuteParticipant))] - public async Task UnmuteParticipantAsync_200Accepted(CommunicationIdentifier participant) - { - var callConnection = CreateMockCallConnection(200, OperationContextPayload); - - var response = await callConnection.UnmuteParticipantAsync(participant); - Assert.AreEqual((int)HttpStatusCode.OK, response.GetRawResponse().Status); - } - - [Test] - public void UnmuteParticipantAsync_NotAcsUser_400BadRequest() - { - var callConnection = CreateMockCallConnection(400); - var participant = new PhoneNumberIdentifier("+15559501234"); - Assert.ThrowsAsync(typeof(RequestFailedException), async () => await callConnection.UnmuteParticipantAsync(participant)); - } - [TestCaseSource(nameof(TestData_MuteParticipant))] public async Task MuteParticipantAsync_WithOptions_200OK(CommunicationIdentifier participant) { @@ -538,32 +481,6 @@ public void MuteParticipantAsync_WithOptions_MoreThanOneParticipant_400BadReques Assert.ThrowsAsync(typeof(RequestFailedException), async () => await callConnection.MuteParticipantAsync(options)); } - [TestCaseSource(nameof(TestData_MuteParticipant))] - public async Task UnmuteParticipantAsync_WithOptions_200Accepted(CommunicationIdentifier participant) - { - var callConnection = CreateMockCallConnection(200, OperationContextPayload); - var options = new UnmuteParticipantOptions(participant) - { - OperationContext = OperationContext, - }; - - var response = await callConnection.UnmuteParticipantAsync(options); - Assert.AreEqual((int)HttpStatusCode.OK, response.GetRawResponse().Status); - Assert.AreEqual(OperationContext, response.Value.OperationContext); - } - - [TestCaseSource(nameof(TestData_MuteParticipant))] - public void UnmuteParticipantAsync_WithOptions_MoreThanOneParticipant_400BadRequest(CommunicationIdentifier participant) - { - var callConnection = CreateMockCallConnection(400); - var options = new UnmuteParticipantOptions(participant) - { - OperationContext = OperationContext, - }; - - Assert.ThrowsAsync(typeof(RequestFailedException), async () => await callConnection.UnmuteParticipantAsync(options)); - } - [Test] public async Task CancelAddParticipantAsync_202Accepted() { @@ -757,53 +674,35 @@ private CallConnection CreateMockCallConnection(int responseCode, string? respon }; } - private static IEnumerable TestData_TransferCallToParticipant_MicrosoftTeamsAppTarget() + private static IEnumerable TestData_GetParticipant() { - var callInvite = new CallInvite(new MicrosoftTeamsAppIdentifier("userId")); - callInvite.CustomCallingContext.AddVoip("key1", "value1"); return new[] { new object?[] { - callInvite + "somemri" }, }; } - private static IEnumerable TestData_TransferCallToParticipant_MicrosoftTeamsAppTarget_TeamsCallContext() + private static IEnumerable TestData_AddOrRemoveParticipant() { - var callInvite = new CallInvite(new MicrosoftTeamsAppIdentifier("teamsAppId123")); - callInvite.CustomCallingContext.AddVoip("teamsKey", "teamsValue"); - - // Create TeamsPhoneCallerDetails - var teamsPhoneCallerDetails = new TeamsPhoneCallerDetails((new MicrosoftTeamsAppIdentifier("teamsAppId123")), name: "John Doe", phoneNumber: "+14255551234"); - teamsPhoneCallerDetails.AdditionalCallerInformation.Add("Department", "Sales"); - teamsPhoneCallerDetails.AdditionalCallerInformation.Add("Priority", "High"); - - // Create TeamsPhoneSourceDetails - var teamsPhoneSourceDetails = new TeamsPhoneSourceDetails((new MicrosoftTeamsAppIdentifier("teamsAppId123")), language: "en-US", status: "Active"); - - // Create TeamsPhoneCallDetails - var teamsPhoneCallDetails = new TeamsPhoneCallDetails() + return new[] { - TeamsPhoneCallerDetails = teamsPhoneCallerDetails, - TeamsPhoneSourceDetails = teamsPhoneSourceDetails, - SessionId = "session-123-abc", - Intent = "Sales Inquiry", - CallTopic = "New Product Information", - CallContext = "Customer is interested in our latest product line", - TranscriptUrl = "https://transcripts.example.com/call/123", - CallSentiment = "Positive", - SuggestedActions = "Offer product demo, Schedule follow-up" + new object?[] + { + new CommunicationUserIdentifier("userId") + }, }; + } - callInvite.CustomCallingContext.SetTeamsPhoneCallDetails(teamsPhoneCallDetails); - + private static IEnumerable TestData_MuteParticipant() + { return new[] { new object?[] { - callInvite + new CommunicationUserIdentifier("userId") }, }; } @@ -833,39 +732,6 @@ private CallConnection CreateMockCallConnection(int responseCode, string? respon }; } - private static IEnumerable TestData_GetParticipant() - { - return new[] - { - new object?[] - { - "somemri" - }, - }; - } - - private static IEnumerable TestData_AddOrRemoveParticipant() - { - return new[] - { - new object?[] - { - new CommunicationUserIdentifier("userId") - }, - }; - } - - private static IEnumerable TestData_MuteParticipant() - { - return new[] - { - new object?[] - { - new CommunicationUserIdentifier("userId") - }, - }; - } - private static IEnumerable TestData_MoveParticipants() { return new[] @@ -888,6 +754,7 @@ private void verifyAddParticipantsResult(AddParticipantResult result) var identifier = (CommunicationUserIdentifier) result.Participant.Identifier; Assert.AreEqual(ParticipantUserId, identifier.Id); Assert.IsFalse(result.Participant.IsMuted); + Assert.IsFalse(result.Participant.IsOnHold); Assert.AreEqual(OperationContext, result.OperationContext); } @@ -896,6 +763,7 @@ private void verifyGetParticipantResult(CallParticipant participant) var identifier = (CommunicationUserIdentifier)participant.Identifier; Assert.AreEqual(ParticipantUserId, identifier.Id); Assert.IsFalse(participant.IsMuted); + Assert.IsFalse(participant.IsOnHold); } private void verifyGetParticipantsResult(IReadOnlyList participants) @@ -907,6 +775,7 @@ private void verifyGetParticipantsResult(IReadOnlyList particip var identifier2 = (PhoneNumberIdentifier)participants[1].Identifier; Assert.AreEqual(PhoneNumber, identifier2.PhoneNumber); Assert.IsTrue(participants[1].IsMuted); + Assert.IsTrue(participants[1].IsOnHold); } private void verifyMoveParticipantsResult(MoveParticipantsResult result) diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/CallDialogs/CallDialogAutomatedLiveTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/CallDialogs/CallDialogAutomatedLiveTests.cs index 21927ea59bdc..1ff94f966960 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/CallDialogs/CallDialogAutomatedLiveTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/CallDialogs/CallDialogAutomatedLiveTests.cs @@ -13,7 +13,6 @@ namespace Azure.Communication.CallAutomation.Tests.CallDialogs { - [Ignore("Dialog Bot disabled")] internal class CallDialogAutomatedLiveTests : CallAutomationClientAutomatedLiveTestsBase { private const string dialogId = "92e08834-b6ee-4ede-8956-9fefa27a691c"; @@ -22,6 +21,7 @@ public CallDialogAutomatedLiveTests(bool isAsync) : base(isAsync) } [RecordedTest] + [Ignore("botid not set properly")] public async Task DialogOperationsTest() { // ignores test if botAppId or PMA Endpoint is not set in environment variables @@ -39,12 +39,29 @@ public async Task DialogOperationsTest() CommunicationIdentifier target; // when in playback, use Sanatized values - GetPhoneNumbers(out sourcePhone, out target); + if (Mode == RecordedTestMode.Playback) + { + sourcePhone = new PhoneNumberIdentifier("Sanitized"); + target = new PhoneNumberIdentifier("Sanitized"); + } + else + { + PhoneNumbersClient phoneNumbersClient = new PhoneNumbersClient(TestEnvironment.LiveTestStaticConnectionString); + var purchasedPhoneNumbers = phoneNumbersClient.GetPurchasedPhoneNumbersAsync(); + List phoneNumbers = new List(); + await foreach (var phoneNumber in purchasedPhoneNumbers) + { + phoneNumbers.Add(phoneNumber.PhoneNumber); + Console.WriteLine($"Phone number: {phoneNumber.PhoneNumber}, monthly cost: {phoneNumber.Cost}"); + } + target = new PhoneNumberIdentifier(phoneNumbers[1]); + sourcePhone = new PhoneNumberIdentifier(phoneNumbers[0]); + } CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); // setup service bus - string uniqueId = await ServiceBusWithNewCall(sourcePhone, target); + var uniqueId = await ServiceBusWithNewCall(sourcePhone, target); // create call and assert response CallInvite invite = new CallInvite((PhoneNumberIdentifier)target, (PhoneNumberIdentifier)sourcePhone); @@ -78,7 +95,7 @@ public async Task DialogOperationsTest() // send the dialog to the target user var dialogContext = new Dictionary(); - StartDialogOptions dialogOptions = new StartDialogOptions(dialogId, new PowerVirtualAgentsDialog(botAppId, dialogContext)) + StartDialog dialogOptions = new StartDialog(dialogId, new PowerVirtualAgentsDialog(botAppId, dialogContext)) { OperationContext = "context" }; @@ -114,6 +131,7 @@ public async Task DialogOperationsTest() } [RecordedTest] + [Ignore("botid not set properly")] public async Task DifferingConcurrentDialogsTest() { // ignores test if botAppId or PMA Endpoint is not set in environment variables @@ -153,7 +171,7 @@ public async Task DifferingConcurrentDialogsTest() CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); // setup service bus - string uniqueId = await ServiceBusWithNewCall(sourcePhone, target); + var uniqueId = await ServiceBusWithNewCall(sourcePhone, target); // create call and assert response CallInvite invite = new CallInvite((PhoneNumberIdentifier)target, (PhoneNumberIdentifier)sourcePhone); @@ -187,7 +205,7 @@ public async Task DifferingConcurrentDialogsTest() // send the dialog to the target user var dialogContext = new Dictionary(); - StartDialogOptions dialogOptions = new StartDialogOptions(dialogId, new PowerVirtualAgentsDialog(botAppId, dialogContext)) + StartDialog dialogOptions = new StartDialog(dialogId, new PowerVirtualAgentsDialog(botAppId, dialogContext)) { OperationContext = "context" }; @@ -202,7 +220,7 @@ public async Task DifferingConcurrentDialogsTest() Assert.IsTrue(dialogStartedReceived is DialogStarted); // send a new dialog with same ID but different context, should fail - dialogOptions = new StartDialogOptions(dialogId, new PowerVirtualAgentsDialog(botAppId, dialogContext)) + dialogOptions = new StartDialog(dialogId, new PowerVirtualAgentsDialog(botAppId, dialogContext)) { OperationContext = "new context" }; @@ -210,7 +228,7 @@ public async Task DifferingConcurrentDialogsTest() // send a new dialog with different ID, should fail string secondDialogId = "de7fcbc8-1803-4ec1-80ed-2c9c087587f6"; - dialogOptions = new StartDialogOptions(secondDialogId, new PowerVirtualAgentsDialog(botAppId, dialogContext)) + dialogOptions = new StartDialog(secondDialogId, new PowerVirtualAgentsDialog(botAppId, dialogContext)) { OperationContext = "context" }; @@ -235,118 +253,7 @@ public async Task DifferingConcurrentDialogsTest() } [RecordedTest] - [Ignore("MPaaS currently does not have a version of updateDialog applied")] - public async Task DialogOperationsTest_AzureOpenAI() - { - // ignores test if PMA Endpoint is not set in environment variables - var endpoint = TestEnvironment.PMAEndpoint; - if (endpoint == null) - { - Assert.Ignore(); - } - - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - - CommunicationIdentifier sourcePhone; - CommunicationIdentifier target; - - // when in playback, use Sanatized values - if (Mode == RecordedTestMode.Playback) - { - sourcePhone = new PhoneNumberIdentifier("Sanitized"); - target = new PhoneNumberIdentifier("Sanitized"); - } - else - { - PhoneNumbersClient phoneNumbersClient = new PhoneNumbersClient(TestEnvironment.LiveTestStaticConnectionString); - var purchasedPhoneNumbers = phoneNumbersClient.GetPurchasedPhoneNumbersAsync(); - List phoneNumbers = new List(); - await foreach (var phoneNumber in purchasedPhoneNumbers) - { - phoneNumbers.Add(phoneNumber.PhoneNumber); - Console.WriteLine($"Phone number: {phoneNumber.PhoneNumber}, monthly cost: {phoneNumber.Cost}"); - } - target = new PhoneNumberIdentifier(phoneNumbers[1]); - sourcePhone = new PhoneNumberIdentifier(phoneNumbers[0]); - } - - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - - // setup service bus - string uniqueId = await ServiceBusWithNewCall(sourcePhone, target); - - // create call and assert response - CallInvite invite = new CallInvite((PhoneNumberIdentifier)target, (PhoneNumberIdentifier)sourcePhone); - CreateCallResult response = await client.CreateCallAsync(invite, new Uri(TestEnvironment.DispatcherCallback + $"?q={uniqueId}")); - - string callConnectionId = response.CallConnectionProperties.CallConnectionId; - Assert.IsNotEmpty(response.CallConnectionProperties.CallConnectionId); - - // wait for incomingcall context - string? incomingCallContext = await WaitForIncomingCallContext(uniqueId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(incomingCallContext); - - // answer the call - var answerCallOptions = new AnswerCallOptions(incomingCallContext, new Uri(TestEnvironment.DispatcherCallback + $"?q={uniqueId}")); - AnswerCallResult answerResponse = await client.AnswerCallAsync(answerCallOptions); - var targetCallConnectionId = answerResponse.CallConnectionProperties.CallConnectionId; - - // wait for callConnected - var connectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(connectedEvent); - Assert.IsTrue(connectedEvent is CallConnected); - Assert.IsTrue(((CallConnected)connectedEvent!).CallConnectionId == callConnectionId); - - // test get properties - Response properties = await response.CallConnection.GetCallConnectionPropertiesAsync().ConfigureAwait(false); - Assert.AreEqual(CallConnectionState.Connected, properties.Value.CallConnectionState); - - try - { - var callDialog = client.GetCallConnection(targetCallConnectionId).GetCallDialog(); - - // send the dialog to the target user - var dialogContext = new Dictionary(); - StartDialogOptions dialogOptions = new StartDialogOptions(dialogId, new AzureOpenAIDialog(dialogContext)) - { - OperationContext = "context" - }; - var startDialogResponse = await callDialog.StartDialogAsync(dialogOptions).ConfigureAwait(false); - Assert.AreEqual(StatusCodes.Status201Created, startDialogResponse.GetRawResponse().Status); - - Assert.AreEqual(dialogId, startDialogResponse.Value.DialogId); - - // wait for DialogStarted event - var dialogStartedReceived = await WaitForEvent(targetCallConnectionId, TimeSpan.FromSeconds(20)); - Assert.NotNull(dialogStartedReceived); - Assert.IsTrue(dialogStartedReceived is DialogStarted); - - // send an UpdateDialog call, it does not currently cause a returning event - var updateDialogOptions = new UpdateDialogOptions(dialogId, new AzureOpenAIDialogUpdate(dialogId, dialogContext)); - var updateDialogResponse = await callDialog.UpdateDialogAsync(updateDialogOptions).ConfigureAwait(false); - Assert.AreEqual(StatusCodes.Status200OK, updateDialogResponse.Status); - - // stop the dialog - var stopDialogResponse = await callDialog.StopDialogAsync(dialogId).ConfigureAwait(false); - Assert.AreEqual(StatusCodes.Status204NoContent, stopDialogResponse.GetRawResponse().Status); - - var dialogStoppedReceived = await WaitForEvent(targetCallConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(dialogStoppedReceived); - Assert.IsTrue(dialogStoppedReceived is DialogCompleted); - } - catch (RequestFailedException ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - [Ignore("Currently does not work - need service fix?")] + [Ignore("botid not set properly")] public async Task IdenticalDialogsTest() { // ignores test if botAppId or PMA Endpoint is not set in environment variables @@ -386,7 +293,7 @@ public async Task IdenticalDialogsTest() CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); // setup service bus - string uniqueId = await ServiceBusWithNewCall(sourcePhone, target); + var uniqueId = await ServiceBusWithNewCall(sourcePhone, target); // create call and assert response CallInvite invite = new CallInvite((PhoneNumberIdentifier)target, (PhoneNumberIdentifier)sourcePhone); @@ -420,7 +327,7 @@ public async Task IdenticalDialogsTest() // send the dialog to the target user var dialogContext = new Dictionary(); - StartDialogOptions dialogOptions = new StartDialogOptions(dialogId, new PowerVirtualAgentsDialog(botAppId, dialogContext)) + StartDialog dialogOptions = new StartDialog(dialogId, new PowerVirtualAgentsDialog(botAppId, dialogContext)) { OperationContext = "context" }; @@ -457,6 +364,7 @@ public async Task IdenticalDialogsTest() } [RecordedTest] + [Ignore("botid not set properly")] public async Task SubsequentDialogsTest() { // ignores test if botAppId or PMA Endpoint is not set in environment variables @@ -496,7 +404,7 @@ public async Task SubsequentDialogsTest() CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); // setup service bus - string uniqueId = await ServiceBusWithNewCall(sourcePhone, target); + var uniqueId = await ServiceBusWithNewCall(sourcePhone, target); // create call and assert response CallInvite invite = new CallInvite((PhoneNumberIdentifier)target, (PhoneNumberIdentifier)sourcePhone); @@ -530,7 +438,7 @@ public async Task SubsequentDialogsTest() // send the dialog to the target user var dialogContext = new Dictionary(); - StartDialogOptions dialogOptions = new StartDialogOptions(dialogId, new PowerVirtualAgentsDialog(botAppId, dialogContext)) + StartDialog dialogOptions = new StartDialog(dialogId, new PowerVirtualAgentsDialog(botAppId, dialogContext)) { OperationContext = "context" }; @@ -554,7 +462,7 @@ public async Task SubsequentDialogsTest() Assert.IsTrue(dialogStoppedReceived is DialogCompleted); string secondDialogId = "de7fcbc8-1803-4ec1-80ed-2c9c087587fd"; - dialogOptions = new StartDialogOptions(secondDialogId, new PowerVirtualAgentsDialog(botAppId, dialogContext)) + dialogOptions = new StartDialog(secondDialogId, new PowerVirtualAgentsDialog(botAppId, dialogContext)) { OperationContext = "context" }; @@ -580,6 +488,7 @@ public async Task SubsequentDialogsTest() } [RecordedTest] + [Ignore("botid not set properly")] public async Task StopNonexistingDialogTest() { // ignores test if botAppId or PMA Endpoint is not set in environment variables @@ -619,7 +528,7 @@ public async Task StopNonexistingDialogTest() CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); // setup service bus - string uniqueId = await ServiceBusWithNewCall(sourcePhone, target); + var uniqueId = await ServiceBusWithNewCall(sourcePhone, target); // create call and assert response CallInvite invite = new CallInvite((PhoneNumberIdentifier)target, (PhoneNumberIdentifier)sourcePhone); diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/CallDialogs/CallDialogTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/CallDialogs/CallDialogTests.cs index 2612b8aaf3d9..bb3ee91614c9 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/CallDialogs/CallDialogTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/CallDialogs/CallDialogTests.cs @@ -33,22 +33,22 @@ public class CallDialogTests : CallAutomationTestBase } }; - private static readonly StartDialogOptions _startDialogOptions = new StartDialogOptions(new PowerVirtualAgentsDialog("botAppId", new Dictionary())) + private static readonly StartDialog _startDialogOptions = new StartDialog(new PowerVirtualAgentsDialog("botAppId", new Dictionary())) { OperationContext = "context" }; - private static readonly StartDialogOptions _startDialogWithCustomObjectOptions = new StartDialogOptions(new PowerVirtualAgentsDialog("botAppId", dialogContextWithObject)) + private static readonly StartDialog _startDialogWithCustomObjectOptions = new StartDialog(new PowerVirtualAgentsDialog("botAppId", dialogContextWithObject)) { OperationContext = "context" }; - private static readonly StartDialogOptions _startDialogWithStringOptions = new StartDialogOptions(new PowerVirtualAgentsDialog("botAppId", dialogContextWithString)) + private static readonly StartDialog _startDialogWithStringOptions = new StartDialog(new PowerVirtualAgentsDialog("botAppId", dialogContextWithString)) { OperationContext = "context" }; - private static readonly StartDialogOptions _startDialogWithIdOptions = new StartDialogOptions(dialogId, new PowerVirtualAgentsDialog("botAppId", new Dictionary())) + private static readonly StartDialog _startDialogWithIdOptions = new StartDialog(dialogId, new PowerVirtualAgentsDialog("botAppId", new Dictionary())) { OperationContext = "context" }; @@ -104,24 +104,6 @@ public void StartDialogWithId_Return201Created(Func> operation) - { - _callDialog = GetCallDialog(200); - var result = await operation(_callDialog); - Assert.IsNotNull(result); - Assert.AreEqual((int)HttpStatusCode.OK, result.Status); - } - - [TestCaseSource(nameof(TestData_UpdateDialog))] - public void UpdateDialog_Return200OK(Func operation) - { - _callDialog = GetCallDialog(200); - var result = operation(_callDialog); - Assert.IsNotNull(result); - Assert.AreEqual((int)HttpStatusCode.OK, result.Status); - } - [TestCaseSource(nameof(TestData_StopDialogAsync))] public async Task StopDialogAsync_Return204NoContent(Func>> operation) { @@ -192,35 +174,6 @@ public void StopDialog_Return204NoContent(Func TestData_UpdateDialogAsync() - { - return new[] - { - new Func>?[] - { - callDialog => callDialog.UpdateDialogAsync(new UpdateDialogOptions(dialogId, new AzureOpenAIDialogUpdate(dialogContextWithObject))) - }, - new Func>?[] - { - callDialog => callDialog.UpdateDialogAsync(new UpdateDialogOptions(dialogId, new AzureOpenAIDialogUpdate(dialogContextWithString))) - }, - }; - } - private static IEnumerable TestData_UpdateDialog() - { - return new[] - { - new Func?[] - { - callDialog => callDialog.UpdateDialog(new UpdateDialogOptions(dialogId, new AzureOpenAIDialogUpdate(dialogContextWithObject))) - }, - new Func?[] - { - callDialog => callDialog.UpdateDialog(new UpdateDialogOptions(dialogId, new AzureOpenAIDialogUpdate(dialogContextWithString))) - }, - }; - } - private static IEnumerable TestData_StopDialogAsync() { return new[] diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/CallMedias/CallMediaAutomatedLiveTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/CallMedias/CallMediaAutomatedLiveTests.cs index a81a952a7aca..209409544920 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/CallMedias/CallMediaAutomatedLiveTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/CallMedias/CallMediaAutomatedLiveTests.cs @@ -2,13 +2,13 @@ // Licensed under the MIT License. using System; -using System.Collections.Generic; using System.Threading.Tasks; +using NUnit.Framework; using Azure.Communication.CallAutomation.Tests.Infrastructure; -using Azure.Communication.PhoneNumbers; using Azure.Core.TestFramework; using Microsoft.AspNetCore.Http; -using NUnit.Framework; +using Azure.Communication.PhoneNumbers; +using System.Collections.Generic; namespace Azure.Communication.CallAutomation.Tests.CallMedias { @@ -143,295 +143,7 @@ public async Task continuousDtmfDetectionAndSendDtmfTest() } [RecordedTest] - public async Task PlayMultipleFilesSourcesWithPlayMediaTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, false); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - // multiple File Source - var playFileSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ), - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ), - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ) - }; - - PlayOptions options = new PlayOptions(playFileSources, new List() { target }) { OperationContext = "context" }; - - // Assert the Play with multiple File Sources - await callConnection.GetCallMedia().PlayAsync(options).ConfigureAwait(false); - var playCompletedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(playCompletedEvent); - Assert.IsTrue(playCompletedEvent is PlayCompleted); - Assert.AreEqual(callConnectionId, ((PlayCompleted)playCompletedEvent!).CallConnectionId); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task PlayMultipleFilesSourcesWithPlayMediaAllTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, false); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - // multiple File Source - var playFileSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ), - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ), - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ) - }; - - PlayToAllOptions options = new PlayToAllOptions(playFileSources) { OperationContext = "context" }; - - // Assert the Play with multiple File Sources - await callConnection.GetCallMedia().PlayToAllAsync(options).ConfigureAwait(false); - var playCompletedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(playCompletedEvent); - Assert.IsTrue(playCompletedEvent is PlayCompleted); - Assert.AreEqual(callConnectionId, ((PlayCompleted)playCompletedEvent!).CallConnectionId); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task PlayMultipleTextSourcesWithPlayMediaTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - // multiple Text Source - var playTextSources = new List() { - new TextSource("Test prompt1") { VoiceName = "en-US-NancyNeural" }, - new TextSource("Test prompt2") { VoiceName = "en-US-NancyNeural" }, - new TextSource("Test prompt3") { VoiceName = "en-US-NancyNeural" } - }; - - PlayOptions options = new PlayOptions(playTextSources, new List() { target }) { OperationContext = "context" }; - - // Assert the Play with multiple Text Sources - await callConnection.GetCallMedia().PlayAsync(options).ConfigureAwait(false); - var playCompletedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(playCompletedEvent); - Assert.IsTrue(playCompletedEvent is PlayCompleted); - Assert.AreEqual(callConnectionId, ((PlayCompleted)playCompletedEvent!).CallConnectionId); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task PlayMultipleTextSourcesWithPlayMediaAllTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - // multiple Text Source - var playTextSources = new List() { - new TextSource("Test prompt1") { VoiceName = "en-US-NancyNeural" }, - new TextSource("Test prompt2") { VoiceName = "en-US-NancyNeural" }, - new TextSource("Test prompt3") { VoiceName = "en-US-NancyNeural" } - }; - - PlayToAllOptions options = new PlayToAllOptions(playTextSources) { OperationContext = "context" }; - - // Assert the Play with multiple Text Sources - await callConnection.GetCallMedia().PlayToAllAsync(options).ConfigureAwait(false); - var playCompletedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(playCompletedEvent); - Assert.IsTrue(playCompletedEvent is PlayCompleted); - Assert.AreEqual(callConnectionId, ((PlayCompleted)playCompletedEvent!).CallConnectionId); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task PlayCombinedTextAndFileSourcesWithPlayMediaTest() + public async Task HoldUnholdParticipantInACallTest() { // create caller and receiver CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); @@ -445,1857 +157,40 @@ public async Task PlayCombinedTextAndFileSourcesWithPlayMediaTest() { // setup service bus uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); + var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId); callConnectionId = result.CallerCallConnectionId; var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); var callConnection = client.GetCallConnection(callConnectionId); - // multiple Sources - var playMultipleSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ), - new TextSource("Test prompt1") { VoiceName = "en-US-NancyNeural" } - }; + // wait for callConnected + var addParticipantSucceededEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); + Assert.IsNotNull(addParticipantSucceededEvent); + Assert.IsTrue(addParticipantSucceededEvent is ParticipantsUpdated); + Assert.IsTrue(((ParticipantsUpdated)addParticipantSucceededEvent!).CallConnectionId == callConnectionId); - PlayOptions options = new PlayOptions(playMultipleSources, new List() { target }) { OperationContext = "context" }; + // Assert the participant hold + await callConnection.GetCallMedia().HoldAsync(new HoldOptions(target)).ConfigureAwait(false); + await Task.Delay(1000); + var participantResult = await callConnection.GetParticipantAsync(target).ConfigureAwait(false); + Assert.IsNotNull(participantResult); + Assert.IsTrue(participantResult.Value.IsOnHold); - // Assert the Play with multiple Text Sources - await callConnection.GetCallMedia().PlayAsync(options).ConfigureAwait(false); - var playCompletedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(playCompletedEvent); - Assert.IsTrue(playCompletedEvent is PlayCompleted); - Assert.AreEqual(callConnectionId, ((PlayCompleted)playCompletedEvent!).CallConnectionId); + // Assert the participant unhold + await callConnection.GetCallMedia().UnholdAsync(new UnholdOptions(target)).ConfigureAwait(false); - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task PlayCombinedTextAndFileSourcesWithPlayMediaAllTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - // multiple Sources - var playMultipleSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ), - new TextSource("Test prompt1") { VoiceName = "en-US-NancyNeural" } - }; - - PlayToAllOptions options = new PlayToAllOptions(playMultipleSources) { OperationContext = "context" }; - - // Assert the Play with multiple Text Sources - await callConnection.GetCallMedia().PlayToAllAsync(options).ConfigureAwait(false); - var playCompletedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(playCompletedEvent); - Assert.IsTrue(playCompletedEvent is PlayCompleted); - Assert.AreEqual(callConnectionId, ((PlayCompleted)playCompletedEvent!).CallConnectionId); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task PlayInvalidFileSourceWithPlayMediaTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, false); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - // Assert multiple Text Source with wrong file source play failed event - var playMultipleSources = new List() { - new FileSource(new Uri("https://dummy.com/dummyurl.wav")) - }; - - PlayOptions options = new PlayOptions(playMultipleSources, new List() { target }) { OperationContext = "context" }; - - // Assert the Play with multiple Text Sources - await callConnection.GetCallMedia().PlayAsync(options).ConfigureAwait(false); - var playFailedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(playFailedEvent); - Assert.IsTrue(playFailedEvent is PlayFailed); - Assert.AreEqual(callConnectionId, ((PlayFailed)playFailedEvent!).CallConnectionId); - Assert.AreEqual(0, ((PlayFailed)playFailedEvent!).FailedPlaySourceIndex); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task PlayInvalidAndValidFileSourceWithPlayMediaTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, false); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - // Assert multiple Text Source with wrong file source play failed event - var playMultipleSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ), - new FileSource(new Uri("https://dummy.com/dummyurl.wav")) - }; - - PlayOptions options = new PlayOptions(playMultipleSources, new List() { target }) { OperationContext = "context" }; - - // Assert the Play with multiple Text Sources - await callConnection.GetCallMedia().PlayAsync(options).ConfigureAwait(false); - var playFailedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(playFailedEvent); - Assert.IsTrue(playFailedEvent is PlayFailed); - Assert.AreEqual(callConnectionId, ((PlayFailed)playFailedEvent!).CallConnectionId); - Assert.AreEqual(1, ((PlayFailed)playFailedEvent!).FailedPlaySourceIndex); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task PlayInvalidFileSourceWithPlayMediaAllTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, false); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - // Assert multiple Text Source with wrong file source play failed event - var playMultipleSources = new List() { - new FileSource(new Uri("https://dummy.com/dummyurl.wav")) - }; - - PlayToAllOptions options = new PlayToAllOptions(playMultipleSources) { OperationContext = "context" }; - - // Assert the Play with invalid file source - await callConnection.GetCallMedia().PlayToAllAsync(options).ConfigureAwait(false); - var playFailedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(playFailedEvent); - Assert.IsTrue(playFailedEvent is PlayFailed); - Assert.AreEqual(callConnectionId, ((PlayFailed)playFailedEvent!).CallConnectionId); - Assert.AreEqual(0, ((PlayFailed)playFailedEvent!).FailedPlaySourceIndex); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task PlayInvalidAndInvalidFileSourceWithPlayMediaAllTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, false); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - // Assert multiple Text Source with wrong file source play failed event - var playMultipleSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ), - new FileSource(new Uri("https://dummy.com/dummyurl.wav")) - }; - - PlayToAllOptions options = new PlayToAllOptions(playMultipleSources) { OperationContext = "context" }; - - // Assert the Play with multiple Text Sources - await callConnection.GetCallMedia().PlayToAllAsync(options).ConfigureAwait(false); - var playFailedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(playFailedEvent); - Assert.IsTrue(playFailedEvent is PlayFailed); - Assert.AreEqual(callConnectionId, ((PlayFailed)playFailedEvent!).CallConnectionId); - Assert.AreEqual(1, ((PlayFailed)playFailedEvent!).FailedPlaySourceIndex); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task DtmfRecognizeWithMultipleFileSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - RecognizeInputType recognizeInputType = RecognizeInputType.Dtmf; - - // Assert combination of text and file source - var playMultipleSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl)), - new FileSource(new Uri(TestEnvironment.FileSourceUrl)) - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task DtmfRecognizeWithMultipleTextSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - string SpeechToTextVoice = "en-US-NancyNeural"; - RecognizeInputType recognizeInputType = RecognizeInputType.Dtmf; - - // Assert multiple Text Sources - var playTextSources = new List() { - new TextSource("Test prompt1") { VoiceName = SpeechToTextVoice }, - new TextSource("Test prompt2") { VoiceName = SpeechToTextVoice }, - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playTextSources, target, recognizeInputType); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task DtmfRecognizeWithCombinationOfTextAndFileSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - string SpeechToTextVoice = "en-US-NancyNeural"; - RecognizeInputType recognizeInputType = RecognizeInputType.Dtmf; - - // Assert combination of text and file source - var playMultipleSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl)), - new TextSource("Test prompt1") { VoiceName = SpeechToTextVoice } - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task DtmfRecognizeWithInvalidFileSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - RecognizeInputType recognizeInputType = RecognizeInputType.Dtmf; - - // Assert multiple Text Source with wrong file source - var playMultipleSources = new List() { - new FileSource(new Uri("https://dummy.com/dummyurl.wav")) - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType, null, true); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task DtmfRecognizeWithInvalidFileSourceWithValidSourceTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - RecognizeInputType recognizeInputType = RecognizeInputType.Dtmf; - - // Assert multiple Text Source with wrong file source - var playMultipleSources = new List() { - new FileSource(new Uri("https://dummy.com/dummyurl.wav")), - new TextSource("Test prompt1") { VoiceName = "en-US-NancyNeural" } - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType, null, true); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task SpeechRecognizeWithMultipleFileSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - RecognizeInputType recognizeInputType = RecognizeInputType.Speech; - - // Assert combination of text and file source - var playMultipleSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl)), - new FileSource(new Uri(TestEnvironment.FileSourceUrl)) - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task SpeechRecognizeWithMultipleTextSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - string SpeechToTextVoice = "en-US-NancyNeural"; - RecognizeInputType recognizeInputType = RecognizeInputType.Speech; - - // Assert multiple Text Sources - var playTextSources = new List() { - new TextSource("Test prompt1") { VoiceName = SpeechToTextVoice }, - new TextSource("Test prompt2") { VoiceName = SpeechToTextVoice }, - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playTextSources, target, recognizeInputType); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task SpeechRecognizeWithCombinationOfTextAndFileSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - string SpeechToTextVoice = "en-US-NancyNeural"; - RecognizeInputType recognizeInputType = RecognizeInputType.Speech; - - // Assert combination of text and file source - var playMultipleSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl)), - new TextSource("Test prompt1") { VoiceName = SpeechToTextVoice } - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task SpeechRecognizeWithInvalidFileSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - RecognizeInputType recognizeInputType = RecognizeInputType.Speech; - - // Assert multiple Text Source with wrong file source - var playMultipleSources = new List() { - new FileSource(new Uri("https://dummy.com/dummyurl.wav")) - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType, null, true); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task SpeechRecognizeWithInvalidFileSourceWithValidSourceTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - RecognizeInputType recognizeInputType = RecognizeInputType.Speech; - - // Assert multiple Text Source with wrong file source - var playMultipleSources = new List() { - new FileSource(new Uri("https://dummy.com/dummyurl.wav")), - new TextSource("Test prompt1") { VoiceName = "en-US-NancyNeural" } - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType, null, true); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task ChoiceRecognizeWithMultipleFileSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - RecognizeInputType recognizeInputType = RecognizeInputType.Choices; - - // Assert combination of text and file source - var playMultipleSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl)), - new FileSource(new Uri(TestEnvironment.FileSourceUrl)) - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task ChoiceRecognizeWithMultipleTextSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - string SpeechToTextVoice = "en-US-NancyNeural"; - RecognizeInputType recognizeInputType = RecognizeInputType.Choices; - - // Assert multiple Text Sources - var playTextSources = new List() { - new TextSource("Test prompt1") { VoiceName = SpeechToTextVoice }, - new TextSource("Test prompt2") { VoiceName = SpeechToTextVoice }, - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playTextSources, target, recognizeInputType); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task ChoiceRecognizeWithCombinationOfTextAndFileSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - string SpeechToTextVoice = "en-US-NancyNeural"; - RecognizeInputType recognizeInputType = RecognizeInputType.Choices; - - // Assert combination of text and file source - var playMultipleSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl)), - new TextSource("Test prompt1") { VoiceName = SpeechToTextVoice } - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task ChoiceRecognizeWithInvalidFileSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - RecognizeInputType recognizeInputType = RecognizeInputType.Choices; - - // Assert multiple Text Source with wrong file source - var playMultipleSources = new List() { - new FileSource(new Uri("https://dummy.com/dummyurl.wav")) - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType, null, true); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task ChoiceRecognizeWithInvalidFileSourceWithValidSourceTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - RecognizeInputType recognizeInputType = RecognizeInputType.Choices; - - // Assert multiple Text Source with wrong file source - var playMultipleSources = new List() { - new FileSource(new Uri("https://dummy.com/dummyurl.wav")), - new TextSource("Test prompt1") { VoiceName = "en-US-NancyNeural" } - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType, null, true); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task SpeechOrDtmfRecognizeWithMultipleFileSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - RecognizeInputType recognizeInputType = RecognizeInputType.SpeechOrDtmf; - - // Assert combination of text and file source - var playMultipleSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl)), - new FileSource(new Uri(TestEnvironment.FileSourceUrl)) - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task SpeechOrDtmfRecognizeWithMultipleTextSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - string SpeechToTextVoice = "en-US-NancyNeural"; - RecognizeInputType recognizeInputType = RecognizeInputType.SpeechOrDtmf; - - // Assert multiple Text Sources - var playTextSources = new List() { - new TextSource("Test prompt1") { VoiceName = SpeechToTextVoice }, - new TextSource("Test prompt2") { VoiceName = SpeechToTextVoice }, - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playTextSources, target, recognizeInputType); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task SpeechOrDtmfRecognizeWithCombinationOfTextAndFileSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - string SpeechToTextVoice = "en-US-NancyNeural"; - RecognizeInputType recognizeInputType = RecognizeInputType.SpeechOrDtmf; - - // Assert combination of text and file source - var playMultipleSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl)), - new TextSource("Test prompt1") { VoiceName = SpeechToTextVoice } - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task SpeechOrDtmfRecognizeWithInvalidFileSourcesTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - RecognizeInputType recognizeInputType = RecognizeInputType.SpeechOrDtmf; - - // Assert multiple Text Source with wrong file source - var playMultipleSources = new List() { - new FileSource(new Uri("https://dummy.com/dummyurl.wav")) - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType, null, true); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task SpeechOrDtmfRecognizeWithInvalidFileSourceWithValidSourceTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, true); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - RecognizeInputType recognizeInputType = RecognizeInputType.SpeechOrDtmf; - - // Assert multiple Text Source with wrong file source - var playMultipleSources = new List() { - new FileSource(new Uri("https://dummy.com/dummyurl.wav")), - new TextSource("Test prompt1") { VoiceName = "en-US-NancyNeural" } - }; - - await VerifyRecognizeFailedEventForMultipleSources(callConnectionId, client, playMultipleSources, target, recognizeInputType, null, true); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task HoldUnholdParticipantInACallTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - // wait for callConnected - var addParticipantSucceededEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(addParticipantSucceededEvent); - Assert.IsTrue(addParticipantSucceededEvent is ParticipantsUpdated); - Assert.IsTrue(((ParticipantsUpdated)addParticipantSucceededEvent!).CallConnectionId == callConnectionId); - - // Assert the participant hold - await callConnection.GetCallMedia().HoldAsync(target).ConfigureAwait(false); - await Task.Delay(1000); - var participantResult = await callConnection.GetParticipantAsync(target).ConfigureAwait(false); - Assert.IsNotNull(participantResult); - Assert.IsTrue(participantResult.Value.IsOnHold); - - // Assert the participant unhold - await callConnection.GetCallMedia().UnholdAsync(target).ConfigureAwait(false); - - await Task.Delay(1000); - - participantResult = await callConnection.GetParticipantAsync(target).ConfigureAwait(false); - Assert.IsNotNull(participantResult); - Assert.IsFalse(participantResult.Value.IsOnHold); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task CreateCallWithMediaStreamingTest() - { - /* Tests: CreateCall, Media Streaming - * Test case: ACS to ACS call - * 1. create a CallAutomationClient. - * 2. Start Media Streaming and Stop Media Streaming - * 3. See Media Streaming started and stopped in call - */ - - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); + await Task.Delay(1000); - // create call and assert response - MediaStreamingOptions mediaStreamingOptions = new MediaStreamingOptions( - new Uri(TestEnvironment.TransportUrl), - MediaStreamingContent.Audio, - MediaStreamingAudioChannel.Mixed, - MediaStreamingTransport.Websocket, - false); + participantResult = await callConnection.GetParticipantAsync(target).ConfigureAwait(false); + Assert.IsNotNull(participantResult); + Assert.IsFalse(participantResult.Value.IsOnHold); + + // try hangup + await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); + var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); + Assert.IsNotNull(disconnectedEvent); + Assert.IsTrue(disconnectedEvent is CallDisconnected); + Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - var result = await CreateAndAnswerCallWithMediaOrTranscriptionOptions(client, targetClient, target, uniqueId, true, - mediaStreamingOptions, transcriptionOptions: null); - callConnectionId = result.CallerCallConnectionId; - await VerifyMediaStreaming(client, result.CallerCallConnectionId); try { // test get properties @@ -2326,7 +221,7 @@ public async Task CreateCallWithMediaStreamingTest() } [RecordedTest] - public async Task AnswerCallWithMediaStreamingTest() + public async Task CreateCallWithMediaStreamingTest() { /* Tests: CreateCall, Media Streaming * Test case: ACS to ACS call @@ -2357,10 +252,10 @@ public async Task AnswerCallWithMediaStreamingTest() MediaStreamingTransport.Websocket, false); - var result = await CreateAndAnswerCallWithMediaOrTranscriptionOptions(client, targetClient, target, uniqueId, false, + var result = await CreateAndAnswerCallWithMediaOrTranscriptionOptions(client, targetClient, target, uniqueId, true, mediaStreamingOptions, transcriptionOptions: null); - callConnectionId = result.TargetCallConnectionId; - await VerifyMediaStreaming(targetClient, result.TargetCallConnectionId); + callConnectionId = result.CallerCallConnectionId; + await VerifyMediaStreaming(client, result.CallerCallConnectionId); try { // test get properties @@ -2391,7 +286,7 @@ public async Task AnswerCallWithMediaStreamingTest() } [RecordedTest] - public async Task AnswerCallWithMediaStreamingUnmixedTest() + public async Task AnswerCallWithMediaStreamingTest() { /* Tests: CreateCall, Media Streaming * Test case: ACS to ACS call @@ -2418,7 +313,7 @@ public async Task AnswerCallWithMediaStreamingUnmixedTest() MediaStreamingOptions mediaStreamingOptions = new MediaStreamingOptions( new Uri(TestEnvironment.TransportUrl), MediaStreamingContent.Audio, - MediaStreamingAudioChannel.Unmixed, + MediaStreamingAudioChannel.Mixed, MediaStreamingTransport.Websocket, false); @@ -2456,14 +351,13 @@ public async Task AnswerCallWithMediaStreamingUnmixedTest() } [RecordedTest] - public async Task CreateCallAndTranscriptionTest() + public async Task CreateCallWithMediaStreamingWithAudioFormatPcm24KMonoTest() { - /* Tests: CreateCall, Transcription + /* Tests: CreateCall, Media Streaming * Test case: ACS to ACS call - * 1. create a call with transcription options - * 2. Answer a call - * 3. Start Transcription and Stop Transcription - * 3. See Transcription started and stopped event triggerred + * 1. create a CallAutomationClient. + * 2. Start Media Streaming with 24k and Stop Media Streaming + * 3. See Media Streaming started and stopped in call */ // create caller and receiver @@ -2481,14 +375,20 @@ public async Task CreateCallAndTranscriptionTest() uniqueId = await ServiceBusWithNewCall(user, target); // create call and assert response - TranscriptionOptions transcriptionOptions = new TranscriptionOptions( + MediaStreamingOptions mediaStreamingOptions = new MediaStreamingOptions( new Uri(TestEnvironment.TransportUrl), - "en-CA", - false); + MediaStreamingContent.Audio, + MediaStreamingAudioChannel.Mixed, + MediaStreamingTransport.Websocket, + false) + { + AudioFormat = AudioFormat.Pcm24KMono + }; + var result = await CreateAndAnswerCallWithMediaOrTranscriptionOptions(client, targetClient, target, uniqueId, true, - null, transcriptionOptions); + mediaStreamingOptions, transcriptionOptions: null); callConnectionId = result.CallerCallConnectionId; - await VerifyTranscription(targetClient, result.CallerCallConnectionId); + await VerifyMediaStreaming(client, result.CallerCallConnectionId); try { // test get properties @@ -2519,14 +419,13 @@ public async Task CreateCallAndTranscriptionTest() } [RecordedTest] - public async Task AnswerCallAndTranscriptionTest() + public async Task AnswerCallWithMediaStreamingWithAudioFormatPcm24KMonoTest() { - /* Tests: CreateCall, Transcription + /* Tests: CreateCall, Media Streaming * Test case: ACS to ACS call - * 1. create a call - * 2. Answer a call with transcription options - * 3. Start Transcription and Stop Transcription - * 3. See Transcription started and stopped event triggerred + * 1. create a CallAutomationClient. + * 2. Start Media Streaming with 24k and Stop Media Streaming + * 3. See Media Streaming started and stopped in call */ // create caller and receiver @@ -2544,125 +443,20 @@ public async Task AnswerCallAndTranscriptionTest() uniqueId = await ServiceBusWithNewCall(user, target); // create call and assert response - TranscriptionOptions transcriptionOptions = new TranscriptionOptions( + MediaStreamingOptions mediaStreamingOptions = new MediaStreamingOptions( new Uri(TestEnvironment.TransportUrl), - "en-CA", - false); - var result = await CreateAndAnswerCallWithMediaOrTranscriptionOptions(client, targetClient, target, uniqueId, false, - null, transcriptionOptions); - callConnectionId = result.TargetCallConnectionId; - await VerifyTranscription(targetClient, result.TargetCallConnectionId); - try - { - // test get properties - Response properties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - } - catch (RequestFailedException ex) + MediaStreamingContent.Audio, + MediaStreamingAudioChannel.Mixed, + MediaStreamingTransport.Websocket, + false) { - if (ex.Status == 404) - { - callConnectionId = null; - return; - } - } - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } - - [RecordedTest] - public async Task InterruptAudioAndAnnounceAsyncTest() - { - // create caller and receiver - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, false); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - // multiple File Source - var playFileSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ), - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ) + AudioFormat = AudioFormat.Pcm24KMono }; - InterruptAudioAndAnnounceOptions options = new InterruptAudioAndAnnounceOptions(playFileSources, target) { OperationContext = "context" }; - - // Assert the participant hold - await callConnection.GetCallMedia().HoldAsync(target, new FileSource(new Uri(TestEnvironment.FileSourceUrl))).ConfigureAwait(false); - await Task.Delay(1000); - var holdAudioStartedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(holdAudioStartedEvent); - Assert.IsTrue(holdAudioStartedEvent is HoldAudioStarted); - Assert.AreEqual(callConnectionId, ((HoldAudioStarted)holdAudioStartedEvent!).CallConnectionId); - - var participantResult = await callConnection.GetParticipantAsync(target).ConfigureAwait(false); - Assert.IsNotNull(participantResult); - Assert.IsTrue(participantResult.Value.IsOnHold); - - // Assert the Play with multiple File Sources - await callConnection.GetCallMedia().InterruptAudioAndAnnounceAsync(options).ConfigureAwait(false); - await Task.Delay(1000); - var holdAudioPausedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(holdAudioPausedEvent); - Assert.IsTrue(holdAudioPausedEvent is HoldAudioPaused); - Assert.AreEqual(callConnectionId, ((HoldAudioPaused)holdAudioPausedEvent!).CallConnectionId); - - var playStartedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(playStartedEvent); - Assert.IsTrue(playStartedEvent is PlayStarted); - Assert.AreEqual(callConnectionId, ((PlayStarted)playStartedEvent!).CallConnectionId); - - var holdAudioResumedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(holdAudioResumedEvent); - Assert.IsTrue(holdAudioResumedEvent is HoldAudioResumed); - Assert.AreEqual(callConnectionId, ((HoldAudioResumed)holdAudioResumedEvent!).CallConnectionId); - - var playCompletedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(playCompletedEvent); - Assert.IsTrue(playCompletedEvent is PlayCompleted); - Assert.AreEqual(callConnectionId, ((PlayCompleted)playCompletedEvent!).CallConnectionId); - - // Assert the participant unhold - await callConnection.GetCallMedia().UnholdAsync(target).ConfigureAwait(false); - await Task.Delay(1000); - var holdAudioCompletedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(holdAudioCompletedEvent); - Assert.IsTrue(holdAudioCompletedEvent is HoldAudioCompleted); - Assert.AreEqual(callConnectionId, ((HoldAudioCompleted)holdAudioCompletedEvent!).CallConnectionId); - - participantResult = await callConnection.GetParticipantAsync(target).ConfigureAwait(false); - Assert.IsNotNull(participantResult); - Assert.IsFalse(participantResult.Value.IsOnHold); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - + var result = await CreateAndAnswerCallWithMediaOrTranscriptionOptions(client, targetClient, target, uniqueId, false, + mediaStreamingOptions, transcriptionOptions: null); + callConnectionId = result.TargetCallConnectionId; + await VerifyMediaStreaming(targetClient, result.TargetCallConnectionId); try { // test get properties @@ -2693,96 +487,41 @@ public async Task InterruptAudioAndAnnounceAsyncTest() } [RecordedTest] - public async Task InterruptHoldAudioForPlayMediaAsyncTest() + public async Task AnswerCallWithMediaStreamingUnmixedTest() { + /* Tests: CreateCall, Media Streaming + * Test case: ACS to ACS call + * 1. create a CallAutomationClient. + * 2. Start Media Streaming and Stop Media Streaming + * 3. See Media Streaming started and stopped in call + */ + // create caller and receiver CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); string? callConnectionId = null, uniqueId = null; + try { try { // setup service bus uniqueId = await ServiceBusWithNewCall(user, target); - var result = await CreateAndAnswerCall(client, targetClient, target, uniqueId, false); - callConnectionId = result.CallerCallConnectionId; - var participantToAdd = await CreateIdentityUserAsync().ConfigureAwait(false); - var callConnection = client.GetCallConnection(callConnectionId); - - HoldOptions holdOptions = new HoldOptions(target) { - OperationContext = "context", - PlaySource = new FileSource(new Uri(TestEnvironment.FileSourceUrl)) - }; - // Assert the participant hold - await callConnection.GetCallMedia().HoldAsync(holdOptions).ConfigureAwait(false); - var holdAudioStartedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(holdAudioStartedEvent); - Assert.IsTrue(holdAudioStartedEvent is HoldAudioStarted); - Assert.AreEqual(callConnectionId, ((HoldAudioStarted)holdAudioStartedEvent!).CallConnectionId); - - await Task.Delay(1000); - var participantResult = await callConnection.GetParticipantAsync(target).ConfigureAwait(false); - Assert.IsNotNull(participantResult); - Assert.IsTrue(participantResult.Value.IsOnHold); - - // multiple File Source - var playFileSources = new List() { - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ), - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ), - new FileSource(new Uri(TestEnvironment.FileSourceUrl) ) - }; - - PlayOptions options = new PlayOptions(playFileSources, new List() { target }) - { - OperationContext = "context", - InterruptHoldAudio = true - }; - - // Assert the Play with multiple File Sources - await callConnection.GetCallMedia().PlayAsync(options).ConfigureAwait(false); - - var holdAudioPausedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(holdAudioPausedEvent); - Assert.IsTrue(holdAudioPausedEvent is HoldAudioPaused); - Assert.AreEqual(callConnectionId, ((HoldAudioPaused)holdAudioPausedEvent!).CallConnectionId); - - var playStartedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(playStartedEvent); - Assert.IsTrue(playStartedEvent is PlayStarted); - Assert.AreEqual(callConnectionId, ((PlayStarted)playStartedEvent!).CallConnectionId); - - var playCompletedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(playCompletedEvent); - Assert.IsTrue(playCompletedEvent is PlayCompleted); - Assert.AreEqual(callConnectionId, ((PlayCompleted)playCompletedEvent!).CallConnectionId); - var holdAudioResumedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(holdAudioResumedEvent); - Assert.IsTrue(holdAudioResumedEvent is HoldAudioResumed); - Assert.AreEqual(callConnectionId, ((HoldAudioResumed)holdAudioResumedEvent!).CallConnectionId); - - // Assert the participant unhold - await callConnection.GetCallMedia().UnholdAsync(target).ConfigureAwait(false); - var holdAudioCompletedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(holdAudioCompletedEvent); - Assert.IsTrue(holdAudioCompletedEvent is HoldAudioCompleted); - Assert.AreEqual(callConnectionId, ((HoldAudioCompleted)holdAudioCompletedEvent!).CallConnectionId); - - await Task.Delay(1000); - participantResult = await callConnection.GetParticipantAsync(target).ConfigureAwait(false); - Assert.IsNotNull(participantResult); - Assert.IsFalse(participantResult.Value.IsOnHold); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); + // create call and assert response + MediaStreamingOptions mediaStreamingOptions = new MediaStreamingOptions( + new Uri(TestEnvironment.TransportUrl), + MediaStreamingContent.Audio, + MediaStreamingAudioChannel.Unmixed, + MediaStreamingTransport.Websocket, + false); + var result = await CreateAndAnswerCallWithMediaOrTranscriptionOptions(client, targetClient, target, uniqueId, false, + mediaStreamingOptions, transcriptionOptions: null); + callConnectionId = result.TargetCallConnectionId; + await VerifyMediaStreaming(targetClient, result.TargetCallConnectionId); try { // test get properties @@ -2812,11 +551,11 @@ public async Task InterruptHoldAudioForPlayMediaAsyncTest() } } - public async Task<(string CallerCallConnectionId, string TargetCallConnectionId)> CreateAndAnswerCall(CallAutomationClient client, - CallAutomationClient targetClient, - CommunicationUserIdentifier target, - string uniqueId, - bool createCallWithCogService = false) + private async Task<(string CallerCallConnectionId, string TargetCallConnectionId)> CreateAndAnswerCall(CallAutomationClient client, + CallAutomationClient targetClient, + CommunicationUserIdentifier target, + string uniqueId, + bool createCallWithCogService = false) { try { @@ -2852,6 +591,7 @@ public async Task InterruptHoldAudioForPlayMediaAsyncTest() throw; } } + private async Task<(string CallerCallConnectionId, string TargetCallConnectionId)> CreateAndAnswerCallWithMediaOrTranscriptionOptions( CallAutomationClient client, CallAutomationClient targetClient, @@ -2924,7 +664,7 @@ public async Task InterruptHoldAudioForPlayMediaAsyncTest() } private async Task VerifyMediaStreaming(CallAutomationClient client, - string callConnectionId) + string callConnectionId) { //Start media streaming StartMediaStreamingOptions startMediaStreamingOptions = new StartMediaStreamingOptions() @@ -2969,180 +709,5 @@ private async Task VerifyMediaStreaming(CallAutomationClient client, Assert.IsTrue(disconnectedEvent is CallDisconnected); Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); } - - private async Task VerifyTranscription(CallAutomationClient client, string callConnectionId) - { - //Start Transcription - StartTranscriptionOptions startTranscriptionOptions = new StartTranscriptionOptions() - { - Locale = "en-CA", - OperationContext = "StartTranscription" - }; - - var callerMedia = client.GetCallConnection(callConnectionId).GetCallMedia(); - var startTranscriptionResponse = await callerMedia.StartTranscriptionAsync(startTranscriptionOptions); - var startTranscriptionEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(startTranscriptionEvent); - Assert.IsTrue(startTranscriptionEvent is TranscriptionStarted); - - var source = new TextSource("Hello, this is live test", "en-US-ElizabethNeural"); - var options = new PlayToAllOptions(source) { OperationContext = "playalloptionduringtranscription" }; - callerMedia.PlayToAll(options); - - // test get properties - var connectionProperties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - Assert.IsNotNull(connectionProperties); - Assert.IsNotNull(connectionProperties.Value.TranscriptionSubscription); - Assert.AreEqual(connectionProperties.Value.TranscriptionSubscription.State, TranscriptionSubscriptionState.Active); - - // Update Transcription - UpdateTranscriptionOptions updateTranscriptionOptions = new UpdateTranscriptionOptions("en-US") { OperationContext = "UpdateTranscription" }; - var updateTranscriptionResponse = await callerMedia.UpdateTranscriptionAsync(updateTranscriptionOptions); - var updateTranscriptionEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(updateTranscriptionEvent); - Assert.IsTrue(updateTranscriptionEvent is TranscriptionUpdated); - - connectionProperties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - Assert.IsNotNull(connectionProperties); - Assert.IsNotNull(connectionProperties.Value.TranscriptionSubscription); - Assert.AreEqual(connectionProperties.Value.TranscriptionSubscription.State, TranscriptionSubscriptionState.Active); - - //Stop Transcription - StopTranscriptionOptions stopTranscriptionOptions = new StopTranscriptionOptions() { OperationContext = "StopTranscription" }; - var stopTranscriptionResponse = await callerMedia.StopTranscriptionAsync(stopTranscriptionOptions); - - var stopTranscriptionEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(stopTranscriptionEvent); - Assert.IsTrue(stopTranscriptionEvent is TranscriptionStopped); - - connectionProperties = await client.GetCallConnection(callConnectionId).GetCallConnectionPropertiesAsync().ConfigureAwait(false); - Assert.IsNotNull(connectionProperties); - Assert.IsNotNull(connectionProperties.Value.TranscriptionSubscription); - Assert.AreEqual(connectionProperties.Value.TranscriptionSubscription.State, TranscriptionSubscriptionState.Inactive); - - // try hangup - await client.GetCallConnection(callConnectionId).HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.AreEqual(callConnectionId, ((CallDisconnected)disconnectedEvent!).CallConnectionId); - } - - private async Task VerifyRecognizeFailedEventForMultipleSources(string callConnectionId, - CallAutomationClient client, List playMultipleSources, - CommunicationUserIdentifier target, - RecognizeInputType recognizeInputType, - PlaySource? playSource = null, - bool isInvalidSourceCheck = false, - bool expectedBadRequestCheck = false) - { - // Assert the playall with multiple Text Sources - var recognizeOptions = GetRecognizeOptions(playMultipleSources, target, recognizeInputType, playSource); - Assert.IsNotNull(recognizeOptions); - - var callConnection = client.GetCallConnection(callConnectionId); - - try - { - await callConnection.GetCallMedia().StartRecognizingAsync(recognizeOptions).ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - if (expectedBadRequestCheck) - { - if (ex.Status == 400) - { - return; - } - } - } - - // Assert the playall with multiple Text Sources - var recognizeFailedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(recognizeFailedEvent); - Assert.IsTrue(recognizeFailedEvent is RecognizeFailed); - Assert.AreEqual(callConnectionId, ((RecognizeFailed)recognizeFailedEvent!).CallConnectionId); - if (expectedBadRequestCheck) - { - Assert.AreEqual(MediaEventReasonCode.PlayInvalidFileFormat, ((RecognizeFailed)recognizeFailedEvent!).ReasonCode); - } - else if (isInvalidSourceCheck) - { - Assert.AreEqual(0, ((RecognizeFailed)recognizeFailedEvent!).FailedPlaySourceIndex); - } - else - { - Assert.AreEqual(MediaEventReasonCode.RecognizeInitialSilenceTimedOut, ((RecognizeFailed)recognizeFailedEvent!).ReasonCode); - if (recognizeInputType != RecognizeInputType.Dtmf) - Assert.IsNull(((RecognizeFailed)recognizeFailedEvent!).FailedPlaySourceIndex); - } - } - - private CallMediaRecognizeOptions? GetRecognizeOptions(List playSources, - CommunicationUserIdentifier target, - RecognizeInputType type, - PlaySource? playSource = null) - { - CallMediaRecognizeOptions? recognizeOptions = type.ToString() switch - { - "dtmf" => new CallMediaRecognizeDtmfOptions(targetParticipant: target, 2) - { - InterruptPrompt = false, - InitialSilenceTimeout = TimeSpan.FromSeconds(5), - PlayPrompts = playSources, - Prompt = playSource ?? null, - OperationContext = "dtmfContext", - InterToneTimeout = TimeSpan.FromSeconds(5) - }, - "choices" => new CallMediaRecognizeChoiceOptions(targetParticipant: target, GetChoices()) - { - InterruptCallMediaOperation = false, - InterruptPrompt = false, - InitialSilenceTimeout = TimeSpan.FromSeconds(5), - Prompt = playSource ?? null, - PlayPrompts = playSources, - OperationContext = "choiceContext" - }, - "speech" => new CallMediaRecognizeSpeechOptions(target) - { - Prompt = playSource ?? null, - PlayPrompts = playSources, - EndSilenceTimeout = TimeSpan.FromMilliseconds(1000), - OperationContext = "speechContext" - }, - "speechOrDtmf" => new CallMediaRecognizeSpeechOrDtmfOptions(target, 2) - { - PlayPrompts = playSources, - Prompt = playSource ?? null, - EndSilenceTimeout = TimeSpan.FromMilliseconds(1000), - InitialSilenceTimeout = TimeSpan.FromSeconds(10), - InterruptPrompt = true, - OperationContext = "speechordtmfContext" - }, - _ => null - }; - - return recognizeOptions; - } - - private List GetChoices() - { - return new List { - new RecognitionChoice("Confirm", new List { - "Confirm", - "First", - "One" - }) { - Tone = DtmfTone.One - }, - new RecognitionChoice("Cancel", new List { - "Cancel", - "Second", - "Two" - }) { - Tone = DtmfTone.Two - } - }; - } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/CallMedias/CallMediaTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/CallMedias/CallMediaTests.cs index a1e2ae0492a3..3f7a43b1bb51 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/CallMedias/CallMediaTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/CallMedias/CallMediaTests.cs @@ -7,14 +7,16 @@ using System.Threading.Tasks; using NUnit.Framework; using Azure.Communication.CallAutomation.Tests.Infrastructure; +using Azure.Core.TestFramework; namespace Azure.Communication.CallAutomation.Tests.CallMedias { public class CallMediaTests : CallAutomationTestBase { + private static readonly CommunicationIdentifier _targetParticipant = new CommunicationUserIdentifier("id"); private static readonly IEnumerable _target = new CommunicationIdentifier[] { - new CommunicationUserIdentifier("id") + _targetParticipant, }; private static readonly FileSource _fileSource = new FileSource(new System.Uri("file://path/to/file")); private static readonly TextSource _textSource = new TextSource("PlayTTS test text.", "en-US-ElizabethNeural") @@ -62,6 +64,21 @@ public class CallMediaTests : CallAutomationTestBase OperationContext = "context" }; + private static readonly InterruptAudioAndAnnounceOptions _fileAnnouncementOptions = new InterruptAudioAndAnnounceOptions(new List { _fileSource }, _targetParticipant) + { + OperationContext = "interrupt_context" + }; + + private static readonly InterruptAudioAndAnnounceOptions _textAnnouncementOptions = new InterruptAudioAndAnnounceOptions(new List { _textSource }, _targetParticipant) + { + OperationContext = "interrupt_context" + }; + + private static readonly InterruptAudioAndAnnounceOptions _ssmlAnnouncementOptions = new InterruptAudioAndAnnounceOptions(new List { _ssmlSource }, _targetParticipant) + { + OperationContext = "interrupt_context" + }; + private static List s_strings = new List() { "The first test string to be recognized by cognition service.", @@ -89,17 +106,6 @@ public class CallMediaTests : CallAutomationTestBase Prompt = new FileSource(new Uri("https://localhost")) }; - private static readonly CallMediaRecognizeOptions _dmtfRecognizeOptionsWithMultiplePlaySources = new CallMediaRecognizeDtmfOptions(new CommunicationUserIdentifier("targetUserId"), maxTonesToCollect: 5) - { - InterruptCallMediaOperation = true, - InterToneTimeout = TimeSpan.FromSeconds(10), - StopTones = new DtmfTone[] { DtmfTone.Pound }, - InitialSilenceTimeout = TimeSpan.FromSeconds(5), - InterruptPrompt = true, - OperationContext = "operationContext", - PlayPrompts = new List { new FileSource(new Uri("https://localhost")), new TextSource("Multiple Play Prompt Test") } - }; - private static CallMediaRecognizeOptions _choiceRecognizeOptions = new CallMediaRecognizeChoiceOptions(new CommunicationUserIdentifier("targetUserId"), s_recognizeChoices) { InterruptCallMediaOperation = true, @@ -116,23 +122,6 @@ public class CallMediaTests : CallAutomationTestBase SpeechModelEndpointId = "customModelEndpointId" }; - private static CallMediaRecognizeOptions _choiceRecognizeOptionsWithMultiplePlaySources = new CallMediaRecognizeChoiceOptions(new CommunicationUserIdentifier("targetUserId"), s_recognizeChoices) - { - InterruptCallMediaOperation = true, - InitialSilenceTimeout = TimeSpan.FromSeconds(5), - InterruptPrompt = true, - OperationContext = "operationContext", - Prompt = new TextSource("PlayTTS test text.") - { - SourceLocale = "en-US", - VoiceKind = VoiceKind.Female, - VoiceName = "LULU" - }, - SpeechLanguage = "en-US", - SpeechModelEndpointId = "customModelEndpointId", - PlayPrompts = new List { new FileSource(new Uri("https://localhost")), new TextSource("Multiple Play Prompt Test") } - }; - private static CallMediaRecognizeSpeechOptions _speechRecognizeOptions = new CallMediaRecognizeSpeechOptions(new CommunicationUserIdentifier("targetUserId")) { InterruptCallMediaOperation = true, @@ -150,24 +139,6 @@ public class CallMediaTests : CallAutomationTestBase SpeechModelEndpointId = "customModelEndpointId" }; - private static CallMediaRecognizeSpeechOptions _speechRecognizeOptionsWithMultiplePlaySources = new CallMediaRecognizeSpeechOptions(new CommunicationUserIdentifier("targetUserId")) - { - InterruptCallMediaOperation = true, - InitialSilenceTimeout = TimeSpan.FromSeconds(5), - EndSilenceTimeout = TimeSpan.FromMilliseconds(500), - InterruptPrompt = true, - OperationContext = "operationContext", - Prompt = new TextSource("PlayTTS test text.") - { - SourceLocale = "en-US", - VoiceKind = VoiceKind.Female, - VoiceName = "LULU" - }, - SpeechLanguage = "en-US", - SpeechModelEndpointId = "customModelEndpointId", - PlayPrompts = new List { new FileSource(new Uri("https://localhost")), new TextSource("Multiple Play Prompt Test") } - }; - private static CallMediaRecognizeSpeechOrDtmfOptions _speechOrDtmfRecognizeOptions = new CallMediaRecognizeSpeechOrDtmfOptions(new CommunicationUserIdentifier("targetUserId"), 10) { InterruptCallMediaOperation = true, @@ -181,28 +152,10 @@ public class CallMediaTests : CallAutomationTestBase VoiceKind = VoiceKind.Female, VoiceName = "LULU" }, - SpeechLanguage = "en-US", + SpeechLanguage= "en-US", SpeechModelEndpointId = "customModelEndpointId" }; - private static CallMediaRecognizeSpeechOrDtmfOptions _speechOrDtmfRecognizeOptionsWithMultiplePlaySources = new CallMediaRecognizeSpeechOrDtmfOptions(new CommunicationUserIdentifier("targetUserId"), 10) - { - InterruptCallMediaOperation = true, - InitialSilenceTimeout = TimeSpan.FromSeconds(5), - EndSilenceTimeout = TimeSpan.FromMilliseconds(500), - InterruptPrompt = true, - OperationContext = "operationContext", - Prompt = new TextSource("PlayTTS test text.") - { - SourceLocale = "en-US", - VoiceKind = VoiceKind.Female, - VoiceName = "LULU" - }, - SpeechLanguage = "en-US", - SpeechModelEndpointId = "customModelEndpointId", - PlayPrompts = new List { new FileSource(new Uri("https://localhost")), new TextSource("Multiple Play Prompt Test") } - }; - private static readonly CallMediaRecognizeOptions _emptyRecognizeOptions = new CallMediaRecognizeDtmfOptions(new CommunicationUserIdentifier("targetUserId"), maxTonesToCollect: 1); private static readonly HoldOptions _holdOptions = new HoldOptions(new CommunicationUserIdentifier("targetUserId")) @@ -212,6 +165,12 @@ public class CallMediaTests : CallAutomationTestBase OperationCallbackUri = new Uri("https://localhost") }; + private static readonly HoldOptions _holdOptionsNoMusic = new HoldOptions(new CommunicationUserIdentifier("targetUserId")) + { + OperationContext = "operationContext", + OperationCallbackUri = new Uri("https://localhost") + }; + private static readonly UnholdOptions _unholdOptions = new UnholdOptions(new CommunicationUserIdentifier("targetUserId")) { OperationContext = "operationContext" @@ -231,6 +190,12 @@ private CallMedia GetCallMedia(int responseCode, object? responseContent = null) return callAutomationClient.GetCallConnection("callConnectionId").GetCallMedia(); } + private CallMedia GetCallMedia(MockResponse [] responses) + { + CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(responses); + return callAutomationClient.GetCallConnection("callConnectionId").GetCallMedia(); + } + [TestCaseSource(nameof(TestData_PlayOperationsAsync))] public async Task PlayOperationsAsync_Return202Accepted(Func>> operation) { @@ -348,6 +313,15 @@ public void MediaOperationsWithBargeIn_Return202Accepted(Func> operation) + { + _callMedia = GetCallMedia(202); + var result = operation(_callMedia); + Assert.IsNotNull(result); + Assert.AreEqual((int)HttpStatusCode.Accepted, result.GetRawResponse().Status); + } + [TestCaseSource(nameof(TestData_CancelOperations))] public void CancelOperations_Return202Accepted(Func> operation) { @@ -648,24 +622,6 @@ public void UpdateTranscriptionOperations_Return404NotFound(Func> operation) - { - _callMedia = GetCallMedia(200); - var result = await operation(_callMedia); - Assert.IsNotNull(result); - Assert.AreEqual((int)HttpStatusCode.OK, result.Status); - } - - [TestCaseSource(nameof(TestData_HoldOperations))] - public void HoldMusicOperations_Return200Ok(Func operation) - { - _callMedia = GetCallMedia(200); - var result = operation(_callMedia); - Assert.IsNotNull(result); - Assert.AreEqual((int)HttpStatusCode.OK, result.Status); - } - [TestCaseSource(nameof(TestData_StartMediaStreamingOperations))] public void StartMediaStreamingOperations_Return404NotFound(Func operation) { @@ -686,6 +642,58 @@ public void StopMediaStreamingOperations_Return404NotFound(Func> operation) + { + var mockResponse = new MockResponse(202); + _callMedia = GetCallMedia(new MockResponse[] {mockResponse, mockResponse}); + + // put participant on hold + var playResult = _callMedia.Play(_fileSource, _target); + Assert.IsNotNull(playResult); + Assert.AreEqual((int)HttpStatusCode.Accepted, playResult.GetRawResponse().Status); + + // interrupt and announce + var interruptResult = operation(_callMedia); + Assert.IsNotNull(interruptResult); + Assert.AreEqual((int)HttpStatusCode.Accepted, interruptResult.GetRawResponse().Status); + } + + [TestCaseSource(nameof(TestData_InterruptAudioAndAnnounceAsyncOperations))] + public async Task InterruptAudioAndAnnounceAsync_Return202Accepted(Func>> operation) + { + var mockResponse = new MockResponse(202); + _callMedia = GetCallMedia(new MockResponse[] { mockResponse, mockResponse }); + + // put participant on hold + var playResult = _callMedia.Play(_fileSource, _target); + Assert.IsNotNull(playResult); + Assert.AreEqual((int)HttpStatusCode.Accepted, playResult.GetRawResponse().Status); + + // interrupt and announce + var interruptResult = await operation(_callMedia); + Assert.IsNotNull(interruptResult); + Assert.AreEqual((int)HttpStatusCode.Accepted, interruptResult.GetRawResponse().Status); + } + + [TestCaseSource(nameof(TestData_HoldOperationsAsync))] + public async Task HoldMusicAsyncOperations_Return200Ok(Func>> operation) + { + _callMedia = GetCallMedia(200); + var result = await operation(_callMedia); + Assert.IsNotNull(result); + Assert.AreEqual((int)HttpStatusCode.OK, result.GetRawResponse().Status); + } + + [TestCaseSource(nameof(TestData_HoldOperations))] + public void HoldMusicOperations_Return200Ok(Func> operation) + { + _callMedia = GetCallMedia(200); + var result = operation(_callMedia); + Assert.IsNotNull(result); + Assert.AreEqual((int)HttpStatusCode.OK, result.GetRawResponse().Status); + } + private static IEnumerable TestData_PlayOperationsAsync() { return new[] @@ -745,6 +753,34 @@ public void StopMediaStreamingOperations_Return404NotFound(Func TestData_PlayOperations_WithInterruptHoldAudio() + { + return new[] + { + new Func>?[] + { + callMedia => { + _fileOptions.InterruptHoldAudio = true; + return callMedia.Play(_fileOptions); + } + }, + new Func>?[] + { + callMedia => { + _textOptions.InterruptHoldAudio = true; + return callMedia.Play(_textOptions); + } + }, + new Func>?[] + { + callMedia => { + _ssmlOptions.InterruptHoldAudio = true; + return callMedia.Play(_ssmlOptions); + } + }, + }; + } + private static IEnumerable TestData_CancelOperationsAsync() { return new[] @@ -765,32 +801,16 @@ public void StopMediaStreamingOperations_Return404NotFound(Func callMedia.StartRecognizingAsync(_dmtfRecognizeOptions) }, new Func>>?[] - { - callMedia => callMedia.StartRecognizingAsync(_dmtfRecognizeOptionsWithMultiplePlaySources) - }, - new Func>>?[] { callMedia => callMedia.StartRecognizingAsync(_choiceRecognizeOptions) - }, - new Func>>?[] - { - callMedia => callMedia.StartRecognizingAsync(_choiceRecognizeOptionsWithMultiplePlaySources) }, new Func>>?[] { callMedia => callMedia.StartRecognizingAsync(_speechRecognizeOptions) }, new Func>>?[] - { - callMedia => callMedia.StartRecognizingAsync(_speechRecognizeOptionsWithMultiplePlaySources) - }, - new Func>>?[] { callMedia => callMedia.StartRecognizingAsync(_speechOrDtmfRecognizeOptions) - }, - new Func>>?[] - { - callMedia => callMedia.StartRecognizingAsync(_speechOrDtmfRecognizeOptionsWithMultiplePlaySources) }, new Func>>?[] { @@ -940,104 +960,144 @@ public void StopMediaStreamingOperations_Return404NotFound(Func TestData_HoldOperationsAsync() + private static IEnumerable TestData_StartTranscriptionOperations() { return new[] { - new Func>?[] - { - callMedia => callMedia.HoldAsync(_holdOptions) - }, - new Func>?[] + new Func?[] { - callMedia => callMedia.UnholdAsync(_unholdOptions) + callMedia => callMedia.StartTranscription() } }; } - [Obsolete] - private static IEnumerable TestData_HoldOperations() + private static IEnumerable TestData_StartTranscriptionOperationsAsync() { return new[] { - new Func?[] - { - callMedia => callMedia.Hold(_holdOptions) - }, - new Func?[] + new Func>?[] { - callMedia => callMedia.Unhold(_unholdOptions) + callMedia => callMedia.StartTranscriptionAsync(new StartTranscriptionOptions(){OperationContext = "OperationContext"}) } }; } - private static IEnumerable TestData_StartTranscriptionOperations() + private static IEnumerable TestData_StopTranscriptionOperations() { return new[] { new Func?[] { - callMedia => callMedia.StartTranscription() + callMedia => callMedia.StopTranscription(new StopTranscriptionOptions(){OperationContext = "OperationContext"}) } }; } - private static IEnumerable TestData_StartTranscriptionOperationsAsync() + private static IEnumerable TestData_StopTranscriptionOperationsAsync() { return new[] { new Func>?[] { - callMedia => callMedia.StartTranscriptionAsync(new StartTranscriptionOptions(){OperationContext = "OperationContext"}) + callMedia => callMedia.StopTranscriptionAsync(new StopTranscriptionOptions(){OperationContext = "OperationContext"}) } }; } - private static IEnumerable TestData_StopTranscriptionOperations() + private static IEnumerable TestData_UpdateTranscriptionOperations() { return new[] { new Func?[] { - callMedia => callMedia.StopTranscription(new StopTranscriptionOptions(){OperationContext = "OperationContext"}) + callMedia => callMedia.UpdateTranscription("locale") } }; } - private static IEnumerable TestData_StopTranscriptionOperationsAsync() + private static IEnumerable TestData_UpdateTranscriptionOperationsAsync() { return new[] { new Func>?[] { - callMedia => callMedia.StopTranscriptionAsync(new StopTranscriptionOptions(){OperationContext = "OperationContext"}) + callMedia => callMedia.UpdateTranscriptionAsync("locale") } }; } - private static IEnumerable TestData_UpdateTranscriptionOperations() + private static IEnumerable TestData_InterruptAudioAndAnnounceOperations() { return new[] { - new Func?[] + new Func>?[] + { + callMedia => callMedia.InterruptAudioAndAnnounce(_fileAnnouncementOptions) + }, + new Func>?[] + { + callMedia => callMedia.InterruptAudioAndAnnounce(_textAnnouncementOptions) + }, + new Func>?[] + { + callMedia => callMedia.InterruptAudioAndAnnounce(_ssmlAnnouncementOptions) + }, + }; + } + + private static IEnumerable TestData_InterruptAudioAndAnnounceAsyncOperations() + { + return new[] + { + new Func>>?[] { - callMedia => callMedia.UpdateTranscription(new UpdateTranscriptionOptions("locale")) + callMedia => callMedia.InterruptAudioAndAnnounceAsync(_fileAnnouncementOptions) + }, + new Func>>?[] + { + callMedia => callMedia.InterruptAudioAndAnnounceAsync(_textAnnouncementOptions) + }, + new Func>>?[] + { + callMedia => callMedia.InterruptAudioAndAnnounceAsync(_ssmlAnnouncementOptions) + }, + }; + } + + private static IEnumerable TestData_HoldOperationsAsync() + { + return new[] + { + new Func>>?[] + { + callMedia => callMedia.HoldAsync(_holdOptions) + }, + new Func>>?[] + { + callMedia => callMedia.HoldAsync(_holdOptionsNoMusic) + }, + new Func>>?[] + { + callMedia => callMedia.UnholdAsync(_unholdOptions) } }; } - private static IEnumerable TestData_UpdateTranscriptionOperationsAsync() + private static IEnumerable TestData_HoldOperations() { return new[] { - new Func>?[] + new Func>?[] { - callMedia => callMedia.UpdateTranscriptionAsync("locale") + callMedia => callMedia.Hold(_holdOptions) }, - new Func>?[] + new Func>?[] { - callMedia => callMedia.UpdateTranscriptionAsync(new UpdateTranscriptionOptions("locale"){SpeechRecognitionModelEndpointId = "customEndpoint", OperationContext="context" }) + callMedia => callMedia.Hold(_holdOptionsNoMusic) + }, + new Func>?[] + { + callMedia => callMedia.Unhold(_unholdOptions) } }; } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/CallRecordings/CallRecordingAutomatedLiveTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/CallRecordings/CallRecordingAutomatedLiveTests.cs index 316021c43986..d6d11970ed2d 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/CallRecordings/CallRecordingAutomatedLiveTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/CallRecordings/CallRecordingAutomatedLiveTests.cs @@ -2,7 +2,9 @@ // Licensed under the MIT License. using System; +using System.Collections.Generic; using System.Threading.Tasks; +using System.Xml; using Azure.Communication.CallAutomation.Tests.Infrastructure; using Azure.Core.TestFramework; using Microsoft.AspNetCore.Http; @@ -16,6 +18,7 @@ public CallRecordingAutomatedLiveTests(bool isAsync) : base(isAsync) { } + [Ignore(reason: "Recording is currently broken with error Removing modality controller as this conversation has ended. Waiting on fix for this")] [RecordedTest] public async Task RecordingOperationsTest() { @@ -403,117 +406,5 @@ public async Task StartRecordingWithCallConnectionIdTest() await CleanUpCall(client, callConnectionId, uniqueId); } } - - [RecordedTest] - public async Task GetRecordingTest() - { - /* Test case: ACS to ACS call - * 1. create a CallAutomationClient. - * 2. create a call from source to one ACS target. - * 3. get updated call properties and check for the connected state. - * 4. start recording the call with channel affinity - * 5. stop recording the call - * 6. get call recording - * 7. hang up the call. - * 8. once call is hung up, verify disconnected event - */ - - // create caller and receiver - CommunicationUserIdentifier target = await CreateIdentityUserAsync().ConfigureAwait(false); - CommunicationUserIdentifier user = await CreateIdentityUserAsync().ConfigureAwait(false); - CallAutomationClient client = CreateInstrumentedCallAutomationClientWithConnectionString(user); - CallAutomationClient targetClient = CreateInstrumentedCallAutomationClientWithConnectionString(target); - string? callConnectionId = null, uniqueId = null; - - try - { - try - { - // setup service bus - uniqueId = await ServiceBusWithNewCall(user, target); - - // create call and assert response - var createCallOptions = new CreateCallOptions(new CallInvite(target), new Uri(TestEnvironment.DispatcherCallback + $"?q={uniqueId}")); - CreateCallResult response = await client.CreateCallAsync(createCallOptions).ConfigureAwait(false); - callConnectionId = response.CallConnectionProperties.CallConnectionId; - Assert.IsNotEmpty(response.CallConnectionProperties.CallConnectionId); - - // wait for incomingcall context - string? incomingCallContext = await WaitForIncomingCallContext(uniqueId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(incomingCallContext); - - // answer the call - var answerCallOptions = new AnswerCallOptions(incomingCallContext, new Uri(TestEnvironment.DispatcherCallback)); - var answerResponse = await targetClient.AnswerCallAsync(answerCallOptions); - Assert.AreEqual(answerResponse.GetRawResponse().Status, StatusCodes.Status200OK); - - // wait for callConnected - var connectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(20)); - Assert.IsNotNull(connectedEvent); - Assert.IsTrue(connectedEvent is CallConnected); - Assert.IsTrue(((CallConnected)connectedEvent!).CallConnectionId == callConnectionId); - - // test get properties - Response properties = await response.CallConnection.GetCallConnectionPropertiesAsync().ConfigureAwait(false); - Assert.AreEqual(CallConnectionState.Connected, properties.Value.CallConnectionState); - - // try start recording unmixed audio with channel affinity - var startRecordingOptions = - new StartRecordingOptions(new ServerCallLocator(properties.Value.ServerCallId)) - { - RecordingChannel = RecordingChannel.Unmixed, - RecordingContent = RecordingContent.Audio, - RecordingFormat = RecordingFormat.Wav, - RecordingStateCallbackUri = new Uri(TestEnvironment.DispatcherCallback), - }; - startRecordingOptions.AudioChannelParticipantOrdering.Add(user); - startRecordingOptions.AudioChannelParticipantOrdering.Add(target); - var startRecordingResponse = await client.GetCallRecording().StartAsync(startRecordingOptions); - Assert.AreEqual(StatusCodes.Status200OK, startRecordingResponse.GetRawResponse().Status); - Assert.NotNull(startRecordingResponse.Value.RecordingId); - - var playSource = new FileSource(new Uri(TestEnvironment.FileSourceUrl)) { PlaySourceCacheId = "test-audio" }; - var playResponse = await response.CallConnection.GetCallMedia().PlayToAllAsync(playSource); - Assert.NotNull(playResponse); - Assert.AreEqual(202, playResponse.GetRawResponse().Status); - - await Task.Delay(TimeSpan.FromSeconds(5)).ConfigureAwait(false); - - // try stop recording - var stopRecordingResponse = await client.GetCallRecording().StopAsync(startRecordingResponse.Value.RecordingId); - Assert.AreEqual(StatusCodes.Status204NoContent, stopRecordingResponse.Status); - - await Task.Delay(TimeSpan.FromSeconds(5)).ConfigureAwait(false); - - // get call recording result - var recordingResult = await client.GetCallRecording().GetRecordingAsync(startRecordingResponse.Value.RecordingId).ConfigureAwait(false); - Assert.NotNull(recordingResult.Value); - Assert.NotNull(recordingResult.Value.RecordingDurationMs); - Assert.NotNull(recordingResult.Value.RecordingStorageInfo); - Assert.NotNull(recordingResult.Value.RecordingStorageInfo.RecordingChunks); - Assert.AreEqual(recordingResult.Value.RecordingId, startRecordingResponse.Value.RecordingId); - - // try hangup - await response.CallConnection.HangUpAsync(true).ConfigureAwait(false); - var disconnectedEvent = await WaitForEvent(callConnectionId, TimeSpan.FromSeconds(5)); - Assert.IsNotNull(disconnectedEvent); - Assert.IsTrue(disconnectedEvent is CallDisconnected); - Assert.IsTrue(((CallDisconnected)disconnectedEvent!).CallConnectionId == callConnectionId); - callConnectionId = null; - } - catch (Exception) - { - throw; - } - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - finally - { - await CleanUpCall(client, callConnectionId, uniqueId); - } - } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/CallRecordings/CallRecordingTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/CallRecordings/CallRecordingTests.cs index eb56609a9e83..326338196fe6 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/CallRecordings/CallRecordingTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/CallRecordings/CallRecordingTests.cs @@ -242,7 +242,7 @@ private CallRecording getMockCallRecording(int statusCode, string? responseConte ChannelAffinity = testChannelAffinities }) }, - new Func?[] + new Func?[] { callRecording => () => callRecording.Start( @@ -262,9 +262,6 @@ private CallRecording getMockCallRecording(int statusCode, string? responseConte AudioChannelParticipantOrdering = { new CommunicationUserIdentifier("test") }, ChannelAffinity = testChannelAffinities, PauseOnStart = false, - PostProcessingOptions = new PostProcessingOptions( - new TranscriptionSettings(true) - ) }) }, new Func?[] @@ -307,9 +304,6 @@ private CallRecording getMockCallRecording(int statusCode, string? responseConte RecordingFormat = RecordingFormat.Mp4, ChannelAffinity = testChannelAffinities, PauseOnStart = false, - PostProcessingOptions = new PostProcessingOptions( - new TranscriptionSettings(true) - ), AudioChannelParticipantOrdering = { new CommunicationUserIdentifier("test"),} }).ConfigureAwait(false), }, diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/EventProcessors/AttachEventProcessorTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/EventProcessors/AttachEventProcessorTests.cs index 66b587ebeb96..7717f2d0ac7f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/EventProcessors/AttachEventProcessorTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/EventProcessors/AttachEventProcessorTests.cs @@ -25,7 +25,7 @@ public void OnGoingHandlerAttach() handler.AttachOngoingEventProcessor(CallConnectionId, passedEvent => callConnectionIdPassedFromOngoingEventProcessor = passedEvent.CallConnectionId); // Create and send event to event processor first - SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorelationId, null, null)); + SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorrelationId, null, null)); // Assert if the delegate was also called Assert.AreEqual(CallConnectionId, callConnectionIdPassedFromOngoingEventProcessor); @@ -46,7 +46,7 @@ public void OnGoingHandlerDetach() handler.DetachOngoingEventProcessor(CallConnectionId); // Create and send event to event processor first - SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorelationId, null, null)); + SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorrelationId, null ,null)); // Assert if the delegate didnt get called Assert.AreEqual(ServerCallId, callConnectionIdPassedFromOngoingEventProcessor); @@ -66,7 +66,7 @@ public void ReplaceExistingOnGoingHandler() // Then replace with correct one handler.AttachOngoingEventProcessor(CallConnectionId, passedEvent => callConnectionIdPassedFromOngoingEventProcessor = passedEvent.CallConnectionId); - SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorelationId, null, null)); + SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorrelationId, null, null)); // Assert if the delegate was also called Assert.AreEqual(CallConnectionId, callConnectionIdPassedFromOngoingEventProcessor); @@ -82,7 +82,7 @@ public void EventMismatch() // Add delegate for call connected event handler.AttachOngoingEventProcessor(CallConnectionId, passedEvent => callConnectionIdPassedFromOngoingEventProcessor = passedEvent.CallConnectionId); - var internalEvent = new CallTransferAcceptedInternal(CallConnectionId, ServerCallId, CorelationId, null, null, null, null); + var internalEvent = new CallTransferAcceptedInternal(CallConnectionId, ServerCallId, CorrelationId, null, null, null, null); // Create and send event to event processor first SendAndProcessEvent(handler, new CallTransferAccepted(internalEvent)); @@ -103,9 +103,9 @@ public void CheckIfOngoingProcessorIsDetachedAfterCallDisconnect() handler.AttachOngoingEventProcessor(CallConnectionId, passedEvent => callConnectionIdPassedFromOngoingEventProcessor = passedEvent.CallConnectionId); // Create and send event to event processor first - SendAndProcessEvent(handler, new CallDisconnected(CallConnectionId, ServerCallId, CorelationId, null, null)); + SendAndProcessEvent(handler, new CallDisconnected(CallConnectionId, ServerCallId, CorrelationId, null, null)); - SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorelationId, null, null)); + SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorrelationId, null, null)); // Assert if the delegate was never called Assert.AreEqual(ServerCallId, callConnectionIdPassedFromOngoingEventProcessor); diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/EventProcessors/EventProcessorAsyncTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/EventProcessors/EventProcessorAsyncTests.cs index 1b92dfe0d5eb..61a3c245ee54 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/EventProcessors/EventProcessorAsyncTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/EventProcessors/EventProcessorAsyncTests.cs @@ -26,7 +26,7 @@ public async Task ProcessEventAndWaitForIt() && ev.GetType() == typeof(CallConnected)); // Create and send event to event processor - SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorelationId, null, null)); + SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorrelationId, null, null)); CallAutomationEventBase returnedBaseEvent = await baseEventTask; @@ -44,10 +44,10 @@ public async Task ProcessEventFirstThenWaitForIt() CallAutomationEventProcessor handler = callAutomationClient.GetEventProcessor(); // Create and send event to event processor first - SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorelationId, null, null)); + SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorrelationId, null, null)); // Wait for Event after - CallAutomationEventBase returnedBaseEvent = await handler.WaitForEventProcessorAsync(ev + CallAutomationEventBase returnedBaseEvent = await handler.WaitForEventProcessorAsync(ev => ev.CallConnectionId == CallConnectionId && ev.GetType() == typeof(CallConnected)); @@ -79,7 +79,7 @@ public async Task NoMatchTimeOutException() }; // Create and send event to event processor - SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorelationId, null, null)); + SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorrelationId, null, null)); try { @@ -108,7 +108,7 @@ public async Task WaitForMultipleEventsInSequence() var task = handler.WaitForEventProcessorAsync(ev => ev.CallConnectionId == CallConnectionId && ev.GetType() == typeof(CallConnected)); - SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorelationId, null, null)); + SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorrelationId, null, null)); // assert CallAutomationEventBase returnedBaseEvent = await task; @@ -133,7 +133,7 @@ public async Task WaitForMultipleEventsSentAllAtOnce() // Create and send multiple events to event processor AT ONCE for (int i = 0; i < eventsSent; i++) { - SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorelationId, null, null)); + SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorrelationId, null, null)); } // Wait for event in sequence diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/EventProcessors/ResultWithEventProcessorAsyncTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/EventProcessors/ResultWithEventProcessorAsyncTests.cs index 88150a36a328..cf9cb0878ff7 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/EventProcessors/ResultWithEventProcessorAsyncTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/EventProcessors/ResultWithEventProcessorAsyncTests.cs @@ -5,9 +5,11 @@ using System.Collections.Generic; using System.Diagnostics; using System.Net; +using System.Reflection.Metadata; using System.Threading; using System.Threading.Tasks; using Azure.Communication.CallAutomation.Tests.Infrastructure; +using Azure.Core.TestFramework; using Microsoft.Azure.Amqp.Framing; using NUnit.Framework; @@ -31,7 +33,7 @@ public async Task CreateCallEventResultSuccessTest() Assert.AreEqual(successCode, response.GetRawResponse().Status); // Create and send event to event processor - SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorelationId, null, null)); + SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorrelationId, null, null)); CreateCallEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); @@ -48,16 +50,20 @@ public async Task CreateCallEventResultFailedTest() { // Failed with operation mismatch int successCode = (int)HttpStatusCode.Created; + CallAutomationClient callAutomationClient = CreateMockCallAutomationClient( responseCode: successCode, responseContent: CreateOrAnswerCallOrGetCallConnectionPayload, options: new CallAutomationClientOptions() { Source = new CommunicationUserIdentifier("12345") }); CallAutomationEventProcessor handler = callAutomationClient.GetEventProcessor(); + var response = callAutomationClient.CreateCall(new CreateCallOptions(CreateMockInvite(), new Uri(CallBackUri))); Assert.AreEqual(successCode, response.GetRawResponse().Status); - var createCallFailedInternalEvent = new CreateCallFailedInternal(CallConnectionId, ServerCallId, CorelationId, "mismatchedOperationId", null); - SendAndProcessEvent(handler, new CreateCallFailed(createCallFailedInternalEvent)); + + SendAndProcessEvent(handler, new CreateCallFailed(new CreateCallFailedInternal(CallConnectionId, ServerCallId, CorrelationId, null, null))); + CreateCallEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); + // Assert Assert.NotNull(returnedResult); Assert.AreEqual(false, returnedResult.IsSuccess); @@ -82,7 +88,7 @@ public async Task AnswerCallEventResultSuccessTest() Assert.AreEqual(successCode, response.GetRawResponse().Status); // Create and send event to event processor - SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorelationId, null, null)); + SendAndProcessEvent(handler, new CallConnected(CallConnectionId, ServerCallId, CorrelationId, null, null)); AnswerCallEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); @@ -94,6 +100,35 @@ public async Task AnswerCallEventResultSuccessTest() Assert.AreEqual(CallConnectionId, returnedResult.SuccessResult.CallConnectionId); } + [Test] + public async Task AnswerCallEventResultFailedTest() + { + int successCode = (int)HttpStatusCode.OK; + + // Failed with operation mismatch + CallAutomationClient callAutomationClient = CreateMockCallAutomationClient( + responseCode: successCode, + responseContent: CreateOrAnswerCallOrGetCallConnectionPayload, + options: new CallAutomationClientOptions() { Source = new CommunicationUserIdentifier("12345") }); + CallAutomationEventProcessor handler = callAutomationClient.GetEventProcessor(); + + var response = callAutomationClient.AnswerCall("incomingCallContext", new Uri(CallBackUri)); + Assert.AreEqual(successCode, response.GetRawResponse().Status); + + // Create and send event to event processor + SendAndProcessEvent(handler, new AnswerFailed(new AnswerFailedInternal(CallConnectionId, ServerCallId, CorrelationId, null, null))); + + AnswerCallEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); + + // Assert + Assert.NotNull(returnedResult); + Assert.AreEqual(false, returnedResult.IsSuccess); + Assert.NotNull(returnedResult.FailureResult); + Assert.IsNull(returnedResult.SuccessResult); + Assert.AreEqual(typeof(AnswerFailed), returnedResult.FailureResult.GetType()); + Assert.AreEqual(CallConnectionId, returnedResult.FailureResult.CallConnectionId); + } + [Test] public async Task TransferCallEventResultSuccessTest() { @@ -112,7 +147,7 @@ public async Task TransferCallEventResultSuccessTest() var transferTarget = new CommunicationIdentifierModel(); transferTarget.CommunicationUser = new CommunicationUserIdentifierModel(TargetUser); transferTarget.RawId = TargetUser; - var internalEvent = new CallTransferAcceptedInternal(CallConnectionId, ServerCallId, CorelationId, response.Value.OperationContext, null, transferTarget, transferee); + var internalEvent = new CallTransferAcceptedInternal(CallConnectionId, ServerCallId, CorrelationId, response.Value.OperationContext, null, transferTarget, transferee); // Create and send event to event processor SendAndProcessEvent(handler, new CallTransferAccepted(internalEvent)); @@ -144,7 +179,7 @@ public async Task TransferCallEventResultFailedTest() Assert.AreEqual(successCode, response.GetRawResponse().Status); // Create and send event to event processor - SendAndProcessEvent(handler, new CallTransferFailed(CallConnectionId, ServerCallId, CorelationId, response.Value.OperationContext, null)); + SendAndProcessEvent(handler, new CallTransferFailed(CallConnectionId, ServerCallId, CorrelationId, response.Value.OperationContext, null)); TransferCallToParticipantEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); @@ -171,7 +206,7 @@ public async Task AddParticipantsEventResultSuccessTest() Assert.AreEqual(successCode, response.GetRawResponse().Status); // Create and send event to event processor - SendAndProcessEvent(handler, CallAutomationModelFactory.AddParticipantSucceeded(CallConnectionId, ServerCallId, CorelationId, response.Value.OperationContext, null, callInvite.Target)); + SendAndProcessEvent(handler, CallAutomationModelFactory.AddParticipantSucceeded(CallConnectionId, ServerCallId, CorrelationId, response.Value.OperationContext, null, callInvite.Target)); AddParticipantEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); @@ -198,7 +233,7 @@ public async Task AddParticipantsEventResultFailedTest() Assert.AreEqual(successCode, response.GetRawResponse().Status); // Create and send event to event processor - SendAndProcessEvent(handler, CallAutomationModelFactory.AddParticipantFailed(CallConnectionId, ServerCallId, CorelationId, response.Value.OperationContext, null, callInvite.Target)); + SendAndProcessEvent(handler, CallAutomationModelFactory.AddParticipantFailed(CallConnectionId, ServerCallId, CorrelationId, response.Value.OperationContext, null, callInvite.Target)); AddParticipantEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); @@ -223,21 +258,109 @@ public async Task PlayEventResultSuccessTest() var response = callConnection.GetCallMedia().PlayToAll(new PlayToAllOptions(new FileSource(new Uri(CallBackUri))) { OperationContext = OperationContext }); Assert.AreEqual(successCode, response.GetRawResponse().Status); - var internalEvent = new PlayCompletedInternal(CallConnectionId, ServerCallId, CorelationId, OperationContext, new ResultInformation() { }); - // Create and send event to event processor - SendAndProcessEvent(handler, new PlayCompleted(internalEvent)); + SendAndProcessEvent(handler, new PlayStarted(OperationContext, new ResultInformation() { }, CallConnectionId, ServerCallId, CorrelationId)); PlayEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); // Assert + AssertReceivedEvent(returnedResult, typeof(PlayStarted)); + + SendAndProcessEvent(handler, new PlayCompleted(OperationContext,new ResultInformation() { },CallConnectionId,ServerCallId,CorrelationId)); + returnedResult = await response.Value.WaitForEventProcessorAsync(); + + // Assert + AssertReceivedEvent(returnedResult, typeof(PlayCompleted)); + } + + [Test] + public async Task PlayEventResultInterruptSuccessTest() + { + int successCode = (int)HttpStatusCode.Accepted; + var callConnection = CreateMockCallConnection( + new MockResponse[] { + new MockResponse(successCode, PlayAudioPayload), + new MockResponse(successCode, InterruptAudioPayload) + }); + CallAutomationEventProcessor handler = callConnection.EventProcessor; + + // hold participant + var response = callConnection.GetCallMedia().Play( + new PlayOptions(new FileSource(new Uri(CallBackUri)), new List { new CommunicationUserIdentifier(TargetUser) }) + { OperationContext = OperationContext, Loop = true }); + Assert.AreEqual(successCode, response.GetRawResponse().Status); + + // interrupting the hold + var interruptOperationContext = "interruptOperationContext"; + var interruptResponse = callConnection.GetCallMedia().InterruptAudioAndAnnounce( + new InterruptAudioAndAnnounceOptions(new FileSource(new Uri(CallBackUri)), new CommunicationUserIdentifier(TargetUser)) + { + OperationContext = interruptOperationContext + }); + Assert.AreEqual(successCode, interruptResponse.GetRawResponse().Status); + + // Hold started + SendAndProcessEvent(handler, new PlayStarted(OperationContext, new ResultInformation() { }, CallConnectionId, ServerCallId, CorrelationId)); + PlayEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); + AssertReceivedEvent(returnedResult, typeof(PlayStarted)); + + // hold audio paused + SendAndProcessEvent(handler, new PlayPaused(OperationContext,new ResultInformation() { },CallConnectionId,ServerCallId,CorrelationId)); + returnedResult = await response.Value.WaitForEventProcessorAsync(); + AssertReceivedEvent(returnedResult, typeof(PlayPaused)); + + // announcement started + SendAndProcessEvent(handler, new PlayStarted(interruptOperationContext, new ResultInformation() { }, CallConnectionId, ServerCallId, CorrelationId)); + PlayEventResult returnedInterruptResult = await interruptResponse.Value.WaitForEventProcessorAsync(); + AssertReceivedEvent(returnedInterruptResult, typeof(PlayStarted), interruptOperationContext); + + // announcement completed + SendAndProcessEvent(handler, new PlayCompleted(interruptOperationContext, new ResultInformation() { }, CallConnectionId, ServerCallId, CorrelationId)); + returnedInterruptResult = await interruptResponse.Value.WaitForEventProcessorAsync(); + AssertReceivedEvent(returnedInterruptResult, typeof(PlayCompleted), interruptOperationContext); + + // hold audio resumed + SendAndProcessEvent(handler, new PlayResumed(OperationContext, new ResultInformation() { }, CallConnectionId, ServerCallId, CorrelationId)); + returnedResult = await response.Value.WaitForEventProcessorAsync(); + AssertReceivedEvent(returnedResult, typeof(PlayResumed)); + } + + private static void AssertReceivedEvent(PlayEventResult returnedResult, System.Type expectedType, string expectedOperationContext = OperationContext) + { Assert.NotNull(returnedResult); Assert.AreEqual(true, returnedResult.IsSuccess); - Assert.NotNull(returnedResult.SuccessResult); - Assert.IsNull(returnedResult.FailureResult); - Assert.AreEqual(typeof(PlayCompleted), returnedResult.SuccessResult.GetType()); - Assert.AreEqual(CallConnectionId, returnedResult.SuccessResult.CallConnectionId); - Assert.AreEqual(OperationContext, returnedResult.SuccessResult.OperationContext); + + if (expectedType == typeof(PlayResumed)) + { + Assert.IsNotNull(returnedResult.ResumeResult); + Assert.AreEqual(CallConnectionId, returnedResult.ResumeResult.CallConnectionId); + Assert.AreEqual(expectedOperationContext, returnedResult.ResumeResult.OperationContext); + return; + } + + if (expectedType == typeof(PlayStarted)) + { + Assert.IsNotNull(returnedResult.StartResult); + Assert.AreEqual(CallConnectionId, returnedResult.StartResult.CallConnectionId); + Assert.AreEqual(expectedOperationContext, returnedResult.StartResult.OperationContext); + return; + } + + if (expectedType == typeof(PlayCompleted)) + { + Assert.IsNotNull(returnedResult.SuccessResult); + Assert.AreEqual(CallConnectionId, returnedResult.SuccessResult.CallConnectionId); + Assert.AreEqual(expectedOperationContext, returnedResult.SuccessResult.OperationContext); + return; + } + + if (expectedType == typeof(PlayPaused)) + { + Assert.IsNotNull(returnedResult.PauseResult); + Assert.AreEqual(CallConnectionId, returnedResult.PauseResult.CallConnectionId); + Assert.AreEqual(expectedOperationContext, returnedResult.PauseResult.OperationContext); + return; + } } [Test] @@ -251,10 +374,8 @@ public async Task PlayEventResultFailedTest() var response = callConnection.GetCallMedia().PlayToAll(new PlayToAllOptions(new FileSource(new Uri(CallBackUri))) { OperationContext = OperationContext }); Assert.AreEqual(successCode, response.GetRawResponse().Status); - var internalEvent = new PlayFailedInternal(CallConnectionId, ServerCallId, CorelationId, OperationContext, new ResultInformation() { }, null); - // Create and send event to event processor - SendAndProcessEvent(handler, new PlayFailed(internalEvent)); + SendAndProcessEvent(handler, new PlayFailed(OperationContext, new ResultInformation() { }, CallConnectionId, ServerCallId, CorrelationId)); PlayEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); @@ -280,7 +401,7 @@ public async Task CancelMediaEventResultPlayCancelTest() Assert.AreEqual(successCode, response.GetRawResponse().Status); // Create and send event to event processor - SendAndProcessEvent(handler, new PlayCanceled(CallConnectionId, ServerCallId, CorelationId, null, null)); + SendAndProcessEvent(handler, new PlayCanceled(null, null, CallConnectionId, ServerCallId, CorrelationId)); CancelAllMediaOperationsEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); @@ -305,7 +426,7 @@ public async Task CancelMediaEventResultRecognizeCancelTest() Assert.AreEqual(successCode, response.GetRawResponse().Status); // Create and send event to event processor - SendAndProcessEvent(handler, new RecognizeCanceled(CallConnectionId, ServerCallId, CorelationId, null, null)); + SendAndProcessEvent(handler, new RecognizeCanceled(null, null, CallConnectionId, ServerCallId, CorrelationId)); CancelAllMediaOperationsEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); @@ -330,7 +451,7 @@ public async Task RecognizeEventResultSuccessTest() Assert.AreEqual(successCode, response.GetRawResponse().Status); // Create and send event to event processor - SendAndProcessEvent(handler, new RecognizeCompleted(CallConnectionId, ServerCallId, CorelationId, OperationContext, new ResultInformation(), CallMediaRecognitionType.Dtmf, null)); + SendAndProcessEvent(handler, new RecognizeCompleted(CallConnectionId, ServerCallId, CorrelationId, OperationContext, new ResultInformation(), CallMediaRecognitionType.Dtmf, null)); StartRecognizingEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); @@ -355,10 +476,8 @@ public async Task RecognizeEventResultFailedTest() var response = callConnection.GetCallMedia().StartRecognizing(new CallMediaRecognizeDtmfOptions(new CommunicationUserIdentifier(TargetId), 1) { OperationContext = OperationContext }); Assert.AreEqual(successCode, response.GetRawResponse().Status); - var internalEvent = new RecognizeFailedInternal(CallConnectionId, ServerCallId, CorelationId, OperationContext, new ResultInformation() { }, null); - // Create and send event to event processor - SendAndProcessEvent(handler, new RecognizeFailed(internalEvent)); + SendAndProcessEvent(handler, new RecognizeFailed(OperationContext, new ResultInformation(), CallConnectionId, ServerCallId, CorrelationId)); StartRecognizingEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); @@ -385,7 +504,7 @@ public async Task RemoveParticipantEventResultSuccessTest() Assert.AreEqual(successCode, response.GetRawResponse().Status); // Create and send event to event processor - SendAndProcessEvent(handler, CallAutomationModelFactory.RemoveParticipantSucceeded(CallConnectionId, ServerCallId, CorelationId, response.Value.OperationContext, null, callInvite.Target)); + SendAndProcessEvent(handler, CallAutomationModelFactory.RemoveParticipantSucceeded(CallConnectionId, ServerCallId, CorrelationId, response.Value.OperationContext, null, callInvite.Target)); RemoveParticipantEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); @@ -412,7 +531,7 @@ public async Task RemoveParticipantsEventResultFailedTest() Assert.AreEqual(successCode, response.GetRawResponse().Status); // Create and send event to event processor - SendAndProcessEvent(handler, CallAutomationModelFactory.RemoveParticipantFailed(CallConnectionId, ServerCallId, CorelationId, response.Value.OperationContext, null, callInvite.Target)); + SendAndProcessEvent(handler, CallAutomationModelFactory.RemoveParticipantFailed(CallConnectionId, ServerCallId, CorrelationId, response.Value.OperationContext, null, callInvite.Target)); RemoveParticipantEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); @@ -441,7 +560,7 @@ public async Task SendDtmfEventResultSuccessTest() Assert.AreEqual(successCode, response.GetRawResponse().Status); // Create and send event to event processor - SendAndProcessEvent(handler, CallAutomationModelFactory.SendDtmfTonesCompleted(CallConnectionId, ServerCallId, CorelationId, OperationContext, new ResultInformation())); + SendAndProcessEvent(handler, CallAutomationModelFactory.SendDtmfTonesCompleted(CallConnectionId, ServerCallId, CorrelationId, OperationContext, new ResultInformation())); SendDtmfTonesEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); @@ -470,7 +589,7 @@ public async Task SendDtmfEventResultFailedTest() Assert.AreEqual(successCode, response.GetRawResponse().Status); // Create and send event to event processor - SendAndProcessEvent(handler, CallAutomationModelFactory.SendDtmfTonesFailed(CallConnectionId, ServerCallId, CorelationId, OperationContext, new ResultInformation())); + SendAndProcessEvent(handler, CallAutomationModelFactory.SendDtmfTonesFailed(CallConnectionId, ServerCallId, CorrelationId, OperationContext, new ResultInformation())); SendDtmfTonesEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); @@ -484,6 +603,82 @@ public async Task SendDtmfEventResultFailedTest() Assert.AreEqual(OperationContext, returnedResult.FailureResult.OperationContext); } + [Test] + public async Task StartDialogEventResultSuccessTest() + { + int successCode = (int)HttpStatusCode.Created; + + var callConnection = CreateMockCallConnection(successCode, DialogPayload); + CallAutomationEventProcessor handler = callConnection.EventProcessor; + + var dialogContext = new Dictionary(); + var startDialogOptions = new StartDialog(new PowerVirtualAgentsDialog("botAppId", dialogContext)) + { + OperationContext = OperationContext + }; + + var response = callConnection.GetCallDialog().StartDialog(startDialogOptions); + Assert.AreEqual(successCode, response.GetRawResponse().Status); + + // Create and send event to event processor + SendAndProcessEvent(handler, new DialogStarted(CallConnectionId, ServerCallId, CorrelationId, OperationContext, new ResultInformation(), "dialogId", DialogInputType.PowerVirtualAgents)); + + DialogEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); + + // Assert + Assert.NotNull(returnedResult); + Assert.AreEqual(true, returnedResult.IsSuccess); + Assert.NotNull(returnedResult.DialogStartedSuccessEvent); + Assert.IsNull(returnedResult.DialogCompletedSuccessResult); + Assert.IsNull(returnedResult.DialogConsentSuccessEvent); + Assert.IsNull(returnedResult.DialogHangupSuccessEvent); + Assert.IsNull(returnedResult.DialogLanguageChangeEvent); + Assert.IsNull(returnedResult.DialogSensitivityUpdateEvent); + Assert.IsNull(returnedResult.DialogTransferSuccessEvent); + Assert.IsNull(returnedResult.FailureResult); + Assert.AreEqual(typeof(DialogStarted), returnedResult.DialogStartedSuccessEvent.GetType()); + Assert.AreEqual(CallConnectionId, returnedResult.DialogStartedSuccessEvent.CallConnectionId); + Assert.AreEqual(OperationContext, returnedResult.DialogStartedSuccessEvent.OperationContext); + } + + [Test] + public async Task StartDialogEventResultFailedTest() + { + int successCode = (int)HttpStatusCode.Created; + + var callConnection = CreateMockCallConnection(successCode, DialogPayload); + CallAutomationEventProcessor handler = callConnection.EventProcessor; + + var dialogContext = new Dictionary(); + var startDialogOptions = new StartDialog(new PowerVirtualAgentsDialog("botAppId", dialogContext)) + { + OperationContext = OperationContext + }; + + var response = callConnection.GetCallDialog().StartDialog(startDialogOptions); + Assert.AreEqual(successCode, response.GetRawResponse().Status); + + // Create and send event to event processor + SendAndProcessEvent(handler, new DialogFailed(CallConnectionId, ServerCallId, CorrelationId, OperationContext, new ResultInformation(), "dialogId", DialogInputType.PowerVirtualAgents)); + + DialogEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); + + // Assert + Assert.NotNull(returnedResult); + Assert.AreEqual(false, returnedResult.IsSuccess); + Assert.IsNull(returnedResult.DialogStartedSuccessEvent); + Assert.IsNull(returnedResult.DialogCompletedSuccessResult); + Assert.IsNull(returnedResult.DialogConsentSuccessEvent); + Assert.IsNull(returnedResult.DialogHangupSuccessEvent); + Assert.IsNull(returnedResult.DialogLanguageChangeEvent); + Assert.IsNull(returnedResult.DialogSensitivityUpdateEvent); + Assert.IsNull(returnedResult.DialogTransferSuccessEvent); + Assert.NotNull(returnedResult.FailureResult); + Assert.AreEqual(typeof(DialogFailed), returnedResult.FailureResult.GetType()); + Assert.AreEqual(CallConnectionId, returnedResult.FailureResult.CallConnectionId); + Assert.AreEqual(OperationContext, returnedResult.FailureResult.OperationContext); + } + [Test] public async Task CancelAddParticipantSucceededEventResultFailedTest() { @@ -499,7 +694,7 @@ public async Task CancelAddParticipantSucceededEventResultFailedTest() SendAndProcessEvent(handler, CallAutomationModelFactory.CancelAddParticipantFailed( CallConnectionId, ServerCallId, - CorelationId, + CorrelationId, invitationId, new ResultInformation(400, 4000, "resultInformation"), OperationContext)); @@ -531,7 +726,7 @@ public async Task CancelAddParticipantSucceededEventResultSuccessTest() SendAndProcessEvent(handler, CallAutomationModelFactory.CancelAddParticipantSucceeded( CallConnectionId, ServerCallId, - CorelationId, + CorrelationId, invitationId, OperationContext)); @@ -546,5 +741,94 @@ public async Task CancelAddParticipantSucceededEventResultSuccessTest() Assert.AreEqual(CallConnectionId, returnedResult.SuccessResult.CallConnectionId); Assert.AreEqual(invitationId, returnedResult.SuccessResult.InvitationId); } + + [Test] + public async Task HoldEventResultSuccessTest() + { + int successCode = (int)HttpStatusCode.OK; + + var callConnection = CreateMockCallConnection(successCode, AddParticipantsPayload); + CallAutomationEventProcessor handler = callConnection.EventProcessor; + + var response = callConnection.GetCallMedia().Hold(new HoldOptions(new CommunicationUserIdentifier(TargetUser)) { PlaySource = new FileSource(new Uri(CallBackUri)),OperationContext= OperationContext }); + Assert.AreEqual(successCode, response.GetRawResponse().Status); + + // Create and send event to event processor + SendAndProcessEvent(handler, new HoldAudioStarted(OperationContext, new ResultInformation() { }, CallConnectionId, ServerCallId, CorrelationId)); + + HoldEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); + + // Assert + AssertHoldEvent(returnedResult, typeof(HoldAudioStarted)); + + SendAndProcessEvent(handler, new HoldAudioCompleted(OperationContext, new ResultInformation() { }, CallConnectionId, ServerCallId, CorrelationId)); + returnedResult = await response.Value.WaitForEventProcessorAsync(); + + // Assert + AssertHoldEvent(returnedResult, typeof(HoldAudioCompleted)); + } + + [Test] + public async Task HoldEventResultFailedTest() + { + int successCode = (int)HttpStatusCode.OK; + + var callConnection = CreateMockCallConnection(successCode, AddParticipantsPayload); + CallAutomationEventProcessor handler = callConnection.EventProcessor; + + var response = callConnection.GetCallMedia().Hold(new HoldOptions(new CommunicationUserIdentifier(TargetUser)) { PlaySource = new FileSource(new Uri(CallBackUri)), OperationContext = OperationContext }); + Assert.AreEqual(successCode, response.GetRawResponse().Status); + + // Create and send event to event processor + SendAndProcessEvent(handler, new HoldFailed(OperationContext, new ResultInformation() { }, CallConnectionId, ServerCallId, CorrelationId)); + + HoldEventResult returnedResult = await response.Value.WaitForEventProcessorAsync(); + + // Assert + Assert.NotNull(returnedResult); + Assert.AreEqual(false, returnedResult.IsSuccess); + Assert.IsNull(returnedResult.SuccessResult); + Assert.NotNull(returnedResult.FailureResult); + Assert.AreEqual(typeof(HoldFailed), returnedResult.FailureResult.GetType()); + Assert.AreEqual(CallConnectionId, returnedResult.FailureResult.CallConnectionId); + Assert.AreEqual(OperationContext, returnedResult.FailureResult.OperationContext); + } + private static void AssertHoldEvent(HoldEventResult returnedResult, System.Type expectedType, string expectedOperationContext = OperationContext) + { + Assert.NotNull(returnedResult); + Assert.AreEqual(true, returnedResult.IsSuccess); + + if (expectedType == typeof(HoldAudioResumed)) + { + Assert.IsNotNull(returnedResult.ResumeResult); + Assert.AreEqual(CallConnectionId, returnedResult.ResumeResult.CallConnectionId); + Assert.AreEqual(expectedOperationContext, returnedResult.ResumeResult.OperationContext); + return; + } + + if (expectedType == typeof(HoldAudioStarted)) + { + Assert.IsNotNull(returnedResult.StartResult); + Assert.AreEqual(CallConnectionId, returnedResult.StartResult.CallConnectionId); + Assert.AreEqual(expectedOperationContext, returnedResult.StartResult.OperationContext); + return; + } + + if (expectedType == typeof(HoldAudioCompleted)) + { + Assert.IsNotNull(returnedResult.SuccessResult); + Assert.AreEqual(CallConnectionId, returnedResult.SuccessResult.CallConnectionId); + Assert.AreEqual(expectedOperationContext, returnedResult.SuccessResult.OperationContext); + return; + } + + if (expectedType == typeof(HoldAudioPaused)) + { + Assert.IsNotNull(returnedResult.PauseResult); + Assert.AreEqual(CallConnectionId, returnedResult.PauseResult.CallConnectionId); + Assert.AreEqual(expectedOperationContext, returnedResult.PauseResult.OperationContext); + return; + } + } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/Events/CallAutomationEventParserTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/Events/CallAutomationEventParserTests.cs index 401e6b35d536..5e477aa2cf2e 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/Events/CallAutomationEventParserTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/Events/CallAutomationEventParserTests.cs @@ -2,9 +2,10 @@ // Licensed under the MIT License. using System; +using System.Collections.Generic; +using System.ComponentModel; using System.Linq; using System.Reflection; -using System.Collections.Generic; using System.Text.Json; using Azure.Messaging; using Newtonsoft.Json.Linq; @@ -476,32 +477,6 @@ public void PlayCompletedEventParsed_Test() } } - [Test] - public void PlayFailedEventParsed_Test() - { - PlayFailed @event = CallAutomationModelFactory.PlayFailed( - callConnectionId: "callConnectionId", - serverCallId: "serverCallId", - correlationId: "correlationId", - operationContext: "operationContext", - resultInformation: new ResultInformation(code: 400, subCode: 8536, message: "Action failed, file could not be downloaded.")); - JsonSerializerOptions jsonOptions = new() { PropertyNamingPolicy = JsonNamingPolicy.CamelCase }; - string jsonEvent = JsonSerializer.Serialize(@event, jsonOptions); - var parsedEvent = CallAutomationEventParser.Parse(jsonEvent, "Microsoft.Communication.PlayFailed"); - if (parsedEvent is PlayFailed playFailed) - { - Assert.AreEqual("correlationId", playFailed.CorrelationId); - Assert.AreEqual("serverCallId", playFailed.ServerCallId); - Assert.AreEqual(400, playFailed.ResultInformation?.Code); - //Assert.AreEqual(MediaEventReasonCode.PlayDownloadFailed, playFailed.ResultInformation); - Assert.AreEqual(8536, playFailed.ResultInformation?.SubCode); - } - else - { - Assert.Fail("Event parsed wrongfully"); - } - } - [Test] public void PlayStartedEventParsed_Test() { @@ -519,6 +494,7 @@ public void PlayStartedEventParsed_Test() Assert.AreEqual("correlationId", playStarted.CorrelationId); Assert.AreEqual("serverCallId", playStarted.ServerCallId); Assert.AreEqual(200, playStarted.ResultInformation?.Code); + Assert.AreEqual(MediaEventReasonCode.CompletedSuccessfully, playStarted.ReasonCode); } else { @@ -576,6 +552,32 @@ public void PlayResumedEventParsed_Test() } } + [Test] + public void PlayFailedEventParsed_Test() + { + PlayFailed @event = CallAutomationModelFactory.PlayFailed( + callConnectionId: "callConnectionId", + serverCallId: "serverCallId", + correlationId: "correlationId", + operationContext: "operationContext", + resultInformation: new ResultInformation(code: 400, subCode: 8536, message: "Action failed, file could not be downloaded.")); + JsonSerializerOptions jsonOptions = new() { PropertyNamingPolicy = JsonNamingPolicy.CamelCase }; + string jsonEvent = JsonSerializer.Serialize(@event, jsonOptions); + var parsedEvent = CallAutomationEventParser.Parse(jsonEvent, "Microsoft.Communication.PlayFailed"); + if (parsedEvent is PlayFailed playFailed) + { + Assert.AreEqual("correlationId", playFailed.CorrelationId); + Assert.AreEqual("serverCallId", playFailed.ServerCallId); + Assert.AreEqual(400, playFailed.ResultInformation?.Code); + //Assert.AreEqual(MediaEventReasonCode.PlayDownloadFailed, playFailed.ResultInformation); + Assert.AreEqual(8536, playFailed.ResultInformation?.SubCode); + } + else + { + Assert.Fail("Event parsed wrongfully"); + } + } + [Test] public void PlayCanceledEventParsed_Test() { @@ -1082,7 +1084,7 @@ public void TranscriptionStartedEventParsed_Test() correlationId: "correlationId", operationContext: "operationContext", resultInformation: new ResultInformation(code: 200, subCode: 0, message: "Action completed successfully"), - transcriptionUpdate: new TranscriptionUpdate(TranscriptionStatus.TranscriptionStarted, TranscriptionStatusDetails.SubscriptionStarted)); + transcriptionUpdateResult: new TranscriptionUpdate(TranscriptionStatus.TranscriptionStarted, TranscriptionStatusDetails.SubscriptionStarted)); JsonSerializerOptions jsonOptions = new() { PropertyNamingPolicy = JsonNamingPolicy.CamelCase }; string jsonEvent = JsonSerializer.Serialize(@event, jsonOptions); var parsedEvent = CallAutomationEventParser.Parse(jsonEvent, "Microsoft.Communication.TranscriptionStarted"); @@ -1093,8 +1095,8 @@ public void TranscriptionStartedEventParsed_Test() Assert.AreEqual("serverCallId", transcriptionStarted.ServerCallId); Assert.AreEqual("operationContext", transcriptionStarted.OperationContext); Assert.AreEqual(200, transcriptionStarted.ResultInformation?.Code); - Assert.AreEqual(TranscriptionStatus.TranscriptionStarted, transcriptionStarted.TranscriptionUpdate.TranscriptionStatus); - Assert.AreEqual(TranscriptionStatusDetails.SubscriptionStarted, transcriptionStarted.TranscriptionUpdate.TranscriptionStatusDetails); + Assert.AreEqual(TranscriptionStatus.TranscriptionStarted, transcriptionStarted.TranscriptionUpdateResult.TranscriptionStatus); + Assert.AreEqual(TranscriptionStatusDetails.SubscriptionStarted, transcriptionStarted.TranscriptionUpdateResult.TranscriptionStatusDetails); } else { @@ -1111,7 +1113,7 @@ public void TranscriptionUpdatedEventParsed_Test() correlationId: "correlationId", operationContext: "operationContext", resultInformation: new ResultInformation(code: 200, subCode: 0, message: "Action completed successfully"), - transcriptionUpdate: new TranscriptionUpdate(TranscriptionStatus.TranscriptionUpdated, TranscriptionStatusDetails.StreamConnectionReestablished)); + transcriptionUpdateResult: new TranscriptionUpdate(TranscriptionStatus.TranscriptionUpdated, TranscriptionStatusDetails.StreamConnectionReestablished)); JsonSerializerOptions jsonOptions = new() { PropertyNamingPolicy = JsonNamingPolicy.CamelCase }; string jsonEvent = JsonSerializer.Serialize(@event, jsonOptions); var parsedEvent = CallAutomationEventParser.Parse(jsonEvent, "Microsoft.Communication.TranscriptionUpdated"); @@ -1122,8 +1124,8 @@ public void TranscriptionUpdatedEventParsed_Test() Assert.AreEqual("serverCallId", transcriptionUpdated.ServerCallId); Assert.AreEqual("operationContext", transcriptionUpdated.OperationContext); Assert.AreEqual(200, transcriptionUpdated.ResultInformation?.Code); - Assert.AreEqual(TranscriptionStatus.TranscriptionUpdated, transcriptionUpdated.TranscriptionUpdate.TranscriptionStatus); - Assert.AreEqual(TranscriptionStatusDetails.StreamConnectionReestablished, transcriptionUpdated.TranscriptionUpdate.TranscriptionStatusDetails); + Assert.AreEqual(TranscriptionStatus.TranscriptionUpdated, transcriptionUpdated.TranscriptionUpdateResult.TranscriptionStatus); + Assert.AreEqual(TranscriptionStatusDetails.StreamConnectionReestablished, transcriptionUpdated.TranscriptionUpdateResult.TranscriptionStatusDetails); } else { @@ -1140,7 +1142,7 @@ public void TranscriptionStoppedEventParsed_Test() correlationId: "correlationId", operationContext: "operationContext", resultInformation: new ResultInformation(code: 200, subCode: 0, message: "Action completed successfully"), - transcriptionUpdate: new TranscriptionUpdate(transcriptionStatus: TranscriptionStatus.TranscriptionStopped, transcriptionStatusDetails: TranscriptionStatusDetails.SubscriptionStopped)); + transcriptionUpdateResult: new TranscriptionUpdate(transcriptionStatus: TranscriptionStatus.TranscriptionStopped, transcriptionStatusDetails: TranscriptionStatusDetails.SubscriptionStopped)); JsonSerializerOptions jsonOptions = new() { PropertyNamingPolicy = JsonNamingPolicy.CamelCase }; string jsonEvent = JsonSerializer.Serialize(@event, jsonOptions); var parsedEvent = CallAutomationEventParser.Parse(jsonEvent, "Microsoft.Communication.TranscriptionStopped"); @@ -1151,8 +1153,8 @@ public void TranscriptionStoppedEventParsed_Test() Assert.AreEqual("serverCallId", transcriptionStopped.ServerCallId); Assert.AreEqual("operationContext", transcriptionStopped.OperationContext); Assert.AreEqual(200, transcriptionStopped.ResultInformation?.Code); - Assert.AreEqual(TranscriptionStatus.TranscriptionStopped, transcriptionStopped.TranscriptionUpdate.TranscriptionStatus); - Assert.AreEqual(TranscriptionStatusDetails.SubscriptionStopped, transcriptionStopped.TranscriptionUpdate.TranscriptionStatusDetails); + Assert.AreEqual(TranscriptionStatus.TranscriptionStopped, transcriptionStopped.TranscriptionUpdateResult.TranscriptionStatus); + Assert.AreEqual(TranscriptionStatusDetails.SubscriptionStopped, transcriptionStopped.TranscriptionUpdateResult.TranscriptionStatusDetails); } else { @@ -1169,7 +1171,7 @@ public void TranscriptionFailedEventParsed_Test() correlationId: "correlationId", operationContext: "operationContext", resultInformation: new ResultInformation(code: 200, subCode: 0, message: "Action completed successfully"), - transcriptionUpdate: new TranscriptionUpdate(transcriptionStatus: TranscriptionStatus.TranscriptionFailed, transcriptionStatusDetails: TranscriptionStatusDetails.UnspecifiedError)); + transcriptionUpdateResult: new TranscriptionUpdate(transcriptionStatus: TranscriptionStatus.TranscriptionFailed, transcriptionStatusDetails: TranscriptionStatusDetails.UnspecifiedError)); JsonSerializerOptions jsonOptions = new() { PropertyNamingPolicy = JsonNamingPolicy.CamelCase }; string jsonEvent = JsonSerializer.Serialize(@event, jsonOptions); var parsedEvent = CallAutomationEventParser.Parse(jsonEvent, "Microsoft.Communication.TranscriptionFailed"); @@ -1180,8 +1182,8 @@ public void TranscriptionFailedEventParsed_Test() Assert.AreEqual("serverCallId", transcriptionFailed.ServerCallId); Assert.AreEqual("operationContext", transcriptionFailed.OperationContext); Assert.AreEqual(200, transcriptionFailed.ResultInformation?.Code); - Assert.AreEqual(TranscriptionStatus.TranscriptionFailed, transcriptionFailed.TranscriptionUpdate.TranscriptionStatus); - Assert.AreEqual(TranscriptionStatusDetails.UnspecifiedError, transcriptionFailed.TranscriptionUpdate.TranscriptionStatusDetails); + Assert.AreEqual(TranscriptionStatus.TranscriptionFailed, transcriptionFailed.TranscriptionUpdateResult.TranscriptionStatus); + Assert.AreEqual(TranscriptionStatusDetails.UnspecifiedError, transcriptionFailed.TranscriptionUpdateResult.TranscriptionStatusDetails); } else { @@ -1402,12 +1404,41 @@ public void MediaStreamingFailedEventParsed_Test() } } + [Test] + public void ConnectFailedEventParsed_Test() + { + // arrange + var callConnectionId = "callConnectionId"; + var serverCallId = "serverCallId"; + var correlationId = "correlationId"; + var @event = CallAutomationModelFactory.ConnectFailed(callConnectionId, serverCallId, correlationId); + JsonSerializerOptions jsonOptions = new() { PropertyNamingPolicy = JsonNamingPolicy.CamelCase }; + string jsonEvent = JsonSerializer.Serialize(@event, jsonOptions); + + // act + var parsedEvent = CallAutomationEventParser.Parse(jsonEvent, "Microsoft.Communication.ConnectFailed"); + + // assert + if (parsedEvent is ConnectFailed connectFailed) + { + Assert.AreEqual(callConnectionId, connectFailed.CallConnectionId); + Assert.AreEqual(serverCallId, connectFailed.ServerCallId); + Assert.AreEqual(correlationId, connectFailed.CorrelationId); + Assert.IsNull(connectFailed.OperationContext); + Assert.IsNull(connectFailed.ResultInformation); + } + else + { + Assert.Fail("Event parsed wrongfully"); + } + } + [Test] public void IncomingCallEventParsed_XMS_Header_Test() { // arrange - var to = new CommunicationUserIdentifier("8:acs:12345"); - var from = new CommunicationUserIdentifier("8:acs:54321"); + var to = new PhoneNumberIdentifier("+11234567890"); + var from = new PhoneNumberIdentifier("+19876543210"); var callerDisplayName = "callerDisplayName"; var serverCallId = "serverCallId"; @@ -1464,8 +1495,8 @@ public void IncomingCallEventParsed_XMS_Header_Test() public void IncomingCallEventParsed_X_Header_Test() { // arrange - var to = new CommunicationUserIdentifier("8:acs:12345"); - var from = new CommunicationUserIdentifier("8:acs:54321"); + var to = new PhoneNumberIdentifier("+11234567890"); + var from = new PhoneNumberIdentifier("+19876543210"); var callerDisplayName = "callerDisplayName"; var serverCallId = "serverCallId"; diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationClientAutomatedLiveTestsBase.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationClientAutomatedLiveTestsBase.cs index eec9e19e289d..41762b86d253 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationClientAutomatedLiveTestsBase.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationClientAutomatedLiveTestsBase.cs @@ -54,22 +54,17 @@ public CallAutomationClientAutomatedLiveTestsBase(bool isAsync, RecordedTestMode JsonPathSanitizers.Add("$..botAppId"); JsonPathSanitizers.Add("$..ivrContext"); JsonPathSanitizers.Add("$..dialog.botAppId"); - BodyKeySanitizers.Add(new BodyKeySanitizer("..sourceDisplayName") { Value = SanitizeValue }); BodyKeySanitizers.Add(new BodyKeySanitizer("..incomingCallContext") { Value = SanitizeValue }); - BodyKeySanitizers.Add(new BodyKeySanitizer("..callbackUri") { Value = @"https://sanitized.skype.com/api/servicebuscallback/events?q=SanitizedSanitized" }); + BodyKeySanitizers.Add(new BodyKeySanitizer("..callbackUri") { Value = @"https://sanitized.skype.com/api/servicebuscallback/events?q=SanitizedSanitized"}); BodyKeySanitizers.Add(new BodyKeySanitizer("..recordingStateCallbackUri") { Value = @"https://sanitized.skype.com/api/servicebuscallback/events" }); BodyKeySanitizers.Add(new BodyKeySanitizer("..transportUrl") { Value = @"wss://sanitized.skype.com" }); BodyKeySanitizers.Add(new BodyKeySanitizer("..cognitiveServicesEndpoint") { Value = @"https://sanitized.skype.com" }); - BodyKeySanitizers.Add(new BodyKeySanitizer("$..operationContext") { Value = "Sanitized" }); BodyKeySanitizers.Add(new BodyKeySanitizer("$..file.uri") { Value = @"https://sanitized.skype.com/prompt.wav" }); - BodyRegexSanitizers.Add(new BodyRegexSanitizer(TestDispatcherRegEx) { Value = "https://sanitized.skype.com" }); - UriRegexSanitizers.Add(new UriRegexSanitizer(URIDomainRegEx) { Value = "https://sanitized.skype.com" }); - UriRegexSanitizers.Add(new UriRegexSanitizer(TestDispatcherQNameRegEx) { Value = SanitizeValue }); - UriRegexSanitizers.Add(new UriRegexSanitizer(ACSUserIdInUrlRegex) { Value = SanitizeValue }); - } - - public bool SkipCallAutomationInteractionLiveTests - => TestEnvironment.Mode != RecordedTestMode.Playback && Environment.GetEnvironmentVariable("SKIP_CALLAUTOMATION_INTERACTION_LIVE_TESTS") == "TRUE"; + BodyRegexSanitizers.Add(new BodyRegexSanitizer(TestDispatcherRegEx) { Value = "https://sanitized.skype.com" }); + UriRegexSanitizers.Add(new UriRegexSanitizer(URIDomainRegEx) { Value = "https://sanitized.skype.com" }); + UriRegexSanitizers.Add(new UriRegexSanitizer(TestDispatcherQNameRegEx)); + UriRegexSanitizers.Add(new UriRegexSanitizer(ACSUserIdInUrlRegex) { Value = SanitizeValue }); + } [SetUp] public void TestSetup() @@ -105,7 +100,7 @@ public async Task CleanUp() } public bool SkipCallingServerInteractionLiveTests - => TestEnvironment.Mode != RecordedTestMode.Playback && Environment.GetEnvironmentVariable("SKIP_CALLINGSERVER_INTERACTION_LIVE_TESTS") == "TRUE"; + => TestEnvironment.Mode != RecordedTestMode.Playback && Environment.GetEnvironmentVariable("SKIP_CALLINGSERVER_INTERACTION_LIVE_TESTS")== "TRUE"; /// /// Creates a @@ -116,7 +111,6 @@ protected CallAutomationClient CreateInstrumentedCallAutomationClientWithConnect var connectionString = TestEnvironment.LiveTestStaticConnectionString; CallAutomationClient callAutomationClient; - if (TestEnvironment.PMAEndpoint == null || TestEnvironment.PMAEndpoint.Length == 0) { callAutomationClient = new CallAutomationClient(connectionString, CreateServerCallingClientOptionsWithCorrelationVectorLogs(source)); @@ -184,37 +178,6 @@ protected string GetResourceId() return TestEnvironment.ResourceIdentifier; } - protected void GetPhoneNumbers(out CommunicationIdentifier sourcePhone, out CommunicationIdentifier target) - { - if (Mode == RecordedTestMode.Playback) - { - sourcePhone = new PhoneNumberIdentifier("Sanitized"); - target = new PhoneNumberIdentifier("Sanitized"); - } - else - { - PhoneNumbersClient phoneNumbersClient = new PhoneNumbersClient(TestEnvironment.LiveTestStaticConnectionString); - var purchasedPhoneNumbers = phoneNumbersClient.GetPurchasedPhoneNumbers(); - List phoneNumbers = new List(); - foreach (var phoneNumber in purchasedPhoneNumbers) - { - phoneNumbers.Add(phoneNumber.PhoneNumber); - Console.WriteLine($"Phone number: {phoneNumber.PhoneNumber}, monthly cost: {phoneNumber.Cost}"); - } - - Random random = new Random(); - int num1 = random.Next(0, phoneNumbers.Count); - int num2; - do - { - num2 = random.Next(0, phoneNumbers.Count); - } while (num2 == num1); - - target = new PhoneNumberIdentifier(phoneNumbers[num1]); - sourcePhone = new PhoneNumberIdentifier(phoneNumbers[num2]); - } - } - /// /// Creates a with the connectionstring via environment /// variables and instruments it to make use of the Azure Core Test Framework functionalities. @@ -281,7 +244,7 @@ private void RecordedEventListenerOnCollectionChanged(object sender, RecordedEve private void HandleServiceBusReceivedMessage(RecordedServiceBusReceivedMessage receivedMessage) { - string body = Regex.Unescape(receivedMessage.Body.ToString()); + string body = receivedMessage.Body.ToString(); if (!string.IsNullOrEmpty(body)) { @@ -321,7 +284,7 @@ private string ParseFromAndTo(string unparsed) string fromId = unparsed.Split(new string[] { "\"from\":{\"kind\":" }, StringSplitOptions.None)[1].Split(new string[] { "\"rawId\":\"" }, StringSplitOptions.None)[1].Split(new string[] { "\"" }, StringSplitOptions.None)[0]; string toId = unparsed.Split(new string[] { "\"to\":{\"kind\":" }, StringSplitOptions.None)[1].Split(new string[] { "\"rawId\":\"" }, StringSplitOptions.None)[1].Split(new string[] { "\"" }, StringSplitOptions.None)[0]; - return RemoveAllNonChar(fromId + toId); + return fromId + toId; } private string ParseIdsFromIdentifier(CommunicationIdentifier inputIdentifier) @@ -339,7 +302,10 @@ private string ParseIdsFromIdentifier(CommunicationIdentifier inputIdentifier) } else { - return RemoveAllNonChar(((PhoneNumberIdentifier)inputIdentifier).RawId); + /* Change the plus + sign to it's unicode without the special characters i.e. u002B. + * It's required because the dispacther app receives the incoming call context for pstn call + * with the + as unicode in it and builds the topic id with it to send the event.*/ + return RemoveAllNonChar(((PhoneNumberIdentifier)inputIdentifier).RawId).Insert(1, "u002B"); } case MicrosoftTeamsUserIdentifier: return RemoveAllNonChar(((MicrosoftTeamsUserIdentifier)inputIdentifier).RawId); @@ -357,7 +323,7 @@ private static string RemoveAllNonChar(string inputId) private HttpPipeline BuildHttpPipeline() { var clientOptions = CreateServerCallingClientOptionsWithCorrelationVectorLogs(); - return clientOptions.BuildHttpPipeline( + return clientOptions.CustomBuildHttpPipeline( ConnectionString.Parse(TestEnvironment.LiveTestStaticConnectionString)); } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationClientTestEnvironment.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationClientTestEnvironment.cs index c6c369225d63..fe0b9ced1602 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationClientTestEnvironment.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationClientTestEnvironment.cs @@ -33,8 +33,6 @@ internal class CallAutomationClientTestEnvironment : CommunicationTestEnvironmen private string transportUrl = "TRANSPORT_URL"; - private string fileSourceUrl = "FILE_SOURCE_URL"; - private string cognitiveServiceEndpoint = "COGNITIVE_SERVICE_ENDPOINT"; /// @@ -81,21 +79,6 @@ internal class CallAutomationClientTestEnvironment : CommunicationTestEnvironmen /// public string ServiceBusNamespace => GetRecordedOptionalVariable(servicebusString, options => options.IsSecret("Sanitized")); - /// - /// websocket url for automated testing - /// - public string TransportUrl => GetRecordedOptionalVariable(transportUrl, options => options.IsSecret("https://sanitized.skype.com")); - - /// - /// file source for automated testing - /// - public string FileSourceUrl => GetRecordedOptionalVariable(fileSourceUrl, options => options.IsSecret("https://sanitized.skype.com/prompt.wav")); - - /// - /// Cognitive service endpoint for automated testing - /// - public string CognitiveServiceEndpoint => GetRecordedOptionalVariable(cognitiveServiceEndpoint, options => options.IsSecret("https://sanitized.skype.com")); - /// /// The callback url of the application where notification would be received. /// @@ -117,5 +100,15 @@ internal class CallAutomationClientTestEnvironment : CommunicationTestEnvironmen public string AppCallbackUrl => $"{AppBaseUrl}/api/incident/callback?SecretKey={WebUtility.UrlEncode(IncomingRequestSecret)}"; public string WebsocketUrl => $"wss://testwebsocket.webpubsub.azure.com/client/hubs/media?access_token=helloworld"; + + /// + /// websocket url for automated testing + /// + public string TransportUrl => GetRecordedOptionalVariable(transportUrl, options => options.IsSecret("https://sanitized.skype.com")); + + /// + /// Cognitive service endpoint for automated testing + /// + public string CognitiveServiceEndpoint => GetRecordedOptionalVariable(cognitiveServiceEndpoint, options => options.IsSecret("https://sanitized.skype.com")); } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationEventProcessorTestBase.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationEventProcessorTestBase.cs index 4bd706f2d05f..d9dd10d40a44 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationEventProcessorTestBase.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationEventProcessorTestBase.cs @@ -20,7 +20,7 @@ public abstract class CallAutomationEventProcessorTestBase protected const string Subject = "dummySubject"; protected const string CallBackUri = "https://bot.contoso.com/callback"; protected const string OperationContext = "someOperationContext"; - protected const string CorelationId = "someCorelationId"; + protected const string CorrelationId = "someCorelationId"; protected const string SourceUser = "SOURCE_USER_ID"; protected const string TargetUser = "TARGET_USER_ID"; protected const string TransfereeUser = "TRANSFEREE_USER_ID"; @@ -37,7 +37,10 @@ public abstract class CallAutomationEventProcessorTestBase protected const string TransferCallOrRemoveParticipantsPayload = "{\"operationContext\": \"someOperationContext\"}"; - protected const string AddParticipantsPayload = "{\"participant\":{\"identifier\":{\"rawId\":\"participantId1\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"participantId1\"}},\"isMuted\":false},\"operationContext\":\"someOperationContext\"}"; + protected const string AddParticipantsPayload = "{\"participant\":{\"identifier\":{\"rawId\":\"participantId1\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"participantId1\"}},\"isMuted\":false,\"isOnHold\":false},\"operationContext\":\"someOperationContext\"}"; + + protected const string PlayAudioPayload = "{\"participant\":{\"identifier\":{\"rawId\":\"participantId1\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"participantId1\"}},\"isMuted\":false,\"isOnHold\":false},\"operationContext\":\"someOperationContext\"}"; + protected const string InterruptAudioPayload = "{\"participant\":{\"identifier\":{\"rawId\":\"participantId1\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"participantId1\"}},\"isMuted\":false,\"isOnHold\":false},\"operationContext\":\"interruptOperationContext\"}"; protected const string GetParticipantPayload = "{\"identifier\":{\"rawId\":\"participantId1\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"participantId1\"}},\"isMuted\":false}"; @@ -85,6 +88,16 @@ internal CallAutomationClient CreateMockCallAutomationClient(int responseCode, o return new CallAutomationClient(ConnectionString, options); } + internal CallAutomationClient CreateMockCallAutomationClient(params MockResponse[] mockResponses) + { + var callAutomationClientOptions = new CallAutomationClientOptions + { + Transport = new MockTransport(mockResponses) + }; + + return new CallAutomationClient(ConnectionString, callAutomationClientOptions); + } + protected CallConnection CreateMoakCallConnection(string? callConnectionId = default) { CallConnection callconn = new CallConnection(callConnectionId == default ? CallConnectionId : callConnectionId, null, null, null, null, null); @@ -108,6 +121,10 @@ protected CallConnection CreateMockCallConnection(int responseCode, string? resp { return CreateMockCallAutomationClient(responseCode, responseContent).GetCallConnection(callConnectionId == default ? CallConnectionId : callConnectionId); } + protected CallConnection CreateMockCallConnection(MockResponse[] mockResponses, string? callConnectionId = default) + { + return CreateMockCallAutomationClient(mockResponses).GetCallConnection(callConnectionId == default ? CallConnectionId : callConnectionId); + } protected void SendAndProcessEvent( CallAutomationEventProcessor eventProcessor, diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationTestBase.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationTestBase.cs index bda71825cbea..e8fd4e8eac7b 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationTestBase.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationTestBase.cs @@ -32,7 +32,7 @@ public class CallAutomationTestBase "\"subject\": \"dummySubject\"," + "\"callbackUri\": \"https://bot.contoso.com/callback\"," + "\"mediaStreamingSubscription\": {0}," + - "\"transcriptionSubscription\": {1}" + + "\"dataSubscriptionId\": {1}" + "}}"; protected const string DummyConnectPayload = "{" + "\"callConnectionId\": \"someCallConnectionId\"," + @@ -75,18 +75,14 @@ public class CallAutomationTestBase private const string NoneMediaStreamingSubscription = "null"; private const string MediaSubscriptionId = "\"mediaSubscriptionId\""; + private const string DataSubscriptionId = "\"dataSubscriptionId\""; private const string MediaStreamingSubscription = "{" + " \"id\": \"22c3a25a-aed5-47df-9ef9-5ba5c7b6d08e\"," + "\"state\": \"disabled\",\"subscribedContentTypes\": [" + "\"audio\"] }"; - private const string TranscriptionSubscription = "{" + - "\"id\": \"81c66a1b-12eb-4d89-ab99-c9f0de59e893\"," + - "\"state\": \"inactive\"," + - "\"subscribedResultTypes\": [\"final\"]}"; private const string NoneTranscriptionSubscription = "null"; - private const string DataSubscriptionId = "\"dataSubscriptionId\""; protected string CreateOrAnswerCallOrGetCallConnectionPayload = string.Format(DummyPayload, NoneMediaStreamingSubscription, NoneTranscriptionSubscription); - protected string CreateOrAnswerCallOrGetCallConnectionWithMediaSubscriptionAndTranscriptionPayload = string.Format(DummyPayload, MediaStreamingSubscription, TranscriptionSubscription); + protected string CreateOrAnswerCallOrGetCallConnectionWithMediaSubscriptionAndTranscriptionPayload = string.Format(DummyPayload, MediaStreamingSubscription, DataSubscriptionId); protected string CreateOrAnswerCallOrGetCallConnectionPayloadWithTeamsAppSource = string.Format(DummyOPSPayload, NoneMediaStreamingSubscription, NoneTranscriptionSubscription); internal CallAutomationClient CreateMockCallAutomationClient(int responseCode, object? responseContent = null, HttpHeader[]? httpHeaders = null) @@ -115,7 +111,7 @@ internal CallAutomationClient CreateMockCallAutomationClient(int responseCode, o var callAutomationClientOptions = new CallAutomationClientOptions() { - Source = new CommunicationUserIdentifier(SourceId), + Source = new CommunicationUserIdentifier("12345"), Transport = new MockTransport(mockResponse) }; @@ -149,7 +145,6 @@ protected void verifyCallConnectionProperties(CallConnectionProperties callConne Assert.AreEqual(CallConnectionState.Connecting, callConnectionProperties.CallConnectionState); Assert.AreEqual(CallBackUri, callConnectionProperties.CallbackUri.ToString()); } - protected void verifyOPSCallConnectionProperties(CallConnectionProperties callConnectionProperties) { Assert.AreEqual(CallConnectionId, callConnectionProperties.CallConnectionId); diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallAndReject.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallAndReject.json index 51ddcff9dee4..7d8097513315 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallAndReject.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallAndReject.json @@ -1,49 +1,19 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9LVTByYW14dUJraXJkWndCT1RFY1RBP2k9MTAtNjAtMTgtOTUmZT02Mzg2OTcxOTcwNTg3NTUwNDE=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00223610cec4-1b6a-4447-9aee-0904aaed9552\u0022}", - "messageId": "b69cc4c403a143b8ad1b7e639882eb03", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-b5fab0355f60813345ae2b53afc99e9d-c80ad52c953786ab-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/12002080-abca-4733-b3dd-853cb6236eed\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:603,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Decline. DiagCode: 603#0.@\u0022},\u0022callConnectionId\u0022:\u002212002080-abca-4733-b3dd-853cb6236eed\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9LVTByYW14dUJraXJkWndCT1RFY1RBP2k9MTAtNjAtMTgtOTUmZT02Mzg2OTcxOTcwNTg3NTUwNDE=\u0022,\u0022correlationId\u0022:\u00223610cec4-1b6a-4447-9aee-0904aaed9552\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:36:06.8886544\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/12002080-abca-4733-b3dd-853cb6236eed\u0022}]", - "messageId": "4c166da755bb4136a22ca7105c437c21", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-44eb62096d79b79cdee635500a13b33a-911b9c403d2e7159-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/12002080-abca-4733-b3dd-853cb6236eed\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:603,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Decline. DiagCode: 603#0.@\u0022},\u0022callConnectionId\u0022:\u002212002080-abca-4733-b3dd-853cb6236eed\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9LVTByYW14dUJraXJkWndCT1RFY1RBP2k9MTAtNjAtMTgtOTUmZT02Mzg2OTcxOTcwNTg3NTUwNDE=\u0022,\u0022correlationId\u0022:\u00223610cec4-1b6a-4447-9aee-0904aaed9552\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022},\u0022time\u0022:\u00222024-12-14T00:36:06.8886544\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/12002080-abca-4733-b3dd-853cb6236eed\u0022}]", - "messageId": "a419a96d42ec4e13852f1abf51bcda77", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-c4732118e2b1d2374ce0eac8af713856-476b5bfb085d30c9-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9TNkhjdjd0amxVeU0xbXNZSDEwckpRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u002241bd822b-e03b-4b86-82ed-f4527e3d53c9\u0022}", + "messageId": "4ce8bdbe3d64402daad39d8670047120", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-f731b3a261f84265abf098b7d03f58c4-4f5de7d9459e4731-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallAndRejectAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallAndRejectAsync.json index 462e1b794150..b457cac609c3 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallAndRejectAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallAndRejectAsync.json @@ -1,49 +1,19 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9jMnBkaHQ4WVNVV01lUUROX2JUUzdRP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022d5551d9e-232a-4607-9b29-79aa07117cdc\u0022}", - "messageId": "7068d66e7ded40c5872b4e79787eac31", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-3b8c5f0dccd54cf1de62edacfb22f1b4-5e153ba0801019b9-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-9176-4830-9834-2d54a2b0cd91\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:603,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Decline. DiagCode: 603#0.@\u0022},\u0022callConnectionId\u0022:\u00221c001e80-9176-4830-9834-2d54a2b0cd91\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9jMnBkaHQ4WVNVV01lUUROX2JUUzdRP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022d5551d9e-232a-4607-9b29-79aa07117cdc\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:37:55.9342459\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-9176-4830-9834-2d54a2b0cd91\u0022}]", - "messageId": "a49a287a94c64badb8b56842184fd8e2", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-612b7866ea9bfb400736b2d09ef01218-54d513ce4aeaee54-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-9176-4830-9834-2d54a2b0cd91\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:603,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Decline. DiagCode: 603#0.@\u0022},\u0022callConnectionId\u0022:\u00221c001e80-9176-4830-9834-2d54a2b0cd91\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9jMnBkaHQ4WVNVV01lUUROX2JUUzdRP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022d5551d9e-232a-4607-9b29-79aa07117cdc\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022},\u0022time\u0022:\u00222024-12-14T00:37:55.9342459\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-9176-4830-9834-2d54a2b0cd91\u0022}]", - "messageId": "41d515be4b584d499af1c604e0219628", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-4cc96ef5e1d26b69f74f81356e814e1b-ff5c8f9768b5beeb-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9iVWJZN1YwZlZFeTRjUW16N295dTd3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00229dfdedd3-4755-4854-b931-354de73ced57\u0022}", + "messageId": "13dd0c15c3fa447c87858e9e8bf94a14", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-e0ad738ca7540cd3aa066f8b83d82e90-31eab4ffbd9632d3-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToACSGetCallAndHangUpCallTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToACSGetCallAndHangUpCallTest.json index faa86fff0407..ff60991b378c 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToACSGetCallAndHangUpCallTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToACSGetCallAndHangUpCallTest.json @@ -1,64 +1,64 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Rc3Y0aFRTbFRrR2FLams1RXIxUXFBP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00224ef15075-55f0-4ced-a157-84c7a43c8b62\u0022}", - "messageId": "38910e57820a4a788a096073eabea52d", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-3b24aa16bc40f0784949f3261e9a36de-e09488e013842a88-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-8783-4314-9ad0-84259b4b68dd\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00221c001e80-8783-4314-9ad0-84259b4b68dd\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Rc3Y0aFRTbFRrR2FLams1RXIxUXFBP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u00224ef15075-55f0-4ced-a157-84c7a43c8b62\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-14T00:37:26.4957982\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-8783-4314-9ad0-84259b4b68dd\u0022}]", - "messageId": "4704b7ef3eed4199b5bfae2325c56604", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-646c67e7050266556a1261e84130f139-e9162510fa8eae67-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-8783-4314-9ad0-84259b4b68dd\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00221c001e80-8783-4314-9ad0-84259b4b68dd\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Rc3Y0aFRTbFRrR2FLams1RXIxUXFBP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u00224ef15075-55f0-4ced-a157-84c7a43c8b62\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-14T00:37:26.4996797\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-8783-4314-9ad0-84259b4b68dd\u0022}]", - "messageId": "cad93538f36b461a982c97fb376d5d3e", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-0d45b34e0ca3b4cd78422dd1e4121c0e-cc0a67c5eaa5229d-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-8783-4314-9ad0-84259b4b68dd\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00221c001e80-8783-4314-9ad0-84259b4b68dd\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Rc3Y0aFRTbFRrR2FLams1RXIxUXFBP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u00224ef15075-55f0-4ced-a157-84c7a43c8b62\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:37:28.132253\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-8783-4314-9ad0-84259b4b68dd\u0022}]", - "messageId": "bcecb3bb02664d52976f398ad99d8368", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-169bbaeebf35f7622456971c1ccfc7ae-30b0512755526e37-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9hUEVSRmIwV3lFQ0NDRHFfVHRfREVRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022a2ee7cc3-53e3-4c78-941b-135f30eed972\u0022}", + "messageId": "0053be79ecf64a999929de0210f1a071", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-14f47cbefa914ef96818731dced324b3-9a47af68d1314f58-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-ef49-40be-babb-b2e97c6a83e5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-ef49-40be-babb-b2e97c6a83e5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9hUEVSRmIwV3lFQ0NDRHFfVHRfREVRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022a2ee7cc3-53e3-4c78-941b-135f30eed972\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:52:20.7498645\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-ef49-40be-babb-b2e97c6a83e5\u0022}]", + "messageId": "7d212dd2831b43dfb4b8f8659bebec5a", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-754eb3cfe991a77d0b11dd1da4767775-23027ac7caf669e0-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-ef49-40be-babb-b2e97c6a83e5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-ef49-40be-babb-b2e97c6a83e5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9hUEVSRmIwV3lFQ0NDRHFfVHRfREVRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022a2ee7cc3-53e3-4c78-941b-135f30eed972\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:52:20.7498645\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-ef49-40be-babb-b2e97c6a83e5\u0022}]", + "messageId": "778d23f1caa24d058ec7da12a40dc34d", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-2cb926d48005a83b72699175ea092fe2-5f6eb1a5c905146a-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-ef49-40be-babb-b2e97c6a83e5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-ef49-40be-babb-b2e97c6a83e5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9hUEVSRmIwV3lFQ0NDRHFfVHRfREVRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022a2ee7cc3-53e3-4c78-941b-135f30eed972\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:52:21.3924121\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-ef49-40be-babb-b2e97c6a83e5\u0022}]", + "messageId": "5db1f18a6ef843b2bd22f2f873d5f2a2", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-a1d0bc1b62425572cc672b4064256b1f-cad708d18caaceb7-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToACSGetCallAndHangUpCallTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToACSGetCallAndHangUpCallTestAsync.json index 1c51c9111182..745036ae7bf0 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToACSGetCallAndHangUpCallTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToACSGetCallAndHangUpCallTestAsync.json @@ -1,64 +1,64 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SQ3ZwWkk2MjZreWcwRGZDWG9veHFRP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u002211b64808-2a80-45e3-824f-984c3bdfc7f4\u0022}", - "messageId": "59f12cadf1be49b380e0b08534e3422d", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-e969c6c5ce6d180f8732a32d37064068-a0b018385feb7c1e-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-59f4-493d-b02f-292b6234f3a9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00221c001e80-59f4-493d-b02f-292b6234f3a9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SQ3ZwWkk2MjZreWcwRGZDWG9veHFRP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u002211b64808-2a80-45e3-824f-984c3bdfc7f4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-14T00:39:24.816448\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-59f4-493d-b02f-292b6234f3a9\u0022}]", - "messageId": "e0776048715d4278a2f768c218ff5538", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-a60e4758f9f43bc864bc2a114a335d2e-9afbbdafa9f77710-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-59f4-493d-b02f-292b6234f3a9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00221c001e80-59f4-493d-b02f-292b6234f3a9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SQ3ZwWkk2MjZreWcwRGZDWG9veHFRP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u002211b64808-2a80-45e3-824f-984c3bdfc7f4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-14T00:39:24.8117623\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-59f4-493d-b02f-292b6234f3a9\u0022}]", - "messageId": "c96e1420d0344833864b7b1ab25029f3", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-2c78e947eea6576ec6f42f1a7b86647e-8235313480e1d778-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-59f4-493d-b02f-292b6234f3a9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00221c001e80-59f4-493d-b02f-292b6234f3a9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SQ3ZwWkk2MjZreWcwRGZDWG9veHFRP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u002211b64808-2a80-45e3-824f-984c3bdfc7f4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:39:25.594362\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-59f4-493d-b02f-292b6234f3a9\u0022}]", - "messageId": "26733dfd9f9d480abbad74e695583cb9", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-46f29bc22ee7f7c2e4430e86bb193ffd-db34a66ab562f83f-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9MY0M5eU93cVRrcVVkZUlBRUQ2b3lnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u002211726f4e-2c99-4cc9-a8fb-9042a40e8909\u0022}", + "messageId": "30b34c39ea1c4b788b75d72fe618698b", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-de43517b161910ec3742b26af53a44d8-9b2256748c20e59f-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-49bc-47d7-a56e-9dec492b11fd\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-49bc-47d7-a56e-9dec492b11fd\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9MY0M5eU93cVRrcVVkZUlBRUQ2b3lnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002211726f4e-2c99-4cc9-a8fb-9042a40e8909\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:53:02.9706979\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-49bc-47d7-a56e-9dec492b11fd\u0022}]", + "messageId": "956995b8f5e74b37ad88786ee6abf1e4", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-12ee486a3bb3c0d41f3ccf0bbd41585e-b804cf7b077e2cd8-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-49bc-47d7-a56e-9dec492b11fd\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-49bc-47d7-a56e-9dec492b11fd\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9MY0M5eU93cVRrcVVkZUlBRUQ2b3lnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002211726f4e-2c99-4cc9-a8fb-9042a40e8909\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:53:02.9615033\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-49bc-47d7-a56e-9dec492b11fd\u0022}]", + "messageId": "1587164df102417b9bcbfb7761bd2bc4", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-a13e8684eeca0d8f9518abc74335439a-7e2823dea3876c01-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-49bc-47d7-a56e-9dec492b11fd\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-49bc-47d7-a56e-9dec492b11fd\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9MY0M5eU93cVRrcVVkZUlBRUQ2b3lnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002211726f4e-2c99-4cc9-a8fb-9042a40e8909\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:53:04.5061986\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-49bc-47d7-a56e-9dec492b11fd\u0022}]", + "messageId": "21c7e7154e2946dcb745ba1bf679419e", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-dfea767c2ea8c541b7a8ee8a3ad2dc0a-a4925b5bf79b609f-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupForEveryoneTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupForEveryoneTest.json index 468d6e07e076..3b4c6fb4a6fd 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupForEveryoneTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupForEveryoneTest.json @@ -1,124 +1,124 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9hc1BLSmJMQjkwMlpzbmNsbWFsTjV3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022b033cb30-e6de-439d-8ae4-3b993e9afb56\u0022}", - "messageId": "b39d4302d0fd4faaa0ecaad058346fb5", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-e3a14e3b391ddb4b01295b8a0859048a-99516302a5e826e0-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-6707-4bf5-90e6-4d52fdec9d13\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00221c001e80-6707-4bf5-90e6-4d52fdec9d13\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9hc1BLSmJMQjkwMlpzbmNsbWFsTjV3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022b033cb30-e6de-439d-8ae4-3b993e9afb56\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-14T00:36:31.0828206\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-6707-4bf5-90e6-4d52fdec9d13\u0022}]", - "messageId": "1187bb21150d4708b4b773c99b8eecab", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-a054584e0e0708ba9715337fb838e378-290b93c98e5f93fe-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-6707-4bf5-90e6-4d52fdec9d13\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00221c001e80-6707-4bf5-90e6-4d52fdec9d13\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9hc1BLSmJMQjkwMlpzbmNsbWFsTjV3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022b033cb30-e6de-439d-8ae4-3b993e9afb56\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-14T00:36:31.0758078\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-6707-4bf5-90e6-4d52fdec9d13\u0022}]", - "messageId": "8769de7adb7848e6861091cea37cdd59", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-c098c26021ed70ca1a60cee790333f00-cba08eb54b41463e-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-80b9-48c9-9319-06acd68b7547\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00221c001e80-80b9-48c9-9319-06acd68b7547\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9hc1BLSmJMQjkwMlpzbmNsbWFsTjV3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022b033cb30-e6de-439d-8ae4-3b993e9afb56\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-14T00:36:33.6023351\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-80b9-48c9-9319-06acd68b7547\u0022}]", - "messageId": "5c58a17fc5ea4b3ab9bdfe956c3a4756", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-64b7529182cc25fb9f9edaa650d38e80-6024becb7a962f75-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-80b9-48c9-9319-06acd68b7547\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:2,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00221c001e80-80b9-48c9-9319-06acd68b7547\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9hc1BLSmJMQjkwMlpzbmNsbWFsTjV3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022b033cb30-e6de-439d-8ae4-3b993e9afb56\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-14T00:36:33.5956645\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-80b9-48c9-9319-06acd68b7547\u0022}]", - "messageId": "1d79548cc1dd4a61870af814941dba44", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-b85614b1d957e018266029bad4618a34-a14ece5ebe41a35a-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-80b9-48c9-9319-06acd68b7547\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00221c001e80-80b9-48c9-9319-06acd68b7547\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9hc1BLSmJMQjkwMlpzbmNsbWFsTjV3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022b033cb30-e6de-439d-8ae4-3b993e9afb56\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-14T00:36:33.8546407\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-80b9-48c9-9319-06acd68b7547\u0022}]", - "messageId": "71f0c8ff35cc448fac9a4bcfc1c8c45b", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-053e14ee876b2b1b1dc3d6b8b9e7f789-b471d426661fb7b8-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-80b9-48c9-9319-06acd68b7547\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00221c001e80-80b9-48c9-9319-06acd68b7547\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9hc1BLSmJMQjkwMlpzbmNsbWFsTjV3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022b033cb30-e6de-439d-8ae4-3b993e9afb56\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:36:34.2956106\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-80b9-48c9-9319-06acd68b7547\u0022}]", - "messageId": "60789635b95749c38d01307e37958f69", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-b911f81547fdcf987735e50a1e46d783-bb76fc5f9683b650-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-6707-4bf5-90e6-4d52fdec9d13\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u00221c001e80-6707-4bf5-90e6-4d52fdec9d13\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9hc1BLSmJMQjkwMlpzbmNsbWFsTjV3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022b033cb30-e6de-439d-8ae4-3b993e9afb56\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:36:34.5218976\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-6707-4bf5-90e6-4d52fdec9d13\u0022}]", - "messageId": "19275c38b6134d4ba983351c0f3fe26a", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-fc97449dfb105a4ae5fc9e61b0166280-5575b62788e07f1c-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZaTdqRzRzUy1FV2xKOFRzYjlDR29RP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022c5b022d3-42dd-45d8-8287-19f02b465237\u0022}", + "messageId": "7768bc65049e48b28bfba5d15ed86934", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-4844a7671a112b4db56e7706fed6c9ec-c03f536d445416c2-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-4417-466b-86ea-8744de35e6c3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-4417-466b-86ea-8744de35e6c3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZaTdqRzRzUy1FV2xKOFRzYjlDR29RP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022c5b022d3-42dd-45d8-8287-19f02b465237\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:51:55.4566404\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-4417-466b-86ea-8744de35e6c3\u0022}]", + "messageId": "a43193bd7bc741748a11bf64e938a0da", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-24ef5fb96840aa96173b0b21e582ffae-051e84b68cdce366-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-4417-466b-86ea-8744de35e6c3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-4417-466b-86ea-8744de35e6c3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZaTdqRzRzUy1FV2xKOFRzYjlDR29RP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022c5b022d3-42dd-45d8-8287-19f02b465237\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:51:55.464742\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-4417-466b-86ea-8744de35e6c3\u0022}]", + "messageId": "a0ed89a592364b3e9bcc41c4736e747d", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-bcf8c6dc9fcab4854bdfc47a42caaca4-156e14149a5f7559-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0a58-4285-b6b5-aa43a120d939\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:2,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-0a58-4285-b6b5-aa43a120d939\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZaTdqRzRzUy1FV2xKOFRzYjlDR29RP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022c5b022d3-42dd-45d8-8287-19f02b465237\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:51:57.4857102\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0a58-4285-b6b5-aa43a120d939\u0022}]", + "messageId": "0b64deb6a21744c6bbb363b2796a5b77", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-7998004c9051969da21418afb367b940-1aa1a411e400d0f5-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0a58-4285-b6b5-aa43a120d939\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-0a58-4285-b6b5-aa43a120d939\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZaTdqRzRzUy1FV2xKOFRzYjlDR29RP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022c5b022d3-42dd-45d8-8287-19f02b465237\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:51:57.4879215\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0a58-4285-b6b5-aa43a120d939\u0022}]", + "messageId": "f35858227a97407cbbe27b6a7e278686", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-13cdc54a646b57a547dd4b370f126be8-b5eae93a91bba510-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0a58-4285-b6b5-aa43a120d939\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-0a58-4285-b6b5-aa43a120d939\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZaTdqRzRzUy1FV2xKOFRzYjlDR29RP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022c5b022d3-42dd-45d8-8287-19f02b465237\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:51:57.6720806\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0a58-4285-b6b5-aa43a120d939\u0022}]", + "messageId": "b022bc80a5834c68850e5ee376ccd3cf", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-acce3ba92b644e5e5122b25cdbdebd26-2d68dcf49801732d-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0a58-4285-b6b5-aa43a120d939\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-0a58-4285-b6b5-aa43a120d939\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZaTdqRzRzUy1FV2xKOFRzYjlDR29RP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022c5b022d3-42dd-45d8-8287-19f02b465237\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:51:59.0180848\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0a58-4285-b6b5-aa43a120d939\u0022}]", + "messageId": "7d284eb51d5e49b2b62c38fa9b8caae2", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-4de90e5e56f994f31815c3d35265072c-e95bc606c276ad38-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-4417-466b-86ea-8744de35e6c3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-4417-466b-86ea-8744de35e6c3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZaTdqRzRzUy1FV2xKOFRzYjlDR29RP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022c5b022d3-42dd-45d8-8287-19f02b465237\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:51:59.3520294\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-4417-466b-86ea-8744de35e6c3\u0022}]", + "messageId": "45458a75bcf2419f956003ff5d7bc5a7", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-6850ef46ff187431adbfbdc613af0da2-8b00c4f6b97a604e-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupForEveryoneTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupForEveryoneTestAsync.json index d1c6b726dbfb..549b1ae1f2bc 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupForEveryoneTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupForEveryoneTestAsync.json @@ -1,124 +1,124 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DTGR1OE05NVYwNlViSFJpZHlUYXRBP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022784b4c24-6c14-45e2-b488-67c8857a38b4\u0022}", - "messageId": "b7656bcc6ba443689e7bbaa5561f93ca", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-530aa8e19d136323236f224085ff0f91-17a914be9fbf0e84-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-7764-438e-ad4b-b481a5d738a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00221c001e80-7764-438e-ad4b-b481a5d738a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DTGR1OE05NVYwNlViSFJpZHlUYXRBP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022784b4c24-6c14-45e2-b488-67c8857a38b4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-14T00:38:23.9898496\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-7764-438e-ad4b-b481a5d738a5\u0022}]", - "messageId": "694cf633e1d7412799aa7f2c6dd237aa", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-563ccfb0e34bc7532bbab10f96fce533-01cfc26f6d1f8bd3-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-7764-438e-ad4b-b481a5d738a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00221c001e80-7764-438e-ad4b-b481a5d738a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DTGR1OE05NVYwNlViSFJpZHlUYXRBP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022784b4c24-6c14-45e2-b488-67c8857a38b4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-14T00:38:24.0112429\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-7764-438e-ad4b-b481a5d738a5\u0022}]", - "messageId": "ba066f6f6652478bbfb9f409b29abaf8", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-56234cc27d804254a6c051011a8468b7-0ab8f50b5addb6fb-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-6917-4a35-be2d-45455b657ba7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:2,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00221c001e80-6917-4a35-be2d-45455b657ba7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DTGR1OE05NVYwNlViSFJpZHlUYXRBP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022784b4c24-6c14-45e2-b488-67c8857a38b4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-14T00:38:26.9131578\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-6917-4a35-be2d-45455b657ba7\u0022}]", - "messageId": "95a43e1e7e0240a98d2c68048dafd6d7", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-93d2a709896cdc09e7762693bbe9d510-b022529edff4a9e3-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-6917-4a35-be2d-45455b657ba7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00221c001e80-6917-4a35-be2d-45455b657ba7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DTGR1OE05NVYwNlViSFJpZHlUYXRBP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022784b4c24-6c14-45e2-b488-67c8857a38b4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-14T00:38:26.9182389\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-6917-4a35-be2d-45455b657ba7\u0022}]", - "messageId": "983f41fcb5ad4b9aad49f13bc559649b", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-daa429866b1905fb19fa919c1a5f0f91-01dada7cbe82cb9a-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-6917-4a35-be2d-45455b657ba7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00221c001e80-6917-4a35-be2d-45455b657ba7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DTGR1OE05NVYwNlViSFJpZHlUYXRBP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022784b4c24-6c14-45e2-b488-67c8857a38b4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-14T00:38:27.1646671\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-6917-4a35-be2d-45455b657ba7\u0022}]", - "messageId": "7c131f87892440019b241ab6eb960940", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-5483be9d7fbaaabdc42f56a01d6a6418-e77d6b2e60d617a5-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-6917-4a35-be2d-45455b657ba7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00221c001e80-6917-4a35-be2d-45455b657ba7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DTGR1OE05NVYwNlViSFJpZHlUYXRBP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022784b4c24-6c14-45e2-b488-67c8857a38b4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:38:28.7405825\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-6917-4a35-be2d-45455b657ba7\u0022}]", - "messageId": "d5f48020ef89471caf5aabd5e58cfbb2", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-0e7a8f9eae2a32ebc60e9567debd7d6b-eaf53a43e7226fd5-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-7764-438e-ad4b-b481a5d738a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u00221c001e80-7764-438e-ad4b-b481a5d738a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DTGR1OE05NVYwNlViSFJpZHlUYXRBP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022784b4c24-6c14-45e2-b488-67c8857a38b4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:38:28.8402244\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-7764-438e-ad4b-b481a5d738a5\u0022}]", - "messageId": "0ce7e9800cfb4537bf8b18310d377442", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-1bb2b349cd4879cbc0c443b24d09183a-2ba4c7d50d42d54a-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9vTUxmbDY4c2RFV3pRNHRIVHZUQkhnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022f579b984-55a7-43a3-bf0b-a774cc68c9a8\u0022}", + "messageId": "ebd7bccd15c245ad85540a73aaf7a67f", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-c57a6c02b032738c6d1461ebbf8560c8-0bb892c691a47b0f-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0b9a-4ac0-ac15-6d594fd06aed\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-0b9a-4ac0-ac15-6d594fd06aed\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9vTUxmbDY4c2RFV3pRNHRIVHZUQkhnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022f579b984-55a7-43a3-bf0b-a774cc68c9a8\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:52:37.2921226\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0b9a-4ac0-ac15-6d594fd06aed\u0022}]", + "messageId": "f95732f02c7b409d96d1d2b918e43f2e", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-bf10e8c404e67ea3a0fb53bba6a1a5dc-df2051ac134f4642-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0b9a-4ac0-ac15-6d594fd06aed\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-0b9a-4ac0-ac15-6d594fd06aed\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9vTUxmbDY4c2RFV3pRNHRIVHZUQkhnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022f579b984-55a7-43a3-bf0b-a774cc68c9a8\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:52:37.3032393\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0b9a-4ac0-ac15-6d594fd06aed\u0022}]", + "messageId": "7a68ae752d6347b0b0115dc16f4045b1", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-3eb5a5f7700bb07cb5db399c023e6dd1-dd41c1f79c5d0673-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0220-4faf-9666-1673ef911f1d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-0220-4faf-9666-1673ef911f1d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9vTUxmbDY4c2RFV3pRNHRIVHZUQkhnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022f579b984-55a7-43a3-bf0b-a774cc68c9a8\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:52:40.26524\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0220-4faf-9666-1673ef911f1d\u0022}]", + "messageId": "1b5df3b989874fb2a8310faa8e7b2158", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-6204b5b270c7e51497779c8544d775cc-258b3c73306cd4ab-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0220-4faf-9666-1673ef911f1d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:2,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-0220-4faf-9666-1673ef911f1d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9vTUxmbDY4c2RFV3pRNHRIVHZUQkhnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022f579b984-55a7-43a3-bf0b-a774cc68c9a8\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:52:40.2619616\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0220-4faf-9666-1673ef911f1d\u0022}]", + "messageId": "806ce00a131741dea62cafef0b32db8a", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-54c51d04e46473d9088a0c342d08f7b3-ea7312e58de1875a-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0220-4faf-9666-1673ef911f1d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-0220-4faf-9666-1673ef911f1d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9vTUxmbDY4c2RFV3pRNHRIVHZUQkhnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022f579b984-55a7-43a3-bf0b-a774cc68c9a8\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:52:40.4172171\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0220-4faf-9666-1673ef911f1d\u0022}]", + "messageId": "15e87c7ad6274e1488b594c0ab126cc7", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-30e7083ef2ec31d0bf0fd31389599d1a-fecf646bcb3e4d0d-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0220-4faf-9666-1673ef911f1d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-0220-4faf-9666-1673ef911f1d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9vTUxmbDY4c2RFV3pRNHRIVHZUQkhnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022f579b984-55a7-43a3-bf0b-a774cc68c9a8\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:52:41.0027421\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0220-4faf-9666-1673ef911f1d\u0022}]", + "messageId": "276c8901b15e4bab9c8693670bca1c9c", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-915f649a6d6d105f8c1e1f5c1080707a-2d9b3023602d68dd-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0b9a-4ac0-ac15-6d594fd06aed\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u002211002280-0b9a-4ac0-ac15-6d594fd06aed\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9vTUxmbDY4c2RFV3pRNHRIVHZUQkhnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022f579b984-55a7-43a3-bf0b-a774cc68c9a8\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:52:41.1111259\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0b9a-4ac0-ac15-6d594fd06aed\u0022}]", + "messageId": "328bc6f87bd7472e9312013ddcc8d503", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-d0b9637009f914bead6c4acc318dcdf1-284413f5a5b2968f-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupTest.json index 972d9099d434..c71973b007ee 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupTest.json @@ -1,124 +1,124 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9POHdtM05qWHFVdW1keHZybjF6OC1nP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022babf6b21-f270-4b7c-bbfd-d87f6976c855\u0022}", - "messageId": "abbe141ab33e4db9a3c7c3d23ac0af83", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-fc409251df79b96245ea4c514652e906-e5d21ac3bcbda9b5-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-31c5-4be9-84d9-ac129cd21d41\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00221c001e80-31c5-4be9-84d9-ac129cd21d41\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9POHdtM05qWHFVdW1keHZybjF6OC1nP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022babf6b21-f270-4b7c-bbfd-d87f6976c855\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-14T00:36:53.6101228\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-31c5-4be9-84d9-ac129cd21d41\u0022}]", - "messageId": "d523a3b7f7c74b81a8640502ca369855", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-be0fd3c5951c2b3e1e0b3fcb6cd46e4f-c85a59affad9111e-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-31c5-4be9-84d9-ac129cd21d41\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00221c001e80-31c5-4be9-84d9-ac129cd21d41\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9POHdtM05qWHFVdW1keHZybjF6OC1nP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022babf6b21-f270-4b7c-bbfd-d87f6976c855\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-14T00:36:53.5902115\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-31c5-4be9-84d9-ac129cd21d41\u0022}]", - "messageId": "47ee303a10ed49ab88e60c90d89f4cb3", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-eabcd9e1d91eae73e13f951caefa1834-29d2f75ce57abb43-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-6f1a-4359-b4f2-feddb0f3ffa3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00221c001e80-6f1a-4359-b4f2-feddb0f3ffa3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9POHdtM05qWHFVdW1keHZybjF6OC1nP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022babf6b21-f270-4b7c-bbfd-d87f6976c855\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-14T00:36:56.795004\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-6f1a-4359-b4f2-feddb0f3ffa3\u0022}]", - "messageId": "ad76aaa6fd47418da1d6d443d035a576", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-881747417336c170090d871fd8e4e339-a7217808270401ed-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-6f1a-4359-b4f2-feddb0f3ffa3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:2,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00221c001e80-6f1a-4359-b4f2-feddb0f3ffa3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9POHdtM05qWHFVdW1keHZybjF6OC1nP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022babf6b21-f270-4b7c-bbfd-d87f6976c855\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-14T00:36:56.7848317\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-6f1a-4359-b4f2-feddb0f3ffa3\u0022}]", - "messageId": "2d7316b1946d4798b6d36412c03238fe", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-8139303e6945e3993d5fc4e327a416d9-551b9eb69d500ddc-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-6f1a-4359-b4f2-feddb0f3ffa3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00221c001e80-6f1a-4359-b4f2-feddb0f3ffa3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9POHdtM05qWHFVdW1keHZybjF6OC1nP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022babf6b21-f270-4b7c-bbfd-d87f6976c855\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-14T00:36:57.0560826\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-6f1a-4359-b4f2-feddb0f3ffa3\u0022}]", - "messageId": "c6929c6b4fe8445db07add11f43395e9", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-7e425ca1caabc34f00ddb192dfbbaa84-a19f1a5d94a46112-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-6f1a-4359-b4f2-feddb0f3ffa3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00221c001e80-6f1a-4359-b4f2-feddb0f3ffa3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9POHdtM05qWHFVdW1keHZybjF6OC1nP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022babf6b21-f270-4b7c-bbfd-d87f6976c855\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:36:58.1231773\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-6f1a-4359-b4f2-feddb0f3ffa3\u0022}]", - "messageId": "cba914a660da42cfb80f03256d005215", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-2ab1c73380916ec8d0ae310fb60d0099-a0ce5f6e489f5068-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-31c5-4be9-84d9-ac129cd21d41\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5010,\u0022message\u0022:\u0022This conversation has ended as only one participant was remaining in the conversation.. DiagCode: 0#5010.@\u0022},\u0022callConnectionId\u0022:\u00221c001e80-31c5-4be9-84d9-ac129cd21d41\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9POHdtM05qWHFVdW1keHZybjF6OC1nP2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u0022babf6b21-f270-4b7c-bbfd-d87f6976c855\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:36:59.3362101\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-31c5-4be9-84d9-ac129cd21d41\u0022}]", - "messageId": "881380e86a5d4a2f9047325f0ec32421", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-55af96fd59c7c91e6d247955eacc07b7-7e83dc34dc524226-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BTEl6N3lSRXdrV0JmNGtiU2RWMGxRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00222896a87b-ee66-4d9b-9578-1a103c3b2180\u0022}", + "messageId": "52ce7d93d4124dabaa46fb9a434b86cc", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-4bb07e32677f54f42c6fe22569757198-646f9545848f3fff-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-e7a5-4bff-9b01-e9ba46864223\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-e7a5-4bff-9b01-e9ba46864223\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BTEl6N3lSRXdrV0JmNGtiU2RWMGxRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222896a87b-ee66-4d9b-9578-1a103c3b2180\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:52:07.9516129\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-e7a5-4bff-9b01-e9ba46864223\u0022}]", + "messageId": "10f9f3778e8f4e84ba7fdc0a4939a25b", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-6dbbc4deb813c3ce7fdc0386ddf9789f-6ffe9fb634d6fefa-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-e7a5-4bff-9b01-e9ba46864223\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-e7a5-4bff-9b01-e9ba46864223\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BTEl6N3lSRXdrV0JmNGtiU2RWMGxRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222896a87b-ee66-4d9b-9578-1a103c3b2180\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:52:07.9539763\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-e7a5-4bff-9b01-e9ba46864223\u0022}]", + "messageId": "b59165766323404b98b7ff3e702b44fc", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-a1385b9b0208e187cd85a21641d16a26-fc1dfcc9d80007e5-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0509-46b6-8edd-8bc6643f63b7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:2,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-0509-46b6-8edd-8bc6643f63b7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BTEl6N3lSRXdrV0JmNGtiU2RWMGxRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222896a87b-ee66-4d9b-9578-1a103c3b2180\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:52:11.5252486\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0509-46b6-8edd-8bc6643f63b7\u0022}]", + "messageId": "c198f99f913f4c9198b73c0b5790d5d8", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-d538937dc4f15ae54911219128a99faa-768319c333b49540-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0509-46b6-8edd-8bc6643f63b7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-0509-46b6-8edd-8bc6643f63b7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BTEl6N3lSRXdrV0JmNGtiU2RWMGxRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222896a87b-ee66-4d9b-9578-1a103c3b2180\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:52:11.5252486\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0509-46b6-8edd-8bc6643f63b7\u0022}]", + "messageId": "05990e32b58f42daa69eb6e2bfe8a316", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-0a5a640c5a52c7b2a19d808ccaf6c029-895146dad3d9e909-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0509-46b6-8edd-8bc6643f63b7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-0509-46b6-8edd-8bc6643f63b7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BTEl6N3lSRXdrV0JmNGtiU2RWMGxRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222896a87b-ee66-4d9b-9578-1a103c3b2180\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:52:11.6354033\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0509-46b6-8edd-8bc6643f63b7\u0022}]", + "messageId": "a816c9ec10354586bf7f892ded0d0b63", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-07dc23a91eedcd087c6691d2024ad108-d78586dcb97d6cbc-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0509-46b6-8edd-8bc6643f63b7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-0509-46b6-8edd-8bc6643f63b7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BTEl6N3lSRXdrV0JmNGtiU2RWMGxRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222896a87b-ee66-4d9b-9578-1a103c3b2180\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:52:12.2524258\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0509-46b6-8edd-8bc6643f63b7\u0022}]", + "messageId": "3432e2e9911d4306b2e56ad6a31f8cdf", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-ff5c284ef3d23422cab55edb43cf2aa7-0be65fdc9c024ccf-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-e7a5-4bff-9b01-e9ba46864223\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5010,\u0022message\u0022:\u0022This conversation has ended as only one participant was remaining in the conversation.. DiagCode: 0#5010.@\u0022},\u0022callConnectionId\u0022:\u002211002280-e7a5-4bff-9b01-e9ba46864223\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BTEl6N3lSRXdrV0JmNGtiU2RWMGxRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222896a87b-ee66-4d9b-9578-1a103c3b2180\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:52:13.4142963\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-e7a5-4bff-9b01-e9ba46864223\u0022}]", + "messageId": "abfb8c097f6b4b898ebd80a9e9e36b64", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-b6779b736dffe6bacba6d0b3a6c40c8d-258ffcf3b8ad38e0-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupTestAsync.json index 0572879658ff..ad15b58ca8c4 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallAutomationClientAutomatedLiveTests/CreateCallToAcsConnectCallAndHangupTestAsync.json @@ -1,124 +1,124 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8wZjlTSWRESVFFLVlGMEl6NFNBTHh3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00229c4e7277-4326-44fe-b0e3-bd17f3a6143a\u0022}", - "messageId": "498beaa9515243699b35b933a21322fb", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-1c7dbf2aa840e933c37e93b06573a311-7f4c1bb450cab013-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-1f03-483f-a7d0-d93b5d396b69\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00221c001e80-1f03-483f-a7d0-d93b5d396b69\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8wZjlTSWRESVFFLVlGMEl6NFNBTHh3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u00229c4e7277-4326-44fe-b0e3-bd17f3a6143a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-14T00:38:53.2144409\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-1f03-483f-a7d0-d93b5d396b69\u0022}]", - "messageId": "3e22e51093e441fe9e6400d5753be1a4", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-474e563e2244f5175d0c3fc0853ebe15-d75f6b96c5e0dda9-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-1f03-483f-a7d0-d93b5d396b69\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00221c001e80-1f03-483f-a7d0-d93b5d396b69\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8wZjlTSWRESVFFLVlGMEl6NFNBTHh3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u00229c4e7277-4326-44fe-b0e3-bd17f3a6143a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-14T00:38:53.2455804\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-1f03-483f-a7d0-d93b5d396b69\u0022}]", - "messageId": "ed7296f79c1d4cf59ab4dc0298fa2d0c", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-82b57fdfdee308e2a76d8b4ed8e28f78-f81e1ca5de0aeafd-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-5147-4dac-9bc2-2d7df6497017\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:2,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00221c001e80-5147-4dac-9bc2-2d7df6497017\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8wZjlTSWRESVFFLVlGMEl6NFNBTHh3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u00229c4e7277-4326-44fe-b0e3-bd17f3a6143a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-14T00:38:56.1638512\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-5147-4dac-9bc2-2d7df6497017\u0022}]", - "messageId": "8c9058238b5f478784ef09d6024fa035", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-6bd963f8678ffebe7f26ce5f445aa6d3-c8d8ac4a2a3c89b7-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-5147-4dac-9bc2-2d7df6497017\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00221c001e80-5147-4dac-9bc2-2d7df6497017\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8wZjlTSWRESVFFLVlGMEl6NFNBTHh3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u00229c4e7277-4326-44fe-b0e3-bd17f3a6143a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-14T00:38:56.1669206\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-5147-4dac-9bc2-2d7df6497017\u0022}]", - "messageId": "9a6251a018a54e0abdb322ba7cd44098", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-d568d3a34357019c5fc77942d5a0437c-2cca06ba721b66f9-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-5147-4dac-9bc2-2d7df6497017\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00221c001e80-5147-4dac-9bc2-2d7df6497017\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8wZjlTSWRESVFFLVlGMEl6NFNBTHh3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u00229c4e7277-4326-44fe-b0e3-bd17f3a6143a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-14T00:38:56.4141472\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-5147-4dac-9bc2-2d7df6497017\u0022}]", - "messageId": "c4d49eff1ee04cc78287daaf4ca7c63a", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-e99ba7db223c1ea9614152112544a9fc-1450acd236cf7ec6-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-5147-4dac-9bc2-2d7df6497017\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00221c001e80-5147-4dac-9bc2-2d7df6497017\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8wZjlTSWRESVFFLVlGMEl6NFNBTHh3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u00229c4e7277-4326-44fe-b0e3-bd17f3a6143a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:38:57.9786918\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-5147-4dac-9bc2-2d7df6497017\u0022}]", - "messageId": "33eb73a22b624bea83b3ff8175ded90e", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-c5951124c75dbace67077d9443d62afe-03a914f097f82f3b-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1c001e80-1f03-483f-a7d0-d93b5d396b69\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5010,\u0022message\u0022:\u0022This conversation has ended as only one participant was remaining in the conversation.. DiagCode: 0#5010.@\u0022},\u0022callConnectionId\u0022:\u00221c001e80-1f03-483f-a7d0-d93b5d396b69\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8wZjlTSWRESVFFLVlGMEl6NFNBTHh3P2k9MTAtMTI4LTE5Mi0yMCZlPTYzODY5NjM3MjgwMzI4OTY5Nw==\u0022,\u0022correlationId\u0022:\u00229c4e7277-4326-44fe-b0e3-bd17f3a6143a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:38:59.1830289\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1c001e80-1f03-483f-a7d0-d93b5d396b69\u0022}]", - "messageId": "39d1fdb440fd411cac5d1c2ad760ea96", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-5cffa9e8232b64c70418c3a0846cef63-0082447f48a556a2-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi83Ymx6UTFweHcwV3pfZ3QweVNNamtRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00228cd5261a-bb31-4503-9db5-895be2a4ca1d\u0022}", + "messageId": "20733633f9b94817b489ee645ac42649", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-33c9dd15490b19ac7faf7264aabe2bd2-b9e65adbb55ee7c6-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-2f42-435b-b4f0-83f4f856cee5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-2f42-435b-b4f0-83f4f856cee5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi83Ymx6UTFweHcwV3pfZ3QweVNNamtRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00228cd5261a-bb31-4503-9db5-895be2a4ca1d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:52:49.8464661\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-2f42-435b-b4f0-83f4f856cee5\u0022}]", + "messageId": "761068672eec41259fe713f5890c0a2f", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-a2ab9b53ae1757f1ee073684d85c99fb-3cdb120777e45609-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-2f42-435b-b4f0-83f4f856cee5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-2f42-435b-b4f0-83f4f856cee5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi83Ymx6UTFweHcwV3pfZ3QweVNNamtRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00228cd5261a-bb31-4503-9db5-895be2a4ca1d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:52:49.8615299\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-2f42-435b-b4f0-83f4f856cee5\u0022}]", + "messageId": "511f391cf4434012b145c42d786f6487", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-251e8edade13ad12d39e3a958413670b-e0a3dda2b81e6fe3-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-c56f-40e9-a605-a71ffcb27387\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:2,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-c56f-40e9-a605-a71ffcb27387\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi83Ymx6UTFweHcwV3pfZ3QweVNNamtRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00228cd5261a-bb31-4503-9db5-895be2a4ca1d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:52:52.7859057\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-c56f-40e9-a605-a71ffcb27387\u0022}]", + "messageId": "0a32e9e63f14425cbb9469355725ab2a", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-cd2c8020dc7a767231e9d69a14286ddc-5267d0c6347ce9b7-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-c56f-40e9-a605-a71ffcb27387\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-c56f-40e9-a605-a71ffcb27387\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi83Ymx6UTFweHcwV3pfZ3QweVNNamtRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00228cd5261a-bb31-4503-9db5-895be2a4ca1d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:52:52.7885553\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-c56f-40e9-a605-a71ffcb27387\u0022}]", + "messageId": "bd748332eb0f47ddb5242921c7f35e66", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-d1db24b645c406b53dcba663f629d3f5-ffe0358d61024aab-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-c56f-40e9-a605-a71ffcb27387\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-c56f-40e9-a605-a71ffcb27387\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi83Ymx6UTFweHcwV3pfZ3QweVNNamtRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00228cd5261a-bb31-4503-9db5-895be2a4ca1d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:52:53.0050925\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-c56f-40e9-a605-a71ffcb27387\u0022}]", + "messageId": "86d562dbe80045269716706bfe688acb", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-578732ead1a0883ba33f1be37ef1fe21-846ed0ae6b638b63-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-c56f-40e9-a605-a71ffcb27387\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-c56f-40e9-a605-a71ffcb27387\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi83Ymx6UTFweHcwV3pfZ3QweVNNamtRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00228cd5261a-bb31-4503-9db5-895be2a4ca1d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:52:54.3974495\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-c56f-40e9-a605-a71ffcb27387\u0022}]", + "messageId": "79adf52d7bbf4522b31b1b35244a2b34", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-2a4ad00822c1fbf4c67aa62f3dc1ba97-0690c7216ac3dffc-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-2f42-435b-b4f0-83f4f856cee5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5010,\u0022message\u0022:\u0022This conversation has ended as only one participant was remaining in the conversation.. DiagCode: 0#5010.@\u0022},\u0022callConnectionId\u0022:\u002211002280-2f42-435b-b4f0-83f4f856cee5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi83Ymx6UTFweHcwV3pfZ3QweVNNamtRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00228cd5261a-bb31-4503-9db5-895be2a4ca1d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:52:55.6025671\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-2f42-435b-b4f0-83f4f856cee5\u0022}]", + "messageId": "554254784691450994774aa652e4e8d8", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-3503995842a825d998b65a6cce1fecf4-ad6cca6050f5e0d2-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/CancelAddParticipantTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/CancelAddParticipantTest.json index 0e96f5c412e2..166761eccef4 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/CancelAddParticipantTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/CancelAddParticipantTest.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pRnl5TElXc01FbUZCRUFGOFNRcmJ3P2k9MTAtNjAtMTA0LTIwOSZlPTYzODgzNDUzNzg3NzY2Nzg5OQ==\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u002294d66c25-f229-42b5-88ea-37ec9eff8d52\u0022}", - "messageId": "35ec99338ef94439bfa8ef39d5c787f5", + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi84TzM3WTc3aUhVUzJsbDRMMzhfbURnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00229ee80bf6-9e80-455e-bcc4-7265552128bd\u0022}", + "messageId": "1961a1da414f464bada5d4a5de3d0724", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-9ae461bc8c3539ce7c5ebffb88074fdf-7a1f50c710dd193f-00" + "Diagnostic-Id": "00-87c3c44f70650f1e6fddbb462fe047d2-3f6deb34fcf6c8b6-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/3f006980-e779-4b2b-b5e4-47bfea853f81\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00223f006980-e779-4b2b-b5e4-47bfea853f81\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pRnl5TElXc01FbUZCRUFGOFNRcmJ3P2k9MTAtNjAtMTA0LTIwOSZlPTYzODgzNDUzNzg3NzY2Nzg5OQ==\u0022,\u0022correlationId\u0022:\u002294d66c25-f229-42b5-88ea-37ec9eff8d52\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T17:56:55.4991527\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/3f006980-e779-4b2b-b5e4-47bfea853f81\u0022}]", - "messageId": "954bad64a9f14912bb26074c0dd5616e", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-b0df-40fb-94cd-d9a8d7ea3675\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-b0df-40fb-94cd-d9a8d7ea3675\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi84TzM3WTc3aUhVUzJsbDRMMzhfbURnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00229ee80bf6-9e80-455e-bcc4-7265552128bd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:53:13.4874159\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-b0df-40fb-94cd-d9a8d7ea3675\u0022}]", + "messageId": "a6c21722d9194894afeb48cec97b1881", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,13 +26,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-cf4bf7a7399c5a3ba29e2a1026daaf49-215181213ff63df0-00" + "Diagnostic-Id": "00-98e079824473f45274054681889a81c3-a1ff7c662cacc3f8-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/3f006980-e779-4b2b-b5e4-47bfea853f81\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00223f006980-e779-4b2b-b5e4-47bfea853f81\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pRnl5TElXc01FbUZCRUFGOFNRcmJ3P2k9MTAtNjAtMTA0LTIwOSZlPTYzODgzNDUzNzg3NzY2Nzg5OQ==\u0022,\u0022correlationId\u0022:\u002294d66c25-f229-42b5-88ea-37ec9eff8d52\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-05-23T17:56:55.6841701\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/3f006980-e779-4b2b-b5e4-47bfea853f81\u0022}]", - "messageId": "f73301ac7f2841fdac96bdf767bc07a9", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-b0df-40fb-94cd-d9a8d7ea3675\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-b0df-40fb-94cd-d9a8d7ea3675\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi84TzM3WTc3aUhVUzJsbDRMMzhfbURnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00229ee80bf6-9e80-455e-bcc4-7265552128bd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:53:13.4850543\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-b0df-40fb-94cd-d9a8d7ea3675\u0022}]", + "messageId": "990e54ebccae43e992145c6fca597673", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -41,13 +41,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-4babe35e36480d6576fbd68338d65d37-7915e3a8316c125b-00" + "Diagnostic-Id": "00-9a47bb691cb2a73a81b6a8d57faa5796-f7f995f009c55a97-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/3f006980-e779-4b2b-b5e4-47bfea853f81\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00223f006980-e779-4b2b-b5e4-47bfea853f81\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pRnl5TElXc01FbUZCRUFGOFNRcmJ3P2k9MTAtNjAtMTA0LTIwOSZlPTYzODgzNDUzNzg3NzY2Nzg5OQ==\u0022,\u0022correlationId\u0022:\u002294d66c25-f229-42b5-88ea-37ec9eff8d52\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T17:56:57.0467911\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/3f006980-e779-4b2b-b5e4-47bfea853f81\u0022}]", - "messageId": "e21786d28a024d42b33f95acf1af0389", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-b0df-40fb-94cd-d9a8d7ea3675\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-b0df-40fb-94cd-d9a8d7ea3675\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi84TzM3WTc3aUhVUzJsbDRMMzhfbURnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00229ee80bf6-9e80-455e-bcc4-7265552128bd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:53:16.5930771\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-b0df-40fb-94cd-d9a8d7ea3675\u0022}]", + "messageId": "60da70aa819a44f1a307407ad17fe8a2", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -56,13 +56,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-19b29e873b02ef4a23560dacf74acd52-304a391ccc6f8145-00" + "Diagnostic-Id": "00-10d58102ea7ad8a60ce8a1910b1c9f58-d66185d2f22a4718-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/3f006980-e779-4b2b-b5e4-47bfea853f81\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CancelAddParticipantSucceeded\u0022,\u0022data\u0022:{\u0022invitationId\u0022:\u002266b46615-9b7b-42a1-a09d-1fc680e885ca\u0022,\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5300,\u0022message\u0022:\u0022addParticipants failed for participant 8:acs:6d889502-3d7a-41a8-befa-d21fd80e8767_00000027-9e2c-0a66-7bfa-553a0d0072bc. Underlying reason: The conversation has ended. DiagCode: 0#5300.@\u0022},\u0022callConnectionId\u0022:\u00223f006980-e779-4b2b-b5e4-47bfea853f81\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pRnl5TElXc01FbUZCRUFGOFNRcmJ3P2k9MTAtNjAtMTA0LTIwOSZlPTYzODgzNDUzNzg3NzY2Nzg5OQ==\u0022,\u0022correlationId\u0022:\u002294d66c25-f229-42b5-88ea-37ec9eff8d52\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CancelAddParticipantSucceeded\u0022},\u0022time\u0022:\u00222025-05-23T17:56:59.1551948\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/3f006980-e779-4b2b-b5e4-47bfea853f81\u0022}]", - "messageId": "be48cec79761437893b3fc909db2b664", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-b0df-40fb-94cd-d9a8d7ea3675\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CancelAddParticipantSucceeded\u0022,\u0022data\u0022:{\u0022invitationId\u0022:\u002203d83162-32ac-40d0-9772-95c1bbcf83db\u0022,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:487,\u0022subCode\u0022:5234,\u0022message\u0022:\u0022addParticipants failed for participant 8:acs:6d889502-3d7a-41a8-befa-d21fd80e8767_00000025-a68c-1740-48d8-363a0d0041f2. Underlying reason: The Call Has Been Cancelled. DiagCode: 487#5234.@\u0022},\u0022callConnectionId\u0022:\u002211002280-b0df-40fb-94cd-d9a8d7ea3675\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi84TzM3WTc3aUhVUzJsbDRMMzhfbURnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00229ee80bf6-9e80-455e-bcc4-7265552128bd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CancelAddParticipantSucceeded\u0022},\u0022time\u0022:\u00222025-02-14T22:53:18.1933911\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-b0df-40fb-94cd-d9a8d7ea3675\u0022}]", + "messageId": "e612894b6f9d4cecbef16f5eafa54916", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -71,7 +71,7 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-0d92cea3ffd5e793be3312db37ed2030-0238ce5db2c77909-00" + "Diagnostic-Id": "00-3746f3414b843cf315428bbb2afc38d5-8ea139dcec0828d2-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/CancelAddParticipantTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/CancelAddParticipantTestAsync.json index b45803e9c316..2bccca79928f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/CancelAddParticipantTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/CancelAddParticipantTestAsync.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pVmxGXzN0emlrU3JMcUQ3aXJ2ckh3P2k9MTAtNjAtMTA0LTIwOSZlPTYzODgzNDUzNzg3NzY2Nzg5OQ==\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u002236a05742-75ec-47fa-88d0-12e687ad0c49\u0022}", - "messageId": "b4f7105db1034bc49ded1baa2b74549c", + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Ob3BWLVVkbmcwdUpHVUhueTNpMmpRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022e44cbfc1-7ff4-4812-b196-3a4f276a9cdd\u0022}", + "messageId": "1bc68f873dcc41a6b15ddb7547e60422", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-031fed382a00ab40374444d0e97d065a-d541cc4662f237c9-00" + "Diagnostic-Id": "00-f6351586d1e0183e512b85327b93e02b-55ccd37b13d1c680-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/3f006980-f284-4ede-be50-23808fb4a561\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00223f006980-f284-4ede-be50-23808fb4a561\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pVmxGXzN0emlrU3JMcUQ3aXJ2ckh3P2k9MTAtNjAtMTA0LTIwOSZlPTYzODgzNDUzNzg3NzY2Nzg5OQ==\u0022,\u0022correlationId\u0022:\u002236a05742-75ec-47fa-88d0-12e687ad0c49\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T17:57:06.3721033\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/3f006980-f284-4ede-be50-23808fb4a561\u0022}]", - "messageId": "0a42dd270bcd4728b6124ee94c16e3ff", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-3fe7-4319-b81b-62bed02fe5fd\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-3fe7-4319-b81b-62bed02fe5fd\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Ob3BWLVVkbmcwdUpHVUhueTNpMmpRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022e44cbfc1-7ff4-4812-b196-3a4f276a9cdd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:53:35.9612411\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-3fe7-4319-b81b-62bed02fe5fd\u0022}]", + "messageId": "e6b14e7290034804bc09163d835c2210", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,13 +26,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-aef12cb2330cf23a1f1fbe984a678088-d4d7ed5ad1b862c5-00" + "Diagnostic-Id": "00-74ca0dd21bd724dc9ee9cb659bd41bb8-22f9128868db5bc5-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/3f006980-f284-4ede-be50-23808fb4a561\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00223f006980-f284-4ede-be50-23808fb4a561\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pVmxGXzN0emlrU3JMcUQ3aXJ2ckh3P2k9MTAtNjAtMTA0LTIwOSZlPTYzODgzNDUzNzg3NzY2Nzg5OQ==\u0022,\u0022correlationId\u0022:\u002236a05742-75ec-47fa-88d0-12e687ad0c49\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-05-23T17:57:06.4886992\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/3f006980-f284-4ede-be50-23808fb4a561\u0022}]", - "messageId": "e7550bbfa19b4e66b4010b0832930af3", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-3fe7-4319-b81b-62bed02fe5fd\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-3fe7-4319-b81b-62bed02fe5fd\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Ob3BWLVVkbmcwdUpHVUhueTNpMmpRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022e44cbfc1-7ff4-4812-b196-3a4f276a9cdd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:53:35.9641275\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-3fe7-4319-b81b-62bed02fe5fd\u0022}]", + "messageId": "999ee2e1bda24aa48805908433360029", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -41,13 +41,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-9a516969f20ba60ec27f7dfa60f9c0c7-983d4181293b7cd7-00" + "Diagnostic-Id": "00-a1108b35df90eb740537b753c3c0caa5-72e95c6b1d0a6afe-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/3f006980-f284-4ede-be50-23808fb4a561\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00223f006980-f284-4ede-be50-23808fb4a561\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pVmxGXzN0emlrU3JMcUQ3aXJ2ckh3P2k9MTAtNjAtMTA0LTIwOSZlPTYzODgzNDUzNzg3NzY2Nzg5OQ==\u0022,\u0022correlationId\u0022:\u002236a05742-75ec-47fa-88d0-12e687ad0c49\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T17:57:08.4809573\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/3f006980-f284-4ede-be50-23808fb4a561\u0022}]", - "messageId": "4a8618d128c140cb9617fcc56b78ec51", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-3fe7-4319-b81b-62bed02fe5fd\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-3fe7-4319-b81b-62bed02fe5fd\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Ob3BWLVVkbmcwdUpHVUhueTNpMmpRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022e44cbfc1-7ff4-4812-b196-3a4f276a9cdd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:53:38.2569815\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-3fe7-4319-b81b-62bed02fe5fd\u0022}]", + "messageId": "fb441f8bf2084ddabca4014591ea2a33", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -56,13 +56,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-663f7c5befd5b12e2bf054de9f1ac21b-238f90b20a8a612b-00" + "Diagnostic-Id": "00-f8ea75d7ab47b93902cefa907078612c-cb1673cea17eb52d-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/3f006980-f284-4ede-be50-23808fb4a561\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CancelAddParticipantSucceeded\u0022,\u0022data\u0022:{\u0022invitationId\u0022:\u00227f831754-804e-49cd-b37b-92592baeadf1\u0022,\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5300,\u0022message\u0022:\u0022addParticipants failed for participant 8:acs:6d889502-3d7a-41a8-befa-d21fd80e8767_00000027-9e2c-3a63-7bfa-553a0d0072c7. Underlying reason: The conversation has ended. DiagCode: 0#5300.@\u0022},\u0022callConnectionId\u0022:\u00223f006980-f284-4ede-be50-23808fb4a561\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pVmxGXzN0emlrU3JMcUQ3aXJ2ckh3P2k9MTAtNjAtMTA0LTIwOSZlPTYzODgzNDUzNzg3NzY2Nzg5OQ==\u0022,\u0022correlationId\u0022:\u002236a05742-75ec-47fa-88d0-12e687ad0c49\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CancelAddParticipantSucceeded\u0022},\u0022time\u0022:\u00222025-05-23T17:57:10.2597757\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/3f006980-f284-4ede-be50-23808fb4a561\u0022}]", - "messageId": "fa6535d0d5aa4640ad2f7d49d0a21d6f", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-3fe7-4319-b81b-62bed02fe5fd\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CancelAddParticipantSucceeded\u0022,\u0022data\u0022:{\u0022invitationId\u0022:\u0022a55caada-a0ef-4233-9369-9aabfe581f77\u0022,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5300,\u0022message\u0022:\u0022addParticipants failed for participant 8:acs:6d889502-3d7a-41a8-befa-d21fd80e8767_00000025-a68c-711f-48d8-363a0d0041fe. Underlying reason: The conversation has ended. DiagCode: 0#5300.@\u0022},\u0022callConnectionId\u0022:\u002211002280-3fe7-4319-b81b-62bed02fe5fd\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Ob3BWLVVkbmcwdUpHVUhueTNpMmpRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022e44cbfc1-7ff4-4812-b196-3a4f276a9cdd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CancelAddParticipantSucceeded\u0022},\u0022time\u0022:\u00222025-02-14T22:53:39.9742603\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-3fe7-4319-b81b-62bed02fe5fd\u0022}]", + "messageId": "45a93c7fd37b4dde9be7a2e9da3fcf11", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -71,7 +71,7 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-26f9afab6d1bcadde0893907c570efcc-4635d147661d45a5-00" + "Diagnostic-Id": "00-473fa1ddd181e700429dd86e5ff1c610-8342a2dc2a269260-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/RemoveAUserCallTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/RemoveAUserCallTest.json index 2a75e705d423..608beec2aedb 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/RemoveAUserCallTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/RemoveAUserCallTest.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9tR1R5U2NoeHprcXd3MmU5UFRJcVZnP2k9MTAtNjAtMTQtMjEwJmU9NjM4ODM1NDI3OTY1NTM2OTQw\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00227e986c47-ad00-4129-a8a2-244a413bee20\u0022}", - "messageId": "b33ae1dbc90d4618a534c6b2bd4c1648", + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9sR0tmNkxIOTFrYVZqVDF3U3d4cUNBP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00227e9a8351-626f-43b2-a0b0-19a79e75cff5\u0022}", + "messageId": "1d98474d871349bda24f256210bec27b", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-3ad1cae60d75ea2dd4b5d90c28363961-d7dc23ac02c0b376-00" + "Diagnostic-Id": "00-1c906a871ed60aaa60ba14ee696b335c-2804713fbbf84a35-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/30006680-1e96-4fba-a24c-548c02981521\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002230006680-1e96-4fba-a24c-548c02981521\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9tR1R5U2NoeHprcXd3MmU5UFRJcVZnP2k9MTAtNjAtMTQtMjEwJmU9NjM4ODM1NDI3OTY1NTM2OTQw\u0022,\u0022correlationId\u0022:\u00227e986c47-ad00-4129-a8a2-244a413bee20\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T18:01:53.7846864\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/30006680-1e96-4fba-a24c-548c02981521\u0022}]", - "messageId": "3700f605f35443a99502420b07904f1c", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-04ca-49f6-a499-2f1a0685927d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-04ca-49f6-a499-2f1a0685927d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9sR0tmNkxIOTFrYVZqVDF3U3d4cUNBP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00227e9a8351-626f-43b2-a0b0-19a79e75cff5\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:53:26.5280149\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-04ca-49f6-a499-2f1a0685927d\u0022}]", + "messageId": "669773abf3674ae2a766a689b27b2589", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,13 +26,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-00a3b355430ac12be5871c8a07ba9803-7c6633de530411f8-00" + "Diagnostic-Id": "00-bcecf75271728bd0b9e1f963fb91daae-e2e792b586771356-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/30006680-1e96-4fba-a24c-548c02981521\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002230006680-1e96-4fba-a24c-548c02981521\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9tR1R5U2NoeHprcXd3MmU5UFRJcVZnP2k9MTAtNjAtMTQtMjEwJmU9NjM4ODM1NDI3OTY1NTM2OTQw\u0022,\u0022correlationId\u0022:\u00227e986c47-ad00-4129-a8a2-244a413bee20\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-05-23T18:01:53.8920428\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/30006680-1e96-4fba-a24c-548c02981521\u0022}]", - "messageId": "8ab81d0807c0431ab72bb0eb5d41dc75", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-04ca-49f6-a499-2f1a0685927d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-04ca-49f6-a499-2f1a0685927d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9sR0tmNkxIOTFrYVZqVDF3U3d4cUNBP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00227e9a8351-626f-43b2-a0b0-19a79e75cff5\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:53:26.5263045\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-04ca-49f6-a499-2f1a0685927d\u0022}]", + "messageId": "a82fd422874b48b792750c250dcdabf6", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -41,13 +41,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-f220a9b1919dcde30bbfb26272527772-a51f5eb7f27d04f5-00" + "Diagnostic-Id": "00-8324e41cda41a8df8fd31b8b2badb358-fa6c09987b908223-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/30006680-1e96-4fba-a24c-548c02981521\u0022,\u0022type\u0022:\u0022Microsoft.Communication.RemoveParticipantSucceeded\u0022,\u0022data\u0022:{\u0022participant\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022MyTestOperationcontext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002230006680-1e96-4fba-a24c-548c02981521\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9tR1R5U2NoeHprcXd3MmU5UFRJcVZnP2k9MTAtNjAtMTQtMjEwJmU9NjM4ODM1NDI3OTY1NTM2OTQw\u0022,\u0022correlationId\u0022:\u00227e986c47-ad00-4129-a8a2-244a413bee20\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.RemoveParticipantSucceeded\u0022},\u0022time\u0022:\u00222025-05-23T18:01:54.6287355\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/30006680-1e96-4fba-a24c-548c02981521\u0022}]", - "messageId": "f7c491a2cb024e26816cec2674a0d71c", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-04ca-49f6-a499-2f1a0685927d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.RemoveParticipantSucceeded\u0022,\u0022data\u0022:{\u0022operationContext\u0022:\u0022MyTestOperationcontext\u0022,\u0022participant\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-04ca-49f6-a499-2f1a0685927d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9sR0tmNkxIOTFrYVZqVDF3U3d4cUNBP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00227e9a8351-626f-43b2-a0b0-19a79e75cff5\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.RemoveParticipantSucceeded\u0022},\u0022time\u0022:\u00222025-02-14T22:53:28.171033\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-04ca-49f6-a499-2f1a0685927d\u0022}]", + "messageId": "9219329c2ab44a1db0b214b34c0a413f", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -56,13 +56,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-3bd54dc6d1ab51dbd111934031d52f91-0d91b8db3ffba287-00" + "Diagnostic-Id": "00-7d04f22f838c0c0e90b7d805a510ed79-11882872eb9ca7e8-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/30006680-1e96-4fba-a24c-548c02981521\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5300,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#5300.@\u0022},\u0022callConnectionId\u0022:\u002230006680-1e96-4fba-a24c-548c02981521\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9tR1R5U2NoeHprcXd3MmU5UFRJcVZnP2k9MTAtNjAtMTQtMjEwJmU9NjM4ODM1NDI3OTY1NTM2OTQw\u0022,\u0022correlationId\u0022:\u00227e986c47-ad00-4129-a8a2-244a413bee20\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-05-23T18:01:54.6917149\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/30006680-1e96-4fba-a24c-548c02981521\u0022}]", - "messageId": "4267fab944914d3cb777cbd27555454c", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-04ca-49f6-a499-2f1a0685927d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5300,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#5300.@\u0022},\u0022callConnectionId\u0022:\u002211002280-04ca-49f6-a499-2f1a0685927d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9sR0tmNkxIOTFrYVZqVDF3U3d4cUNBP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00227e9a8351-626f-43b2-a0b0-19a79e75cff5\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:53:28.2629419\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-04ca-49f6-a499-2f1a0685927d\u0022}]", + "messageId": "028f9e334f454f489668e0c5224e6dcb", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -71,7 +71,7 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-e6f539060247527e34d41bbe66dc8072-6b8f65c0de965347-00" + "Diagnostic-Id": "00-b53fd9ab982afb9f5c09fbd6e0e52ec5-401b354e89292d1d-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/RemoveAUserCallTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/RemoveAUserCallTestAsync.json index f18486ec3696..5b51d53aeb99 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/RemoveAUserCallTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallConnectionAutomatedLiveTests/RemoveAUserCallTestAsync.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XcXNjUlpyT0hVR1hoaklETFI2MGtnP2k9MTAtNjAtMTQtMjEwJmU9NjM4ODM1NDI3OTY1NTM2OTQw\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u002262e5e9f2-3e34-4fe5-bffd-b2be1f25ef3e\u0022}", - "messageId": "d7a54b717552464284ab6359a370d360", + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi94TUxsYnc1YW8wU1pSU3lsSWxMTWFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022cf711b1b-ece7-4eab-ad35-f2c0b24daf4b\u0022}", + "messageId": "1fbfd916543b4283a3b700ab2f0ef1d1", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-7a621bac892be6f4888e5b1a431b8f4e-4388bc54ff74ba63-00" + "Diagnostic-Id": "00-32490476c69730adf0b592d8580da9b8-691532d0bda72c00-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/30006680-1153-4919-ad8a-63d7e5389db3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002230006680-1153-4919-ad8a-63d7e5389db3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XcXNjUlpyT0hVR1hoaklETFI2MGtnP2k9MTAtNjAtMTQtMjEwJmU9NjM4ODM1NDI3OTY1NTM2OTQw\u0022,\u0022correlationId\u0022:\u002262e5e9f2-3e34-4fe5-bffd-b2be1f25ef3e\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T18:02:02.7912285\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/30006680-1153-4919-ad8a-63d7e5389db3\u0022}]", - "messageId": "4fe6712bece34b02a13a77c8b057c701", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-5240-4b80-9eb8-d94958b3a39b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-5240-4b80-9eb8-d94958b3a39b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi94TUxsYnc1YW8wU1pSU3lsSWxMTWFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022cf711b1b-ece7-4eab-ad35-f2c0b24daf4b\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:53:47.7917606\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-5240-4b80-9eb8-d94958b3a39b\u0022}]", + "messageId": "e16bc6b674894e2b9f96f2ea81bc8f9c", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,13 +26,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-992e57726d92fadfe2f2a9a76fb30fa4-45ee83e9de618174-00" + "Diagnostic-Id": "00-c1bc89ddfe919860c12158f48de47205-c64f267d3c4efd2b-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/30006680-1153-4919-ad8a-63d7e5389db3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002230006680-1153-4919-ad8a-63d7e5389db3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XcXNjUlpyT0hVR1hoaklETFI2MGtnP2k9MTAtNjAtMTQtMjEwJmU9NjM4ODM1NDI3OTY1NTM2OTQw\u0022,\u0022correlationId\u0022:\u002262e5e9f2-3e34-4fe5-bffd-b2be1f25ef3e\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-05-23T18:02:02.9491341\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/30006680-1153-4919-ad8a-63d7e5389db3\u0022}]", - "messageId": "da989a1dd6ab47c48d03e2b32b38fde9", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-5240-4b80-9eb8-d94958b3a39b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-5240-4b80-9eb8-d94958b3a39b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi94TUxsYnc1YW8wU1pSU3lsSWxMTWFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022cf711b1b-ece7-4eab-ad35-f2c0b24daf4b\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:53:47.8335584\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-5240-4b80-9eb8-d94958b3a39b\u0022}]", + "messageId": "b372f07ad1a4469c89c5969f2190506a", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -41,13 +41,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-ec974acde14f9ccea83412306333ec61-834be61af6c33d4f-00" + "Diagnostic-Id": "00-1b238229e0e86dac440e5e297c6b45bf-214419f0687ede8b-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/30006680-1153-4919-ad8a-63d7e5389db3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.RemoveParticipantSucceeded\u0022,\u0022data\u0022:{\u0022participant\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022MyTestOperationcontext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002230006680-1153-4919-ad8a-63d7e5389db3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XcXNjUlpyT0hVR1hoaklETFI2MGtnP2k9MTAtNjAtMTQtMjEwJmU9NjM4ODM1NDI3OTY1NTM2OTQw\u0022,\u0022correlationId\u0022:\u002262e5e9f2-3e34-4fe5-bffd-b2be1f25ef3e\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.RemoveParticipantSucceeded\u0022},\u0022time\u0022:\u00222025-05-23T18:02:03.6918661\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/30006680-1153-4919-ad8a-63d7e5389db3\u0022}]", - "messageId": "34d064f688f248b892b6198be56cec36", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-5240-4b80-9eb8-d94958b3a39b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.RemoveParticipantSucceeded\u0022,\u0022data\u0022:{\u0022operationContext\u0022:\u0022MyTestOperationcontext\u0022,\u0022participant\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-5240-4b80-9eb8-d94958b3a39b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi94TUxsYnc1YW8wU1pSU3lsSWxMTWFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022cf711b1b-ece7-4eab-ad35-f2c0b24daf4b\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.RemoveParticipantSucceeded\u0022},\u0022time\u0022:\u00222025-02-14T22:53:49.3028378\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-5240-4b80-9eb8-d94958b3a39b\u0022}]", + "messageId": "e2f7017e7dff48e7887c79b11f82c17a", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -56,13 +56,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-29941384c096e19bce9b32c45ab5902f-293a2fbeaa2c5a89-00" + "Diagnostic-Id": "00-c8bed482cfa840986c3dc264c627eb09-9b3eb2b8cdbcf1d7-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/30006680-1153-4919-ad8a-63d7e5389db3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5002,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#5002.@\u0022},\u0022callConnectionId\u0022:\u002230006680-1153-4919-ad8a-63d7e5389db3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XcXNjUlpyT0hVR1hoaklETFI2MGtnP2k9MTAtNjAtMTQtMjEwJmU9NjM4ODM1NDI3OTY1NTM2OTQw\u0022,\u0022correlationId\u0022:\u002262e5e9f2-3e34-4fe5-bffd-b2be1f25ef3e\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-05-23T18:02:03.6918661\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/30006680-1153-4919-ad8a-63d7e5389db3\u0022}]", - "messageId": "38dcbd6041424d90ab168abb03e9ca68", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-5240-4b80-9eb8-d94958b3a39b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5300,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#5300.@\u0022},\u0022callConnectionId\u0022:\u002211002280-5240-4b80-9eb8-d94958b3a39b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi94TUxsYnc1YW8wU1pSU3lsSWxMTWFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022cf711b1b-ece7-4eab-ad35-f2c0b24daf4b\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:53:49.4025464\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-5240-4b80-9eb8-d94958b3a39b\u0022}]", + "messageId": "50ed16bc69674e40a2678b302ce1103b", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -71,7 +71,7 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-6428ddd1c3655194997367f4bff0a839-9d4715e5d4fcbe1e-00" + "Diagnostic-Id": "00-8208c985fdee9d6f7f746c817c0cbd0b-1f241cfd9fbb59fa-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DialogOperationsTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DialogOperationsTest.json index 9307196a2cc0..9bb3337d83c0 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DialogOperationsTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DialogOperationsTest.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-c01f-40d0-bb91-2d15d90eea4f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-c01f-40d0-bb91-2d15d90eea4f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Xc1hkR3puZEhFR1JGdTJ2Q0VWcVB3P2k9MTAtNjAtMjgtMjQ4JmU9NjM4NjcyMTYxMDk2NjU1NjY5\u0022,\u0022correlationId\u0022:\u00224699a9ac-abfa-4a49-a32d-7e2e52525773\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-04T19:18:15.7799303\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-c01f-40d0-bb91-2d15d90eea4f\u0022}]", - "messageId": "0e40c1ef6f7f4888b097985a8c2fc8d9", + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAyLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvdzVlM0JERHdZMDZPcmZpcVpacmwxZz9pPTEwLTYwLTE3LTEwNSZlPTYzODU4NTczMjUyODY2Mjg4NA==\u0022,\u0022callerDisplayName\u0022:\u0022\u0022,\u0022incomingCallContext\u0022:\u0022eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjYyI6Ikg0c0lBQUFBQUFBQUNzMVgrMi9iT0JMK1Z3UWZjRC9zbGhaSnZRa1lDOGR4TnNZMmo0MlR2czUzQVVWU01tdFpVaWs1ZHJiYi8vMkdmdFdwZ3paM3VBUFdSUjJUSEg3ejRIRDR6ZWVPNEVWeFdiVTYwNEszdWlvNzdITW5NOVhjL3RXeXd6bysrNW5FdmgrRmZrS2pzUE9xSTNWVEYvenhrczlWaDVXTG9ualZVYVdzSzEyMkk3dEJxVVJoSE1Zb2kxT0ovRlI2S1BVd1IzSEtsY2hDNFhHY0FVekJ5M3pCYzJYM2JGQnFibG90ZE0xM1FHRVFaRkhrSVNIREZQbFpHcUZFVW9JQ1Awc2kzeWNxVmpFQVRiV1VDdXpPZU5Fb1FERlZyVXo3ZU1MekRmQ1hWNTIyMnJzVE15NGFSbExKT1UwVGxBUTRRbjdnVTVTbW9ZOTRsRklxTU9heDlPL3g5b09lK2RwOVhoQ1BGOEw4T0I0VUxQUURMMEJlbGdya1l5SlI3SWtBaVN5bUlVOENFWWJxT0I1R05kWENpRFZ1NXlWK2Q1NlBZYUhMV1dQRHlOdVdpeW1BVGR1MmJwanI4bHAzczBMbjB4YjJyUjY3emV5eFZsMVJ6ZTJLKzBCZFVidENvRVdqT0VYWVJ5QWxFWjgxWFNFT1pJVndINGliVldhbXBKdUZBZmVJNEVpRk1vRWNpbUFEOTBPRVBjRmxqSk1zVlpsTEkxY1QxL01UZDJQU0w3cEhNQW94b2o0aWlVM1Z1WkthOTh0bXFRellLd1FZTytjYi8zS0lTL09YY21KbjFMRWJSbjFVb3YxTEdic3g2ZGpVaGF4dkRTK2J1akxXWUJpQ3VRSHRFa0s3WHRLbGxIbCtGTHVkTDl2REdWUmxxMG9RL2R3Um01KzNZQjdzNUhWZGJFdVMyOGdhbGJsQXVCdUFpclNvVWhCNDZPR0ptWlJWRHpra0NYemlPZGdaWFRxamE5OGhOT3BpK0Vlc1FOTnJJS2dBWXdlaXR4V2h1RXN4N1NhK3RjeXVwTDNCTFNQYjYyZ24yaDUyMWovbVBiNlF1bklDRWxQczNOeGV1LzAzMXc3Qk1mejNuUVMrUFljUTRwQVlMSWlkSklJWkdObEpFS0g0KzNwNXo3U2lScWJSZjZpRGNaYXluNXdWbW9QcFVCTWNpSWJUUUZWaHNwazZSb2tIKzJNanZrS056a3NPMXpQLzNxNjk4TG9Zb0tZMWlzKzFaT1NyVW1ZOTNJNDF5Q3d5dzNQVzNKNjgvVHBYTHlYN2NDZjlaVWsrK1JlL2svZVh3MWwwZFJyTTVzM3RnZm56eFdvekVyeVVXdkpXTVFpSmMzZDY3VkRpNFFpSHZrZWVCbU1iMy9ZUmJEWlpzWElNbDlKQUxPRWdBd0taZ3gxanMyb2pkNHhPRDlDREJFSi9qRTVlaUU2K1JhZGd1M1dMaXhZMFVFaVRFRWZmYXZBVEV0QVhhRmpMSFd1Zy94Y05CVTlWd2VaY2wyaWR4WnZaZzROZm9YU3BlSkZYUnJmVE9UT1FPNjJlODdZeVRyb1VUczNGVExVMTE4WlpxaFRPZG11NGVhemJDcUxlSDQ3dkJ4ZjNoTWIzNXhmOXdmMzR2RS91WSt6b0VoSlNzVktPZjUyZXV4Y0xKUithZ1RFWHFhNzdiOTRPM2w2VzQ5bE44bzZYNzFMM3F1Qi8wbjk1NUUreU0yb0xUMzhFUDd6NVBSeVg3NFplZGg0K1pQeDlqS2Vyay9qbitPT1FCQjlYMSs5MGVqcDZQZjZqWE1QdjByT2U4eHB1ZXV5TSs3ZWpTOWVQdHhmK1lNMTN4cVBYdjdray9IWXBjWDZOS0hXZjJlSnR0aHl2UUdVWWoyNkdsNGRvMmJ6ZHJLUzZOWEQ4dldOTmtNQ2dLamtBM0d5S0hWNldhcFgyeXVxSlBIYXVCeGQzeC9wak85OC9ub2N5ZFRNOGZjNFRTSFZWcUhwYWxRcXBCNmpJUnphQUNFWWtmTHJQY3dhWHo3a2YyL2xuL0lOc0hUeUpmZzE1QnhkaHB3bnFtVEsxQVJiRm1pbEhOQWlkTTUvNXA2enZNUnF6NFlERm1BVkRGaFBXUDJVbkFldUhMQ0lzUEdGSndyd1RSZ2NzREZoSVdIVEd6a0Q0aEVVREZweXlhTWpDUHV0ajF1K0RKK3lzendZQjh3UG1iUldyVmJ1Mno3R1BMWnZBWjdsY2RqZkozNjFNUHBtb0ZaQWpzTFZzbThrRTNFRlRhV0RYWk1MVEJ0bDZpNnduVDlDOHIyajc5L2M3UUJsdjJ2c1Vpc05TeTNaNm55a2xVN2lJZjN0UThFNVU1YjMzQkR4NGFxcFdiYll4Vk12SlJCcWV0V2hhRlhObGtKbkRpNHJhM1FPTkFGNGhJQW9BcEVxTDNDQzhyd3ROWXdRQzBSeXFxK1dyOXN1dTdYalZhNVd2T1dXUzBNd0hubzU0RmdPbkJLcGc2V1NFNG9BcWxVVXk5SVNBUGFxQlZtUDlubDhKc1RCd3NQbWVvNVpxZVpWbGxxUnRKNkFhNWJxMFZRZ1V6TVVKVFMxakFEYnhtM3EwWEdIN3BLOUhuWXQwMnA2OWVUMmE2VnVwM3B0aHVNeWo2YkxYQTZYQW42RjhyWW52M2ZtbGl6OEpjbVUrWHM4K1pieE1lUjlrQUhhcUcxRDBPQ296YUJQKzhSbm9Wc3ROcm5aTVJNdTcydGJvczhxTWdlUGZydGM2ZXh1TDdjUzJVd3BENnBHQTBQQklZcmh0Q3Jhd1VtVjhVVmlnN0FuSy83NUJ5VjVndzk1VW14dHdFamJ3YStML1Qwcy9wUWJPWVkvdWV0TVlhTFh1QkhSenMxM3FGMFcxVkpBTnJWbW9MeEJUSUhNMldkZm5QU29mZEx0dkxnOVhMUHN6VlZHczZmbC9SRzRCWkVkdjZRRzloZWxEZ2d0RGR4a283K1QwZFBrZWgxY20wNTgrZkRBRnlmZk1sVVNRMk1IZlZTLzA0aUFPSW84RzFCNWlITnRHU0RjWEVCOTlEWjNZNHo0NWRYTmlLaTRGWE5MdEhEZ3NWYnJJRDlrczlOV2JMbGFHbU5EQVI1RWtDazRTQzhRSkRMa0lFcHBFSGpSckVXaUN5QXFiMUdVK2dKMWZBek1xbTVhWHdwN1dMa0EvWnZhMnhhbXNKWm9YRnU2d3dSK3ZEZHcxeS85Tml3bmU1cVphMUd0dlZ3QzJUcFIvQTdvTGp2RkxFQUFBIiwic2hyVG9rZW4iOiJleUpoYkdjaU9pSlNVekkxTmlJc0luUjVjQ0k2SW5CdmNDSjkuZXlKaGRDSTZJbVY1U2pCbFdFRnBUMmxLUzFZeFVXbE1RMHBvWWtkamFVOXBTbE5WZWtreFRtbEpjMGx1WnpGa1EwazJTV3QwVWsxdVVrSlpNMHBHVGpKNFExbFdXbGRTTUVwMFdYcFdSMkl5U201YVJYQjJUa05KYzBsdGRIQmFRMGsyU1d0MFVrMXVVa0paTTBwR1RqSjRRMWxXV2xkU01FcDBXWHBXUjJJeVNtNWFSWEIyVGtOS09TNWxlVXBvWkZkUmFVOXBTbWxPUkZac1RVUnJkMWxUTVd0WlYwcHRURlJSZUU1RVZYUlpWRUV5VDBNd2QwOUhSVFJOYW14cFRYcENiRTlIVVdsTVEwcHdZek5OYVU5cFNtOWtTRkozWTNwdmRrd3pUakJqZVRVellWYzFhMkl6WkhwTWJUVnNaRU01YWxwSFRURlpWMVpzV1ZNd2VFNVhUVEZNVkZKcldXcFpkRmxxUVROUFV6RnRXVEpHYTFwRVNURk5SRlpyV1hwSmRrbHBkMmxoVjBZd1NXcHZlRTU2U1hwT1ZGa3dUMFJGTVV4RFNuVlpiVmxwVDJwRk0wMXFUVEZPYWxFMFRWUlZjMGx0VmpSalEwazJUVlJqZVUxNldURk5WRlY0VGxOM2FWbFhiSFpKYW05cFVsUkthMW94YkZGaGEwWkxXbXBrVTA5SFNrNVVSMFY1U3pKM00ySXpZek5aYWs1TFRqQkdRbEJVTUdsTVEwcG9ZMGhDY0ZwRFNUWkpiVVY2V1ZSTmVsbDZTbWhNVkVrMVQwZFZkRTVFUm10TlV6QTFUVlJOTTB4WFJURk9SRmw1VFcxVk1rOUVSbXBaZVVselNXMUdkMk5IYkd0WlYwNTVTV3B2YVUxcFNYTkpiVTUxV21sSk5tVjVTbkZrTW5OcFQyNXphV0V6VWpWSmFtOXBWV3hPUWtscGQybGlhVWsyU1c1S1YyVnNhRmxPTVhBMlUxUlNWMU5FYkd0amEwNDFZVmh3VUZremJGTmlWbXhMV2pKYVIwMUZTbmRVUkdoQ1VsVjRTRlpXT1d4YVZsSjJWa1JzUzFnelVscGxhbHBTVWtWa2QwMVlValpVYlhCbVlVUlNabVJVUmt0V1ZUbFZWREpXV21KdFNtRmpWMnN6VGpOa1RGWnFTblZOV0VWNFUxVlZOR0pXY0V4YVdHTjNUMVpvTTFSdVNsWlRiVW95VXpJMU5HSnJhSE5WYlZJd1pWWlNkRlF3YURCVk0xSnRaRVY0YkZKR1pFMVVNamt5VkZjd00wMXVUWFJTUlhCelZWUkplRmxYTVc5aU1uaHFWRWQ0YzAxV2NFMU9NRVV3VG10YWExWXpiRXBqYkU1TlpGUlZlazVyVWxOamJHY3dVakk1Y1dWV1FUQmpiR3h5VWpOYVVHUXlNV2xoTUZFd1pXcEdjRTlWYUhCVVIwNXpZMVJPYkdScVZUTmpiRVpWVG0xR2JGSXdjRlZYU0VvMllVVnNTRmg2VmpGTVYzaG9XakZ3UTJWc1VsTlRWa3BRVjJwT1dGcFZXbTFPVlhCNFRsaFdkbVZIYzNoWFJsSnFZMFZXTldGRWEzaE5WVkY2VDBWa2RXSXhRbFpaYkRsSlUwVk9lRTR4UVhsaU1VVXpZV3BDTVdFelpFTlViV040VW01V2RWRllRbkZsU0VsNlZGaGtZVTR5V2pGalJUbEpVMVJyTUZSSGJ6UmtiRGxUWVVkYVNGWnNVbWhXVlRGV1RWUktRMDFZVG14VmVrNXNWVk5KYzBsdFZXbFBhVXBDVlZWR1EwbHBkMmxaVjNodVNXcHZhVlZzVFhsT1ZGbHBURU5LY21GWFVXbFBhVW95VlZaT1RGb3lPVE5oTUhCSVZGaFpNbEpIZURCalNFSXhZVWROTVV4WE1XMVBSMHBQVVZWVmVVMVhhRUpsUjAxNVZHNXNNbEZ1YkdwSmJqRTVURU5LY0ZwSVFXbFBhVXB2WkVoU2QyTjZiM1pNTTA0d1kzazFNMkZYTld0aU0yUjZURzAxYkdSRE9XcGFSMDB4V1ZkV2JGbFRNSGhPVjAweFRGUlNhMWxxV1hSWmFrRXpUMU14YlZreVJtdGFSRWt4VFVSV2ExbDZTWFpKYVhkcFlWZFNNR1ZZUVdsUGFVcG9ZMGhCYVV4RFNuWmhWMUZwVDJsSmVWbDZZelZaTWtrelQwTXdlbGt5VG1oTVZGRjZXbGRKZEZsdFZtbE5hVEZwVFVSck1scFhTVFZOYWxFeVdWUm5hVXhEU25saFEwazJTV3BCZFZGV1NrcFJWRnA0VGpCYU5sa3hWbGRrUjNONVpESldiV1ZZVVhkaVJVcHJaREprZGxOc2FIbFZNVGg1WVRGYVEySXdaRzVUV0VaRVlsaHdSV0o2UWxSUlZVWkNUR2xKYzBsdVRqRlphVWsyU1dwS2FrNTZiR3BaYW1NMFRGUk9hbGt5UlhST1JFNXNXV2t4YVZwWFNYbE1WMGwzVDFSYWJGbHFhM2xPUkZwb1QwTkpjMGx1VW5CYVEwazJTVzFPYTFsNlZtaGFWMVpvVEZSRk1WbDZWWFJPUjFKcFRta3hhVTFFWXpWTVYxcHFXVmRTYTAxcVZYZE9WMUpxVFdsSmMwbHVWakJoVTBrMlNXMXNVazFJUW5CYU0wNUxVMVZXZUdSdGFGUlVWbFV4VkVNd2QxRlZSV2xNUTBveVdsaEphVTlwU1hoTWFrRnBURU5LTkdKWVRtWmhWMUo1V2xkM2FVOXBTVE5KUkVVd1NXNHdMbk5YWDBsek9WVndPR015VUZWaldFdHdVM0J1UjBjMlJrOHdOVXMyVlVoNWNuZFRkbEpLVWpkRk1tUndRV0pYUTNGWFYzcHpUbkZ4UVRKYVRHazRlRUZyZVZSMFgyWmthRlEyZWs4d1NEUmFOR2x1Y1dKSFQxbFFUbGhxUmtSVFRVaGpTWHA1VEROZlQwaDVNa3hxZERCNWRIcEhSbUZuZVVoWVEwVldWMGhJVXpsU1VITjBTRmhqV0hoYVdVTmFiVWxoWlVKaVdUazRRWGRvYWpablRVcGZNV0Y0TW5SSU1ucHJWWGRGYzI0MWRHMWtkRkkyUWpaamVFZDZUREU1YjBwVU9EUllkazVuT1ZadExUWmhWVUk1UVRWRVVHNDVNekZCU1RrdFdrcHlPRXBEZEdnMmEyOURaV3RFVEdreFJWRjJSR010Um5wdloxaGhhV2xVZDNsNkxVTlRjREJ0YVZacE1VaFFhWEV4ZVhGUFlYbFZMVzlCVFdwMllUVk5VMVJRYWxRdFVtaE1hR05mUzFVdFkxbHVXVGhIWTBSZlZVZDJTRXREVVUxcVRUWm9VRW90ZEVKYWJsWldNM0pZVEdwUVZEbDZVU0lzSW5Seklqb3hOekl6TlRZMk16ZzNMQ0ppSWpvaVlrdFZWREpvVVc5QlprNVJlR0ZSWWtFNVpWbEJkSEZuWlhoWlRucFlNbkpZUlVsNFRYVTNkbTVNV1NJc0ltNXZibU5sSWpvaVkyUXhZVGhrTXpnME4yRXpOR0ZoWldJMU5tRXdNV0ptWkROaU1qY3lZbVFpTENKamJtWWlPbnNpYW5kcklqcDdJbXRwWkNJNklteE5jM3BuYkRaeVJVdHBZWGx1WlZCUlJsaEJiR3d0Y0VzelpuaGtjQzFpY0ZNMlRYWXdiM2RRWXpnaUxDSmxJam9pUVZGQlFpSXNJbXQwZVNJNklsSlRRU0lzSW00aU9pSnlWbnBZV0RkYWVrazBWa2c1WkhKRGVXbDZUMk41VW0xWlNtZG1SakJDY0V3NFFVVk1SMVZmWldWVWIxUTVTbDkwV1hvMlVVUkhjREYwZWs1cVgyZzBYM1V4U2xWUFZFOWxXVzVpV25GcE56ZDNTMVl5YmpGeE1VbEZPRzFhUzJWM01EbFlkMDV5VlVwaWRrdHVlRzVJYkZKa2RIbFViVTlJZEZOMFpuUk1aVVJYVEU5dmRrMXROekp6TFVSS2JGRXlNV0Z0YUc5c1kweHNiREZhVERkQk5EWkdaRmQ1U1hKVFRIVTFNelpFVW5KWU5FZHZhbmxRTkhKWmEwZDJUM2R0WW10RU5Ib3hhVGxJYVV4amJIRXpaWFkxTjNKUlZEWmhaVWRLVkZoeWVtaEpSMTgxZFMxc1lXZGFRbnBVVWtsU1Qxb3pWMlZHWmpWS2NUVjFiM2hyTVZoVVkzQkZlV2c1TVRGRU16aEhibTlRVldKZlNFaERjVGRRTW05Uk4yb3dkV3QzUWs1bk1VWjFia0Z3YW5oeU0wMTNXamRtZFhCUFNFazVORXhxT0haZlVtaG1SMVpVWVZWTlZURXlRakZ6WlZNelpWRWlmWDE5LkFiNk1tMHFoRlE4SmlmQ0trVEM0amlWOGlaWnE3YzJDSU83TWRaSlh2UE1SRFVia1lyT29JYW05YkVCTjZlVW1DVkRNTkZIT19uZmRlOTl6dU1heGJJR2tkZF8wR2RuX0lucUF5aFZVYTFjaHdFRG5vcGkwSVBCZElrU3RhblZDUUhiOHBrUHMtZGdqN3R3UDItSDVMU0toMmlzOU5jM3NIRVZoTzBFRVZmNmRyaGg1b2hYUDZqQmM4SGpxYTlHLUtzaVk1X3FGdTVoYlJIaTdhN0lhczBxN3lVYzBMbXJPSkItbUlXenhmTUc2YnZodm0xTEhMell6N1pYd1BySkJGNWMwNXY3LUhhb2huc3NjNThHNUhGaC1yclFLLTlmOXFvdF9mdnF0OGw1bHlWUl9wMWk1VkNFUTBqRHUxSzRSSVNXV2dValRWY0kwQ1JPblY2MkNkZyJ9.\u0022,\u0022correlationId\u0022:\u0022ed601254-7d1e-450c-a154-ac592973dde7\u0022}", + "messageId": "f6c69388435e4b51b914562654a0ad83", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-8a2ff19cc338bd582a3471278461a71a-b00f5966c3ef4b43-00" + "Diagnostic-Id": "00-b0ca831d69876bb46d0ca17c510588f3-49498a8eeda706cf-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-948e-4f82-9188-c329ed72b04f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-948e-4f82-9188-c329ed72b04f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ud2FkempacGIwcXE3TDZFV0lOQmhnP2k9MTAtMTI4LTU0LTExMyZlPTYzODY3MTMyMzQ5MzIwNTcxNw==\u0022,\u0022correlationId\u0022:\u0022809d469c-7af6-40d4-830d-8bcf9e9a2329\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-04T19:18:16.0640987\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-948e-4f82-9188-c329ed72b04f\u0022}]", - "messageId": "0254795cf6aa46b29d09229f70d3f489", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-81c6-48f8-9d59-64c1750ce8b9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-81c6-48f8-9d59-64c1750ce8b9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZOVd3dlF3cXgwNndZd1ZiZkFfbF9BP2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u002209ad8957-6ab4-4870-82d8-9544f2fb35fd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-08-13T16:26:30.1952164\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-81c6-48f8-9d59-64c1750ce8b9\u0022}]", + "messageId": "ff46eb3b797d46e5a7d3dae7109ef61a", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,13 +26,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-82003b081e15b30a872a59a1413a69a7-96d1a3d6bffd5476-00" + "Diagnostic-Id": "00-e324ca967a530661b661952c2299108a-04ecf08ca15d702f-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvMEJrX2xkdFc4VUNZQXV1RjN0UG51UT9pPTEwLTYwLTIxLTg0JmU9NjM4NjcwNDY2MzI4MDc5MDY4\u0022,\u0022callerDisplayName\u0022:\u0022\u0022,\u0022incomingCallContext\u0022:\u0022eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjYyI6Ikg0c0lBQUFBQUFBQUNzMVkrMi9iT0JMK1Z3UWZjRDljbHhaSnZRa1lCOXQxV25lYnhCc25iWFBuTzRPaUtKbU5MQ21VL05wdS8vY2IrbFduRHJxNUY3QXU2cHJrOEp0dmhzUGhUTCswQk0venE3SlJxUks4VVdYUllsOWFxUzduNWwrVnRGakxaYTlJNkxxQjcwWTA4RnMvdFJKVlZ6bmZYUEc1YkxGaWtlZFBwc2JsUWd0WWFDMktoNkpjRmJCQkZrbFZxcUlaR2pnUFM4OXhISUtvRUQ1eUJVMVJIRXFPWWhvRWZoQjVHQXNNZTNKZVpBdWVTYk5ucDZQaXVsRkNWWHdQNUFzdjhEQWh5Q0ZVSURmRkFrVWU5UkdXTXBVQmpSd2hBZ0NhcVNTUllGWEs4MW9DaWk0cnFadE5qMmM3NEs4L3RacnlhR3pJdUtnWmlSUE9hUndCSUE2UTY3a1V4Ykh2SWg3RWxBcU1lWmk0VTd6L29HZStEcC8vMmxzdlZQSUNiOFZoNlBuRVFYNUFLWEp4U0ZFWWtCaEptYmlwOEgzSGRlUzV0N1NzdHdTM0VDL3hTdXQ1RCtlcWVLaU5rM25UY0RFRHNGblRWRFd6YlY2cGRwcXJiTmJBdnZXbVhUOXNLdGtXNWR5czJFdHFpOG9XQWkxcXlTbkNGSUZVZ3ZoRDNSYmlSRllJZTBuc3ROUVBNckhkQktjOEFWTmpGeFBrK3FGRWtSLzVTUG9rQ1lFL0VNVTJEV3hGYkNmdzdSMmx2Nm9Pd2NqSGlIZ29qTUNNdVV3VTd4YjFTbXFnS3dSd25mT2RlUm00cGY1RDJYQWdkV2FGbHArbGFQNVFYSGVVenBndWt1cFc4Nkt1U20zNHdoRFllclJOcU5NbVlkU21sRGx1RU5xdHIvdXo2WmRGSXd1US9kSVN1NSszUUErMjhxcks5OG5NcnBNS0ZabEF1TzJCampndll4QllkdkJFVDRxeWd5d2Y2RHJVd3Rid3locU9YSXZRb0kzaER6RUNkYWNHbndLTUdZak9Yb1RpTnNYQUszTGJqbTlXNGs3L2xwSDlaVFFUVFFkYjJ4L3pEbDhrcXJRODdIaStkWE03c3JzZlJoYkJJZngxclFpK0hZc1FZcEVRR0lSV0ZNQU1qTXdraUZEOFk3MjhveHRSSVYyclgrWEpPSTNaWDZ3MW1nTjF5QWdXZU1PcUlhZXdwSjVaV29xbCtiRVRYNk5hWlFXSHk1bjlhTmRSZUpzS1VOMW95ZWNxWWVTYlVtWXNESFpqQlRLTFZQT01EVmNYcjc3TlZhdUVmVmhjNXAvWGc0MTZmM2wvZFhuaHFYbkIrMjluanlmMDU0djFiaVI0a2FpRU41S0JTNnk3MXlPTEVnY0gySGNkOHRRWmUvODJHK0NzMDN4dGFaNGtHbndKQituQldYcXVwVTFZN2VUTzBla0p1aGVCNjgvUmd4ZWlCOStqVStCdXpPS2lBUTBVd3NUSHdmY2EzSWg0OUFVYXRuTG5HdWovUlVQT1k1bXpPVmNGMmtieGJ2Yms0TmNvWGttZVo2Vld6V3pPTk1ST28rYThLYlVWcjRSVmNmRWdtNG9yYmExa0RHZTdKNjQzVlZPQzE3dUQ4YlIvT1NVMG5MNjk3UGFuNDdkZE1nMnhwUW9JU01uaTZtUHY4NXNQSHo4bDk0djFCWGxYajk4K2pHWi9LMmQyMEJzVXJ2MW0rYmlhM3hEM04vcFBoL3hHRHFUMjhQVDM0Qy96ZUdqMzhOM3kzblB4NC9WalJ1amF4a1BIWFY1bjQwL3ZiTCs3Mk9UMytPTVcvaENlMVp4WGNOTkRhOXk5SFY3WmJyaS84Q2RycmpVZXZ2L1pKdjczUzVIMUJsNWUrNWt0em03TCtRcGtodkh3Wm5CMWlwYk9tOTFLckJvTng5ODUxd1FCREtxaUU4RGRwdERpUlNIWGNhY29uOGhqYTlTL3ZEdlhINXI1N3ZrOHBLbWJ3ZXZuTElGUWw3bXNabVVoa1Z4Q1JqN2pBQ0tROHYybit4eXJmL1djK2FHWmY4WStpczNDaWZjcmlEdTRDQWROa00ra3JqVFVVS3llY1VRaE4vUThGcmpNdldCZHpMd2Vpd2pyOTlrZ1pEMkh2WFpaaUZrd1lJT0k5WDBXRWhiMldMZkgvQXRHUGJNVStjd2ZNTnBsZ3k1ekJtQStHL1RZUmQ5c3VZQzlyMW5ZM3ltVzYyYkx6ektQTFp2QVo3VmF0WGZCM3k1MU5wbklOWlJHd0xWbzZza0V6RUd6Uk1PdXlZVEhOVEw1RmhsTG5xQTUzOUNPNys4UGdGSmVOOU1Za3NOS0pjMXNta0o5RjhORi9OTlN3anRSRmxQbkNiajNsS3FTVGJvanFwTEpKTkU4YmRDc3pPZFNJejJIRnhVMWh4Y2FBYnhFVUNnQWtDd01jbzN3TVMvVXRSWUlSRFBJcnFaYU5WOW03VkJXdlpmWnRxSU1lUnBUeWFGd2ozMG80VVVjbzlEblVFTndFV0xISlRpSVRjTWhhMmhTdHUvNXRSQUxEUWViSFN2VVFxNnUwOVRVYVBzSnlFYVpLa3dXQWdWejBhT3hxUmlnblBoWmJreXRzSC9TdDZQVzhMWElhR1d2ZnRWMzZRWVBiNGdjeHUreVRnZVVRdlVNNlF0a1B0WDlhSFB4OEdwMEYvTkh0N24yaG5GT2ZnRVpnSjJwR2hSdGhrVUtMY1RmdjBDNTFYQ2R5VU1sb3BLN3l1VG9pMUtQb2RpLzNhNjFqaHp6L2NTK3gvSjk2aENQVVA5TVlyQnZDZmF3aVV6NUlqZEE2Uk9VLzMzemtyNkF3NUdxaVEwNENlUDRiZG4vRDFOK0pncHFEbk4wbzExYm9PUzJEMUQxelg2cG0rZmxTa0kwTkhvaHY0SlBvWmd6d2JvOTcyR3hWTTJ4TFQxZE1kV2ZMdk44VzUzL1c4VXRnQnpLVzNKUzNzTDBhWUVMUXh2M0hxWjUwbndNNy9yMzNjWGl3bWxHeGVLWFkrVktDUXJkUDh1Tzc0UitnRjNvb1dpSWd3ajdJWGhGMVpmZ0hqV0NObXh6akUxVjkzVEpFd0YzZEQ4SDlpWXlYbVNueFN3MDVMdE9PUXg5SjBvalJFTW5SVzZNSThSZERIUWxsWEF4YU1wRENwckFzY0xFZEpIMVllYzN2d3lMdXVIRnRyazgrT2YzQzN2VDRKU0dpZUs1Z1R2OW40SHhsdUNoai81UCtrdXdOdFBsb3RwYXV3YXdiWno4QytwVVdjQ0VFQUFBIiwic2hyVG9rZW4iOiJleUpoYkdjaU9pSlNVekkxTmlJc0luUjVjQ0k2SW5CdmNDSjkuZXlKaGRDSTZJbVY1U2pCbFdFRnBUMmxLUzFZeFVXbE1RMHBvWWtkamFVOXBTbE5WZWtreFRtbEpjMGx1WnpGa1EwazJTVzV3TkZwWFkzbFdNRGxQWTBaU2NtUXdOREZTTWpGc1YxZE9NVlpIVWpCUmVscExUVU5KYzBsdGRIQmFRMGsyU1c1d05GcFhZM2xXTURsUFkwWlNjbVF3TkRGU01qRnNWMWRPTVZaSFVqQlJlbHBMVFVOS09TNWxlVXBvWkZkUmFVOXBTbWxPUkZac1RVUnJkMWxUTVd0WlYwcHRURlJSZUU1RVZYUlpWRUV5VDBNd2QwOUhSVFJOYW14cFRYcENiRTlIVVdsTVEwcHdZek5OYVU5cFNtOWtTRkozWTNwdmRrd3pUakJqZVRVellWYzFhMkl6WkhwTWJUVnNaRU01YWxwSFRURlpWMVpzV1ZNd2VFNVhUVEZNVkZKcldXcFpkRmxxUVROUFV6RnRXVEpHYTFwRVNURk5SRlpyV1hwSmRrbHBkMmxoVjBZd1NXcHZlRTU2VFhwTmVrMDBUbXBuTkV4RFNuVlpiVmxwVDJwRk0wMTZUWHBOZW1jeVQwUm5jMGx0VmpSalEwazJUVlJqZWsxNlVYbE9WRTAwVDBOM2FWbFhiSFpKYW05cFlYcEtRMW94YkZGUk1IaE1VMjFWTTFJeWFFbFRiR3gxVWtSak1WTXdNVXRTUmtwc1ZVVkdibEZVTUdsTVEwcG9ZMGhDY0ZwRFNUWkpiVVY2V1ZSTmVsbDZTbWhNVkVrMVQwZFZkRTVFUm10TlV6QTFUVlJOTTB4WFJURk9SRmw1VFcxVk1rOUVSbXBaZVVselNXMUdkMk5IYkd0WlYwNTVTV3B2YVUxcFNYTkpiVTUxV21sSk5tVjVTbkZrTW5OcFQyNXphV0V6VWpWSmFtOXBWV3hPUWtscGQybGlhVWsyU1c1d05tTXlaRkpXYWs1eVYyeFdabGRJV1RCT01VWXpZVmRTYkZOWFRsUlJXR3hZVm0xR1RHRldSa1JWTW1zMVkxVm9WRk5HWkhOVGJsa3pWMjVTYVUxc1dtMWFhazVJVkRBMVZtTkhkR3hWVldoeFZWZDRkMVl3TlhkT01uUm9Va1JPYWxaRlVqQlZhelV3VG0xS2NtVlVXa1ZrZW1oeVUxTXhVV0pyTVZGYU0xcFlXWHBvU2xWcE1XRlVSVTB6VlROd1NHVkhkRWxpTVZZMFkxVTVWVkl3VFhoT1NFSmFWRVZvTTFKc09VUlJhM2hZV2xkNFVVNUZOWHBPYlUwelV6TlNSV1JFYUdGalZYTTBaVk14VG1WcWJGQlRSMG8wVWxod1EweFdSbGRrV0dnd1lWaG9lVlZYUm5aV01teElWV3hHTWxWVVZscFJNalZGVmtkWk1tTnNRa0pTUlZWNlZVUm9ObE5ITlUxaFYzaDZaVlpLUmt4VWJFbFZWVlpFV1c1b2VsSkZTbGRrVlZacFlrUmFTR0pITVcxa2EwbDBWMVpLZFdNeVRtaFZNRFZyVkZaS1ptTkdTbTVWV0VwVVZIcHNjbVZ0Y0RKaVYxSnVaREpKTlZSdVJqWmlSMFptWWxSc1VsWjZiSEJVYkd4VVZGVlNORlF5U1RSU2JrWnpVa2N4Y1ZwV1FUQmxWVzh5VkZSU1dsSXljRXhOU0U1Q1VWWnZlVmt4YkdGWlYzUlhXVlpSZVZsc2EzcFhSMXBIV2toa1QxTlVSbkpqVjJoUVpGVlNWRkpVV2xCaWJWWXhWVk5KYzBsdFZXbFBhVXBDVlZWR1EwbHBkMmxaVjNodVNXcHZhVlZzVFhsT1ZGbHBURU5LY21GWFVXbFBhVW8wVVZNeFJGTklhRlJqZWxwellWZFNkbEpWT1Zwa00zQTBVbTFTYkdKVlVscGlSbFpEVFVWYVVXSkdXbGhWVjNoWVlXNUpkRmxyU2taSmJqRTVURU5LY0ZwSVFXbFBhVXB2WkVoU2QyTjZiM1pNTTA0d1kzazFNMkZYTld0aU0yUjZURzAxYkdSRE9XcGFSMDB4V1ZkV2JGbFRNSGhPVjAweFRGUlNhMWxxV1hSWmFrRXpUMU14YlZreVJtdGFSRWt4VFVSV2ExbDZTWFpKYVhkcFlWZFNNR1ZZUVdsUGFVcG9ZMGhCYVV4RFNuWmhWMUZwVDJsSmVWbDZZelZaTWtrelQwTXdlbGt5VG1oTVZGRjZXbGRKZEZsdFZtbE5hVEZwVFVSck1scFhTVFZOYWxFeVdWUm5hVXhEU25saFEwazJTV3BGZFZGV1NrcFJWRnA0VGpCYU5sa3hWbGRrUjNONVpESldiV1ZZVVhkaVJVcHJaREprZGxOc2FIbFZNVGg1WVRGYVEySXdaRzVUV0VaRVlsaHdSV0o2UWxSUlZVWkNWVEJHUWt4cFNYTkpiazR4V1dsSk5rbHFTbXBPZW14cVdXcGpORXhVVG1wWk1rVjBUa1JPYkZscE1XbGFWMGw1VEZkSmQwOVVXbXhaYW10NVRrUmFhRTlEU1hOSmJsSndXa05KTmtsdFRtdFplbFpvV2xkV2FFeFVSVEZaZWxWMFRrZFNhVTVwTVdsTlJHTTFURmRhYWxsWFVtdE5hbFYzVGxkU2FrMXBTWE5KYmxZd1lWTkpOa2x1UWtOaGF6QjRWMWRyTldOR1ZsaFdWVGxDVFcwNE5HRllZM2xSVmtWcFRFTktNbHBZU1dsUGFVbDRUR3BCYVV4RFNqUmlXRTVtWVZkU2VWcFhkMmxQYVVrelNVUkpkMGx1TUM1aE9ISlRZamRWZW1vNWRGQjZZVTR6YURsR2IybHJNM2QyWlU4MFpuTkxRVE41Um14Mk9WOXhWMng2VWxaWU5HeEVPR05KTkZWaFdFdGpTRU5oU0dsTllYRjZSM2gwWkVaTVFYSkJiMjlVVVdWM1NUbGlPV2RxWlRVMWMySlVlRGQwVEhsa2VIQk9WbWhYTFdkTUxURk5VR1ppVDJkU05EWk1lV2w0Vm1KTFRucGhTbGRDUTFWVE1HMVJVSGM0VGkxQ2FHcGxUWHB6VjFWc1lVUmpRbEZoUTJOQ1NVTktOM3BVU0V0MWJEZHdOR05CV2tkUVltRTRPRkZhZEdGNGFIcEtORTU2WkZrMVpuQmFSekpmZG5CMlRqaExOMG94TW04MWVYWjZUbXBFT0dNdGVHNVFjRzgyZFVOdFFrMXRaVTlzVVhCSVNWQjJiMHB4UkRabWR6ZGlkMFpYUTFWQ2NrbGFjVU5EZVhaa2IwRnNiMTlrWTJwNFdESkNVVVF5TTNscWVYVnBSbFkzZGpWak9EZDVNVWh0Ukhka1NHOTRlVVI1ZVd3MlpFSnBkbHBOZFVOcFJ6bDJSWEUzUjBzMlEzTm9aRFZ4VTJjaUxDSjBjeUk2TVRjek16TXpPVGs1TlN3aVlpSTZJbE5YZDBaQlJUbElPVmxIVHpkd2VEQkdWRFEwUm0xUWVrNHRUV3czWjFVdFZ6Z3haR0pQV2tGQ05Ga2lMQ0p1YjI1alpTSTZJamswWkRVME5qa3hZamRoWmpSa01qQTVZelJsTURkaU5ERTROREUyWVdZM0lpd2lZMjVtSWpwN0ltcDNheUk2ZXlKcmFXUWlPaUl5Y1ZsVlUzZDFVSEZZTVZReFFXeG5lVU5aY3pndGVtdHVRbVEzWTNCZlZVVTRjbTVMUlV0ZkxVcFJJaXdpWlNJNklrRlJRVUlpTENKcmRIa2lPaUpTVTBFaUxDSnVJam9pZW5weloxRldNMnRhVlY5WWRqUTNVWGRwWkdWSlkxTkJlVmRXWVV0cFVVTlRhVGx4U0ZOSVYyeEtkamRhZEdJeVZtWm1NMGRQVGxWd2EyVlJTR3BSYkhCWFRuQTNhMkZFTTJOVVJIUlNUblEyWW10NU5rUjNPR3RKTFZCdVRWQm5kbGRqT0VsU0xWcE1RemRUZWtkNGEwaHZWWGh4VDFSSFF6RTBjRmxNU0hkR1gwTkNURmRsYkZBMFRuTTJZemRMZEVSME9GcHhTemg1TFUxNk9VOUlZbmhGZWtJdFVWWjFlSFJwZUhKUllXOVhhVWRTVVhaUk5WbERia1JVWmpaeVVFRkVSVE5RT0hwSWJreHBiSE41VWtVdE9VaFJSVU5pZUhORVFsWjFSV0pzTmtkc2JXWjJRaTFaVW01elkyRlRUbVJOVWw5d1VtZFJjbE5QT1d0NmFuWnRaR2QzWWpsT2NYcHNZVjl0T1ZGWE9XbE9XVk5OUkhoUFlqaEdjV3hFYldwbFVEUjVTalpOTkZsSGFrc3djMEZCV2pKaldWcGhhMVpoVkRKaVdUTllaa1prZDA1Sk1XdHhhRTkxUkZORk5rOXVaWFZSSW4xOWZRLk82Zl9VYi1oUXhLNGJnbm1paFdBdWcwQ05JT2sySW9WeEpEMWRTbWhobmFjWFVuU3AyOG1LNzQ1UmF6ZDBHNzVDeTZUUU50N201aE1icUdTcTcxTGF0UUYxT0dNaFNjT0Z1RWR0UTFJRWtJYWpvUFBiRnB4ODVWUEw4cGxkTU9QcEltaGxBOUtia2Y3VkFDRlgyaTdUUXR6X1hnOV9qMHRiMms1aDVsaVZCdjlTMExrTkwyb3RwWWZ1VzBJXzNrb01oaWg3SkhuLVpWUHVqVzdaVGJLZFpDeTBNVFR1TjR2QUVpYXBSNmNScDVPYmpGWk5CWENIaE91bEY4VkFqYzNacVhtbnNVbURuTVM1d2dGQkdIN1RiNDdXU0lFSUFvRFZvRkg4dVFuQWdXTkhVczFNTW5Tdl9vRE0ybFhRa0RhSmhqNkVhVEI3ZVBKM2FRRVlkek9GdyJ9.\u0022,\u0022correlationId\u0022:\u0022588639f9-283f-4b09-a40d-ae2e7b62fa82\u0022}", - "messageId": "cfae78783a5b498cb8b5957f1bbce61a", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-81c6-48f8-9d59-64c1750ce8b9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-81c6-48f8-9d59-64c1750ce8b9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZOVd3dlF3cXgwNndZd1ZiZkFfbF9BP2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u002209ad8957-6ab4-4870-82d8-9544f2fb35fd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-08-13T16:26:30.2266019\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-81c6-48f8-9d59-64c1750ce8b9\u0022}]", + "messageId": "df41c6fb14dd476297c86bdbb7756a12", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -41,13 +41,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-17ebe42dc906c6b0291d0139ba0f2d08-9fc27c3043bae2c1-00" + "Diagnostic-Id": "00-4cb72e23c5b89e72cebffcff60b89444-a7e430d6ded6ab84-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-a59d-46c8-9ec6-5242937b763b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002205002080-a59d-46c8-9ec6-5242937b763b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvMEJrX2xkdFc4VUNZQXV1RjN0UG51UT9pPTEwLTYwLTIxLTg0JmU9NjM4NjcwNDY2MzI4MDc5MDY4\u0022,\u0022correlationId\u0022:\u0022588639f9-283f-4b09-a40d-ae2e7b62fa82\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-04T19:19:57.5302562\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-a59d-46c8-9ec6-5242937b763b\u0022}]", - "messageId": "090d3a30d71f4556b0dd5a49c4fbe0de", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-08a1-4d90-a1c8-4d043662ae3d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-08a1-4d90-a1c8-4d043662ae3d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAyLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvdzVlM0JERHdZMDZPcmZpcVpacmwxZz9pPTEwLTYwLTE3LTEwNSZlPTYzODU4NTczMjUyODY2Mjg4NA==\u0022,\u0022correlationId\u0022:\u0022ed601254-7d1e-450c-a154-ac592973dde7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-08-13T16:26:30.2587644\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-08a1-4d90-a1c8-4d043662ae3d\u0022}]", + "messageId": "a86a9e46744c44809503bc0e00391b38", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -56,13 +56,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-e8b2de6d08f7aa595564df7791d57a37-5d5018aaf27e8602-00" + "Diagnostic-Id": "00-62e4f476245fe5f9f380aa8d8352ac2a-7ac910725a936c4f-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-a59d-46c8-9ec6-5242937b763b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002205002080-a59d-46c8-9ec6-5242937b763b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvMEJrX2xkdFc4VUNZQXV1RjN0UG51UT9pPTEwLTYwLTIxLTg0JmU9NjM4NjcwNDY2MzI4MDc5MDY4\u0022,\u0022correlationId\u0022:\u0022588639f9-283f-4b09-a40d-ae2e7b62fa82\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-04T19:19:57.6317428\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-a59d-46c8-9ec6-5242937b763b\u0022}]", - "messageId": "8510593218a645bca2aa0b27c240423c", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-08a1-4d90-a1c8-4d043662ae3d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-08a1-4d90-a1c8-4d043662ae3d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAyLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvdzVlM0JERHdZMDZPcmZpcVpacmwxZz9pPTEwLTYwLTE3LTEwNSZlPTYzODU4NTczMjUyODY2Mjg4NA==\u0022,\u0022correlationId\u0022:\u0022ed601254-7d1e-450c-a154-ac592973dde7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-08-13T16:26:30.5096546\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-08a1-4d90-a1c8-4d043662ae3d\u0022}]", + "messageId": "c4bda7a1fabc46028e86f1b11a575017", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -71,13 +71,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-8b51c78364f6ce162f893daf73557aba-ea8d9b9965b37178-00" + "Diagnostic-Id": "00-0d2a8a706b561c5e20971eab8f48cada-601670c80800e753-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/10001e80-f171-44fd-8200-a3f820f9737f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002210001e80-f171-44fd-8200-a3f820f9737f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi84aE5jbUlJdW5VT3pBSUp2eGd6OHFRP2k9MTAtMTI4LTQ2LTI3JmU9NjM4NjcwNDMwOTU4OTg5MTIw\u0022,\u0022correlationId\u0022:\u0022a327fb5c-a3c0-4d46-8c94-9c334b210b69\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-04T19:19:58.1671562\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/10001e80-f171-44fd-8200-a3f820f9737f\u0022}]", - "messageId": "9545c99c0189451496a0c68dfeacaeda", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-08a1-4d90-a1c8-4d043662ae3d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogFailed\u0022,\u0022data\u0022:{\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:500,\u0022subCode\u0022:8601,\u0022message\u0022:\u0022Action failed, unable to create connection to dialog service.\u0022},\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-08a1-4d90-a1c8-4d043662ae3d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAyLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvdzVlM0JERHdZMDZPcmZpcVpacmwxZz9pPTEwLTYwLTE3LTEwNSZlPTYzODU4NTczMjUyODY2Mjg4NA==\u0022,\u0022correlationId\u0022:\u0022ed601254-7d1e-450c-a154-ac592973dde7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogFailed\u0022},\u0022time\u0022:\u00222024-08-13T16:26:41.8945555\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-08a1-4d90-a1c8-4d043662ae3d\u0022}]", + "messageId": "9af71bd9897a4a96bda81b69405b518d", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -86,67 +86,7 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-0fa327c88d962cf4c70235cae43c687b-722f1bb9eaad5ccb-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/10001e80-f171-44fd-8200-a3f820f9737f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002210001e80-f171-44fd-8200-a3f820f9737f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi84aE5jbUlJdW5VT3pBSUp2eGd6OHFRP2k9MTAtMTI4LTQ2LTI3JmU9NjM4NjcwNDMwOTU4OTg5MTIw\u0022,\u0022correlationId\u0022:\u0022a327fb5c-a3c0-4d46-8c94-9c334b210b69\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-04T19:19:58.1866311\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/10001e80-f171-44fd-8200-a3f820f9737f\u0022}]", - "messageId": "96e28050423540f3b2671e793109c6b0", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-610f99d3b262e31dc416fcb6c1f66931-f92094856cd89b45-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-a59d-46c8-9ec6-5242937b763b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogStarted\u0022,\u0022data\u0022:{\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Success Result\u0022},\u0022callConnectionId\u0022:\u002205002080-a59d-46c8-9ec6-5242937b763b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvMEJrX2xkdFc4VUNZQXV1RjN0UG51UT9pPTEwLTYwLTIxLTg0JmU9NjM4NjcwNDY2MzI4MDc5MDY4\u0022,\u0022correlationId\u0022:\u0022588639f9-283f-4b09-a40d-ae2e7b62fa82\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogStarted\u0022},\u0022time\u0022:\u00222024-12-04T19:20:00.2516686\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-a59d-46c8-9ec6-5242937b763b\u0022}]", - "messageId": "f0c4c533b4694952b13332e77e084b12", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-93c30eb5f33de82753121eedab8c3f19-8d9ea281fea1d87c-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-a59d-46c8-9ec6-5242937b763b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogSensitivityUpdate\u0022,\u0022data\u0022:{\u0022sensitiveMask\u0022:false,\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Success Result\u0022},\u0022callConnectionId\u0022:\u002205002080-a59d-46c8-9ec6-5242937b763b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvMEJrX2xkdFc4VUNZQXV1RjN0UG51UT9pPTEwLTYwLTIxLTg0JmU9NjM4NjcwNDY2MzI4MDc5MDY4\u0022,\u0022correlationId\u0022:\u0022588639f9-283f-4b09-a40d-ae2e7b62fa82\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogSensitivityUpdate\u0022},\u0022time\u0022:\u00222024-12-04T19:20:00.4619514\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-a59d-46c8-9ec6-5242937b763b\u0022}]", - "messageId": "77de67a9c4ec4fefb9beec197ea40fa9", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-815587d59d778cb7bd85a8fbfb50fb00-af0cb3a534466ae3-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-a59d-46c8-9ec6-5242937b763b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogCompleted\u0022,\u0022data\u0022:{\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Success Result\u0022},\u0022callConnectionId\u0022:\u002205002080-a59d-46c8-9ec6-5242937b763b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvMEJrX2xkdFc4VUNZQXV1RjN0UG51UT9pPTEwLTYwLTIxLTg0JmU9NjM4NjcwNDY2MzI4MDc5MDY4\u0022,\u0022correlationId\u0022:\u0022588639f9-283f-4b09-a40d-ae2e7b62fa82\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogCompleted\u0022},\u0022time\u0022:\u00222024-12-04T19:20:01.2221169\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-a59d-46c8-9ec6-5242937b763b\u0022}]", - "messageId": "247a2ab23d164397b170b1797725f257", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-31a819d293d10573b3efff6c894d5fe5-8061e997f7759357-00" + "Diagnostic-Id": "00-116ae34c99120cfd47ce8ff6bd599e67-4f32eb2c0b419c8c-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DialogOperationsTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DialogOperationsTestAsync.json index a7b97d3b1a15..468b4dcf8864 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DialogOperationsTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DialogOperationsTestAsync.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-6188-4461-8678-7ebea57ab6b1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogStarted\u0022,\u0022data\u0022:{\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u0022de7fcbc8-1803-4ec1-80ed-2c9c087587fd\u0022,\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Success Result\u0022},\u0022callConnectionId\u0022:\u002205002080-6188-4461-8678-7ebea57ab6b1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAyLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvcFAzWkRvWmQwVW1HNEpKWFFWTTZpQT9pPTEwLTYwLTIyLTE0MCZlPTYzODY4NzY4OTA1Mjk3MDYxNw==\u0022,\u0022correlationId\u0022:\u00229e379fc5-d370-4c61-8bd0-fa1ae2d6b6c7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogStarted\u0022},\u0022time\u0022:\u00222024-12-04T19:20:32.6164755\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-6188-4461-8678-7ebea57ab6b1\u0022}]", - "messageId": "65ed7f707a0346b8a15a685bc243cba1", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-d1ab-41d3-a5e0-aa0bcfbfd0b7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-d1ab-41d3-a5e0-aa0bcfbfd0b7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi96ZlNLalBwOWpVTzBFWl9heGdTTDhnP2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u0022e568984c-450c-4656-8763-0527a4c69969\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-08-13T16:28:32.0119606\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-d1ab-41d3-a5e0-aa0bcfbfd0b7\u0022}]", + "messageId": "11151e05c30f4f63be243a9dc4a7204e", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-3c33fa6f466c8e8566b2afb701723019-dbb5805e6c801353-00" + "Diagnostic-Id": "00-828e2d5d36be57cd9618bb711f6e4fef-79a5dd36d2694b9a-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-a711-493c-b0cc-2db3fe61737d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002205002080-a711-493c-b0cc-2db3fe61737d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9iYzZRVXlIYUhrTy1DdVhiYjFXOTB3P2k9MTAtNjAtMzctMjcmZT02Mzg2NzIxODcyMjMwMjcxMjQ=\u0022,\u0022correlationId\u0022:\u0022a4a21aab-7c42-4e11-acee-f2de5a9a1691\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-04T19:20:32.6468398\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-a711-493c-b0cc-2db3fe61737d\u0022}]", - "messageId": "a2ccc7b1db0744d2b8a2b9ab4a740b13", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-e9d1-4d33-ada5-9abe37a6f891\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-e9d1-4d33-ada5-9abe37a6f891\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvT3h0WnBJdUJyMHEzR2VSS3FMZE0tUT9pPTEwLTYwLTEtMjM3JmU9NjM4NTg4Mjk4MDkwNDQ0NDkz\u0022,\u0022correlationId\u0022:\u00221bcaaaca-60f2-4b52-a9c0-266688fa2a8a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-08-13T16:28:32.2003621\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-e9d1-4d33-ada5-9abe37a6f891\u0022}]", + "messageId": "3e574d47769740d7b76ec0f259a995ff", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,13 +26,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-40cd4216edd9c6d3b0124d83f8117d2b-0fcfb9cbf4ed8fda-00" + "Diagnostic-Id": "00-4850d81a080eb5870a1426591345d561-4cc22822b4dd8e02-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-6188-4461-8678-7ebea57ab6b1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogSensitivityUpdate\u0022,\u0022data\u0022:{\u0022sensitiveMask\u0022:false,\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u0022de7fcbc8-1803-4ec1-80ed-2c9c087587fd\u0022,\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Success Result\u0022},\u0022callConnectionId\u0022:\u002205002080-6188-4461-8678-7ebea57ab6b1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAyLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvcFAzWkRvWmQwVW1HNEpKWFFWTTZpQT9pPTEwLTYwLTIyLTE0MCZlPTYzODY4NzY4OTA1Mjk3MDYxNw==\u0022,\u0022correlationId\u0022:\u00229e379fc5-d370-4c61-8bd0-fa1ae2d6b6c7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogSensitivityUpdate\u0022},\u0022time\u0022:\u00222024-12-04T19:20:32.8523681\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-6188-4461-8678-7ebea57ab6b1\u0022}]", - "messageId": "3ae1a76075ee4624a7da17cc09b0fda1", + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvYTNfdzVqVWF6RTZLcWFSbC1sOGQxUT9pPTEwLTYwLTE2LTIxOCZlPTYzODU4ODI5NTY5NTQ0NzQxNA==\u0022,\u0022callerDisplayName\u0022:\u0022\u0022,\u0022incomingCallContext\u0022:\u0022eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjYyI6Ikg0c0lBQUFBQUFBQUNzMVhhMjhidXhIOUt3c1Y2SWNtMUM2NUx5NEJvYkJsSlZFZHk0NWY5eVpWYTNCSjdvcjJ2c3BkV1pKejg5ODcxTU9SWStQR0xWcmdLb2dza3NQRE04TWhlZVpyVC9DaW1OU2R6clRnbmE2ckh2dmF5MHhkMnI5YTlsZ3ZZRzh3RFlJNENoSVNSNzIzUGFuYnB1Q3JDUzlWajFYem9uamJVNVZzYWwxMVl6c2hEYVVmcFZLZ0xNSXhDaEtLRVE4aWdtaW9aT2JIVVNSakFqQUZyL0k1ejVXZHMwRnB1T20wMEEzZkFrVkpHQ1NjeGtpbGlxSkE0UXpSS0ZRb2tqU0tzWmZSVk1ZQU5OTlNLdUNkOGFKVmdHTHFScGx1ZGNqekRmQzN0NzJ1Zm5TSE1pNWFobFBKT1VrVGxJUWVjQXdEZ3RJMENoQ1BVMEtFNTNFcWd4dHYrMEV2Zk8wK3I0akhLMkYrSGcrVjBpZ05RNHA4RVNVb29INkVVcXJBaHpqbW1jZFRraEQ4UEI1R3RmWGNpRFZ1N3pWKzkxNk9ZYUdydTlhR2tYY2RGek1BbTNWZDB6TFg1WTN1WjRYT1p4M01XNjc2N2QycVVYMVJsM2JFdlNldWFGd2gwTHhWbkNDUElMQ1NpTisxZlNIMmJJVnc3N0diMWVaT1NUZU5hSVJ4RktKVXlnd0ZnUzlSU2p3ZkVaNkpMSXZCQXlwY0Vyc2F1MzZRdUJ0S2Y5VUQ3S0hJUTRTZ0VMd29sZFQ4b0dvWHlnQmJJWUJxeVRmZTVSQ1Y5Zy9sd283VWowNFlkYXRFOTRlaXVxSDBJOUc1YkM0TnI5cW1OcFl1TklGc1NQcVkrSDFNa3o0aHpBOWk2dmErYlhkbVdGZWRxc0QyYTA5c2ZsNENPNWpLbTZiWTNrWnVLeHRVNVFKNWZidEdXdFFwR053UHZLbVpWdlVBT2RnUGlJOGR6eGxQblBGWjRHQVM5ejM0aDYxQk8yZ2hvZ0JqRzJLd05TRmVuM2pBSzZId2QyMlhEb2FYREcrUG91M29CcDZ6L2xFTytGenEyZ2x4aUFQbi9QTE1QYmcrYzdCSDRYL2dKUER0T3hoakIxT2dRSjBraGg1bzJVNHdJZDVQRnVZRDA0a0dtVlkvcUwxMmxySy9PRXRVQW5tNEVCeUloOVBDbGNKa08zT01FdmYyeDhaOGlWcWRWeHpPWnY1N3N4Nk4xemNCYWp1amVLa2wyeVBCckl2aHBxM0JacDRabmpOejYzMzYzdGNzSktQWjlZTEg5WmtKcitPeUtsMDljOXZMbzlUZm8xL09sNXVXNEpYVWtuZUtRVXljcTZNemgyRGZpNzBvZ0MxN0dvMXRoTHNWa0RaWnNYUU1sOUpBTkdFdlE3QU1xR05zWm0zc25zT1RQZmd3Z2VDL0FCKytFajc4RVo0QWUrc1lGeDBzUVNCVElpOSt0a1NRNEpDOFlvbTEzZk1seVA5bmlZS25xbUFsMXhWYXAvS21kMi96bHloZEtGN2t0ZEhkckdRRzhxZlRKZTlxNDZRTDRUUmMzS211NGRvNEM1WEMvbTZabTFYVDFSRDRnOUhGemZEa0JoTjY4K0hrWUhoejhlRUEzMURQMFJVa3BXS0haVk5jaVdYMWEzQjc4V1gyNW5pY0JlWGwxYWk0UHZYaTV1NHorZkw1ZmhHNitwZmZ5RDk5L0J2ZWtkckNrNS9CLy9Md2hoN25INkpmeFd6eElabGRuNStmWDMva2wrOVdpZWRPSnNHRXhxdUx4Y215VzhQdlVyUXBlUVBIblRvWEI1ZmppUnZRN2FuZkd3dWNpL0hIWXhkSFB3NGx6dnVZRVBlRktmNW15dk1SdUI0dXh1ZWp5VDVhVm5hYmtWUjNCdlovOEh3bHlHRllLdGtEM0V5aURxOHF0VXdIVmYzRTNuUE9oaWRYejllbnR2L2dlVC9jVmVlam81YzhnV1JYaFdwbWRhV1F1b2Q3K1JrSE1QRVFqcDdPODUzaDVDWDNxZTEvd1QvaTJZRzk2RGVRZDNBU2RpdkJuYVpNWTBCR3NYYkdFUWtqNStpUXZSc3hMd0VHakE3Wm9jK09ScmFIdklOcExNQ01ITElBT2tNMkN0bkJrSG1FNFlBZGhDd2dMQVJMeWc1REZyMWpSMGRzZU1UaVF6YjA3UlFBU1JJV0htNFdWc3R1emMreEx5NmJ3bWV4V1BRM3lkK3ZUVDZkcWlXb0krQmFkZTEwQ3U2Z21UUXdhenJsYVl2c25ZdXNKMC9RL085b2o0L3c3d0Jsdk8xdVVyZ2RGbHAyczV0TUtabkNRZnpUdllLM29xNXUvQ2ZnNFZPcVduWFpocWlXMDZrMFBPdlFyQzVLWlpBcDRWMUYzZTZkUmdDdkVLZ0ZBRktWUlc3UjdtV0MxNkkxQW9GcERoZXNGYXoyeTQ3dHBOVkhsYTlGcGFRaTlTUUlVU0lFUnlEMU1VcFNtYUJRaFlyU0xGSXhUbUdPYXFIV1dML3FwMExNRFd4cy9paFNLN1U0elRLcjA3WWRjQnZsdXJLM0VDeFFpa09TV3QwQW91SllyYXhpMkQ3czYxYnYrbFA5dDNwMDJqeWs3K2Q1OWpsL000NG0zYWZCQUJZRkFRM1hGOWpjWGo1OC9paVM2NktMNUpmVDBUVTVlYjlhV2h1QW5la1dGbHFOcXd6cWhMOS9CYzNWY1pPcm5SN1I4cXF4bC9TNzJseUF5TDljai9VZU9SYmJqbTJwRkVVZ1NFSk1vbWNXbzIxVnNJV1ZLdVB6d2dKbFQxRCs5eFZLOWdvT2oxUnRic0JPMk1DdmxmOC9yQWFWR25TSDNicXpUV1dnMWJvVTBPMzVkdWlnS09xRmdtem96Rng5ZzVpQ3BMUEp1dDd2Y1hXdnU4ZnFjbi9FYWtCVEY4VmFvZjlIQ2hkQWRobzMzTk80MEwydmNxSHBjdjltRWQ1ZThZZFJkUHd2Zmw2Z2drcjg2VkcrNGdnUlRQK3NCcEZQUTBwSkV0cTZNNGdEYkNzaDNaNUFmUFFabEdLcngrVFU3YUdwdVJSd1NMZDk0TEJVNlR6ZjE3UlFXRzlxcm9CaUhNUEpFREtJb0l6bG9MT3pPSVZhTnVJNENUT0Z1UzNiSUxMQ0puV1ZEMkhtOThDTXE3YmpsYkM3dFF2UXorVzlyWEpxeTBUendzTHRWL2dYYTRLN2F2bS9xVEhCMjl6VTgyYnQ3UkxBMW9ueWJ3WW5vWTFNRUFBQSIsInNoclRva2VuIjoiZXlKaGJHY2lPaUpTVXpJMU5pSXNJblI1Y0NJNkluQnZjQ0o5LmV5SmhkQ0k2SW1WNVNqQmxXRUZwVDJsS1MxWXhVV2xNUTBwb1lrZGphVTlwU2xOVmVra3hUbWxKYzBsdVp6RmtRMGsyU1d0MFVrMXVVa0paTTBwR1RqSjRRMWxXV2xkU01FcDBXWHBXUjJJeVNtNWFSWEIyVGtOSmMwbHRkSEJhUTBrMlNXdDBVazF1VWtKWk0wcEdUako0UTFsV1dsZFNNRXAwV1hwV1IySXlTbTVhUlhCMlRrTktPUzVsZVVwb1pGZFJhVTlwU21sT1JGWnNUVVJyZDFsVE1XdFpWMHB0VEZSUmVFNUVWWFJaVkVFeVQwTXdkMDlIUlRSTmFteHBUWHBDYkU5SFVXbE1RMHB3WXpOTmFVOXBTbTlrU0ZKM1kzcHZka3d6VGpCamVUVXpZVmMxYTJJelpIcE1iVFZzWkVNNWFscEhUVEZaVjFac1dWTXdlRTVYVFRGTVZGSnJXV3BaZEZscVFUTlBVekZ0V1RKR2ExcEVTVEZOUkZacldYcEpka2xwZDJsaFYwWXdTV3B2ZUU1NlNYcE9WRmt4VDBSRk5FeERTblZaYlZscFQycEZNMDFxVFRGT2FsVTBUVlJuYzBsdFZqUmpRMGsyVFZSamVVMTZXVEZOYWxWNFQwTjNhVmxYYkhaSmFtOXBVbFJLYTFveGJFSmhSa1pxVTI1d1Fsa3dZM2RpUm1zMVpWZE9hMDFIVm0xV00wMTRUREJTUWxGVU1HbE1RMHBvWTBoQ2NGcERTVFpKYlVWNldWUk5lbGw2U21oTVZFazFUMGRWZEU1RVJtdE5VekExVFZSTk0weFhSVEZPUkZsNVRXMVZNazlFUm1wWmVVbHpTVzFHZDJOSGJHdFpWMDU1U1dwdmFVMXBTWE5KYlU1MVdtbEpObVY1U25Ga01uTnBUMjV6YVdFelVqVkphbTlwVld4T1FrbHBkMmxpYVVrMlNXNUtWMlZzYUZsT01YQTJVMVJTVjFORWJHdGphMDQxWVZod1VGa3piRk5pVm14TFdqSmFSMDFGU25kVVJHaENVbFY0U0ZaV09XeGFWbEoyVmtSc1MxZ3pVbHBsYWxwU1VrVmtkMDFZVWpaVWJYQm1ZVVJTWm1SVVJrdFdWVGxWVkRKV1dtSnRTbUZqVjJzelRqTmtURlpxU25WTldFVjRVMVZWTkdKV2NFeGFXR04zVDFab00xUnVTbFpUYlVveVV6STFOR0pyYUhOVmJWSXdaVlpTZEZRd2FEQlZNMUp0WkVWNGJGSkdaRTFVTWpreVZGY3dNMDF1VFhSU1JYQnpWVlJKZUZsWE1XOWlNbmhxVkVkNGMwMVdjRTFPTUVVd1RtdGFhMVl6YkVwamJFNU5aRlJWZWs1clVsTmpiR2N3VWpJNWNXVldRVEJqYkd4eVVqTmFVR1F5TVdsaE1GRXdaV3BHY0U5VmFIQlVSMDV6WTFST2JHUnFWVE5qYkVaVlRtMUdiRkl3Y0ZWWFNFbzJZVVZzU0ZoNlZqRk1WM2hvV2pGd1EyVnNVbE5UVmtwUVYycE9XRnBWV20xT1ZYQjRUbGhXZG1WSGMzaFhSbEpxWTBWV05XRkVhM2hOVlZGNlQwVmtkV0l4UWxaWmJEbEpVMFZPZUU0eFFYbGlNVVV6WVdwQ01XRXpaRU5VYldONFVtNVdkVkZZUW5GbFNFbDZWRmhrWVU0eVdqRmpSVGxKVTFSck1GUkhielJrYkRsVFlVZGFTRlpzVW1oV1ZURldUVlJLUTAxWVRteFZlazVzVlZOSmMwbHRWV2xQYVVwQ1ZWVkdRMGxwZDJsWlYzaHVTV3B2YVZWc1RYbE9WRmxwVEVOS2NtRlhVV2xQYVVveVZWWk9URm95T1ROaE1IQklWRmhaTWxKSGVEQmpTRUl4WVVkTk1VeFhNVzFQUjBwUFVWVlZlVTFYYUVKbFIwMTVWRzVzTWxGdWJHcEpiakU1VEVOS2NGcElRV2xQYVVwdlpFaFNkMk42YjNaTU0wNHdZM2sxTTJGWE5XdGlNMlI2VEcwMWJHUkRPV3BhUjAweFdWZFdiRmxUTUhoT1YwMHhURlJTYTFscVdYUlpha0V6VDFNeGJWa3lSbXRhUkVreFRVUldhMWw2U1haSmFYZHBZVmRTTUdWWVFXbFBhVXBvWTBoQmFVeERTblpoVjFGcFQybEplVmw2WXpWWk1ra3pUME13ZWxreVRtaE1WRkY2V2xkSmRGbHRWbWxOYVRGcFRVUnJNbHBYU1RWTmFsRXlXVlJuYVV4RFNubGhRMGsyU1dwQmRWRldTa3BSVkZwNFRqQmFObGt4Vmxka1IzTjVaREpXYldWWVVYZGlSVXByWkRKa2RsTnNhSGxWTVRoNVlURmFRMkl3Wkc1VFdFWkVZbGh3UldKNlFsUlJWVVpDVEdsSmMwbHVUakZaYVVrMlNXcEthazU2YkdwWmFtTTBURlJPYWxreVJYUk9SRTVzV1dreGFWcFhTWGxNVjBsM1QxUmFiRmxxYTNsT1JGcG9UME5KYzBsdVVuQmFRMGsyU1cxT2ExbDZWbWhhVjFab1RGUkZNVmw2VlhST1IxSnBUbWt4YVUxRVl6Vk1WMXBxV1ZkU2EwMXFWWGRPVjFKcVRXbEpjMGx1VmpCaFUwazJTV3hPYTJKWVFuWmhSazVxVW1wQ2JHSXlNWFJWUldoNVRXeGtNRkZWUldsTVEwb3lXbGhKYVU5cFNYaE1ha0ZwVEVOS05HSllUbVpoVjFKNVdsZDNhVTlwU1hoT1EwRXpTVzR3TG10WFRIQjFPVVpMZUhSUFpuUlFTVlZ2YmpSNWJVZHVaVmswWVVOdlRWcDBSVnBpUjJkVFQwOUJWVFJpZERoNlNqQjBRbVJoYmsxelJFbEpjREZYYlZWM1FqRTBRMGRyYUdrM0xWVXlkR2c0VkdkVWEwNHdiVXhUZVVoWlpqaHpSbUV3WnpOeU1HUkNTMnd6VlZScWFVUjBaa3BtV1dKa1lsVkhNVk5tU1dSeGFVZG9SSGczUVVVd2RraG1iRGRwV1hOdWExOUlSbEJHUTA1RFRtUm5hbFJ4WVZkSWFIaDZjSEJIVjFoZlpHWnpTalJpY1hSamR5MWxSWG93WkdVeU1Ea3pjbEJ4TlZoTVVsOUlRMDlOWWtsNk5VRkdXR1J3YVVaNWFXcHNTQzE1VkVkTGFYcDNabXAyWVZodFVqWTRhamh6V0VkVGVWRnlSVzFxYVdGaGRHNDBaM1ZPWDNFNFZFTXhZakJCVFZFM1ZYZENZbk13WjFJMk5YWnFOSGhETFVkMk0ydHJTblp5WmxoQ1IwUm1RM1kzTURRM1gwbzFXRGhSTkcxbGRFbHRlQzFrZW1FM2VFRTNOMlZsWXpoQk4zaHhaMDFuVVNJc0luUnpJam94TnpJek5UWTJOVEUxTENKaUlqb2lWWFV0UzNKamRGYzVaemMyTFhNd2RGRnpZWGhFWWtsWmRFRjZaR3cyUm5aNFoyNTNVRGd0ZUhGQlNTSXNJbTV2Ym1ObElqb2lPV1ZsTnpNeFptTXlNekExTkRjNFpEazRZelJtT1RNNE9XVmpOelJsT1dJaUxDSmpibVlpT25zaWFuZHJJanA3SW10cFpDSTZJbXhOYzNwbmJEWnlSVXRwWVhsdVpWQlJSbGhCYkd3dGNFc3pabmhrY0MxaWNGTTJUWFl3YjNkUVl6Z2lMQ0psSWpvaVFWRkJRaUlzSW10MGVTSTZJbEpUUVNJc0ltNGlPaUp5Vm5wWVdEZGFla2swVmtnNVpISkRlV2w2VDJONVVtMVpTbWRtUmpCQ2NFdzRRVVZNUjFWZlpXVlViMVE1U2w5MFdYbzJVVVJIY0RGMGVrNXFYMmcwWDNVeFNsVlBWRTlsV1c1aVduRnBOemQzUzFZeWJqRnhNVWxGT0cxYVMyVjNNRGxZZDA1eVZVcGlka3R1ZUc1SWJGSmtkSGxVYlU5SWRGTjBablJNWlVSWFRFOXZkazF0TnpKekxVUktiRkV5TVdGdGFHOXNZMHhzYkRGYVREZEJORFpHWkZkNVNYSlRUSFUxTXpaRVVuSllORWR2YW5sUU5ISlphMGQyVDNkdFltdEVOSG94YVRsSWFVeGpiSEV6WlhZMU4zSlJWRFpoWlVkS1ZGaHllbWhKUjE4MWRTMXNZV2RhUW5wVVVrbFNUMW96VjJWR1pqVktjVFYxYjNock1WaFVZM0JGZVdnNU1URkVNemhIYm05UVZXSmZTRWhEY1RkUU1tOVJOMm93ZFd0M1FrNW5NVVoxYmtGd2FuaHlNMDEzV2pkbWRYQlBTRWs1TkV4cU9IWmZVbWhtUjFaVVlWVk5WVEV5UWpGelpWTXpaVkVpZlgxOS5HR0xUcnF5RjJyWm9hcUVWLXUtOFQ2OGRpR3JzT0xzSHdZWDlGX2U2NjIweU45cnZldXFxNmpkcU54RGVHUVJKVEwyQ0FLRFZHeEFJMzZySWhwaHczTVFEczhaZXlsWndzbjBITnYxanJ4UGNfNEhjX2o4ZWxseGdBb1c5QThyZFFXN082dGRzNzNKc0hiQW5vc0hFNVNNdjV4VGwxN1ZxZnNycEtyVmZhWVQzbXM3aS10dnVlS29wSG12U0ZnTjVoMDNnN1dUdlRFZmY3cEE1bEljVVp5WVlxNlZ2WUVfUk8xaVJQcFE0SzJQVGdqTHZJZEppbDItMXJfTEIwUUFQaUk0MkI1dFFmSGc5UzR5aElWQXM2VnNGNDJPR2N0WXZoZm53VWFYdmxGVmhQU2RMczVKTTBYaW44X3lvdGJGdnV6LUVnUG4yT282RmxXSjk4U09YZFEifQ.\u0022,\u0022correlationId\u0022:\u0022148117ca-cd46-4ea5-bf7b-866a195fe1a1\u0022}", + "messageId": "582d54072bd74c679b0c3126052b90c4", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -41,13 +41,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-0f0defc4f441666ec904677facfd8db5-54a46a4c75bd307c-00" + "Diagnostic-Id": "00-0100570678b6d884d799679b8e3c4e21-539a2f188aa8bbe2-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-6188-4461-8678-7ebea57ab6b1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002205002080-6188-4461-8678-7ebea57ab6b1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAyLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvcFAzWkRvWmQwVW1HNEpKWFFWTTZpQT9pPTEwLTYwLTIyLTE0MCZlPTYzODY4NzY4OTA1Mjk3MDYxNw==\u0022,\u0022correlationId\u0022:\u00229e379fc5-d370-4c61-8bd0-fa1ae2d6b6c7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-04T19:20:32.9174923\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-6188-4461-8678-7ebea57ab6b1\u0022}]", - "messageId": "68e4603245d5454e955ad0223eef646c", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-662d-4f39-876e-bab9d3167a09\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-662d-4f39-876e-bab9d3167a09\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvYTNfdzVqVWF6RTZLcWFSbC1sOGQxUT9pPTEwLTYwLTE2LTIxOCZlPTYzODU4ODI5NTY5NTQ0NzQxNA==\u0022,\u0022correlationId\u0022:\u0022148117ca-cd46-4ea5-bf7b-866a195fe1a1\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-08-13T16:28:38.3272083\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-662d-4f39-876e-bab9d3167a09\u0022}]", + "messageId": "3af0a6a705af444796623566c4ed0196", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -56,13 +56,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-4d699d8548257b0e6a1c82fed7fc22d3-d026770b1deaa13d-00" + "Diagnostic-Id": "00-8cebfd4d655adaeea856dcc6a7685ff8-5f28abd76ac9fc1b-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvTkpnN0FmUi1LMDJfRzJGdkJtRXg0QT9pPTEwLTYwLTIwLTYwJmU9NjM4NjcwNDUyOTcxMjEyNDEx\u0022,\u0022callerDisplayName\u0022:\u0022\u0022,\u0022incomingCallContext\u0022:\u0022eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjYyI6Ikg0c0lBQUFBQUFBQUNzMVkrMi9iT0JMK1Z3UWZjRDljbDVaSXZRa1lCOGRKV2pleG00dVQzVVBQZHdGRlVqSVRXVklwK2JYZC91ODdsQjkxNnFETnZZQlZFRVVraDk4TWg4UGhOL25jNFN6UHgyV2pVc1ZabzhxaVF6OTNVbDNPelY4bE9yVGowVGM0OHJ3dzhHSVNCcDJmT2tMVlZjNDJZemFYSFZvczh2eFoxNlJjYUE0RG5VWHhWSlNyQWliSVFsU2xLcHFoZ1VzRDEwbWlTQ0RPMHdoNUpJNVJFcWNNK1NJTVNPU3cwRTBFek1sWmtTMVlKczJjclk2SzZVWnhWYkVkVUd5czhoaEIwdmNZOG1JWm9UaHhRa1JZNEhpTzcvS1FNd0NhS1NFa3JDcGxlUzBCUlplVjFNM21qR1ZiNEM4L2RacnlzTmlJTWw1VG5BakdTQktqMkFkQXovY0lTcExBUXl4TUNPR093eUxoUFRpN0I3M3cyai8vdGJkZXFlVEgza3BEbmdUWVRWRXMwd0I1cVJlaGhDZlFUQ1NPQTA4RXNlQ24zdEt5Ymcxc0lWN2psYzdMSHM1VjhWUWJKN09tWVh3R1lMT21xV3BxMjZ4UzNUUlgyYXlCZWV0TnQzN2FWTExMeTdrWnNaZkU1cFhOT1ZyVUVuYmE4UkZJQ2NTZTZpN25SN0tjMjB0c3A2Vitrc0oyWEV4ODM0dFJHa29mQWdNTEZPRUlBaVB3RWluVDJCZkVzVWxvSzJ5N1lXQnZUZnFyNm1FSEJRN0NBWEpkV01aY0NzWDZSYjJTR3N6bEhHeWRtM2dDQXpKd1MvMkhXc1BlcUpOVmFQa29lZk9Ic25WcjBvbWxDMUhkYVZiVVZhbU52ZEFFYTMzU3haaDAzYmhMWE9wNllXUjN2dXkyWmxBV2pTeEE5SE9IYnovdndEcVl5YW9xMytVeXV4WVZLaktPbks0UEtwSzhURUJnMlhPbWVscVVQV1NaakVNY3k3R0dZMnQ0NDFtWWhGMEhmckFScUhzMXVCUmdUSVAzZGlMRTZSSUh6Q0orMXd2TlNOSWIzRkc4TzR1bW8ra0Jvdm1ZOTloQ3FOTHlDUUVsdDNjM2R2L25Hd3M3RWZ4NlZneHYxOElZV3pnQ0N5SXJEcUVIV3FZVFJJanpmYjJzcHh0ZUlWMnJYK1ZSTzAzb1g2dzFtb1Bwa0JBczhJWlZRMHFob3A1Wld2S2wrZGlLcjFHdHNvTEIyY3krTitzZzNHWUNWRGRhc3JrU0ZIOVZTczBLZDIwRk1vdFVzNHpxemZYa2ExKzFFdlRtelR2eTZ5M0c4dEViTGE4MVNkZjlKdnY0SVRveWY3NVliMXVjRlVJSjFrZ0tMckh1ejI4c2dsMG5kQUxQeGMrZHNmTnZzd0diZFpxdkxjMkUwT0JMczVGaDBNVStzYlFKcTYzZ0tUdzVndmZoV25rQkhyOFdIbjhMVDhCNnN6REdHMUJCSUZBQ0oveFdCUndhUUhtRmlsYndWQVg1LzZqSVdTSnpPbWVxUUcwa2IzdVBObitOa3BWa2VWWnExY3ptVkVQOE5Hck9tbEpieVlwYkZlTlBzcW1ZMHRaS0pyQy9POHYxcG1wS2NIei9Zdkl3R0QxZ0VqMjhHL1VIRDVOM2Zmd1FPWllxSUNnbFpmMlBkeEZ6TnRWa09ielRZblQvL3Z5aitQbjlmUFJoOGZHK3VqeGZQUVhlQWpUL1J2N2w0dC93M3FnZFBQa1JmQkRHNmYybnRjaWlhbkQxWnZQSVJmOXQ4NjdDNjd1eCszVHVqUHNqbWNmcnpYMEx2dy9SYXM0cU9PMlJOZW5mRGNlMkYrME8vZEdZWjAyRzExYzJEcjRkaXEyM0lTSDJDMVBjN1pUVEVjZ09rK0h0eGZnWUxaMDMyNUZFTlJyMnYzZXFDV0lZVk1WSGdOdEprY1dLUXE2VFhsRStrM2VzbThIby9sUi9aUHI3cC8yUXFtNHZ6bDlhQ1FTN3pHVTFLd3VKNUJLeThva05JR0t5L3ZONXJqVVl2N1Q4eVBTL3NENDQ3NE5uM3E4Zzd1QWs3RFZCVHBPNjBrQ2phRDFqaVBnQnhEVWxJV3c2SlgwYUQraWxTODlqNnB6UjBLTitSTjBMT3NDVURHamcwNHUrRVF2aGZVa0hBWVdyNTl5andUbU4rdFFONkJtaFFRUVpqMGFFWGhKNjFqY2dlTEJWTE5kTmE1OWw3bHM2aFdlMVduVzN3ZDh0ZFRhZHlqV3dJN0MxYU9ycEZKYURaa0xEck9tVUpUVXlPUmVabFR4RGM3K2lIYTdnN3dDbHJHNGVFc2dPS3lXYTJVTXFwVWpnSVA1cEtlR3VLSXNIOXhtNC85eFVKWnQwYTZnUzA2blFMRzNRck16blVpTTloMXNWTmZ0TEdnRzhCQmFQQUVnV0JybEd6aUV2MUxYbUNFUXpTTENHc0pxWEdkc3pxMnVadGFReUNiSExVd0s4QVlnQzhpSVh5b0ZJZW9pbnpPWEFTVDFCWWtPS2E2aFQyanY5QStjTERSdWJIVWhxSVZjZjB0VFF0RjBIWktOTUZTWUxnWUk1UHlPSllRM0FLSzdreHZDRjNiWGV0anA5OVJqYTlhajg5RFM2dWx3K1NvSnZyNnQrcndkS2dVQkQrZ0taYS8rOFRFZHB4bis1L3Z1bjIyRVFqOGVmMk45QUJtQm5xZ1pGbTJHUlFoWHhqOC9BdUJxbU03bG5JMHJjVnlaSlg1WjZBbnovcmgzckhHek1keDI3TWlzSWlJdDlUSUlUaVl0ZFZiQ0RGVEpsaTl3QXBjOVEvdmYxUy9vS0d3Nm1tdGlBblRDT2I1bi9QdzBERlFwNGg5bTZtMjFsb0dSYkNxajZkamZVei9OeUpTRWFHcjJRWDhDblFPaE1zTGI3UFN5V3FqbFVwc2NqaGdIcU1zOWJndjV2OFZzQTJUTmNmTVJ3b2Z1WTQwTFRIci9Qd241Nmk2NGM4dkNXWEM3UDVoZHJyMzhncjhTOC95eDdnUnNGb2VQNUpBN2gvaVVleHVBVlZZL0FQZW9HS3JITklUWlZmYVpMSmppYzBWMGZyRmZJWkpFZEUxcW95ZHZUNFhzSmRnbnNJZVlKUVo3TE1XSnBtcUNRZUpKNXJnT2xid0thd0xIY3hIU1JEV0RtVjc4TWk3cGhSVnRmN3YzelkyNXZhcHpTV0tKWWJ1Q08vemt3YVEzY2w5TC9TWWtKcTgxMHVhamExYTRCckkyVDN3RlpiZXc3aHhBQUFBPT0iLCJzaHJUb2tlbiI6ImV5SmhiR2NpT2lKU1V6STFOaUlzSW5SNWNDSTZJbkJ2Y0NKOS5leUpoZENJNkltVjVTakJsV0VGcFQybEtTMVl4VVdsTVEwcG9Za2RqYVU5cFNsTlZla2t4VG1sSmMwbHVaekZrUTBrMlNXNXdORnBYWTNsV01EbFBZMFpTY21Rd05ERlNNakZzVjFkT01WWkhVakJSZWxwTFRVTkpjMGx0ZEhCYVEwazJTVzV3TkZwWFkzbFdNRGxQWTBaU2NtUXdOREZTTWpGc1YxZE9NVlpIVWpCUmVscExUVU5LT1M1bGVVcG9aRmRSYVU5cFNtbE9SRlpzVFVScmQxbFRNV3RaVjBwdFRGUlJlRTVFVlhSWlZFRXlUME13ZDA5SFJUUk5hbXhwVFhwQ2JFOUhVV2xNUTBwd1l6Tk5hVTlwU205a1NGSjNZM3B2ZGt3elRqQmplVFV6WVZjMWEySXpaSHBNYlRWc1pFTTVhbHBIVFRGWlYxWnNXVk13ZUU1WFRURk1WRkpyV1dwWmRGbHFRVE5QVXpGdFdUSkdhMXBFU1RGTlJGWnJXWHBKZGtscGQybGhWMFl3U1dwdmVFNTZUWHBOZWswMFRYcG5NRXhEU25WWmJWbHBUMnBGTTAxNlRYcE5lbWQ2VDBSUmMwbHRWalJqUTBrMlRWUmplazE2VVhsT1ZFRTBUa04zYVZsWGJIWkphbTlwWVhwS1Exb3hiRTFoVms0eVdteFJOVmxUY3pCVGJGVXhUMFZhYkdKdVdtbGtiWEJWWXpCS1VsRlVNR2xNUTBwb1kwaENjRnBEU1RaSmJVVjZXVlJOZWxsNlNtaE1WRWsxVDBkVmRFNUVSbXROVXpBMVRWUk5NMHhYUlRGT1JGbDVUVzFWTWs5RVJtcFplVWx6U1cxR2QyTkhiR3RaVjA1NVNXcHZhVTFwU1hOSmJVNTFXbWxKTm1WNVNuRmtNbk5wVDI1emFXRXpValZKYW05cFZXeE9Ra2xwZDJsaWFVazJTVzV3Tm1NeVpGSldhazV5VjJ4V1psZElXVEJPTVVZellWZFNiRk5YVGxSUldHeFlWbTFHVEdGV1JrUlZNbXMxWTFWb1ZGTkdaSE5UYmxrelYyNVNhVTFzV20xYWFrNUlWREExVm1OSGRHeFZWV2h4VlZkNGQxWXdOWGRPTW5Sb1VrUk9hbFpGVWpCVmF6VXdUbTFLY21WVVdrVmtlbWh5VTFNeFVXSnJNVkZhTTFwWVdYcG9TbFZwTVdGVVJVMHpWVE53U0dWSGRFbGlNVlkwWTFVNVZWSXdUWGhPU0VKYVZFVm9NMUpzT1VSUmEzaFlXbGQ0VVU1Rk5YcE9iVTB6VXpOU1JXUkVhR0ZqVlhNMFpWTXhUbVZxYkZCVFIwbzBVbGh3UTB4V1JsZGtXR2d3WVZob2VWVlhSblpXTW14SVZXeEdNbFZVVmxwUk1qVkZWa2RaTW1Oc1FrSlNSVlY2VlVSb05sTkhOVTFoVjNoNlpWWktSa3hVYkVsVlZWWkVXVzVvZWxKRlNsZGtWVlpwWWtSYVNHSkhNVzFrYTBsMFYxWktkV015VG1oVk1EVnJWRlpLWm1OR1NtNVZXRXBVVkhwc2NtVnRjREppVjFKdVpESkpOVlJ1UmpaaVIwWm1ZbFJzVWxaNmJIQlViR3hVVkZWU05GUXlTVFJTYmtaelVrY3hjVnBXUVRCbFZXOHlWRlJTV2xJeWNFeE5TRTVDVVZadmVWa3hiR0ZaVjNSWFdWWlJlVmxzYTNwWFIxcEhXa2hrVDFOVVJuSmpWMmhRWkZWU1ZGSlVXbEJpYlZZeFZWTkpjMGx0VldsUGFVcENWVlZHUTBscGQybFpWM2h1U1dwdmFWVnNUWGxPVkZscFRFTktjbUZYVVdsUGFVbzBVVk14UkZOSWFGUmplbHB6WVZkU2RsSlZPVnBrTTNBMFVtMVNiR0pWVWxwaVJsWkRUVVZhVVdKR1dsaFZWM2hZWVc1SmRGbHJTa1pKYmpFNVRFTktjRnBJUVdsUGFVcHZaRWhTZDJONmIzWk1NMDR3WTNrMU0yRlhOV3RpTTJSNlRHMDFiR1JET1dwYVIwMHhXVmRXYkZsVE1IaE9WMDB4VEZSU2ExbHFXWFJaYWtFelQxTXhiVmt5Um10YVJFa3hUVVJXYTFsNlNYWkphWGRwWVZkU01HVllRV2xQYVVwb1kwaEJhVXhEU25aaFYxRnBUMmxKZVZsNll6VlpNa2t6VDBNd2Vsa3lUbWhNVkZGNldsZEpkRmx0Vm1sTmFURnBUVVJyTWxwWFNUVk5hbEV5V1ZSbmFVeERTbmxoUTBrMlNXcEZkVkZXU2twUlZGcDRUakJhTmxreFZsZGtSM041WkRKV2JXVllVWGRpUlVwclpESmtkbE5zYUhsVk1UaDVZVEZhUTJJd1pHNVRXRVpFWWxod1JXSjZRbFJSVlVaQ1ZUQkdRa3hwU1hOSmJrNHhXV2xKTmtscVNtcE9lbXhxV1dwak5FeFVUbXBaTWtWMFRrUk9iRmxwTVdsYVYwbDVURmRKZDA5VVdteFphbXQ1VGtSYWFFOURTWE5KYmxKd1drTkpOa2x0VG10WmVsWm9XbGRXYUV4VVJURlplbFYwVGtkU2FVNXBNV2xOUkdNMVRGZGFhbGxYVW10TmFsVjNUbGRTYWsxcFNYTkpibFl3WVZOSk5rbHVhSGhpTWxZelZraE9kMU5XVmpGTVZURlVWMjFPYmxVelpGVlJWVVZwVEVOS01scFlTV2xQYVVsNFRHcEJhVXhEU2pSaVdFNW1ZVmRTZVZwWGQybFBhVWt6U1VSSk1FbHVNQzVsZVV0MFkyaFNhVEozTFZWcVptTkxla1YwVkVadk5VZDJhVzFrVm1Fek16WkZZa05YTURsUlMzaHZPWE5zTldKdFZEWkdSbmRhVjFKM1Eya3djblpFZUhKUGIydzFUMlJDU2xWSGNHMXFkbkIwWnpGNlRUaEpNbk5VYTJGRUxWWXdhamhpZEdScWJsTnBObUZsWWpWT1ltMXlXbXhqVjA5Q09HVk5UMU5mUkMxWFNYRjBTelp3T0Rod09FOVZjMmxzZVd0MmJuQjRiRnBsWldjNVluQTFOV0ZxTjFoeGRHRllSRmg2ZFZvd1VtcEhUM2xEVTJ4WE0wOUlTM1V5T0ZSUk1tTm9OVkJrVjNaUk1GQjVNVFJwYjB4dFlqWXlPRlEyU2w5cmRtNUtXVTV3T0RjdE1XeHBia0ZyYlVwRVIyRXdSMjFxUldzdGJraFZkME55UlhwT1RXTnRRVkJrWkVkT1oxaGtaV0p5ZEhsS1RIbDBTV2M0YUVobVNsVjZOM0o0TFU1RVgyd3RURk5hTkVScVgyeERTR3hWVjB0V1UwMVBjVTVNZG1wMmVsTnJTMFUxZW0xVE1XWlRXRlJ2VURnNFZ5MUhhMEVpTENKMGN5STZNVGN6TXpNME1EQXpOU3dpWWlJNklscEhjREpQWkhoUVIzVkZOV2x0VVdWcFR6aHllVms1TWxBNE5HTktabU5xT1hGUE9YUnNiVkp4VEdzaUxDSnViMjVqWlNJNklqVTFZVEE0WkRJM1lqSTBaalF5T1RnNVl6Rm1NMlZoTmpSaE5UTTNPR0l3SWl3aVkyNW1JanA3SW1wM2F5STZleUpyYVdRaU9pSXljVmxWVTNkMVVIRllNVlF4UVd4bmVVTlpjemd0ZW10dVFtUTNZM0JmVlVVNGNtNUxSVXRmTFVwUklpd2laU0k2SWtGUlFVSWlMQ0pyZEhraU9pSlNVMEVpTENKdUlqb2llbnB6WjFGV00ydGFWVjlZZGpRM1VYZHBaR1ZKWTFOQmVWZFdZVXRwVVVOVGFUbHhTRk5JVjJ4S2RqZGFkR0l5Vm1abU0wZFBUbFZ3YTJWUlNHcFJiSEJYVG5BM2EyRkVNMk5VUkhSU1RuUTJZbXQ1TmtSM09HdEpMVkJ1VFZCbmRsZGpPRWxTTFZwTVF6ZFRla2Q0YTBodlZYaHhUMVJIUXpFMGNGbE1TSGRHWDBOQ1RGZGxiRkEwVG5NMll6ZExkRVIwT0ZweFN6aDVMVTE2T1U5SVluaEZla0l0VVZaMWVIUnBlSEpSWVc5WGFVZFNVWFpSTlZsRGJrUlVaalp5VUVGRVJUTlFPSHBJYmt4cGJITjVVa1V0T1VoUlJVTmllSE5FUWxaMVJXSnNOa2RzYldaMlFpMVpVbTV6WTJGVFRtUk5VbDl3VW1kUmNsTlBPV3Q2YW5adFpHZDNZamxPY1hwc1lWOXRPVkZYT1dsT1dWTk5SSGhQWWpoR2NXeEViV3BsVURSNVNqWk5ORmxIYWtzd2MwRkJXakpqV1ZwaGExWmhWREppV1ROWVprWmtkMDVKTVd0eGFFOTFSRk5GTms5dVpYVlJJbjE5ZlEuSnZrRTlvQ3VXOWlOTTlZQzkwV0VRaVdGZklBeGJDR0pIMVExTEpmdldwV1hXQWJudERWNl9QQ0xHNXBiXzZFenpSYkVWRC01YlV0Y00wWm1vNXIxZDFBUU1CYkc2QmtGajNPWmRQeTk5Zlg3RHV2SnctVl9ZVnl0eVczMTE0NjdlX3pzeF9vcElTTzZEbGN5MFZDOWdiMFh4MHU1TXl4S1JobDV3dy1aMGNxOXRQMC1FU3NTcXZUdWNlLTY3QnVlM3dNMWI0d0xTbmdUc1NITWZfazk1X1VDcjF1NFhZajRRRjItdjNDR3RzTnR4QUVFV0ZEd3ZJQzZFUHVSc1pZdU1rS3VjLVpuZnU1WlRNX0xjSnprOVV6Y2RoM2h2bjdMSThURktONkZIcC1JcmZYNi05SWxCR3VqalZpcDBHOU1aZzEtVWNuX0lJWUFnZThnd2M0UWJ3In0.\u0022,\u0022correlationId\u0022:\u002254b13207-1cb2-43c1-affb-724ea430e54b\u0022}", - "messageId": "2de1a03b6801406682f6728f2ce794d2", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-8414-4de1-9e0c-c59ba372058b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-8414-4de1-9e0c-c59ba372058b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9zcWFtNXgtSTdrZWVPSDJPVGNDanR3P2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u0022d720459f-5e7f-4955-8ab7-c7d7518914ec\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-08-13T16:28:38.3900893\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-8414-4de1-9e0c-c59ba372058b\u0022}]", + "messageId": "35158893c5cc44f3a6cca6497a04a0d6", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -71,13 +71,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-f50a712f9e9573016096d1856278aab9-4ec0288d81ccb6eb-00" + "Diagnostic-Id": "00-1aae284e96ac05488406f10d1056e7fe-6b2d1b796acf7d85-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-63f7-4d59-970a-b1bb38947f7d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002205002080-63f7-4d59-970a-b1bb38947f7d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvTkpnN0FmUi1LMDJfRzJGdkJtRXg0QT9pPTEwLTYwLTIwLTYwJmU9NjM4NjcwNDUyOTcxMjEyNDEx\u0022,\u0022correlationId\u0022:\u002254b13207-1cb2-43c1-affb-724ea430e54b\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-04T19:20:38.4788224\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-63f7-4d59-970a-b1bb38947f7d\u0022}]", - "messageId": "67b34f4bca6c45bb931efb608e042ba8", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-8414-4de1-9e0c-c59ba372058b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-8414-4de1-9e0c-c59ba372058b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9zcWFtNXgtSTdrZWVPSDJPVGNDanR3P2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u0022d720459f-5e7f-4955-8ab7-c7d7518914ec\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-08-13T16:28:38.5476705\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-8414-4de1-9e0c-c59ba372058b\u0022}]", + "messageId": "4f308bcc23e846f886e5a1b138f5a715", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -86,13 +86,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-a4671f9ac99e7105b7e5ba5f76e0f423-16c4719c424010cf-00" + "Diagnostic-Id": "00-c856df9ebec9070591b36733678206ca-a35cb18008fc327f-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-6e6f-49e8-a346-da6b828c103d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002205002080-6e6f-49e8-a346-da6b828c103d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8tdXlfcUhwT0VVYVJ1QWgxcE9yd1h3P2k9MTAtNjAtMzctMjcmZT02Mzg2NzIxODcyMjMwMjcxMjQ=\u0022,\u0022correlationId\u0022:\u0022d8a6d391-0c0d-49d3-a200-6a4049b17f61\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-04T19:20:38.4636234\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-6e6f-49e8-a346-da6b828c103d\u0022}]", - "messageId": "010a5ea52fc4476fb691d68b3862593b", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-662d-4f39-876e-bab9d3167a09\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-662d-4f39-876e-bab9d3167a09\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvYTNfdzVqVWF6RTZLcWFSbC1sOGQxUT9pPTEwLTYwLTE2LTIxOCZlPTYzODU4ODI5NTY5NTQ0NzQxNA==\u0022,\u0022correlationId\u0022:\u0022148117ca-cd46-4ea5-bf7b-866a195fe1a1\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-08-13T16:28:38.6890234\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-662d-4f39-876e-bab9d3167a09\u0022}]", + "messageId": "bbe8e3d7258349a2832d6e10ce141acf", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -101,13 +101,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-4fa88a32391558d19737d5408521bcd0-8528dcf9e1ed0ea1-00" + "Diagnostic-Id": "00-8606047a28553ad0322dcf2c3932f838-6430232e7ec72892-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-6e6f-49e8-a346-da6b828c103d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002205002080-6e6f-49e8-a346-da6b828c103d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8tdXlfcUhwT0VVYVJ1QWgxcE9yd1h3P2k9MTAtNjAtMzctMjcmZT02Mzg2NzIxODcyMjMwMjcxMjQ=\u0022,\u0022correlationId\u0022:\u0022d8a6d391-0c0d-49d3-a200-6a4049b17f61\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-04T19:20:38.5680142\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-6e6f-49e8-a346-da6b828c103d\u0022}]", - "messageId": "f77fc436ff294839aac70f33ac7d1c90", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-662d-4f39-876e-bab9d3167a09\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogFailed\u0022,\u0022data\u0022:{\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:500,\u0022subCode\u0022:8601,\u0022message\u0022:\u0022Action failed, unable to create connection to dialog service.\u0022},\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-662d-4f39-876e-bab9d3167a09\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvYTNfdzVqVWF6RTZLcWFSbC1sOGQxUT9pPTEwLTYwLTE2LTIxOCZlPTYzODU4ODI5NTY5NTQ0NzQxNA==\u0022,\u0022correlationId\u0022:\u0022148117ca-cd46-4ea5-bf7b-866a195fe1a1\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogFailed\u0022},\u0022time\u0022:\u00222024-08-13T16:28:50.1163778\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-662d-4f39-876e-bab9d3167a09\u0022}]", + "messageId": "f5316e79d7604e9bbe964a4995259939", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -116,67 +116,7 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-2d8a174c77700a38e0b01af13fc2a43f-24bf540f173bc9be-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-63f7-4d59-970a-b1bb38947f7d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002205002080-63f7-4d59-970a-b1bb38947f7d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvTkpnN0FmUi1LMDJfRzJGdkJtRXg0QT9pPTEwLTYwLTIwLTYwJmU9NjM4NjcwNDUyOTcxMjEyNDEx\u0022,\u0022correlationId\u0022:\u002254b13207-1cb2-43c1-affb-724ea430e54b\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-04T19:20:38.6184978\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-63f7-4d59-970a-b1bb38947f7d\u0022}]", - "messageId": "36db5d44ab354e3dac0a1a6bb56ea660", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-f11f649b81a6f566ac9a5e8e67c330e0-2ac7fa503537557a-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-63f7-4d59-970a-b1bb38947f7d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogStarted\u0022,\u0022data\u0022:{\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Success Result\u0022},\u0022callConnectionId\u0022:\u002205002080-63f7-4d59-970a-b1bb38947f7d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvTkpnN0FmUi1LMDJfRzJGdkJtRXg0QT9pPTEwLTYwLTIwLTYwJmU9NjM4NjcwNDUyOTcxMjEyNDEx\u0022,\u0022correlationId\u0022:\u002254b13207-1cb2-43c1-affb-724ea430e54b\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogStarted\u0022},\u0022time\u0022:\u00222024-12-04T19:20:40.9329573\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-63f7-4d59-970a-b1bb38947f7d\u0022}]", - "messageId": "70216a108a65427d96bd1278a1c63c59", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-ec98f912a0bd3f0f7e729b9e1dbfc6c7-4607fe559aa942b9-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-63f7-4d59-970a-b1bb38947f7d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogSensitivityUpdate\u0022,\u0022data\u0022:{\u0022sensitiveMask\u0022:false,\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Success Result\u0022},\u0022callConnectionId\u0022:\u002205002080-63f7-4d59-970a-b1bb38947f7d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvTkpnN0FmUi1LMDJfRzJGdkJtRXg0QT9pPTEwLTYwLTIwLTYwJmU9NjM4NjcwNDUyOTcxMjEyNDEx\u0022,\u0022correlationId\u0022:\u002254b13207-1cb2-43c1-affb-724ea430e54b\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogSensitivityUpdate\u0022},\u0022time\u0022:\u00222024-12-04T19:20:41.1644267\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-63f7-4d59-970a-b1bb38947f7d\u0022}]", - "messageId": "f8b1fac5e93a44ac86252731d5b3f916", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-d3213e50eb005aeb76b10af45a56cafb-b79d4f2f9d8969fa-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/05002080-63f7-4d59-970a-b1bb38947f7d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogCompleted\u0022,\u0022data\u0022:{\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Success Result\u0022},\u0022callConnectionId\u0022:\u002205002080-63f7-4d59-970a-b1bb38947f7d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvTkpnN0FmUi1LMDJfRzJGdkJtRXg0QT9pPTEwLTYwLTIwLTYwJmU9NjM4NjcwNDUyOTcxMjEyNDEx\u0022,\u0022correlationId\u0022:\u002254b13207-1cb2-43c1-affb-724ea430e54b\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogCompleted\u0022},\u0022time\u0022:\u00222024-12-04T19:20:41.9270808\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/05002080-63f7-4d59-970a-b1bb38947f7d\u0022}]", - "messageId": "ed53122b75f643f4ba82a208fe937df7", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-0fef01c22eb6e0818d0834832565c6e6-c091db3da4a00658-00" + "Diagnostic-Id": "00-54193080543ddd5177db45fd926bad04-b32401d7498b54a7-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DifferingConcurrentDialogsTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DifferingConcurrentDialogsTest.json index a158b00c81e6..e2a9666c4f16 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DifferingConcurrentDialogsTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DifferingConcurrentDialogsTest.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a001e80-cac2-416a-9b33-01bfabbafcb9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:486,\u0022subCode\u0022:560486,\u0022message\u0022:\u0022Busy here. DiagCode: 486#560486.@\u0022},\u0022callConnectionId\u0022:\u00221a001e80-cac2-416a-9b33-01bfabbafcb9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9KNzk3X1NUOGpFNmhaOW9WM0lzYW5RP2k9MTAtMTI4LTE5My0xMzcmZT02Mzg2OTYzNzIzOTgyNDY3MjQ=\u0022,\u0022correlationId\u0022:\u002233d3f9be-4d6b-463b-b8e6-90c4fc64a62f\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:41:46.8189297\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a001e80-cac2-416a-9b33-01bfabbafcb9\u0022}]", - "messageId": "1d2dfbb4f15344b1b03afbf52db56e0c", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-81c6-48f8-9d59-64c1750ce8b9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-81c6-48f8-9d59-64c1750ce8b9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZOVd3dlF3cXgwNndZd1ZiZkFfbF9BP2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u002209ad8957-6ab4-4870-82d8-9544f2fb35fd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-08-13T16:26:52.5461271\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-81c6-48f8-9d59-64c1750ce8b9\u0022}]", + "messageId": "0dcb1f6652ef4badb6099aa7a239a1ac", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-f36f391bd61d36494a99531d7cc762c4-82bc045fa1ef832b-00" + "Diagnostic-Id": "00-4dc88fa2fca1ed9422cd6d5c68a4ac98-6b6686d9bbec0e9d-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a001e80-cac2-416a-9b33-01bfabbafcb9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:486,\u0022subCode\u0022:560486,\u0022message\u0022:\u0022Busy here. DiagCode: 486#560486.@\u0022},\u0022callConnectionId\u0022:\u00221a001e80-cac2-416a-9b33-01bfabbafcb9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9KNzk3X1NUOGpFNmhaOW9WM0lzYW5RP2k9MTAtMTI4LTE5My0xMzcmZT02Mzg2OTYzNzIzOTgyNDY3MjQ=\u0022,\u0022correlationId\u0022:\u002233d3f9be-4d6b-463b-b8e6-90c4fc64a62f\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022},\u0022time\u0022:\u00222024-12-14T00:41:46.8189297\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a001e80-cac2-416a-9b33-01bfabbafcb9\u0022}]", - "messageId": "e6b82bf76f0044048904207e854f9f3b", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-08a1-4d90-a1c8-4d043662ae3d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-08a1-4d90-a1c8-4d043662ae3d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAyLXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvdzVlM0JERHdZMDZPcmZpcVpacmwxZz9pPTEwLTYwLTE3LTEwNSZlPTYzODU4NTczMjUyODY2Mjg4NA==\u0022,\u0022correlationId\u0022:\u0022ed601254-7d1e-450c-a154-ac592973dde7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-08-13T16:26:52.8103057\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-08a1-4d90-a1c8-4d043662ae3d\u0022}]", + "messageId": "620c5d2fab4742c889e7590ad7282e1c", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,7 +26,97 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-637cd65525cfbd0a86bfff1917097a9b-d295aeb7c6ec2cb1-00" + "Diagnostic-Id": "00-d253821a325689727f1024c79dbdac27-891500f5bcb36370-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA0LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvWUd1aVF1Z2ZqRXF3NkpvSk16T2hMUT9pPTEwLTYwLTExLTU5JmU9NjM4NTg3NDQxMzE5ODg2Nzky\u0022,\u0022callerDisplayName\u0022:\u0022\u0022,\u0022incomingCallContext\u0022:\u0022eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjYyI6Ikg0c0lBQUFBQUFBQUNzMVhiVy9iT0JMK0s0SVAyQStiMGhLcGR3TEd3bkdTMW5seDBpUnRidmQ4RjVBVVpUT1dKWldpWXlmZC92Y2IraVZ4NnFETkhlNkFkVkhISklmUFBETWNEbWUrdGdRcmlrRmxWSzRFTTZvcVcvUnJLOWZWMVA1VldZdTJBcnFIa3lDSW95QWxjZFI2MThwVVV4ZnNZY0Ntc2tYTFdWRzhhOGt5cXl0Vm1yN2RrSEVaczV3bkNQc2hSb0hNT1Vwd2xpQXVDV1k1Q1ltTU00QXBXRG1hc1pHMGUxWW9OZE5HQ1ZXek5SRFBRaStPZ3dCNWFScWhRQkNDa2pSTlVab2thWWlETU15eEQwQmpsV1VTZU9lc2FDU2c2S3FXMmp6c3M5RUsrTnU3bHFtZXpFa29FdzNGUEdPTWNNQUNGU2dJQTRJNGp3TEVZazZJOER5V1pNR3R0LzZnVjc0Mm56ZjQ0NDB3UC9kSGxxV2M4QkNvK2hJY1MzeUMwaHdEZmM3OW5ETWVnbEc3L3RDeXFXWmFMSEZiYjdHNzlib1BDMVZPR3V0R1pnd1RZd0FiRzFNMzFIVlpyZHA1b1VaakEvc1dEKzFtOGxETHRxaW1kc1c5SjY2b1hTSFFySkdNSUk4Z2tNb1FtelJ0SWJaa2hYRHZzWnRYZWlJemw0UWh6emtIWWpMS1VlQjVBZUpFUmhCRENjODhIb1pDZUM2SlhZVmRQMGpkRmFYZlZBZDdLUElRVGxFU2dobFRtU25XTFp1NTFFQlhDT0E2dFI0Q0FpTndTL09Yc21GRGFzY0tMZStrTUg4cHJpdEtPMHhuV1gydFdkblVsYlo4WVFoc1E5TEd4Ry9qSkcwVFF2MGdUdHpXdC9YWjlLclN5QkprdjdiRTZ1YzEwSU90cks2TGRVSnltNnhHNVVnZ3IyMTE4S0xpSUhEZjhZWjZXRllkNUpBUStEcWUweDg0L1l2QXdTUnVlL0FQMi9XbTA0QkxBY1VPUkdjdFFydzI4WUJXR3JTRDBLN3dUdSthNHZWZHRCT21BNGoyeDdURFpwbXFuQkQ3SG5FdXJ5L2M3dWNMQjNzSi9BK2NGTDU5QjJQczRBUVlKRTRhd3d5TTdDU0lFTy9IZWxsSEcxRWozYWhIdVRYT09mM1ZXYUFwVUllRTRJQXpuQVpTQ3MyYXNhT2x1TGMvVnVJTDFLaFJ5ZUJ1am42MDYwbDRtUWxRWTdSa1U1VlIvS3lVV2d2OTFWaUJ6Q3pYYkVUcnhyRG51WHFlMGFrKyszMVEzdFI3N3RITmVicjNlZkpvelBINXNiZEZmenBickVhQ2xabkttSkVVWE9KOE9yaHdDQ2lKdlNqdzhVdG5yUDFySG9DenpvdUZvMW1XYWZDbFBjZzRodWpCanJaaHRSTGNoU2RiOEdFS3Z0K0Y5OThLNzM4UFQ0QzlOWXdKQXlvSUJFcmt4ZCtyQ0ZJY3ZzbUNwZUN1Q3ZML1VWRXdMZ3M2WmFwRXkwaGV6VzRkL2dMeHVXVEZxTkxLaktkVVEvd1lOV1dtMGc2ZkM2ZG1ZaUpOelpSMjVwTEQrYTZaNjRmYVZPRDQ3dUhWYmUvc0ZwUGs5c05adDNkNzlhR0xieFBQVVNVRXBhVE4zU1NlM1o5TS9DKzZ6dmZHM1Zsay9qajFCMG14LzNsMmNhUURVYkU2NjkzZ1A4bS9mUHduM3BCYXc1T2Z3WWZsZS8zM0QyRSs5ejUwaStKemZuWWQvS0crZExWYjNDMEdrMFUxNEZFNGlXK09sL0NiRUsybnJJYmJuamhYM2V2K3dBMlM5YVhmV2d1Y3EvN3BpWXVqNzVkUzUzMU1pUHZLRm4rMVpYY0Zzc05WLy9Kd3NJMldUODFxaFN1ajRmdzd1NW9naGtGVnVnVzQycFE0ckN6bGduZks2b1c4NTF6MHpqN3Q2ay9zZkhkM0hsTFY1ZUhCYTVaQXNNdEMxdU9xbEVqZVExTGU0UUFpa1BXamwvdDhwemQ0emZ6RXpyOWlIL0hzd3BiM2E0Zzd1QWtiVFpEVHBLNDFsRkcwR1RORXdzaUo5MmwwUkpNRDZ1L1RPS1ZoUXZjRGlpTjZFTlBra0FiRUx2Vmk2a2QwUHdRRk5NWDBFRk12b0FUa1k5bzdvREhzVFduU295R3hNekQwTU8xaW1xUVVINndVeTRWWjhuUHNlMHVIOEpuUDUrMVY4TGNyUFJvTzVRS3FJK0JhbW1ZNEJIUFFPTk93YXpoa3ZFRTI1eUpyeVFzMC94bnQ2UW4rQVZET0duUExJVHZNVldiR3Q3bVVHWWVMK0xkN0NXOUZWZDc2TDhERGwxU1ZOUG1LcU1xR3cweXozS0J4VlV5bFJub0tqeW95bTBjYUFieEVVQ3NBa0N3dGNvTzhwN3pRTkZvZ0VCMUJnclVGcS8yeWE1dks2bFNPbGtWbEhwRXM0WjVFdmd3REZPUlFXWExwTWVSQjI0Q1pTQmpKTWV5UkRmUWF5eWY5WElpWmhvTWRQUldwcFp5ZjU3a3QwOVlUa0kxR3FyUlpDQlJNeFQ3aHRtaUFpdUpFUHRoeVlmMnNMMGN0OGJqWFA4TGtMbFRrNXVQZDRPVDBUQmFQSHpzZFVBb0ZOS1F2a0trdUg2OEhIK2Fodmo0dTNPTHhaSjQvUGlSZGtBSFlzV3BBMFVPL3pLRlArTWRYcUxnTTB5TzVLVVpVOXFtMlNmcW8wbGRRNUY4djExcFBISXYxeExwVmlpTGk0eENUYUVmaWNOMFZyR0V6bWJOWllZSHlGeWovK3c0bGZ3T0hKNm8yTnVBa3JPT1hsZjgvYlFXYUthZzc3TkZkckRvREpaZXRnR291MTB1UWZhdTVoR2d3ZWlhL2dVK2huclBCdWp6dmZubXZ6Rk4zdWIxaUMwQmRGY1d5UVArUDZsc0EyVlM0d1ZhRkM5UGJOUzRNM2QvZno5VEgyU2kvTy93eWo0NnI0N1BIOC9IcHgrZmlGYU13L1VWMklqOEpFK2cyc1kraHdZemlsSUJYVkhNRzdsRVgwSWs5UE1XbWF2WjF4VElCZDNROUIvWm1rczlHMi9VczlOV3Iyd0c5V2N5RWgyUVlFZWpWUUI4WFVKVW5PTXI5aEhnaUliYUxCY2NLRzlQbHFBYzduLzNTTDZFRUs0VTlySTEvZmw3YjJ4Nm5za3dVS3l6Y2RvTi90U1M0YVpiL214WVRyQjNwYWxZdnJWMEEyREpPL2cwamlLQXJTeEFBQUE9PSIsInNoclRva2VuIjoiZXlKaGJHY2lPaUpTVXpJMU5pSXNJblI1Y0NJNkluQnZjQ0o5LmV5SmhkQ0k2SW1WNVNqQmxXRUZwVDJsS1MxWXhVV2xNUTBwb1lrZGphVTlwU2xOVmVra3hUbWxKYzBsdVp6RmtRMGsyU1d0MFVrMXVVa0paTTBwR1RqSjRRMWxXV2xkU01FcDBXWHBXUjJJeVNtNWFSWEIyVGtOSmMwbHRkSEJhUTBrMlNXdDBVazF1VWtKWk0wcEdUako0UTFsV1dsZFNNRXAwV1hwV1IySXlTbTVhUlhCMlRrTktPUzVsZVVwb1pGZFJhVTlwU21sT1JGWnNUVVJyZDFsVE1XdFpWMHB0VEZSUmVFNUVWWFJaVkVFeVQwTXdkMDlIUlRSTmFteHBUWHBDYkU5SFVXbE1RMHB3WXpOTmFVOXBTbTlrU0ZKM1kzcHZka3d6VGpCamVUVXpZVmMxYTJJelpIcE1iVFZzWkVNNWFscEhUVEZaVjFac1dWTXdlRTVYVFRGTVZGSnJXV3BaZEZscVFUTlBVekZ0V1RKR2ExcEVTVEZOUkZacldYcEpka2xwZDJsaFYwWXdTV3B2ZUU1NlNYcE9WRmw2VG1wSk5VeERTblZaYlZscFQycEZNMDFxVFRGT2FrMHlUV3ByYzBsdFZqUmpRMGsyVFZSamVVMTZXVEZOUkUxNVQxTjNhVmxYYkhaSmFtOXBVbFJLYTFveGJFTlJha295WkVjeFZtSlZlRmxqUnpWQ1ZVUk9SRTVWWkhWVE1WWXpZbXRHUWxCVU1HbE1RMHBvWTBoQ2NGcERTVFpKYlVWNldWUk5lbGw2U21oTVZFazFUMGRWZEU1RVJtdE5VekExVFZSTk0weFhSVEZPUkZsNVRXMVZNazlFUm1wWmVVbHpTVzFHZDJOSGJHdFpWMDU1U1dwdmFVMXBTWE5KYlU1MVdtbEpObVY1U25Ga01uTnBUMjV6YVdFelVqVkphbTlwVld4T1FrbHBkMmxpYVVrMlNXNUtWMlZzYUZsT01YQTJVMVJTVjFORWJHdGphMDQxWVZod1VGa3piRk5pVm14TFdqSmFSMDFGU25kVVJHaENVbFY0U0ZaV09XeGFWbEoyVmtSc1MxZ3pVbHBsYWxwU1VrVmtkMDFZVWpaVWJYQm1ZVVJTWm1SVVJrdFdWVGxWVkRKV1dtSnRTbUZqVjJzelRqTmtURlpxU25WTldFVjRVMVZWTkdKV2NFeGFXR04zVDFab00xUnVTbFpUYlVveVV6STFOR0pyYUhOVmJWSXdaVlpTZEZRd2FEQlZNMUp0WkVWNGJGSkdaRTFVTWpreVZGY3dNMDF1VFhSU1JYQnpWVlJKZUZsWE1XOWlNbmhxVkVkNGMwMVdjRTFPTUVVd1RtdGFhMVl6YkVwamJFNU5aRlJWZWs1clVsTmpiR2N3VWpJNWNXVldRVEJqYkd4eVVqTmFVR1F5TVdsaE1GRXdaV3BHY0U5VmFIQlVSMDV6WTFST2JHUnFWVE5qYkVaVlRtMUdiRkl3Y0ZWWFNFbzJZVVZzU0ZoNlZqRk1WM2hvV2pGd1EyVnNVbE5UVmtwUVYycE9XRnBWV20xT1ZYQjRUbGhXZG1WSGMzaFhSbEpxWTBWV05XRkVhM2hOVlZGNlQwVmtkV0l4UWxaWmJEbEpVMFZPZUU0eFFYbGlNVVV6WVdwQ01XRXpaRU5VYldONFVtNVdkVkZZUW5GbFNFbDZWRmhrWVU0eVdqRmpSVGxKVTFSck1GUkhielJrYkRsVFlVZGFTRlpzVW1oV1ZURldUVlJLUTAxWVRteFZlazVzVlZOSmMwbHRWV2xQYVVwQ1ZWVkdRMGxwZDJsWlYzaHVTV3B2YVZWc1RYbE9WRmxwVEVOS2NtRlhVV2xQYVVveVZWWk9URm95T1ROaE1IQklWRmhaTWxKSGVEQmpTRUl4WVVkTk1VeFhNVzFQUjBwUFVWVlZlVTFYYUVKbFIwMTVWRzVzTWxGdWJHcEpiakU1VEVOS2NGcElRV2xQYVVwdlpFaFNkMk42YjNaTU0wNHdZM2sxTTJGWE5XdGlNMlI2VEcwMWJHUkRPV3BhUjAweFdWZFdiRmxUTUhoT1YwMHhURlJTYTFscVdYUlpha0V6VDFNeGJWa3lSbXRhUkVreFRVUldhMWw2U1haSmFYZHBZVmRTTUdWWVFXbFBhVXBvWTBoQmFVeERTblpoVjFGcFQybEplVmw2WXpWWk1ra3pUME13ZWxreVRtaE1WRkY2V2xkSmRGbHRWbWxOYVRGcFRVUnJNbHBYU1RWTmFsRXlXVlJuYVV4RFNubGhRMGsyU1dwQmRWRldTa3BSVkZwNFRqQmFObGt4Vmxka1IzTjVaREpXYldWWVVYZGlSVXByWkRKa2RsTnNhSGxWTVRoNVlURmFRMkl3Wkc1VFdFWkVZbGh3UldKNlFsUlJWVVpDVEdsSmMwbHVUakZaYVVrMlNXcEthazU2YkdwWmFtTTBURlJPYWxreVJYUk9SRTVzV1dreGFWcFhTWGxNVjBsM1QxUmFiRmxxYTNsT1JGcG9UME5KYzBsdVVuQmFRMGsyU1cxT2ExbDZWbWhhVjFab1RGUkZNVmw2VlhST1IxSnBUbWt4YVUxRVl6Vk1WMXBxV1ZkU2EwMXFWWGRPVjFKcVRXbEpjMGx1VmpCaFUwazJTV3RzVEZwclZreGlSM2gwVTBkME5WUllVakJUTVZwMFpXdHZlVkZWUldsTVEwb3lXbGhKYVU5cFNYaE1ha0ZwVEVOS05HSllUbVpoVjFKNVdsZDNhVTlwU1hoT1EwRXpTVzR3TGtGaU0yUmFVMUZLVTB4cmVrY3hOREExVG5sTWVEWlVZMDlDYkV0eVVrc3dVWEV6WDBkR1ZXY3RTMFJpUkZkc1J6ZE9WRXhuWkU1WE5YQkRYMnhaVURkcFoxcEVhekpSYVdGaVN6SnBYMHAwT1d4M0xUWm9ObmR5UzFCcVJrTktibGhyVFZveVltTldaQzFNYjBSbVdESXphVTVOZUVaRFFqVjNiWGgwUlRFd1VHVmxXbk14YlVKWloxOXJSRFl5TTBaaFZqVnZkMWQyYldSV01GWmxRV05zYkVKZlFuVlpSSEpqT1RnM05tbGhlWG93T1dneWFYbDVRM1JyVGpWdlMxRk5SR05YZDNFM1pXUkxaM1pVVWxCV2FrSkJYek40UnpnNVpGRjFVRzUxYVVJNFowTnNZMUZNTTJVNVdHMWlTVGhDZDNGUVRqZFVYMlJOU0RKUVoxaDNkMkpwYXkxVmIyNXZUa2t4UTJ4UWRHeDVXbTh4ZDBzNGJqVTRTMGcxTVhGTk9YTnhZa0pqYm5ZMFNDMUlVVkZDTTNReVFsSTNUV1ZCY0U4elJYUjViMkYxTWpWWFFucEtRamRhYTJGak5GOXFabUpMWnlJc0luUnpJam94TnpJek5UWTJOREUyTENKaUlqb2liM2hqTjNNMFUxcDJRblpoYVVOV056VkJaa05uTkhJNVdXUjRNbUZQVVRkaFdGVmtPRzVyZDAxaU9DSXNJbTV2Ym1ObElqb2laVGhqTW1JeU56Sm1NakJpTkdZNE5EazVOemRoTm1NM09HRTRZMlEwTjJFaUxDSmpibVlpT25zaWFuZHJJanA3SW10cFpDSTZJbXhOYzNwbmJEWnlSVXRwWVhsdVpWQlJSbGhCYkd3dGNFc3pabmhrY0MxaWNGTTJUWFl3YjNkUVl6Z2lMQ0psSWpvaVFWRkJRaUlzSW10MGVTSTZJbEpUUVNJc0ltNGlPaUp5Vm5wWVdEZGFla2swVmtnNVpISkRlV2w2VDJONVVtMVpTbWRtUmpCQ2NFdzRRVVZNUjFWZlpXVlViMVE1U2w5MFdYbzJVVVJIY0RGMGVrNXFYMmcwWDNVeFNsVlBWRTlsV1c1aVduRnBOemQzUzFZeWJqRnhNVWxGT0cxYVMyVjNNRGxZZDA1eVZVcGlka3R1ZUc1SWJGSmtkSGxVYlU5SWRGTjBablJNWlVSWFRFOXZkazF0TnpKekxVUktiRkV5TVdGdGFHOXNZMHhzYkRGYVREZEJORFpHWkZkNVNYSlRUSFUxTXpaRVVuSllORWR2YW5sUU5ISlphMGQyVDNkdFltdEVOSG94YVRsSWFVeGpiSEV6WlhZMU4zSlJWRFpoWlVkS1ZGaHllbWhKUjE4MWRTMXNZV2RhUW5wVVVrbFNUMW96VjJWR1pqVktjVFYxYjNock1WaFVZM0JGZVdnNU1URkVNemhIYm05UVZXSmZTRWhEY1RkUU1tOVJOMm93ZFd0M1FrNW5NVVoxYmtGd2FuaHlNMDEzV2pkbWRYQlBTRWs1TkV4cU9IWmZVbWhtUjFaVVlWVk5WVEV5UWpGelpWTXpaVkVpZlgxOS5LQzFURzE0R2ZvWC0zalcxeVctcUFjVkhRVV84TDVYUDQxX3Z2b0U5czNlWWMzaVNiTFFDOFAzVTlDdElzMDVBUnJ0RV9JZHlCMjZlR2V1Qm1jb2pkZVowREE2Z1QxeFdlcDk3bDJHZXZfT2VpZWRtblpQN1BQUmZPQ3RHNFNYYmFvT3VvbWswRkJ4WlhzeHNlbFR0dXZBMjFSeUR5bHA3VVN4bEVMR2x0ZFNtcVVaZnlGSklqMkd3SnJNS0V1dldMR01tYm1CX0l1SWtEUTYtRzBJWnFXSGd6YU9nM0NYSEp5MFpWZ2FpTFotd0VXVGx4SndfX2xiNHFERkt3SGp1Vk1ZVVZwQkNIdF9laFd3RFU4SU16TTA2a3VPUFA1UFA2RkN6UjdBYUt1OEw1VW5QbHp0M2lrWHhxMWhleE9VVWdfMzM4ZnhobTFreDNFdVMxclAtUGcifQ.\u0022,\u0022correlationId\u0022:\u0022f3fb7ac0-e562-4b11-bc02-816f3820c823\u0022}", + "messageId": "4ec048354ae046dca132b967a184c121", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-e3dc637a05f69306138a3ec05348c1c4-e0327064a106eac7-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-74df-447e-a229-b517ac03e5f1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-74df-447e-a229-b517ac03e5f1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9CU2ZuNTlwejNrS3A2bDQ0WGdPa05nP2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u00229faa4b38-7235-4767-af13-cfadae887544\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-08-13T16:26:59.1398269\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-74df-447e-a229-b517ac03e5f1\u0022}]", + "messageId": "4b5356a5f6344581bd8b0271802a6d18", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-092160c82ff4559447241b311eb43d15-7d470a9576cbebb8-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-74df-447e-a229-b517ac03e5f1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-74df-447e-a229-b517ac03e5f1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9CU2ZuNTlwejNrS3A2bDQ0WGdPa05nP2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u00229faa4b38-7235-4767-af13-cfadae887544\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-08-13T16:26:59.2509322\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-74df-447e-a229-b517ac03e5f1\u0022}]", + "messageId": "447df992b8c9489db0f330ce9c1b9167", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-c95e4efbcb528190c67b2520cefc9fe2-acf7f13eb6bc238f-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-9a12-462b-8c52-94d5f9cdb15d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-9a12-462b-8c52-94d5f9cdb15d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA0LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvWUd1aVF1Z2ZqRXF3NkpvSk16T2hMUT9pPTEwLTYwLTExLTU5JmU9NjM4NTg3NDQxMzE5ODg2Nzky\u0022,\u0022correlationId\u0022:\u0022f3fb7ac0-e562-4b11-bc02-816f3820c823\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-08-13T16:26:59.2462646\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-9a12-462b-8c52-94d5f9cdb15d\u0022}]", + "messageId": "44115ba8b5f44ba496ea44812c2fc3d9", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-4eee5df64f238059548de355d3b399a7-990ef030754ce93e-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-9a12-462b-8c52-94d5f9cdb15d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-9a12-462b-8c52-94d5f9cdb15d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA0LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvWUd1aVF1Z2ZqRXF3NkpvSk16T2hMUT9pPTEwLTYwLTExLTU5JmU9NjM4NTg3NDQxMzE5ODg2Nzky\u0022,\u0022correlationId\u0022:\u0022f3fb7ac0-e562-4b11-bc02-816f3820c823\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-08-13T16:26:59.5127084\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-9a12-462b-8c52-94d5f9cdb15d\u0022}]", + "messageId": "5f00d4e8d14f4cd99f71a22699aede39", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-a725f1760becd765dc10629d895d3bf9-4c5e52682b19c4e2-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-9a12-462b-8c52-94d5f9cdb15d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogFailed\u0022,\u0022data\u0022:{\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:500,\u0022subCode\u0022:8601,\u0022message\u0022:\u0022Action failed, unable to create connection to dialog service.\u0022},\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-9a12-462b-8c52-94d5f9cdb15d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA0LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvWUd1aVF1Z2ZqRXF3NkpvSk16T2hMUT9pPTEwLTYwLTExLTU5JmU9NjM4NTg3NDQxMzE5ODg2Nzky\u0022,\u0022correlationId\u0022:\u0022f3fb7ac0-e562-4b11-bc02-816f3820c823\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogFailed\u0022},\u0022time\u0022:\u00222024-08-13T16:27:10.5307928\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-9a12-462b-8c52-94d5f9cdb15d\u0022}]", + "messageId": "2a450d398f47475fa0f892f1bc508da8", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-2f1fb2036d09c60d527f2dd8ceee6af3-7a12797f245aae68-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DifferingConcurrentDialogsTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DifferingConcurrentDialogsTestAsync.json index 82dec895caeb..e69de29bb2d1 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DifferingConcurrentDialogsTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/DifferingConcurrentDialogsTestAsync.json @@ -1,34 +0,0 @@ -{ - "entries": [ - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a001e80-a431-45e3-b651-f2f0645234b5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:486,\u0022subCode\u0022:560486,\u0022message\u0022:\u0022Busy here. DiagCode: 486#560486.@\u0022},\u0022callConnectionId\u0022:\u00221a001e80-a431-45e3-b651-f2f0645234b5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9JTUU5MjAxY2tVbXFMY21LU25TOVpnP2k9MTAtMTI4LTE5My0xMzcmZT02Mzg2OTYzNzIzOTgyNDY3MjQ=\u0022,\u0022correlationId\u0022:\u002228e0c448-0d8c-4d65-8d01-2ca7f8f33955\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:43:25.8229836\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a001e80-a431-45e3-b651-f2f0645234b5\u0022}]", - "messageId": "e986e287cbf14ac08e2a59e5519d5f4a", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-6ccffafbfe277a3d6f5816531384df6d-4603da25451719df-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a001e80-a431-45e3-b651-f2f0645234b5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:486,\u0022subCode\u0022:560486,\u0022message\u0022:\u0022Busy here. DiagCode: 486#560486.@\u0022},\u0022callConnectionId\u0022:\u00221a001e80-a431-45e3-b651-f2f0645234b5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9JTUU5MjAxY2tVbXFMY21LU25TOVpnP2k9MTAtMTI4LTE5My0xMzcmZT02Mzg2OTYzNzIzOTgyNDY3MjQ=\u0022,\u0022correlationId\u0022:\u002228e0c448-0d8c-4d65-8d01-2ca7f8f33955\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022},\u0022time\u0022:\u00222024-12-14T00:43:25.8229836\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a001e80-a431-45e3-b651-f2f0645234b5\u0022}]", - "messageId": "f9b30a54df3b49849453993854ce195b", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-4a4f79ddd3075b5f193124771d247b64-a2e082521a25876a-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/IdenticalDialogsTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/IdenticalDialogsTest.json index f675c40308a1..048b2bc8c788 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/IdenticalDialogsTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/IdenticalDialogsTest.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-e42c-4f71-9528-133d5b6d3125\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-e42c-4f71-9528-133d5b6d3125\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-e42c-4f71-9528-133d5b6d3125\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDItc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252Ly1IQkx2azVGOGtPdFRYb2tOemsyZEE/aT0xMC02MC0wLTYyJmU9NjM4Mzg2MTczMTg4MTk4MTYy\u0022,\u0022correlationId\u0022:\u0022543143e6-ec8d-4d79-8616-80a2b06a8b0c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-01-04T07:48:54.4318618\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-e42c-4f71-9528-133d5b6d3125\u0022}]", - "messageId": "18f04afeaa3948b19cff54ab8ffa2237", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-74df-447e-a229-b517ac03e5f1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-74df-447e-a229-b517ac03e5f1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9CU2ZuNTlwejNrS3A2bDQ0WGdPa05nP2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u00229faa4b38-7235-4767-af13-cfadae887544\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-08-13T16:27:20.9988895\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-74df-447e-a229-b517ac03e5f1\u0022}]", + "messageId": "7f587db52c924823bf9c87c0bddfd7b9", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-9801de454bad785d3d9ee918caafcd8b-bd3bc770dc65ae6d-00" + "Diagnostic-Id": "00-9ab2cc8031d13a526911736cc711b4d6-5fb538e0b5ee8db1-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-f9a1-49bb-809b-579d3acc3dc3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-f9a1-49bb-809b-579d3acc3dc3\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-f9a1-49bb-809b-579d3acc3dc3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi92VXEtWFVma2hVeVlMc282TkVVZlRnP2k9MTAtNjAtMTQtOTgmZT02MzgzNzU4MTYxMDAwNzYzNTQ=\u0022,\u0022correlationId\u0022:\u0022f3da6879-f625-4e41-ab63-2281b22ee259\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-01-04T07:48:55.0412465\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-f9a1-49bb-809b-579d3acc3dc3\u0022}]", - "messageId": "d7974893f39f4941b53a069d9e58e5a1", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-9a12-462b-8c52-94d5f9cdb15d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-9a12-462b-8c52-94d5f9cdb15d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA0LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvWUd1aVF1Z2ZqRXF3NkpvSk16T2hMUT9pPTEwLTYwLTExLTU5JmU9NjM4NTg3NDQxMzE5ODg2Nzky\u0022,\u0022correlationId\u0022:\u0022f3fb7ac0-e562-4b11-bc02-816f3820c823\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-08-13T16:27:21.3181633\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-9a12-462b-8c52-94d5f9cdb15d\u0022}]", + "messageId": "1c2bd31e84a24cada464a092aecf4260", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,13 +26,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-dcbc2ce0dbc12f9fd2b8fb6ad8aa82a2-869df27d18755465-00" + "Diagnostic-Id": "00-0c7441ce032cd73c01d9bd9448758663-3795d4d1cb8e98ad-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BODdydmI2eFNFaVowVEVic0twSnZ3P2k9MTAtNjAtNy0xODYmZT02MzgzODUwNjEzMTg5MzQzMTU=\u0022,\u0022callerDisplayName\u0022:\u0022\u0022,\u0022incomingCallContext\u0022:\u0022eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjYyI6Ikg0c0lBQUFBQUFBQUNzMVhhMi9iT0JiOUs0SVhtQS9iMHBLb053Rmo0VGpPeEczanBrbWFicnZlRFNnK1pFNzBLaVUvTXAzKzk3MjBaZGVwZ3phNzJBVkdBUlNMdkR6MzNNdEw4dkJMajlFOG4xYXRrb3JSVmxWbGozenBTVjBWNXIvaVBkTHp5UXMzOXYwbzlCTWNoYjJYUGE2YU9xY1BVMXFJSGlrWGVmNnlKMHBlVjZwc0oyWUFveUVQZVJLandFa2s4bVhJVUNwVEQwVUJsU0xFTHFXQmdjbHBtUzFvSnN5WUxVcE5kYXVZcW1rSEZBcnA0VEFOa2ZROWh2ellDMUNhOGdBbGdaOXk0WVFST0FDZ3VlSmNBRzlKODBZQWlxNXFvZHVIRTVwdGdiKys3TFhWUHB5WVVOWVFOK1dVNGpRQkxDZENmdUJqZ0E1OVJLTVVZK1k0Tk9iK25kTTk2SW5YN25sR1BwNEo4L044d0JRQVBRRTVqVEM4VWpkRWNZZ2pSTEdJZ3pDbFhJWlA1RU9McGxwb3RzSHRQU2Z1M3RNNXpGVjUzNWcwMHJhbGJBNWc4N2F0RzJMYnRGWjltYXRzM3NLNDlVTy91WCtvUlo5VmhlbXhsOWhtdGMwWVdqU0NJaWRBWU1RUnZXLzZqQjJZTW1ZdlhWdFcrbDV3TzJFaFJKTUV5Qk1NSWcyd2c2QkpvZ1RIR0hzOHdUendiUnpaeXJVOVA3RzNqUDZtQnE2RFFrZ3N3Z0VFVVFpdTZMQnNWa0ticW1UQXRLRGI0REpJU3ZObmltREg2ZnNZdFBoTnNQYlB4SFRMNkh1ZUMxN2ZhRm8yZGFVTlcvZ0VyZ0h1dXk3dVk2K1BBK0w1VVd6M3ZuYlRNcXJLVnBSZytxWEh0ajl2Z0J5TXBIV2RkenVSM2ZBYWxSbERUdCs0U1BNcUJZUGx3Sm5wV1ZrTmtCV0ZpWU10eDVwTXJjbWxiN2s0Nmp2dzU1citadEJBT2dIRmZMQkJaNEtkUG5ad1AvYjdVV1E2MHNIb2hyamRHalFON2NDeE5qK0tBVjF3VlZsK0VrYll1cnE1dEllM2w1YnIrRllDYjg5eVhkZHlZM0FlVzBrRUxmQmxHdU1mdXFNRDNiSWE2VWI5TGc2K1pVcithcTFSQVlSaC9WdVFBcXVCSFlUd1ptNXB3WmJteDlaOGpScVZsUlNXWXZhalVYdmp6Y0pIVGFzRkxSUW43amVueEFUbWJiOFYyQ3lrcGhrWnhzWDRXMXU5NG9TT1B2L2QvL0JacXZyNjlPTDJYSnk5blo2LzhkNzVCL1NMeFhyN3hXakpGYWV0SUpBTjYvM3BwWVZkejRtYzBQZmNSN25vc3RvK0FHVXQ4N1dsS2VjYXNtaG1MNHI2Y041WTJwVFMxdkFZSFIrZ0J3bk13eEc2OTF4MDczdDBETnhOV0pTMTRBRkRkWVJPZE9UQkRaN0pId3lQUGVEL2k0ZWNwaUluQlZVbDJoVHZ0dlZnNHRjb1hRbWFaNVZXN2J3Z0dtcW5WUVZ0SzIybEsyYlZsTjJMdHFaS1d5dVJ3dHgyeFBWRDNWYVE5ZUg0K201MGNlZmkrTzc4WWppNnV6NGZ1bmV4WTZrU0NsSVFKU1VmcGg4bVlYVnk4cHU5VW92OFF6aG0zRjI4Szg0Q0d0N2NUdWp2OXhlWGt6L3d2enozRDNkSHFvUEhQNE52Y0RGeWw5N2kzVFNJaW1BOGpWNjh2WTgvNHJLYW5ueTh1S1dmTC9TbkQ2RTllcldCMzVWblhkQWFGcmh2WFUvZXZMYmRzRnZtKzY3RStqWEMySTYvYnpkTGZEUGt1QWNXL3ZYa2FqdzlSSk5GdSsxSlZhdGhpZ2ZIbnFCSXdWVnlBTGdkRkZ1MExNVTZIWlRWSTN2SHVoeGR2RC8ySDV2MjRYRTc3RUpYNDlPbklvRnlGcm1vNTFVcGtGakNWbnZFQVV3YzVJYVB4M25XYVBwVStMRnBQNGl2aGhLQ210NEJ3dFlrZEsxQi9KQm1UdUYwQ0MzUEkrT1FuRWJFSDhFT0ErN0kyWmhFRVJtZmtyT0FSRDZKQStMRXhEbURRNExFSjhRUHlQaUVEQ055NnB2M0dCTi9iRVk1TUJ5Z3h1UWtJR2N1R1k4Z2V3UjN0TVc2M2ZDenpFbEpadkNzVnF2K3RvNzdsYzVtTTdFR1RRTmN5N2FaelNBY05PY2FSczFtTkcyUTJUcVJpZVFSbXZjTmJYOTYvZ0JJMHFhOVMyR2RyeFJ2NTNkU0NKN0NtdnJMVXNDV1g1VjMzaVB3NERGVkpWcTVKYXI0Yk1ZMWxTMmFWM2toTk5JRm5JaW8zUjJ3Q09BRmdsTWVnRVJwa0J2azdKZDQwMmlHd0RTRGpkTElUUE15ZlR0RjlFWmtHeWtvQlJVK2gxUGM4VklYK2RobGlIb2d0Z01SczRnS212Z0pnekdpZ1J2QzVqeCt5OWhDdzhSbWUybFppdFZiS1kyODZocGdZOGxVYVRZVWNGQ3dFNXlhRXgvVXdHdnhZTTc2N2t6ZWZQVXV5M1A4NHNhbTdyc0Z2ajIvbHRHcnE0L2oxV0FBVGtIMndrNWtiSWJ6YlBscExQWFpSMW44dXVUdjVmcWNaV0FEc0hQVmdLT0hTU2xCM2YvakMyaWxsdXBNN0pTRTR1OXJzOTJlVmZvYXBQbk5wcSszNTVoM0RkMEZKd3l4NXdZdURvOHN4cDJXNzJDNWtIU1JHeUQ1Q09WL2Y2K1F6K0N3cDJwcUEyYkNKSDZqMS85cHRDTlhJQi9NMUYxdTlid1NHd0d2bXF1dWE1am4xVXBBTmJSNkliNUNUa0dNbVdMZHpQZWtYS3AyZnljODdESHFUVmQ1dmhIVy81RXlCWkJPbS9vSDJoUmFEOVVwZk5yRE9OTExORnhmajlVbjUyYWNOcS9yVjh2VlhuWkdDS2JzRnpFSXZkaUxBeWQwUFRkT1BOQVpSaW1xNWdLeW95N2grdlN3TDAzVm5PaUtjZ1pMdEd1RGNMbElGOW1oRm9YTDhHWnh4TUlOSkphZ2JyM1lRYjRuS2FJQmQ1RGdzUXdvREJQVTNKTWdyOHlVZEptTllPUzN0RXpLcHFVbE0zTzFTODlQUmJtNW1WU0dpS0s1UVR1OGxGOXYrTzB1dVAvTnRSQ0N6WFMxcURmQnJnRnNVeVgvQnFUak10Ny9Ed0FBIiwic2hyVG9rZW4iOiJleUpoYkdjaU9pSlNVekkxTmlJc0luUjVjQ0k2SW5CdmNDSjkuZXlKaGRDSTZJbVY1U2pCbFdFRnBUMmxLUzFZeFVXbE1RMHBvWWtkamFVOXBTbE5WZWtreFRtbEpjMGx1WnpGa1EwazJTV3BXUTAweU5WTmxTRkpTVGpKd2NFOUhWazlTUjAxNlVtNXJkMDVWZEcxUFZHUmhVbE5KYzBsdGRIQmFRMGsyU1dwV1EwMHlOVk5sU0ZKU1RqSndjRTlIVms5U1IwMTZVbTVyZDA1VmRHMVBWR1JoVWxOS09TNWxlVXBvWkZkUmFVOXBTbWxPUkZac1RVUnJkMWxUTVd0WlYwcHRURlJSZUU1RVZYUlpWRUV5VDBNd2QwOUhSVFJOYW14cFRYcENiRTlIVVdsTVEwcHdZek5OYVU5cFNtOWtTRkozWTNwdmRrd3pUakJqZVRVellWYzFhMkl6WkhwTWJUVnNaRU01YWxwSFRURlpWMVpzV1ZNd2VFNVhUVEZNVkZKcldXcFpkRmxxUVROUFV6RnRXVEpHYTFwRVNURk5SRlpyV1hwSmRrbHBkMmxoVjBZd1NXcHZlRTU2UVRCTmVsVjZUbFJaZDB4RFNuVlpiVmxwVDJwRk0wMUVVWHBPVkUweFRtcEJjMGx0VmpSalEwazJUVlJqZDA1RVVUQk5SRWt5VFVOM2FWbFhiSFpKYW05cFVsUktWMW94YkVsUmJYaHhXak5DYTFrelVrcGtNbkJHWkc1Vk5GVkZiekJYVm5BeVpHdEdRbEJVTUdsTVEwcG9ZMGhDY0ZwRFNUWkpiVVY2V1ZSTmVsbDZTbWhNVkVrMVQwZFZkRTVFUm10TlV6QTFUVlJOTTB4WFJURk9SRmw1VFcxVk1rOUVSbXBaZVVselNXMUdkMk5IYkd0WlYwNTVTV3B2YVUxcFNYTkpiVTUxV21sSk5tVjVTbkZrTW5OcFQyNXphV0V6VWpWSmFtOXBWV3hPUWtscGQybGlhVWsyU1c1YU5GSkZkRXhVTW04MFV6QTVRbE5IWkZaU1ZGWjRWbTVLYkZORVNsTlBSVFZLWWtaQ1YxVXdNVFZpVlVZMVkwUkNURmx1V1RKVlJVWkpXakZDVkZZeVNuSmlWR1IxWVRGVk1HUXlNVTlhU0VKU1dUQTRlVkZyU2tKaFdGcEhWVEZvYTJNeFVrZGxWM1JKVEZaa05HTkhkek5pVmxaclZtMW9iRko2U21sU1JHd3pWMFpXU21Fd2NHeFZNVGxQVmtST1ZrMXNTakZsU0ZaeFlVTXhSbHBzYUZaVlZsWllZbXBXYTFJeVRuVmFiVVpYVG01d1prNTZWbTFOVjBZMlZHMXZNR1I2U2xOV2F6QXdUVVZPYjFNeWFEUmFNV2cwWW01a01HVnVaekpoVlU1RVZEQldlbEV3ZUZWV2Frb3lXVlJDVWxGVlNuUmhiR1JWV1cxUk0xcEZSbGxPVlRWVlZWZHdabUl5ZEVsa1JuQldWMFk1VVUxdVpFNU1WVEZ6V2tVMVRtRklRVFJQUkdkNldsVlpNRlpyUm5Ca2JFcENZVE5TTTFwSFNYcFZhMnhVVTI1c2QyTXlSa1pUVlhjd1UwZFNNMlZyWkhSTlZYQlRZVVpLYjAxVk9EQlRSVXBNVWpKU00xVXdjM1JPYmtaaFVtc3hiV1ZGY0VoT2FrNVFUMWhTVjJOc1FuVmlTRlpOVFRGT1RtUXdSa2xpUjI4MFRXczVVVTVXU2xwV2JHdzFWbGhTUldWWGFHWmlSVGxQWkRKa1ZWSjZSbEpOUjNCcVVWVnNRazVyTlZWT1JrMDFWVk5KYzBsdFZXbFBhVXBDVlZWR1EwbHBkMmxaVjNodVNXcHZhVlZzVFhsT1ZGbHBURU5LY21GWFVXbFBhVXBJWkVkYVRtRlhlRFJaYkhCSVRrTXhVRTFETVVaa1IyaHFXbXhPUWxSRmVFbGlWekI2VjFoV1JHTnJlRlZTYmxaMVlrZG9VVmd5V25aSmJqRTVURU5LY0ZwSVFXbFBhVXB2WkVoU2QyTjZiM1pNTTA0d1kzazFNMkZYTld0aU0yUjZURzAxYkdSRE9XcGFSMDB4V1ZkV2JGbFRNSGhPVjAweFRGUlNhMWxxV1hSWmFrRXpUMU14YlZreVJtdGFSRWt4VFVSV2ExbDZTWFpKYVhkcFlqSnNhMGxxYjJsTmJVMHpUMWRPYVU1NlozUk5NazVxV1ZNd01FMHlWbWxNVjBwc1dXcEpkRmxxUVRWT2JWWnBUMVJKTUU1dFJUUkphWGRwWTIxbmFVOXBTWGRNYTBaVFUxVkZNbU5VWkVkbGJVNVdWbTVTY2sxdVpHeGFibXd3VFVkNFExcElaRzVpTUhCWlkyeE9aazF0ZEZkUmJUbElXakJzZUZFeU1UWlNSemgzVlRCR1FsRlROR2xNUTBwNlpGZEphVTlwU1hsWmVtTTFXVEpKTTA5RE1IcFpNazVvVEZSUmVscFhTWFJaYlZacFRXa3hhVTFFYXpKYVYwazFUV3BSTWxsVVoybE1RMG93WVZkUmFVOXBTbXBhUjAweFdWZFdiRmxUTUhoT1YwMHhURlJTYTFscVdYUlpha0V6VDFNeGJWa3lSbXRhUkVreFRVUldhMWw2U1dsTVEwb3haRWRyYVU5cFNuRlJNMUl6VjBoV01HSXdjRlpqVjI4eldYcFpkRnBJVlhwaWEwWkNTV2wzYVdSdFZubEphbTlwVFZNMGQwbHVNQzUwZFdreGRqTkpRVjlqWlRnelNGWnhhVVZSVVZKb2IwVlZkVGd3V2pWSkxWSmZZVzlPVFhGbFR6SXlOMTl5YzFoRFVqaHhSMUJWV0ZGM1JqRnphakpUT1ZoeU5FbzFZVWh2U0ZvdFRrMWxXWEYzVGtsdVRHa3RWM2hEU1MxbldYUnFPV0ZpUlc1YU1FTmxlWHB5U1hWQlRraHNZMUJJUzBSWVdtNDNXbVZ3VVdGdWJVUlBVelV0UnpaYVIxUmtkVFZwTFc1Wk5WSklNRzg0VEhjeVRVZHJRbWxOYVhvellYUnRlbFpKYmtWTlMzVktRekJ1U2xSS01HNUljR3Q1Wm05VFJYRlZVM0ozV0V4UlYwSlVSMVp4T1hoUllUTmZOMlJhVmtGd1RFMXZPREJuYlVaUVJIcFBZa3BsTW5SWGNGaHFPVWh3V0dKdGFISmFiR2RwTWxoMmNWaFhOREJJTmpoaFJFSnpNMGh4YzFoT1p6ZFBlbVJITVZONE1rUm1lRXRtWkdKRVdHNXFWVnBXUlhWSE9YSnhRMm93Y1ZWdFZ6Vm1kekpLU25NMU1tOWhOazFLTTBoaWNqa3hURmh4Y2pGU09WOVRRbWNpTENKMGN5STZNVGN3TkRNMU5EVXpPU3dpWWlJNklsbHpabFpvTW5SWWJrcERNMnhKY25SV1ZuSklXbUpaVURSZlYyMWhUMWxqYkdKR1VGUmpZVXgzVVRnaUxDSnViMjVqWlNJNklqbGtPREJqWTJZeU1XWm1PVFJsTWpNNU1qWmpNelZqTWpJM05EZGhaVEU1SWl3aVkyNW1JanA3SW1wM2F5STZleUpyYVdRaU9pSXlNMTlSVFVGQ1ZEYzNkV3RFY21sS1lqSmtTamMzZWxsVU9FRldRVFE0VnpWVWQwMVlZa0phU2xGWklpd2laU0k2SWtGUlFVSWlMQ0pyZEhraU9pSlNVMEVpTENKdUlqb2lkbmhFUzB0UGFqaExUMEZJWjFWRk5YRldjbVZJTWxJNFRrbHNVRlpUVFhsdFFYbHdNRXRpZGpaUVFVaG5VRk5YWW10dE4yNXJWVFIzYlU1a2NGRmpUekpDUWtGcGRrWlRXR1J6VkVaNWEwZ3RWM2h3YkRkdFZXUldhR1ZITW1KRU9YZFlWVWxyU21WVFgwNVVNMVV5VW5WNGRXcG9MVVZtV0ZWUlZWZHVOV1JIWTI1bVlWWTJlbDgzTldZeFlYcE9halIzTWxKV1RUUXdRMmhMYUhobldIaHVkM1I2ZURacFEwTlBSWE5EVEZSV01uWmhNRkZCUW0xcVYxUmlaRGRrUVZnMVRsUlJhbDl2YTBoMFdsVllYMUF5ZDAwdFRXeGtUazFvY0RnNE9ETmxSalJXUVdsMlVrRnJkSGRrWWpOU1NWTktlWEJ6WVVWSlREUklaSGQ2UjIweFNsSm9VbWd4VHpSSVFrdEhaSGRUU3kwMmNWcEdUV1o0U2tjMk0wODVkRlp5VUc1c2RVd3pVMDEzUVVoc2FqZ3lUMUExVWxsV1dYbFZkRVI1YUY5c1QwNTNaMVJITVZFd2FtTkJTVUUyVGxRMFV6bFJJbjE5ZlEuWmhNblpaS1I0UkJhbTMzeVptb09YYVRUZDB0SHVod19tZVBfaFdmcDVxSW1USURfdWF3TkpKa2dEczQ1T3YwRms3T29BTV9EUlh3cjVnVkVxQXdVNDZhSTJwOUtBdnl1aWlfZGxNQVRScTQxbHRrcU9nS0xzbmRjeURRbHQyamM1OTRJZlBnZlVSZ1B2bVBHdEhyNzlJY2NWdVZUWkRHMTR3TlE4anBpUXR0aEVJTVhOUVM2bkV6RV9INXZHQ1lCcHBTOFdLempiWlhmdWt1Q3hWMzdsUDR1NnpmTlBNUnNiM1p1bS0xeHJrM3ItZ3NVMnNjS3RyTUNxM3I3NnBmSVZBckFJalFKRUgtbnVMLVp4bUNNcWtqZTc0cFQ4TXo4LWNpS2xDbE1IMkFFRFVNRmc1UGZVVC1SczNnOVpVZjRRY1JnVS1iYlZ1WTFYRFo2UGV1Y2NnIn0.\u0022,\u0022correlationId\u0022:\u00228e15f2f0-2380-43fa-a5d0-ed8f5adebea4\u0022}", - "messageId": "177aafbafa7d4eb29e7288ff1924d4a6", + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9CczdYb2NsTGZVYS1WWEY0UnJId2F3P2k9MTAtNjAtMi0xMDYmZT02Mzg1ODgyOTkxNzA0NDIwNTM=\u0022,\u0022callerDisplayName\u0022:\u0022\u0022,\u0022incomingCallContext\u0022:\u0022eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjYyI6Ikg0c0lBQUFBQUFBQUNzMVhhMi9iT2hMOUs0SVh1Qjl1UzV1aXFCY0JZeEU3eWNab2tpWngwclM1M2cwb2lwTFo2RlZLZnJXMy8zMkhzdU00ZGRCbUY3dkFkVkhISklkbkhod096M3pyQ0o1bDUyV2pFaVY0bzhxaXc3NTFFbDNtNXErS082eEQyUnM3b05UM2FFaDhyL08yRTZ1Nnl2anFuT2V5dzRwWmxyM3R5Q0t1U2xVMEk3TUJoNUVqRWtFUmp6eUJLQ1krNGlFWENOc1JKUUYyc0NNa3dHUzhTR2M4bFdiUEdxWGl1bEZDVlh3RGxOaTJUZnlBSTBva1FUVDBQQUFLS0hKaDNoVUppWHdaQXRCVXhiRUV1eE9lMVJKUWRGbEozYXdHUEYwRGYzL2JhY3F0T3dIam9tWjJGSE5Pb2hDRkx2WVJkU2xCVWVTQnlYNUVpTUNZQnpHOXg1c1BldUhyOGZPYWVMd081dGZ4d0VFVWtkQjJrQU1PSStwQlRJUEFkUkR4bk1DeDNaQzdqcjBmRHkzcmNxWkZpOXQ1amQrZGwyT1lxZUtoTm1Ia1RjUEZGTUNtVFZQVnJOZmpsZW9tbVVxbkRleGJycnIxdzZxU1hWSG1acVUzSnoxUjlZUkFzMXBJaEYwRVFqSGlEM1ZYaUIxUklYcHp1NWVVK2tIR1BSczg4cW13a1VkZ0E1VUpSeEYzQkNJOGR1d29UQkxwNEI3eGU4cnVPVFRzclMzNnUrcmJHSGtZMmNqMlRDQnlHU3QrVU5RTHFjRmFJY0RVbksrOVN5RXE5Vi9KaFVlYjlwelE4ck1VelYvSjFMVkZlNGJPNHVwYTg2S3VTbTNNaFNFWTY1SXUzT0d1VDdvRU00ZjZRYS96ZlhNd3c3Sm9aQUdpM3pwaS9mTWFySU9kdktxeVRUSHExWEdGaWhScVI5Y0ZGVkZXUmlBdzcrT0puaFJsSDFtMmczM3NXTmdhblZ1akMycEJ2ZWhpK0djYmdicGZRMFFCeGd4RWZ5TkNNTmdDWm9XNFM0bFppZnJEYTJadkxxS1phUHJZYW4va2ZUNkxWV201T0FpcGRYVjkwVHY0Y0dIWk9JRC8xQXJoMjdHZ0ZsbDJBQllFVnVqRERJek1KSWdRL0hPOXZLOGJVU0ZkcTY5eVo1eEU3SGRyaVhJd0hhcUJCZEd3YXFnbkxLNm5scFppYm42c3haZW9WbW5CNFdLbVA5dTFGVzdMQUtvYkxYbXVZbVkvS1dYR1EzYzlWaUF6U3pSUDJVMkVQejNOVll1WWZiMmsvR01jWEg0NkNJYlhkNzZjSy9YdzljVG5PK2JucytWNkpIZ1JxNWcza2tGSXJKdkRDNHUwcCtWUngzNGVqRTE4bXhYWXJKTnNhV2tleHhwaWFRN1M5N3NPc2JUSnFyWGNQanJaUVhkRENQMCt1dnRLZFBkSGRBSzJHN2U0YUVBRGdUVHhzUCtqQmhyYUxubUZobFp1WHdQNXYyakllQ1F6bG5OVm9EYUwxN003Qjc5RTBVTHlMQzIxYXFZNTA1QTdqY3A1VTJvcldnaXI0dUpCTmhWWDJscklDTTUyWTdoZVZVMEpVVDg0R3Q4UHorNXRFdHlmbkIwTTc4Y25CL1o5Z0MxVlFFSktkbG1jeDZ1enNyekpiKzlveU9XbEtxWm5FUjVQdlhMZ1g0U3g2OXlWK01PSDhrL3lMOGYrMDM0MGFnTlBmZ1ZQdmNJOXpVZnAvTTNnTGhyVTgvRnRjSGY1NVZQaGYvd1MzOTNjM1BydnhuaCtmQmkxOEkvcFdlVzhncHNlV09PRDY5RjVqd2FiQzcrelJxM3g2UFFkbE1RZmwwTHJIejRodlJlMk9Pc3QreXRRR2NhanE2UHpYYlFrYjlZcmtXbzBISDkvWHhNa01LZ0tkd0RYbXdLTEY0VmNSdjJpZkNhUHJZdmgyYzIrL3NETUgrelBRNW02T2pwOHlSTklkWm5KYWxvV0VzazVWT1E5RzBBRUtyNzNmSjlqRGM5ZmNqOHc4eS80UjdCWjJJbCtCWGtIRitGUkU5UXpxU3NOL0luVlU0Nkk2MW5IQWFNT0N6MDJDSmlIMmVDUWhjZU0ybXpnTUVKWTRESjh5STVDNW9iTXdld0lzMkRJRGtIZ2lBMkh6Q0hzNkpoaG53V1lIUjZ5NFRFN3Bvd0V6RDFtL3FINWRvZHJ4WExadFBaWjVxbGxFL2dzRm92dU92bTdwVTRuRTdrRVdnUzJGazA5bVlBN2FCcHIyRFdaOEtoR3B0NGk0OGt6Tk9jSmJmdjgvZ1FvNFhWekgwRnhXS2k0bWQ0blVzWVJYTVMvelNXOEUyVng3endEZDUrYnFtU1RyQTFWOFdRU2E1NDBhRnBtdWRSSTUvQ2lvdWJ4Z1VZQUx4SFFCQUNTaFVHdWdaOXZYNHBhQ3dTaUtWUlh3MVRObDFsNzVGU25NbTNacEVNRE44Uk9pS0J3QW5IZ2tZOGlYL2pJamVLSWVsUUNlM0JnajZ5aHlXamY4L2RDekRRY2JMcGxwNFZjdkFlQ29iY1RVSTFTVlpncUJBcHlNU0NSWVF6QUp0N0psZUVLbXllOUhYV20xK2tGZjNPaUxvZU5leVQ5TC94c09mOTgwTytEVW1ET1VMNUFwamdidk05T3ZlcVdrN1E2Ylc1ejJYeCtkd2t5QUR0Vk5TaGFqWW9FR29RL3ZnSFphcmhPNVNNVFVmRk5aV3IwY2FuSHdPNnYyN1hPMXNac003SHBrVHlQQUF1M2liY25jYlJwQnphd01UQ3NXV2FBa21jby8vdldKSG1GRFZ0VFRXN0FTWmpBdDVUL240Wjh4Z280aHptNmkzVkxvR1RiQTZqNmFyTjBrR1hsUWtJMk5Ib212ME5NZ2N5WlpHM1BlMVRNVmJOdEszZFhEUHZUWlphMTFQdy9vcllBOGdLNWhkbGRlZ3ZEM3FEMlA1WWlPMDF1T1BydzhaaGU2Wk1GWDJ4NUs0RzA5bjZUZlNDL2JoQ1FNTFI5VENrd1lKT3lxajZENktnTDZNQlcyOVJVOVVDWFBCWndSVGR6NEc0c28xbTZ5MldobjI0dmh5ZkNJSWloRGZZd2hSWld4RFlLblFBYVlwOVRRbU9jK0k3SkZJaXJNQ2xkcEVQWStSU1dVVkUzdklCTytTazh2MlQxcHJjcGpTR0tad1p0dDY4ZnQvWTk5c2ovVFdjSnpxYTZuRld0czBzQWE3UGszem1oVzNWQ0VBQUEiLCJzaHJUb2tlbiI6ImV5SmhiR2NpT2lKU1V6STFOaUlzSW5SNWNDSTZJbkJ2Y0NKOS5leUpoZENJNkltVjVTakJsV0VGcFQybEtTMVl4VVdsTVEwcG9Za2RqYVU5cFNsTlZla2t4VG1sSmMwbHVaekZrUTBrMlNXdDBVazF1VWtKWk0wcEdUako0UTFsV1dsZFNNRXAwV1hwV1IySXlTbTVhUlhCMlRrTkpjMGx0ZEhCYVEwazJTV3QwVWsxdVVrSlpNMHBHVGpKNFExbFdXbGRTTUVwMFdYcFdSMkl5U201YVJYQjJUa05LT1M1bGVVcG9aRmRSYVU5cFNtbE9SRlpzVFVScmQxbFRNV3RaVjBwdFRGUlJlRTVFVlhSWlZFRXlUME13ZDA5SFJUUk5hbXhwVFhwQ2JFOUhVV2xNUTBwd1l6Tk5hVTlwU205a1NGSjNZM3B2ZGt3elRqQmplVFV6WVZjMWEySXpaSHBNYlRWc1pFTTVhbHBIVFRGWlYxWnNXVk13ZUU1WFRURk1WRkpyV1dwWmRGbHFRVE5QVXpGdFdUSkdhMXBFU1RGTlJGWnJXWHBKZGtscGQybGhWMFl3U1dwdmVFNTZTWHBPVkZreFQwUmpkMHhEU25WWmJWbHBUMnBGTTAxcVRURk9hbFUwVG5wQmMwbHRWalJqUTBrMlRWUmplVTE2V1RGTmFsVXpUVU4zYVZsWGJIWkphbTlwVWxSS2Exb3hiRVZSZVRsNFRXNUpNMWx0V2pCTlEzUlZVVmhXYTFwdGVHMWpSbEYyVERCR2JsRlVNR2xNUTBwb1kwaENjRnBEU1RaSmJVVjZXVlJOZWxsNlNtaE1WRWsxVDBkVmRFNUVSbXROVXpBMVRWUk5NMHhYUlRGT1JGbDVUVzFWTWs5RVJtcFplVWx6U1cxR2QyTkhiR3RaVjA1NVNXcHZhVTFwU1hOSmJVNTFXbWxKTm1WNVNuRmtNbk5wVDI1emFXRXpValZKYW05cFZXeE9Ra2xwZDJsaWFVazJTVzVTYkUxRmJEWk9XRnA1VlZka2JXTXdWa2RPU0dodlpVVnNUbE5GTlVaWk0wNUdZMjB3TUZkc1NtOVJNRFY1VDBab2ExcEhORFJUVkdSM1ZsWkdkMVF5V2paT1JtaFlXbXBPYzFWck9IcFNRekZtVkZWd01XUnNjRFJTUkZwd1pESldhbG95U1hsYWEyeDRZbXRHYWxsV1dtcGtNRTV0VjBaT1FscHNUbkpTTWxZeFkxVnZlVkpJU1RKTVZuQlhUMWhvV2xFd1NuZGpWVTVJVGtoV00yRlZSbHBTYTNCRlQwUkdaazVZWkhKTlZsb3laVzVrVmxkdGEzUldiVnBoWkd0S2JWWlhkRE5PU0VKMlVXMHhXVTR3VWxoV1dGcHlWSHByZUdJeVNqVmlWMUpGVkRGck1VNUZSazlWUXpBd1ZsWk9WMWt4U2tWaFZtaEVUMFpDZEdNeFpHMWtiV00wV1RCR2QxVXdValJXTVVVd1pHNU9hMUl3YUVsbFdHUXpUMFZzY2xVeVdsZE5ia1pHVlVaR2ExUnJhRWxaYlZaS1kyMXZNR0ZYYkc5YWJrNWhVV3BuZEZsck1ESlJWekZ4WkROUk1WRlViREZQV0hCRFlsaEpNMkZYUm5wVVJFcDBZMnBPTTAxR1VrMVRSRVpaV1cxT2NGcFdRVEJWYXpGM1dtdDBWMUZzV2taYVdHUktWbnBXUlUweVNrOWhTRnAwWkVjNU1HTjZSbWhPTUhCeFdESm9XR0p1VW5WWk1HaHlaVlZXZG1Wc1JrOWhSR3Q2V1cxb2MyTjZhRmRsVjFwdlZWTkpjMGx0VldsUGFVcENWVlZHUTBscGQybFpWM2h1U1dwdmFWVnNUWGxPVkZscFRFTktjbUZYVVdsUGFVbDVVbTFXYW1KV1ZrSk5NV2hoWlVWR2RHRlhTbk5OYm1Sc1dURlZlazFIVVRWWmVrNVdUakphYW1ORmVFOVdSMFpXWW14V1EweFlXbTVKYmpFNVRFTktjRnBJUVdsUGFVcHZaRWhTZDJONmIzWk1NMDR3WTNrMU0yRlhOV3RpTTJSNlRHMDFiR1JET1dwYVIwMHhXVmRXYkZsVE1IaE9WMDB4VEZSU2ExbHFXWFJaYWtFelQxTXhiVmt5Um10YVJFa3hUVVJXYTFsNlNYWkphWGRwWVZkU01HVllRV2xQYVVwb1kwaEJhVXhEU25aaFYxRnBUMmxKZVZsNll6VlpNa2t6VDBNd2Vsa3lUbWhNVkZGNldsZEpkRmx0Vm1sTmFURnBUVVJyTWxwWFNUVk5hbEV5V1ZSbmFVeERTbmxoUTBrMlNXcEJkVkZXU2twUlZGcDRUakJhTmxreFZsZGtSM041WkRKV2JXVllVWGRpUlVwclpESmtkbE5zYUhsVk1UaDVZVEZhUTJJd1pHNVRXRVpFWWxod1JXSjZRbFJSVlVaQ1RHbEpjMGx1VGpGWmFVazJTV3BLYWs1NmJHcFphbU0wVEZST2Fsa3lSWFJPUkU1c1dXa3hhVnBYU1hsTVYwbDNUMVJhYkZscWEzbE9SRnBvVDBOSmMwbHVVbkJhUTBrMlNXMU9hMWw2Vm1oYVYxWm9URlJGTVZsNlZYUk9SMUpwVG1reGFVMUVZelZNVjFwcVdWZFNhMDFxVlhkT1YxSnFUV2xKYzBsdVZqQmhVMGsyU1cxc1VsWnJiM2xqUms1MVZsZDBVRlF6VWtoUmExcElXbTFHVkZGVlJXbE1RMG95V2xoSmFVOXBTWGhNYWtGcFRFTktOR0pZVG1aaFYxSjVXbGQzYVU5cFNYaE9RMEV6U1c0d0xubEdRVzlJYTBONWEwUTVjR2RCY2taTGFEQmxVbFl5VjFWYVMyVktha3h0UTB4bk1UWlVkMVI0YkhkMGNGSkVkVTlvUVMxc1FXeGZTbFUwY0MxZlQxZzJaamMzT0RKc1YyeEdjMGxrUmpOVWFreE5OV0p2VmtoS2Fua3hiVnBVVjBjeFoycE1TV2RtUzNwMk5WVmtSa0pDYjB0amREQkNUbEp2Y1U1dk1sWkNXbkV3VlRkS1gxaDNhVlJMYlVSb1VURkNPRVJtTmtsaGNHdGhNa1JGTlc5SlFXWmFRVEpZYTBsU2QzUmZjRkYzUjFsVU5YWnZWazFHTlVSWlVFRldaMjh5U21rMlZHaDBabVJOTTJsV1VsTXhUVGcyVUhFME9YcGhUMlp0VFhkQ1lXa3pkazVDVlV4b01EZFlURXhqYzNnd2FXdzNNbEJTVDI1WWRXdERlV1pCTjJ0bVVYcHVNMnBqTm1sSGFtSjBTR0pTUW5OWGVVNUZTR1JTVDBGT1VIVTJZVnBTU0dkak1taHhORFJTUTNad1p6ZDVVRU5mU1U1UVdWbDNiWHBNZVZnelp6WnBielV0YzNkbE1scHdiWGxOZVZoaFp5SXNJblJ6SWpveE56SXpOVFkyTkRRMUxDSmlJam9pYzBWemRYUlJOMHBYZEdsT00yWnRZMFJ1UVVacmRYRTFWR1JDVVRWaExXdHNhak5XVkZGbllucGxXU0lzSW01dmJtTmxJam9pTWpBeFlqRTNNamRqWVdFNU5EVmxOV0psTmpabVlXUXhNVEV5TWpCbU1qZ2lMQ0pqYm1ZaU9uc2lhbmRySWpwN0ltdHBaQ0k2SW5aeU5qSktZMDkwUVVOd1lVTklSRTlDVWpWc1FtcG9Na2RIU25wWlZUVjBZMFZ5VldkM2VWcHBRVkVpTENKbElqb2lRVkZCUWlJc0ltdDBlU0k2SWxKVFFTSXNJbTRpT2lKMFpUQkplalYyY2xGblpuTkZSalI0YUhoSlRVaE9SV056UlhKdE5GcFNhRU5PY2poWVpHUnVPRWszY0ZWUmNFOW1lalJZVjJZemJGSlBNMFF0WDAxS2RYWmFlRVEyYVhkbFkyZGlNbVpKY1c1QlkyRldZM2REWmxoVFFXWlRhMGRsZFhGS01rUnlOaTFhVmpsNFdVTkNjSEZEUnpSMWQybEJXVVpLUkRneFh6VjNhekZXZG5wM1ZWcHBMVlptV25aQ1psVnJkelJ3YjBKdFdEZEVWMVYyYTA4NU1XOWllVzFrUkU5Wk5UUkJUbEF0TkZWVFZtTlNSR2xZUXpoUWJYTlhablpuT0dOQmNGTkVlRmRSTkhaelpFZElTSGwzZHpoSmExTm1Wakp4UlZCUlpFNUlTR0psU1hKcU5HbHBhR1p6V2tJNExXSk5Oa0Z0YW5kME5VRTVkVGw2UW0xeU4ybGhjMHd5YlhJemR6QlVURWd4V0dKamFXVlFORkpOY0daTFZrSldSV1YzU1ZjMVJETmlUbWgyYlhSdmRITXhZVGRLYWw5b1YyNTBibU5JYTNsRmIzcFJUbWc1TTJKb2JITTRWbmxtYUZFaWZYMTkuY1dDQ0ptTVVUdEMydDBPOHJ4bnRTLTJvSklzV2c3RkJudVhKTmxoTUNkZG9ZSzF5QXl4WFVpMzFPYmlCUUl0alQyT1c1bzVFRWpFM1JKSmp2dUstcGJIRXBRUU1YU3Z5WWYtc2hUelBRQU5WTjhGSUhfd3JrNEk0dHNhU2hLMGtkLUgxajZPYk5vM1pyN0JwOFV1RjZ4Q2VWQjNYM3pXaEIzektCUHdhWndqUm1JenltSUg0c1VvaVBwVDVWbFdTM040c0tJT2RQNFNyOHhMbW5xSjhNSkc4WEg3cmlTaUJhZWk4eDhVd1R6ekU1NUlzeGpkajI0UkV6NVUyakNzSXVWajNoZDA5ZjB1cFFsUlhmTzNfXzd0OGRhRUtTaWczLWdwWFlKdVo2SVV3U1RQQ090cXlOeFdwR2ktblROUXVqZ19xMnNXTjJsZ2JPT1UweEJSNVJnIn0.\u0022,\u0022correlationId\u0022:\u00226c988dc4-604a-4cd1-938c-47a424d0f736\u0022}", + "messageId": "a0f8bd9d7843430480ad70f145e3a171", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -41,13 +41,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-9aa7a5a16a372998485dcfe9dc8a4d1f-87e1afe6c948d502-00" + "Diagnostic-Id": "00-cd8ca3a70c5ec20beef348b12799f713-3654cad91a51d2d3-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-d3f9-42f8-8475-d65bc03380c5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-d3f9-42f8-8475-d65bc03380c5\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-d3f9-42f8-8475-d65bc03380c5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDItc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L0FGRFdRUkg3UlVhU1E4NUpvMFdVdFE/aT0xMC02MC0wLTYyJmU9NjM4Mzg2MTczMTg4MTk4MTYy\u0022,\u0022correlationId\u0022:\u00227cb1085e-a359-4328-acaa-98a515c79926\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-01-04T07:49:08.4254952\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-d3f9-42f8-8475-d65bc03380c5\u0022}]", - "messageId": "fb6665c878ac45d79eae1cecf2911345", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-1bfd-473b-8bd7-ddef0b48b601\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-1bfd-473b-8bd7-ddef0b48b601\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9CczdYb2NsTGZVYS1WWEY0UnJId2F3P2k9MTAtNjAtMi0xMDYmZT02Mzg1ODgyOTkxNzA0NDIwNTM=\u0022,\u0022correlationId\u0022:\u00226c988dc4-604a-4cd1-938c-47a424d0f736\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-08-13T16:27:27.3587267\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-1bfd-473b-8bd7-ddef0b48b601\u0022}]", + "messageId": "88efdaea2aa347bc95ad6b54ba32c4d1", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -56,13 +56,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-44992fa6d0ae2bb469f5bb68ddd51cc7-6751afb05282ec54-00" + "Diagnostic-Id": "00-4ccf35fd43badddd9e51c00b913b4d2d-8f4a5beccf01ee02-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-d3f9-42f8-8475-d65bc03380c5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-d3f9-42f8-8475-d65bc03380c5\u0022,\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022isMuted\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-d3f9-42f8-8475-d65bc03380c5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDItc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L0FGRFdRUkg3UlVhU1E4NUpvMFdVdFE/aT0xMC02MC0wLTYyJmU9NjM4Mzg2MTczMTg4MTk4MTYy\u0022,\u0022correlationId\u0022:\u00227cb1085e-a359-4328-acaa-98a515c79926\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-01-04T07:49:08.4411189\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-d3f9-42f8-8475-d65bc03380c5\u0022}]", - "messageId": "c2f90e44a399487ea1e57d712e74a534", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-692c-4680-95c0-f090ae7c69b3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-692c-4680-95c0-f090ae7c69b3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BajRiVzA1T2owU3c4NEgzdF80TU93P2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u00227133856f-c73c-4b50-bf87-ae3537c803fa\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-08-13T16:27:27.452177\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-692c-4680-95c0-f090ae7c69b3\u0022}]", + "messageId": "d47a65952f684821b7878973e585f99b", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -71,13 +71,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-3fdb2aeffdd6a3e5a2ea0b34b0e501b9-d04e61ef21937a01-00" + "Diagnostic-Id": "00-6e572be960fbe952710adead8fa42bee-6d653ca0f54f28f6-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BODdydmI2eFNFaVowVEVic0twSnZ3P2k9MTAtNjAtNy0xODYmZT02MzgzODUwNjEzMTg5MzQzMTU=\u0022,\u0022correlationId\u0022:\u00228e15f2f0-2380-43fa-a5d0-ed8f5adebea4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-01-04T07:49:08.7380498\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022}]", - "messageId": "7f5de6d19d324bd084a50da05e151b2b", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-1bfd-473b-8bd7-ddef0b48b601\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-1bfd-473b-8bd7-ddef0b48b601\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9CczdYb2NsTGZVYS1WWEY0UnJId2F3P2k9MTAtNjAtMi0xMDYmZT02Mzg1ODgyOTkxNzA0NDIwNTM=\u0022,\u0022correlationId\u0022:\u00226c988dc4-604a-4cd1-938c-47a424d0f736\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-08-13T16:27:27.4995099\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-1bfd-473b-8bd7-ddef0b48b601\u0022}]", + "messageId": "ace3d483641241e69c4be71906b05d81", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -86,13 +86,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-172bc9ade8920a503fe10cf73500bb34-fc2efd8964d13fa3-00" + "Diagnostic-Id": "00-2cbc83f6eef0fe36a421308402ecb36b-1f7d7b8618a73b13-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022isMuted\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BODdydmI2eFNFaVowVEVic0twSnZ3P2k9MTAtNjAtNy0xODYmZT02MzgzODUwNjEzMTg5MzQzMTU=\u0022,\u0022correlationId\u0022:\u00228e15f2f0-2380-43fa-a5d0-ed8f5adebea4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-01-04T07:49:09.7223833\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022}]", - "messageId": "5ffd4f7c52be4a85a527031455e795d5", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-692c-4680-95c0-f090ae7c69b3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-692c-4680-95c0-f090ae7c69b3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BajRiVzA1T2owU3c4NEgzdF80TU93P2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u00227133856f-c73c-4b50-bf87-ae3537c803fa\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-08-13T16:27:27.7039518\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-692c-4680-95c0-f090ae7c69b3\u0022}]", + "messageId": "d4cc298ae6fd4399a4359ec17cdc9d39", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -101,13 +101,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-e36375c4845e9a0f673a8916009a073b-2a9967304a438d9e-00" + "Diagnostic-Id": "00-c8236da243529eeba86d2c89cac06d20-30c7cb61dd95b831-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogStarted\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Success Result\u0022},\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BODdydmI2eFNFaVowVEVic0twSnZ3P2k9MTAtNjAtNy0xODYmZT02MzgzODUwNjEzMTg5MzQzMTU=\u0022,\u0022correlationId\u0022:\u00228e15f2f0-2380-43fa-a5d0-ed8f5adebea4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogStarted\u0022},\u0022time\u0022:\u00222024-01-04T07:49:11.6442919\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022}]", - "messageId": "47268b3c11ac432096c6b72181000ddc", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-1bfd-473b-8bd7-ddef0b48b601\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogFailed\u0022,\u0022data\u0022:{\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:500,\u0022subCode\u0022:8601,\u0022message\u0022:\u0022Action failed, unable to create connection to dialog service.\u0022},\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-1bfd-473b-8bd7-ddef0b48b601\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9CczdYb2NsTGZVYS1WWEY0UnJId2F3P2k9MTAtNjAtMi0xMDYmZT02Mzg1ODgyOTkxNzA0NDIwNTM=\u0022,\u0022correlationId\u0022:\u00226c988dc4-604a-4cd1-938c-47a424d0f736\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogFailed\u0022},\u0022time\u0022:\u00222024-08-13T16:27:39.2269934\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-1bfd-473b-8bd7-ddef0b48b601\u0022}]", + "messageId": "de6face1249d44869b7ccb97bbae4d8c", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -116,37 +116,7 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-831ca91d092e16e8e1b484ee922f9030-6d56c9ace383de8c-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogSensitivityUpdate\u0022,\u0022data\u0022:{\u0022sensitiveMask\u0022:false,\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Success Result\u0022},\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BODdydmI2eFNFaVowVEVic0twSnZ3P2k9MTAtNjAtNy0xODYmZT02MzgzODUwNjEzMTg5MzQzMTU=\u0022,\u0022correlationId\u0022:\u00228e15f2f0-2380-43fa-a5d0-ed8f5adebea4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogSensitivityUpdate\u0022},\u0022time\u0022:\u00222024-01-04T07:49:12.3942861\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022}]", - "messageId": "29fc29a9528946ad94302c5b6526d093", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-866f8f22328676e27c757d27f60f6ba4-9d985ed4d8f191d3-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogCompleted\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Success Result\u0022},\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-6fb5-460e-87cd-51d6b164237d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BODdydmI2eFNFaVowVEVic0twSnZ3P2k9MTAtNjAtNy0xODYmZT02MzgzODUwNjEzMTg5MzQzMTU=\u0022,\u0022correlationId\u0022:\u00228e15f2f0-2380-43fa-a5d0-ed8f5adebea4\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogCompleted\u0022},\u0022time\u0022:\u00222024-01-04T07:49:15.0661991\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-6fb5-460e-87cd-51d6b164237d\u0022}]", - "messageId": "b35914ccdd1649f2be17a3c2d6edf896", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-787ae08991ffcad8362f1e100048419e-21e3f001e243025c-00" + "Diagnostic-Id": "00-8321157a6a163c452acf6a49be631f8d-ad6fe2d023a1a17d-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/StopNonexistingDialogTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/StopNonexistingDialogTest.json index 4fedb99ccced..f269bee32fc8 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/StopNonexistingDialogTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/StopNonexistingDialogTest.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a001e80-d76f-4a63-984d-8908f5deaf0b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:486,\u0022subCode\u0022:560486,\u0022message\u0022:\u0022Busy here. DiagCode: 486#560486.@\u0022},\u0022callConnectionId\u0022:\u00221a001e80-d76f-4a63-984d-8908f5deaf0b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pS1dES0oxX3RFNmUzRkhQNU5QaDBRP2k9MTAtMTI4LTE5My0xMzcmZT02Mzg2OTYzNzIzOTgyNDY3MjQ=\u0022,\u0022correlationId\u0022:\u0022440252f6-26dd-441e-98b9-9dfc1b060c2f\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:42:11.5769951\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a001e80-d76f-4a63-984d-8908f5deaf0b\u0022}]", - "messageId": "d92fd9f8f36842a8ac3c826bed16d3ac", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-692c-4680-95c0-f090ae7c69b3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-692c-4680-95c0-f090ae7c69b3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BajRiVzA1T2owU3c4NEgzdF80TU93P2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u00227133856f-c73c-4b50-bf87-ae3537c803fa\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-08-13T16:27:49.6962645\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-692c-4680-95c0-f090ae7c69b3\u0022}]", + "messageId": "cf089432c42647c5bcee2ac98bc9c438", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-02577864d6ee149854cd108a013949af-4105184f3d6e41d9-00" + "Diagnostic-Id": "00-8e4ea1fd21293e1e0da2525f7356eccc-ec1a3fe5e8918bf8-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a001e80-d76f-4a63-984d-8908f5deaf0b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:486,\u0022subCode\u0022:560486,\u0022message\u0022:\u0022Busy here. DiagCode: 486#560486.@\u0022},\u0022callConnectionId\u0022:\u00221a001e80-d76f-4a63-984d-8908f5deaf0b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pS1dES0oxX3RFNmUzRkhQNU5QaDBRP2k9MTAtMTI4LTE5My0xMzcmZT02Mzg2OTYzNzIzOTgyNDY3MjQ=\u0022,\u0022correlationId\u0022:\u0022440252f6-26dd-441e-98b9-9dfc1b060c2f\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022},\u0022time\u0022:\u00222024-12-14T00:42:11.5769951\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a001e80-d76f-4a63-984d-8908f5deaf0b\u0022}]", - "messageId": "8cb9cc6099b942c39b8b20aadb3c9b79", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-1bfd-473b-8bd7-ddef0b48b601\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-1bfd-473b-8bd7-ddef0b48b601\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9CczdYb2NsTGZVYS1WWEY0UnJId2F3P2k9MTAtNjAtMi0xMDYmZT02Mzg1ODgyOTkxNzA0NDIwNTM=\u0022,\u0022correlationId\u0022:\u00226c988dc4-604a-4cd1-938c-47a424d0f736\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-08-13T16:27:49.9489114\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-1bfd-473b-8bd7-ddef0b48b601\u0022}]", + "messageId": "d1defa865f2945fdb46fd43fdac7a5f9", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,7 +26,82 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-820bdcee2a5ca9383bb58c49389b6c1b-8ed498bdb4cd66f5-00" + "Diagnostic-Id": "00-e9ae2410784b8360a7b99d87cee58fb6-e718359c81c97bff-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8telNSYmZfeFFrNnVjS2R5YXFlaUZRP2k9MTAtNjAtMTA5LTI2JmU9NjM4NTg1Nzc1MDIwNTExMzky\u0022,\u0022callerDisplayName\u0022:\u0022\u0022,\u0022incomingCallContext\u0022:\u0022eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjYyI6Ikg0c0lBQUFBQUFBQUNzMVhhM1BidWhIOUt4eDFwaCthUUNUNEptWTBIVWxXY25YdE9IN0lUcHFxMVlBQVNDR2lTQmFFTE1tNStlOWQ2QlU1OGx5N25YYm1LaE5aQkJabnp5NFd5NE52TFVhTDRyTFNNcE9NYWxtVkxmS3RsYWxxYnY1SzNpSXRuN3pCc2U5SG9aKzRVZGg2MitLeXFRdTZ2cVJ6MFNMbG9pamV0a1RKNjBxV2VtZ1dlQkVUZml4U2hHbmtJeCtuR0ZITU9YSWM3aWNCYzBNZVVJQXBhSmt2YUM3TW1pMUtUWldXVE5aMEI1UlJ3YU1zb3NnSllvejhJRWhRUWhPQmZKbzZGRk1jaHhFRG9LbmtYQUR2akJhTkFCUlYxVUxwZFkvbVcrRHZiMXU2T29RVEU4b2FnbE5PcVpzQ1lPQkVBTzI3S0UxREg5RW9kVjNtT0RUbS9zVFpmWUQ1eWRmKzg0cDh2QkxtNVh3d2o3dEp5RktVTUQrRExFUWNRVHBpNU1kWVJHSHNlUXducC9sUW9xa1dpbTF3VzYrSnUvVjhEZ3RaemhxVFJxbzFaVk1BbTJwZE44UzJhUzNiV1NIenFZWjFxM1c3bWExcjBXYlYzTXpZRDY3TmFwc3h0R2lXQWprZUFpTWdQbXZhakIyWk1tWS9ZRHVyMUV4d08yRkN1Qm4yVVJSbENmSlpDakduR1VlWm9KSG5KQ0lMbVdlN2tTMng3Zm1KdldYMFY5bkJEZ29oc1FpSE1VUXhGMXpTYmdsdWxja2VBNnB6VTNsQUlJZXNOSCtrRVBhY1RvSlE0cXRnK285RWRjdm9oT2lDMXlORnk2YXVsS0VMajBBMmNOc1l1KzA0Yk1jdThmd290bHZmZHh2VHIwb3RTakQ5MW1MYm55TmdCeXRwWFJlN1ptUTN2RVpsenBEVERzQkZXbFFwR0R4MG5MRWFsMVVIV1lrVEJvSGxXTU5MYTNqbFc5aU4yZzc4dzJhKzZUU1FVRUF4RDZ5ek0zR2R0dXNBS3lkczR5ZzBVMm1uUHlKNGR4RE5nTzQ0MXViSHZFTVhYRlpXZ01IY3VobGQyZDM3S3dzN01mejNyUVMrUFF0amJPRVlLTVJXRXNFSVBKbEJNSEdkRnh6VGp0S3NScXFSaitMb09VdkpYNndWbWdONWFBY1dwTU5xb0tFUTNrd3RKZGlEK2JFMVg2Rkc1aVdGazVuLzNxcUQ4YVlQb0VZclFlZVNFL3pES1RFaFJ0dG5DVGFMVE5HYzNIUjc4WSt4ZXNsSklyK21menNMNEV4OUhWME1tb2Z3b1g5OWQrSDlla1IvdmxodG54Z3R1ZVJVQ3dJNXNlN09yaXdYZTA3a2hMNkhmOHJHTHNONkRhUlZWcXdzUlRsWGtFM1l5d0MzUFV1WnF0cGFuWUs3UitCQkFxbC9Cang2RlhqME03Z0x6RTFRbEdsdzRFS1ZoRTUwNHNCUGNPQys2R0JqZGVyQS9YODRLR2dxQ2pLbnNrU2JFdDZPSG0zNkNxVkxRWXU4VWxKUDUwUkIzV2c1cDdwU1ZycGtWazNaVE9pYVNtVXRSUXI3dXVPdDFyV3VJT1hkd2Uyay8yR0MzWGp5eTRkdWYzTDdTeGRQWXNlU0pSU2pJSi9WZkhyZCszeC9mK2Q5L2pLVXc4eXU1MDBpN2Z1TDh6WFY3TXVub25aU1hTZS91Zi8wOEc5NFQyb0g3NzRFL3pqcnJYVHdHRWZ5UHZsYVZNVjkrSDUwMFQrL1RMb2ZQNm5abTA5eTJIeGtTYk9GMzVkbVBhYzFIUFBZdXUyT2hwZTJIKzlPKzlHY2I5ME9MODV0SFA0OGxWanZJOWUxbjFuaWJaZWN6a0JidUIzZURDNlAwYks1M3M2a1VpdlkvYzZwSjZoZWNKVWNBVzRYeFJZdFM3RktPMlgxeE42eHJ2b2Y3azc5eDJhOGV6b09QZXBtY1BaY0pGRG9vaEQxdENvRkVnL1Fqazg0Z0lscDlrL1hlVmIvOHJud1l6UCtUSHl1WXlhT3NsOUQzY0U1Mkh1Q1hpWlVyVUE4a1daS2tSdUUxbGxDL0poMGZkSlBTQzhnZnBjRUlYbm5rVGdrdmtmd08zSVdrOGduNzN4eUZwSnVRcm9SaVNJU0ppU0tTZitNbkVXazc1SEJnQ1JuSk82VDNvRDBZaEwyU1Q4Z0lWajJ0NDdGU20vNFdlWTlTOGJ3V1M2WDdXM3h0eXVWajhkaUJab0l1SmE2R1k4aEhEVGxDbGFOeHpSdGtPbTF5RVR5Qk0zN2dYWjQ5LzRPVUVZYlBVbWhOeXdsMTlOSkpnUlA0U0QrNlVIQU82SXFKOTRUOE9BcFZTbDB0aVVxK1hqTUZjMDBtbGJGWENpazV2QTZSWHIvZGtZQUx4Qm9CQUFTcFVGdWtIUG9DMDJqR0FMVEhGcXJrYW5teTh6dEJkV0Z5TGV5VnVBa3hTeEdxZU56NVBQVVF6RkxRT2JITWVkcFNMRlBYVmdqR3JoaGJGN21IeGxiS05qWS9DQk5TN0g4bUdWR25lMEdvQnZsc2pSZENCek1XYzlOalZ3QUtYRXUxa1lvN0Y3b202Y1dENnZlbDl0QkhTZUJHaFZmbHRlUEY5ZWpaYWNEVGtFMlEvc3lldGU5SDB6VisxbTZmbngvTTN0OEk4L2Y1T3N1MkFEc1ZEYmdhRDBzTTdnZC9QMGJLQzFOVlM3Mk1rVHl1OXEwNkhlVnVnVnBQOXJNdFE0Y2k5M0E3b0lVaHE2SEEreUdKeGFEM1YxZ0I4dEZSaGVGQWNxZW9QenY3eVhaS3pnY3FKcmFnSjB3aWQvby9YOFk1Y2tsNkEyemRWZmIrNEFVbXd1QWJHNTJVOTJpcUpZQ3FrR3JoZmdPT1FVbFo0cDFzOS9EOGtIcXc1M3llTVpJUDFVVnhVYVgvMGU2RmtCMnloWWZLVnNZUGRhMjhHaWp4OXViTkp1c3JtZmhncDN6TmYyWGtPK3VENklWT3dseXd6K0xUdWpGUVJ4RVVlQzREaWdBTHpFMUs1c1BrQjU1QmZldjlhRTJaZE5URmVVTXp1aHVET0xsSWwza3gwb1didE9iMHlFd3k4SXNDQkNVaEl0OEo0MVJ3ajI0dXpxZUNDTmZ1S2t3bmlDeHpOUjBtZmRoNVkrOERNdEcwNUtaemRybjUwVk5iMjQybFNFaWFXSFFqbS8xdHh0Kyt4dnlmM092aEdCelZTM3FUYkFyQU51VXliOEJxQXBvUDBBUUFBQT0iLCJzaHJUb2tlbiI6ImV5SmhiR2NpT2lKU1V6STFOaUlzSW5SNWNDSTZJbkJ2Y0NKOS5leUpoZENJNkltVjVTakJsV0VGcFQybEtTMVl4VVdsTVEwcG9Za2RqYVU5cFNsTlZla2t4VG1sSmMwbHVaekZrUTBrMlNXdDBVazF1VWtKWk0wcEdUako0UTFsV1dsZFNNRXAwV1hwV1IySXlTbTVhUlhCMlRrTkpjMGx0ZEhCYVEwazJTV3QwVWsxdVVrSlpNMHBHVGpKNFExbFdXbGRTTUVwMFdYcFdSMkl5U201YVJYQjJUa05LT1M1bGVVcG9aRmRSYVU5cFNtbE9SRlpzVFVScmQxbFRNV3RaVjBwdFRGUlJlRTVFVlhSWlZFRXlUME13ZDA5SFJUUk5hbXhwVFhwQ2JFOUhVV2xNUTBwd1l6Tk5hVTlwU205a1NGSjNZM3B2ZGt3elRqQmplVFV6WVZjMWEySXpaSHBNYlRWc1pFTTVhbHBIVFRGWlYxWnNXVk13ZUU1WFRURk1WRkpyV1dwWmRGbHFRVE5QVXpGdFdUSkdhMXBFU1RGTlJGWnJXWHBKZGtscGQybGhWMFl3U1dwdmVFNTZTWHBPVkZrd1RVUlZORXhEU25WWmJWbHBUMnBGTTAxcVRURk9hbEYzVGxSbmMwbHRWalJqUTBrMlRWUmplVTE2V1RGTlJHTXhUME4zYVZsWGJIWkphbTlwVWxSS2Exb3hiRTFhTTBvMlRUSlplbGw2V2xGUk0yZ3hZMjFHUjJWSVRsZFdiRnB0WkVWS2JsRlVNR2xNUTBwb1kwaENjRnBEU1RaSmJVVjZXVlJOZWxsNlNtaE1WRWsxVDBkVmRFNUVSbXROVXpBMVRWUk5NMHhYUlRGT1JGbDVUVzFWTWs5RVJtcFplVWx6U1cxR2QyTkhiR3RaVjA1NVNXcHZhVTFwU1hOSmJVNTFXbWxKTm1WNVNuRmtNbk5wVDI1emFXRXpValZKYW05cFZXeE9Ra2xwZDJsaWFVazJTVzVTYkUxRmJEWk9XRnA1VlZka2JXTXdWa2RPU0dodlpVVnNUbE5GTlVaWk0wNUdZMjB3TUZkc1NtOVJNRFY1VDBab2ExcEhORFJUVkdSM1ZsWkdkMVF5V2paT1JtaFlXbXBPYzFWck9IcFNRekZtVkZWd01XUnNjRFJTUkZwd1pESldhbG95U1hsYWEyeDRZbXRHYWxsV1dtcGtNRTV0VjBaT1FscHNUbkpTTWxZeFkxVnZlVkpJU1RKTVZuQlhUMWhvV2xFd1NuZGpWVTVJVGtoV00yRlZSbHBTYTNCRlQwUkdaazVZWkhKTlZsb3laVzVrVmxkdGEzUldiVnBoWkd0S2JWWlhkRE5PU0VKMlVXMHhXVTR3VWxoV1dGcHlWSHByZUdJeVNqVmlWMUpGVkRGck1VNUZSazlWUXpBd1ZsWk9WMWt4U2tWaFZtaEVUMFpDZEdNeFpHMWtiV00wV1RCR2QxVXdValJXTVVVd1pHNU9hMUl3YUVsbFdHUXpUMFZzY2xVeVdsZE5ia1pHVlVaR2ExUnJhRWxaYlZaS1kyMXZNR0ZYYkc5YWJrNWhVV3BuZEZsck1ESlJWekZ4WkROUk1WRlViREZQV0hCRFlsaEpNMkZYUm5wVVJFcDBZMnBPTTAxR1VrMVRSRVpaV1cxT2NGcFdRVEJWYXpGM1dtdDBWMUZzV2taYVdHUktWbnBXUlUweVNrOWhTRnAwWkVjNU1HTjZSbWhPTUhCeFdESm9XR0p1VW5WWk1HaHlaVlZXZG1Wc1JrOWhSR3Q2V1cxb2MyTjZhRmRsVjFwdlZWTkpjMGx0VldsUGFVcENWVlZHUTBscGQybFpWM2h1U1dwdmFWVnNUWGxPVkZscFRFTktjbUZYVVdsUGFVbDVVbTFXYW1KV1ZrSk5NV2hoWlVWR2RHRlhTbk5OYm1Sc1dURlZlazFIVVRWWmVrNVdUakphYW1ORmVFOVdSMFpXWW14V1EweFlXbTVKYmpFNVRFTktjRnBJUVdsUGFVcHZaRWhTZDJONmIzWk1NMDR3WTNrMU0yRlhOV3RpTTJSNlRHMDFiR1JET1dwYVIwMHhXVmRXYkZsVE1IaE9WMDB4VEZSU2ExbHFXWFJaYWtFelQxTXhiVmt5Um10YVJFa3hUVVJXYTFsNlNYWkphWGRwWVZkU01HVllRV2xQYVVwb1kwaEJhVXhEU25aaFYxRnBUMmxKZVZsNll6VlpNa2t6VDBNd2Vsa3lUbWhNVkZGNldsZEpkRmx0Vm1sTmFURnBUVVJyTWxwWFNUVk5hbEV5V1ZSbmFVeERTbmxoUTBrMlNXcEJkVkZXU2twUlZGcDRUakJhTmxreFZsZGtSM041WkRKV2JXVllVWGRpUlVwclpESmtkbE5zYUhsVk1UaDVZVEZhUTJJd1pHNVRXRVpFWWxod1JXSjZRbFJSVlVaQ1RHbEpjMGx1VGpGWmFVazJTV3BLYWs1NmJHcFphbU0wVEZST2Fsa3lSWFJPUkU1c1dXa3hhVnBYU1hsTVYwbDNUMVJhYkZscWEzbE9SRnBvVDBOSmMwbHVVbkJhUTBrMlNXMU9hMWw2Vm1oYVYxWm9URlJGTVZsNlZYUk9SMUpwVG1reGFVMUVZelZNVjFwcVdWZFNhMDFxVlhkT1YxSnFUV2xKYzBsdVZqQmhVMGsyU1cxVk1scHFVa05XUkZKWFQwVldVR1J0YkVwbGEwWnBWRlZPV1ZGVlJXbE1RMG95V2xoSmFVOXBTWGhNYWtGcFRFTktOR0pZVG1aaFYxSjVXbGQzYVU5cFNUTkpSRmxwWmxFdVQyMXNWamhKVEc5NVFVTkRaalF6UmxReVEyNDJkVWhhWDBkblFXUkZSWGRpUlc1eFozUlpaVVJaT0dFNFMzbE5URFI0WTBSTldqWlRiaTFOTjJoVWMzQm9jV3RmVWtGQmJtODNkRFpOTTB0d1ZscHVhRWwwUjJkVU16bDZZekE0YjBkM05XRkthMWxKV1d0bVZXa3RTbG94ZDFjemVURm1YMjFzYUVaWVlXWmxNVmRLT0V4c2NERnhiblpJTTNOTGJVTnZUMTlFZFdsZldWSkRaekI1Ukd4SU1UTlNiSFJxVUdveWJGTnZTRnBaVmkwNE9ERnZjMFpCVUdOcGVIVkNWV1ZKZFROUlowcFNkbVp3T1V0QllWQkJiRzk2U1RaQ2JVTk5NMVpVWm5reVJqWTNUbkpyUlRCeExVOU1OWE5FUzFKWFVtaFliVEp5UjNSMGIxSmFhMnQ1WW1OalYxOUtiR2RuVm5WTlZIWlRRbVF0YkY5blJGb3dRbXcyVlVodk4xQXRka3RPWnpOSFpEZERTM1oyVGtsUUxXVXpiRGRWYlVGNVkyczJTbTEzYlRsRWVHOHhlVmQ0VHpGNVVVUnhTMUEwYlROUklpd2lkSE1pT2pFM01qTTFOalkwTnpNc0ltSWlPaUpaUldZNGRUZHVTREZwWm5wdFdWWnVPSGc1TFVOcFRUSm1XSGR6VlY5cE5HdFZabXh6Vmpkc1pGUlpJaXdpYm05dVkyVWlPaUkwTTJaaU16Tm1OelEyTkRJME1qTTVPVGc0TmpZd04yTmlOekUzTWpka01TSXNJbU51WmlJNmV5SnFkMnNpT25zaWEybGtJam9pZG5JMk1rcGpUM1JCUTNCaFEwaEVUMEpTTld4Q2FtZ3lSMGRLZWxsVk5YUmpSWEpWWjNkNVdtbEJVU0lzSW1VaU9pSkJVVUZDSWl3aWEzUjVJam9pVWxOQklpd2liaUk2SW5SbE1FbDZOWFp5VVdkbWMwVkdOSGhvZUVsTlNFNUZZM05GY20wMFdsSm9RMDV5T0Zoa1pHNDRTVGR3VlZGd1QyWjZORmhYWmpOc1VrOHpSQzFmVFVwMWRscDRSRFpwZDJWaloySXlaa2x4YmtGallWWmpkME5tV0ZOQlpsTnJSMlYxY1VveVJISTJMVnBXT1hoWlEwSndjVU5ITkhWM2FVRlpSa3BFT0RGZk5YZHJNVloyZW5kVldta3RWbVphZGtKbVZXdDNOSEJ2UW0xWU4wUlhWWFpyVHpreGIySjViV1JFVDFrMU5FRk9VQzAwVlZOV1kxSkVhVmhET0ZCdGMxZG1kbWM0WTBGd1UwUjRWMUUwZG5Oa1IwaEllWGQzT0VsclUyWldNbkZGVUZGa1RraElZbVZKY21vMGFXbG9abk5hUWpndFlrMDJRVzFxZDNRMVFUbDFPWHBDYlhJM2FXRnpUREp0Y2pOM01GUk1TREZZWW1OcFpWQTBVazF3Wmt0V1FsWkZaWGRKVnpWRU0ySk9hSFp0ZEc5MGN6RmhOMHBxWDJoWGJuUnVZMGhyZVVWdmVsRk9hRGt6WW1oc2N6aFdlV1pvVVNKOWZYMC5vZE02UHdHSW9yeWw3TUhSSExqcE1Ca1hQb3B1RDZCYm9pY05senFVbzVaYmRlZWNCSUpvMjR2dC1RbUhNaVFabVNCdjF1OHFGMlB5SnFoY3NZcGc2dTBFNkliUU04dEpTRGFXdEhrLXlPbGRyNWRJYTJkTHJFQ2hRNzFwRGd5OXBYTXZvS0MyZDB6V3RfSHlmWFV6VnBQYkVXa3NfTnNFMjR3bDVYdy0yMlJZZmJHNWxIbjYxd2EwRmlJRFRGdzU1akJhcUVzREZ4WGRBSHJOZjlrQVB1OXNpUnFqS0U4ZmhNSU9teXI0cUVUMjJhS19QOHVXMkVvdWNyUUxERk5yaURhMkE2dmJfbWNBTGhCR01Pd0xvdHFYRFJteG4zbUhxNGctQlJ3SXk3RlRaQzRSdk1ZejZxNXpDMVFQSV9fa1dlU1pLTnNSV0lkSnYzZy1iU2VvU0EifQ.\u0022,\u0022correlationId\u0022:\u0022e1cf6f55-1262-40b8-9d3e-403e674e2be2\u0022}", + "messageId": "75ee244587a84f3a92d01a4ba855fc03", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-f31b135338e8c6766205a65a2b2861fa-dfbd3b32bd6178c8-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-bd51-4e1d-a211-2d025510f913\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-bd51-4e1d-a211-2d025510f913\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8telNSYmZfeFFrNnVjS2R5YXFlaUZRP2k9MTAtNjAtMTA5LTI2JmU9NjM4NTg1Nzc1MDIwNTExMzky\u0022,\u0022correlationId\u0022:\u0022e1cf6f55-1262-40b8-9d3e-403e674e2be2\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-08-13T16:27:59.5280211\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-bd51-4e1d-a211-2d025510f913\u0022}]", + "messageId": "b27cc93a97c14b1188a5e3575d94136c", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-d80453aa6f6d3f57d27dd07754cdae79-7c13ab9b63097c91-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-bd51-4e1d-a211-2d025510f913\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-bd51-4e1d-a211-2d025510f913\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8telNSYmZfeFFrNnVjS2R5YXFlaUZRP2k9MTAtNjAtMTA5LTI2JmU9NjM4NTg1Nzc1MDIwNTExMzky\u0022,\u0022correlationId\u0022:\u0022e1cf6f55-1262-40b8-9d3e-403e674e2be2\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-08-13T16:27:59.5325492\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-bd51-4e1d-a211-2d025510f913\u0022}]", + "messageId": "b36a16ededc840f589379dcacb212921", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-d9463916c4397b10d65f442ccb090df4-86c80810e76cdcae-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-fb72-4a05-af42-d5807371bb53\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-fb72-4a05-af42-d5807371bb53\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi90SXROeXBHbVBrcVl3cUo5SnprVzhBP2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u0022295076c8-cf7c-4474-aef9-7dfcef379a1c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-08-13T16:27:59.753871\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-fb72-4a05-af42-d5807371bb53\u0022}]", + "messageId": "1ad445f6017e47bfb3a97b84d7ba8f62", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-95c0b64a6105daea37eca1269f5ae120-2657c38d86f1a16b-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-fb72-4a05-af42-d5807371bb53\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-fb72-4a05-af42-d5807371bb53\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi90SXROeXBHbVBrcVl3cUo5SnprVzhBP2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u0022295076c8-cf7c-4474-aef9-7dfcef379a1c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-08-13T16:27:59.893732\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-fb72-4a05-af42-d5807371bb53\u0022}]", + "messageId": "d2b004c8182446c6ad608863ef17de14", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-5e92d3d064381f4993e93f55e9c22ce7-c6fcb6d293c2fb59-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/StopNonexistingDialogTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/StopNonexistingDialogTestAsync.json index d34df8cad779..75d154da7a50 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/StopNonexistingDialogTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/StopNonexistingDialogTestAsync.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a001e80-bd79-4749-abc0-c8bb631fe69f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:486,\u0022subCode\u0022:560486,\u0022message\u0022:\u0022Busy here. DiagCode: 486#560486.@\u0022},\u0022callConnectionId\u0022:\u00221a001e80-bd79-4749-abc0-c8bb631fe69f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi96S01IalJBZVRVMjdCMTFGYW56bEJ3P2k9MTAtMTI4LTE5My0xMzcmZT02Mzg2OTYzNzIzOTgyNDY3MjQ=\u0022,\u0022correlationId\u0022:\u00227b952876-4e92-490e-a93b-e0ec8e27f63d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:43:52.9896212\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a001e80-bd79-4749-abc0-c8bb631fe69f\u0022}]", - "messageId": "10b29151e77c4f9b9cd2825222dec616", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-5a0b-46cf-b045-fc5f779fc71f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-5a0b-46cf-b045-fc5f779fc71f\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-5a0b-46cf-b045-fc5f779fc71f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDItc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L1VBY1R4aE9CdWtDRXlQX1FUcTNaMnc/aT0xMC02MC0wLTYyJmU9NjM4Mzg2MTczMTg4MTk4MTYy\u0022,\u0022correlationId\u0022:\u002272a82a12-5001-477a-a558-a03da3b5d806\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-01-04T07:46:04.1942415\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-5a0b-46cf-b045-fc5f779fc71f\u0022}]", + "messageId": "5b3150be50344a0cbc4c588a2192b9da", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-753e460157c166f4d11fe9777275e61a-644893e8d06674e2-00" + "Diagnostic-Id": "00-ba4edb8c4e32b63645f22c61dda7ac96-e0bc7c4ac16e7577-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a001e80-bd79-4749-abc0-c8bb631fe69f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:486,\u0022subCode\u0022:560486,\u0022message\u0022:\u0022Busy here. DiagCode: 486#560486.@\u0022},\u0022callConnectionId\u0022:\u00221a001e80-bd79-4749-abc0-c8bb631fe69f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi96S01IalJBZVRVMjdCMTFGYW56bEJ3P2k9MTAtMTI4LTE5My0xMzcmZT02Mzg2OTYzNzIzOTgyNDY3MjQ=\u0022,\u0022correlationId\u0022:\u00227b952876-4e92-490e-a93b-e0ec8e27f63d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022},\u0022time\u0022:\u00222024-12-14T00:43:52.9890579\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a001e80-bd79-4749-abc0-c8bb631fe69f\u0022}]", - "messageId": "6b78e208cec549eb8982f428458e12a2", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-bcff-4250-b5d6-aed234cfc13f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-bcff-4250-b5d6-aed234cfc13f\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-bcff-4250-b5d6-aed234cfc13f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9ZbE5ycWRNaWZrQ0tsckRhQ1hNbEdnP2k9MTAtNjAtMTgtMTc3JmU9NjM4Mzg2Mzk1NjA1NzI5MDI1\u0022,\u0022correlationId\u0022:\u002292b167ef-9446-4623-a41d-0c79e300853e\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-01-04T07:46:05.2723808\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-bcff-4250-b5d6-aed234cfc13f\u0022}]", + "messageId": "cb87607f875c4552a2105030f49dc131", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,7 +26,52 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-bd677cbdaad7a60fec3b8928e5d73687-1aca3a1abc5a342a-00" + "Diagnostic-Id": "00-f839d540a2580c43b30328927ec3a2c1-85f0627a8cfa8963-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9tbTNZZHZSanFrMnJINE1HbE0tcFFRP2k9MTAtNjAtMS05OCZlPTYzODM4NjQzNjI2MTMxNTcxNw==\u0022,\u0022callerDisplayName\u0022:\u0022\u0022,\u0022incomingCallContext\u0022:\u0022eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjYyI6Ikg0c0lBQUFBQUFBQUNzMVhhMi9iT0JiOUs0SVgyQStUMHBhb053Rmo0RWN5OFdTY2NSdzNrOGw2TjZBb1NtYXRWeW41TlozKzk3MlVaY2VwaXphNzJBWEdMUnlUdkR6MzNNdEw4dkJUaTlFa3VjMHJFUWxHSzVGbkxmS3BGY2s4Vlg5RjJDSXRpMXdZbm1XNWp1VmoxMm05YTRXaUxCSzZ1NlVwYjVGc2xTVHZXandMaTF4azFVaE5ZTFllZW41Z0lpUGdIckljK1BKdFBVSTZEcHpJQ2p6UHNTbkFKRFNMVnpUbWFzNGVwYUN5RWt3VXRBRUtmTjNYdWVNaGJuQVhXWnhaeURjY0M0WE01cFFGZHFRYkdJQVdJZ3c1OEk1b1VuSkFrWG5CWmJYcjAzZ1AvUGxkcThxUDRYaUVzcElZUVVncERuekZES0J0QzZNZ0FHanFCaGd6WGFkZWFEM3J6UWQ5NWV2d2VVTSszZ2p6L1h5NEljWTI5bTFrQno1SGxtdTd5RGNEU0FyMWZlcjV1bU5hK25rK0pDL3psV1ExYnVzdGNiZStuc05FWk10U3BaRldGV1VMQUZ0VVZWR1NUb2NXb2gwbElsNVVNRys3YTVmTFhjSGJMRS9WU0dlTk82em9NSVpXNVlZajNVUmdGQ0s2TE51TW5aZ3kxbGtiblNpWFN4NTIzTUN5QXdPN3lQQ3hqeXdUWnZrV054RFdBOGNQT09iVURqclk3UWlqWTFwK1o4L29SOUUxZE9Ub0NMNE4wNFV3VWg0SzJzdkFyMVIxeVlCcnFrb1BHTVNRbHZLdkZNT0IwM2tVa24vZ3JQb3JjZDB6T21lNkNvdVpwRmxaNUZMeGhTYXd0WEhiTUhEYmM5b2VKcWJsZXAzVzUyWnBCbmxXOFF4TVA3WFkvdWNNNk1GTVdoUkpjeDUxeXJCQVdjeVEzcmJCUlpEa0FSaXN1L3BjenJPOGl6UnMrbEQ2bXE2TmJyWFJ4TklnakxZTy93eGxVSFpMeUNuQXFBYnJOaVpZYjJNZGFQbDJHL3RxSk9nT1pzUm85cUxxcUxxNlZ2OUl1M1FWaWx5ekRkaDYyblEyNmZRZUpwcWhXNW9QMzZabUdJWm1lT0RkMDN3WGVxQ2xPcjF2KzZOZFdiRUN5Vkw4d1UvYVVVQiswTFlvQmNwd0VHaVFCYTJFbzRTRTVVS1RuSzNWajczNUZwVWl6aWpzeWZoYnM0N0c5UW1BeWtweW1vcVFHQzlPaVlyTTNMY0YyS3dpU1dPeUhTMm5MMzNGSmlUVFpPbGw0VzlET3QxRVQvbjdwOUo4akx4eS9YQkNQMTF0OXkxR3MxQ0V0T0lFMHFHOUgwNDBiSmk2cXp1V2FieE9ScFBYYWdlY1paUnNOVW5EVUVJZVlRRnRNTVNXSmxVMTdlM08wZkVKdXUzRFFweWptMjlFTjc5RXg4QmRoVVZaQlI0d2xJZWp1MTk2c0h6alRmeHJ1M01QK1AvaUlhRUJUMGhLUllicTZ0MzNuaXo4RmdVYlRwTTRsNkphcEVSQzdWUWlwVlV1dFdERHRJS3lKYThLS3FTMjRRR3NiVU5jN29vcWg2ejNMdStmQitObkEzdlAxK1BlNFBuK3VtYzhlN29tTWloSVR2cVRvcnk1ZU96L1BIaDYyTTdHZHp2OHhEYlI5VzB4WHJyWmxNVVhOemV6bTRFWi80bi9aUnAvR2dkU0RUeitIdnh5T0IyR2ZoNHZodkg0c2FMWGQwVjhFWm5Uc1htWFhTVHhiR3JSVWY4aGlMMGEvbENlUlVvTDJPR1dkai82NWFaak9NMCtQdzc1Mms4dXhoM3Z5MzYxeCtzcDV5T3c4KzlIMDh2YlU3UW9yZllqZ2Fna0xISDMzQk1VS2JqeVR3RDNrenlOWmhuZkJ0MHNmMld2YTVQQitQMjVmMC8xOTg3NzRSaWFYZzYvRmdtVU0wOTRzY2d6anZnYVR0c3pEbUFDWjduemVwNnBEVzYvRnI2bitrL2lLNkNFb0tZUGdIQTBjVmxJVUVHa1hGQ0ViVWN6ZlRJMGlHY1QxeUdlUmR3K2Nmb0VlNlEvSk1NaHdRUFNoMUdIT0JhNXZDS1dTZm9td1JhNWd2K1hwRytUeXdGeGRUSzhJajVNd2NyTU5vbmJJMWMydWVvUmI3aDN6TGRWelU5VDF5V1p3MmV6MmJUM2Rkek9aVHlmOHkySUcrQ2FWZVY4RHVHZ1JTaGgxbnhPZ3hLcG94T3BTRjZobVM5b3h5djBHMEFSTGF2bkFQYjVSb1RWNGpuaVBBeGdULzF0emVISXo3Tm44eFc0L1pxcTRGVzBKeXJDK1R5VU5LclFJazlTTHBGTTRWSkUxZUdPUlFEUEVWejFBTVF6aFZ3aS9iakZ5MUl5QktZeEhKUktiNm92TlhZUVJyL3d1TmFFRnJPdDBMY29ja0FFd09YUE9mS2hqUmozSGRzT1FCSUdTalR4RXA0SzlaWDhLMk1yQ1FzYkh6Vm14amUvUnBGU1dVMEhIQ3l4eU5TQkFnNVMxc2VCdXZSQkVOenduYnJ1bTF1NWJyWDBoOTlIZUhJWHBhdVBrajkrL0dPMldkODg5cnBkY0FyNkYwNGlzUEY1bnMwcytmVFF4eC84MzBZZkJ3WHpQdHlCRGNBdVJBbU9kcU1zQXBuL2owOGdtQ29xWTM0UUV5SjhYNmpqOWlxWDk2RFJaL1ZZNjhneGFUcWFsNDdqWU5PQSs4QTVzN2hzUkgwREcvS0lyaElGRkwxQytkOC9NS0kzY0RoU1ZiVUJLNkVTWHd2M2Z5b0JHUXFRRDJycEpudGhMM2l0NUVVNWJZWjZTWkp2T0ZSREpWZjhNK1FVOUpncTFucTlSOWxhVk1mSDRlbUlFbkF5VDVKYVgvOUg4aFJBR29HS1R3UXE5SjVLVkdoMjB0VDhQVnhQUDN4Y1lubHRqWDlLeHFpNHUzdlJuc2ozL3M2N2p1bVpIc2dMQnpzR0xKOXJLRGtxeWpFa1IwemdHYlU3VnFZbyt6S25JWU1kMnZSQnRDRVBWdkdwR29WSGNiMDNUS2hxMHpFY1pJTUhaREhQUnRRSkRHVDZjRk5IdXVNRWxpb1VTQ3RURlozRkE1ajVrcFZSVmxZMFkycXBEdG41cmpCWDc1TmNFUkUwVVdpbmovUDdtdC9ob2Z2ZlBBOGgyRmptcTZJT2RndGdkWkg4RzJQcWtrb0hFQUFBIiwic2hyVG9rZW4iOiJleUpoYkdjaU9pSlNVekkxTmlJc0luUjVjQ0k2SW5CdmNDSjkuZXlKaGRDSTZJbVY1U2pCbFdFRnBUMmxLUzFZeFVXbE1RMHBvWWtkamFVOXBTbE5WZWtreFRtbEpjMGx1WnpGa1EwazJTV3BXUTAweU5WTmxTRkpTVGpKd2NFOUhWazlTUjAxNlVtNXJkMDVWZEcxUFZHUmhVbE5KYzBsdGRIQmFRMGsyU1dwV1EwMHlOVk5sU0ZKU1RqSndjRTlIVms5U1IwMTZVbTVyZDA1VmRHMVBWR1JoVWxOS09TNWxlVXBvWkZkUmFVOXBTbWxPUkZac1RVUnJkMWxUTVd0WlYwcHRURlJSZUU1RVZYUlpWRUV5VDBNd2QwOUhSVFJOYW14cFRYcENiRTlIVVdsTVEwcHdZek5OYVU5cFNtOWtTRkozWTNwdmRrd3pUakJqZVRVellWYzFhMkl6WkhwTWJUVnNaRU01YWxwSFRURlpWMVpzV1ZNd2VFNVhUVEZNVkZKcldXcFpkRmxxUVROUFV6RnRXVEpHYTFwRVNURk5SRlpyV1hwSmRrbHBkMmxoVjBZd1NXcHZlRTU2UVRCTmVsVjNUbXBuTTB4RFNuVlpiVmxwVDJwRk0wMUVVWHBPVkVFeVQwUmpjMGx0VmpSalEwazJUVlJqZDA1RVVYcE9lazAwVG5sM2FWbFhiSFpKYW05cFVsUktWMW94YkUxaGFsRjJaRVU1TldWcWJHdGFWVTVNVFRBMWFFMVZUbEZpYlhCRVpXdE9VbEZVTUdsTVEwcG9ZMGhDY0ZwRFNUWkpiVVY2V1ZSTmVsbDZTbWhNVkVrMVQwZFZkRTVFUm10TlV6QTFUVlJOTTB4WFJURk9SRmw1VFcxVk1rOUVSbXBaZVVselNXMUdkMk5IYkd0WlYwNTVTV3B2YVUxcFNYTkpiVTUxV21sSk5tVjVTbkZrTW5OcFQyNXphV0V6VWpWSmFtOXBWV3hPUWtscGQybGlhVWsyU1c1YU5GSkZkRXhVTW04MFV6QTVRbE5IWkZaU1ZGWjRWbTVLYkZORVNsTlBSVFZLWWtaQ1YxVXdNVFZpVlVZMVkwUkNURmx1V1RKVlJVWkpXakZDVkZZeVNuSmlWR1IxWVRGVk1HUXlNVTlhU0VKU1dUQTRlVkZyU2tKaFdGcEhWVEZvYTJNeFVrZGxWM1JKVEZaa05HTkhkek5pVmxaclZtMW9iRko2U21sU1JHd3pWMFpXU21Fd2NHeFZNVGxQVmtST1ZrMXNTakZsU0ZaeFlVTXhSbHBzYUZaVlZsWllZbXBXYTFJeVRuVmFiVVpYVG01d1prNTZWbTFOVjBZMlZHMXZNR1I2U2xOV2F6QXdUVVZPYjFNeWFEUmFNV2cwWW01a01HVnVaekpoVlU1RVZEQldlbEV3ZUZWV2Frb3lXVlJDVWxGVlNuUmhiR1JWV1cxUk0xcEZSbGxPVlRWVlZWZHdabUl5ZEVsa1JuQldWMFk1VVUxdVpFNU1WVEZ6V2tVMVRtRklRVFJQUkdkNldsVlpNRlpyUm5Ca2JFcENZVE5TTTFwSFNYcFZhMnhVVTI1c2QyTXlSa1pUVlhjd1UwZFNNMlZyWkhSTlZYQlRZVVpLYjAxVk9EQlRSVXBNVWpKU00xVXdjM1JPYmtaaFVtc3hiV1ZGY0VoT2FrNVFUMWhTVjJOc1FuVmlTRlpOVFRGT1RtUXdSa2xpUjI4MFRXczVVVTVXU2xwV2JHdzFWbGhTUldWWGFHWmlSVGxQWkRKa1ZWSjZSbEpOUjNCcVVWVnNRazVyTlZWT1JrMDFWVk5KYzBsdFZXbFBhVXBDVlZWR1EwbHBkMmxaVjNodVNXcHZhVlZzVFhsT1ZGbHBURU5LY21GWFVXbFBhVXBJWkVkYVRtRlhlRFJaYkhCSVRrTXhVRTFETVVaa1IyaHFXbXhPUWxSRmVFbGlWekI2VjFoV1JHTnJlRlZTYmxaMVlrZG9VVmd5V25aSmJqRTVURU5LY0ZwSVFXbFBhVXB2WkVoU2QyTjZiM1pNTTA0d1kzazFNMkZYTld0aU0yUjZURzAxYkdSRE9XcGFSMDB4V1ZkV2JGbFRNSGhPVjAweFRGUlNhMWxxV1hSWmFrRXpUMU14YlZreVJtdGFSRWt4VFVSV2ExbDZTWFpKYVhkcFlqSnNhMGxxYjJsTmJVMHpUMWRPYVU1NlozUk5NazVxV1ZNd01FMHlWbWxNVjBwc1dXcEpkRmxxUVRWT2JWWnBUMVJKTUU1dFJUUkphWGRwWTIxbmFVOXBTWGRNYTBaVFUxVkZNbU5VWkVkbGJVNVdWbTVTY2sxdVpHeGFibXd3VFVkNFExcElaRzVpTUhCWlkyeE9aazF0ZEZkUmJUbElXakJzZUZFeU1UWlNSemgzVlRCR1FsRlROR2xNUTBwNlpGZEphVTlwU1hsWmVtTTFXVEpKTTA5RE1IcFpNazVvVEZSUmVscFhTWFJaYlZacFRXa3hhVTFFYXpKYVYwazFUV3BSTWxsVVoybE1RMG93WVZkUmFVOXBTbXBhUjAweFdWZFdiRmxUTUhoT1YwMHhURlJTYTFscVdYUlpha0V6VDFNeGJWa3lSbXRhUkVreFRVUldhMWw2U1dsTVEwb3haRWRyYVU5cFNYaGFiRWw0WTFWR1VHSklWbkpNVmtKaFpETktjVmt4U201T1JVWXpTV2wzYVdSdFZubEphbTlwVFZNMGQwbHVNQzVIZEZaUk5VUjRTVmRvYmxCVVJUazJaek00Y21sc09FOXJhWFZ6WlZsTVoxTjJhVTk2YWw5cE5YTjZaMDFZVUhweExUWldYMEZqYkdGNVkzTlljRmt3YlRSWlNrbFpkbmhpZUZKNWFIa3dNVkJoU0dnNE9UTTFYMHhzV2xkWFltWndORXBrTjJwRVRtcGlSR05NT1VaT056QndaakpRTkVOUGN6bFFTMkk0VVU1Q1oxSm1UVU5pTkVab1NXTnNOVlZuVkdGNVRFUjVVREY0VDFZelRsRk1ka3RqU1daSExVcHNaRzFNUWtaNU5YWjBXbkV5YmpKNllqUXpiRWsxZGtkMlFWbFNVa2RLWDFKRllXSTNTSGxPVEZaQ01qbGhlVTlQVUZCWFlrUklhRnBFU3pCcmNHMUVkblZFZVRkUGIwMUtlbE51ZDNoWlVVMW1ialpCU0VGNWMzaFVWemxIUjFSVlJqVTVhRGszYUd4T01uaHNVM2QyY0U1cFEzVjVWbVZzWlRKNlZIQXdZVVV3ZGtOUlNFNVZUMkprTlhoYWEyTktkV05rUzJWQlVVZ3dhVzQzUmt0YVFrc3RiMjluYlV4clpreHNWMUVpTENKMGN5STZNVGN3TkRNMU5ETTNNQ3dpWWlJNklsZGliM2cwVFRGVU5YUkRaSFp0WmxaVlYxUTBSMDFDVEdGSlgySldUbUoyVEZnMmQyWmtSa0pJVjJNaUxDSnViMjVqWlNJNkltRTRNek5rTlRZeE1EWXlOVFE1T0RjNFl6SXdOVEV3TURNMU1ERTNOekJsSWl3aVkyNW1JanA3SW1wM2F5STZleUpyYVdRaU9pSXlNMTlSVFVGQ1ZEYzNkV3RFY21sS1lqSmtTamMzZWxsVU9FRldRVFE0VnpWVWQwMVlZa0phU2xGWklpd2laU0k2SWtGUlFVSWlMQ0pyZEhraU9pSlNVMEVpTENKdUlqb2lkbmhFUzB0UGFqaExUMEZJWjFWRk5YRldjbVZJTWxJNFRrbHNVRlpUVFhsdFFYbHdNRXRpZGpaUVFVaG5VRk5YWW10dE4yNXJWVFIzYlU1a2NGRmpUekpDUWtGcGRrWlRXR1J6VkVaNWEwZ3RWM2h3YkRkdFZXUldhR1ZITW1KRU9YZFlWVWxyU21WVFgwNVVNMVV5VW5WNGRXcG9MVVZtV0ZWUlZWZHVOV1JIWTI1bVlWWTJlbDgzTldZeFlYcE9halIzTWxKV1RUUXdRMmhMYUhobldIaHVkM1I2ZURacFEwTlBSWE5EVEZSV01uWmhNRkZCUW0xcVYxUmlaRGRrUVZnMVRsUlJhbDl2YTBoMFdsVllYMUF5ZDAwdFRXeGtUazFvY0RnNE9ETmxSalJXUVdsMlVrRnJkSGRrWWpOU1NWTktlWEJ6WVVWSlREUklaSGQ2UjIweFNsSm9VbWd4VHpSSVFrdEhaSGRUU3kwMmNWcEdUV1o0U2tjMk0wODVkRlp5VUc1c2RVd3pVMDEzUVVoc2FqZ3lUMUExVWxsV1dYbFZkRVI1YUY5c1QwNTNaMVJITVZFd2FtTkJTVUUyVGxRMFV6bFJJbjE5ZlEuSDJFOHpNak5yZWdLSlNWWThZdUFja2xDZ2FLMGZ5QlQydXhmSGl1U1BjNVM2aGNMSjBlT0d1cVdtWm1BRzhDZUdJbjNpNW4tRWhxQVdXN2xEbzlkZXhkSDRZbEVRX2o4bnZwN0p3bmgycjQyUmFYdERqU0hmWEZTTHpIU05UWE8zQUc4SGVSazlxWVdUeS1WM3IyaTFRUFZLeFV4RUdLR1FITTYwZkI5enpwWnN6MXBYYUFOOVpvOWw5UmNXanJoWlF0R3oyZzlaRzdGblpsTnpPQlUyWFVtcW1nVUo1RHEzSldpMDNKV0RoZGZGeEFCTHFlSWQtaVlnRmJka2FYUWJqNEF1LXVYazRCVURHc2lkT0EycGhjeGVoTXJtOHM4bjBYYWQyaElydGVNZ29jVWRtY2JaYm96YVh4ZllaTERONnVkUlBBelhRencxLUQxbWlkcXV3In0.\u0022,\u0022correlationId\u0022:\u00223ffe3616-5638-4c85-a6b1-39607f066b46\u0022}", + "messageId": "6122ee68f5c44449881912261b633c97", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-eed51e1c79ebfac34515113107e880d4-68759dfb20d8d701-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-c027-4d39-932c-c105af4beba9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-c027-4d39-932c-c105af4beba9\u0022,\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022isMuted\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-c027-4d39-932c-c105af4beba9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDItc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3ltaVNtZjg1TGsta0FQWkF1cV9jN2c/aT0xMC02MC0wLTYyJmU9NjM4Mzg2MTczMTg4MTk4MTYy\u0022,\u0022correlationId\u0022:\u0022d5f74c8b-4ffc-4c51-be89-a97327c30037\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-01-04T07:46:18.4600051\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-c027-4d39-932c-c105af4beba9\u0022}]", + "messageId": "496cf2b1529246a2843292e99c00499c", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-ea4d038f0be2df940088314550ef07a2-f86fb4f32349e895-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-c027-4d39-932c-c105af4beba9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-c027-4d39-932c-c105af4beba9\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-c027-4d39-932c-c105af4beba9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDItc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3ltaVNtZjg1TGsta0FQWkF1cV9jN2c/aT0xMC02MC0wLTYyJmU9NjM4Mzg2MTczMTg4MTk4MTYy\u0022,\u0022correlationId\u0022:\u0022d5f74c8b-4ffc-4c51-be89-a97327c30037\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-01-04T07:46:18.4444388\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-c027-4d39-932c-c105af4beba9\u0022}]", + "messageId": "7ff6f28f438e48a0b48bc8b04f317bf0", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-03c344c124856b4d0256cecd3e05190e-5041ff9904a8105b-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/SubsequentDialogsTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/SubsequentDialogsTest.json index 494359fa086e..758e8472e070 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/SubsequentDialogsTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/SubsequentDialogsTest.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a001e80-5d60-4f36-940a-fc73f24ac17d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:486,\u0022subCode\u0022:560486,\u0022message\u0022:\u0022Busy here. DiagCode: 486#560486.@\u0022},\u0022callConnectionId\u0022:\u00221a001e80-5d60-4f36-940a-fc73f24ac17d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9iOFkzY1ZIcF9rLTM0QUVBUkVyOG1nP2k9MTAtMTI4LTE5My0xMzcmZT02Mzg2OTYzNzIzOTgyNDY3MjQ=\u0022,\u0022correlationId\u0022:\u002221383d4f-9235-41bd-826e-7d9fdffc8c37\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:42:35.4040764\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a001e80-5d60-4f36-940a-fc73f24ac17d\u0022}]", - "messageId": "b8efbbd397ab448fa8882bb9de17a0f9", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-fb72-4a05-af42-d5807371bb53\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-fb72-4a05-af42-d5807371bb53\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi90SXROeXBHbVBrcVl3cUo5SnprVzhBP2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u0022295076c8-cf7c-4474-aef9-7dfcef379a1c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-08-13T16:28:02.7116944\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-fb72-4a05-af42-d5807371bb53\u0022}]", + "messageId": "5aca0d5ced7142acb4da2a044e63892d", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-7f285c485efccaf8c818a43c24f8468b-886355dd56e7e544-00" + "Diagnostic-Id": "00-30895e53c7fb19ca00d74f8ef7eee637-7b8aadb3e7f633d8-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a001e80-5d60-4f36-940a-fc73f24ac17d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:486,\u0022subCode\u0022:560486,\u0022message\u0022:\u0022Busy here. DiagCode: 486#560486.@\u0022},\u0022callConnectionId\u0022:\u00221a001e80-5d60-4f36-940a-fc73f24ac17d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9iOFkzY1ZIcF9rLTM0QUVBUkVyOG1nP2k9MTAtMTI4LTE5My0xMzcmZT02Mzg2OTYzNzIzOTgyNDY3MjQ=\u0022,\u0022correlationId\u0022:\u002221383d4f-9235-41bd-826e-7d9fdffc8c37\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022},\u0022time\u0022:\u00222024-12-14T00:42:35.4040764\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a001e80-5d60-4f36-940a-fc73f24ac17d\u0022}]", - "messageId": "b383c2039bb94a2eb4a17d74df9c1ea4", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-bd51-4e1d-a211-2d025510f913\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-bd51-4e1d-a211-2d025510f913\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8telNSYmZfeFFrNnVjS2R5YXFlaUZRP2k9MTAtNjAtMTA5LTI2JmU9NjM4NTg1Nzc1MDIwNTExMzky\u0022,\u0022correlationId\u0022:\u0022e1cf6f55-1262-40b8-9d3e-403e674e2be2\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-08-13T16:28:02.9726771\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-bd51-4e1d-a211-2d025510f913\u0022}]", + "messageId": "1a724664ed6a414ea5423728369cb893", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,7 +26,97 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-53c32d07bfdf4f08ac9d1cf8f80b70e8-72391d04a74b2d93-00" + "Diagnostic-Id": "00-e3e11e2ae789b792c072f433c0993b00-deffdf35fb13451e-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvT3h0WnBJdUJyMHEzR2VSS3FMZE0tUT9pPTEwLTYwLTEtMjM3JmU9NjM4NTg4Mjk4MDkwNDQ0NDkz\u0022,\u0022callerDisplayName\u0022:\u0022\u0022,\u0022incomingCallContext\u0022:\u0022eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjYyI6Ikg0c0lBQUFBQUFBQUNzMVgrMi9idWhYK1Z3UVAyQTlyYVlrVTlTSmdETGJydEVZYko0M1QyNmJ6RmxBa1piT1JKWVdTWDdlMy8vc08vVWlkT21pellRT3VpaW9tZWZpZEJ3K1B2dk8xSlhpZWo4cEdaMXJ3UnBkRmkzMXRaYWFjMjc5YXRsaUxzaGM0cGpRS2FVS2lzUFd5SlhWZDVYd3o0blBWWXNVaXoxKzJWQ0dyVWhmTjBHNklmU29DSW1Ma2VRRkZWRVVKU3FXS1VDSlU1dk5ReFpURUFKUHpZcnJnVTJYMzdGQXFiaG90ZE1YM1FNS1hxZlF5aWlJYWNFUnBGcUVVOHdpRk1wWlJIR1U4OEN6UVRFdXB3TzZNNTdVQ0ZGTld5alNiSHAvdWdMKzliRFhsZ3pzeDQ2Sm1PSldja3pSQlNlQkZpQWFVb0RRTktlSlJTb2p3UEI1TGV1dnRIM0RrNUhWNG5oR1BaOEw4T2g1UkVBVytERENTV0tZUWo4UkRQQ1lRRkY4RlFSU0hDWS9vYVR5TXFzdUZFVnZjMW5QOGJqMGR3MXdYZDdVTkkyOGFMbVlBTm11YXFtYXV5eXZkem5JOW5UV3diNzFwMTNlYlNyVkZPYmNyN3BLNG9uS0ZRSXRhY1lJOEg0R1VSUHl1Ymd0eEpDdUV1OFJ1VnBvN0pWM3BoemlOT0VhYzhoaFJRaFc0bWtxa2FCYW9OQTU1UUpSTElsZGoxNmVKdXpQcDc3cURQUlI2aUZBVUJ1REdYRW5OdTBXOVVzYW1rd0JiNTN6bjNoVENVditwZkRnWWRlS0ZVVitVYVA1VXR1NU1PckYwSWF0cnc0dTZLbzIxRjRaZ2JVRGFtUGh0SENkdDRqT2ZSckhiK3JZL20zNVpOS29BMmE4dHNmdDVEZWJCVmw1VitiNGd1YldzVURFVnlHdGJIV2xlcGlDdzdIZ1RNeW5LRG5Jd3hWNFNPNTR6SERuRFMrcGdFclU5K0lldFFOMnBJYVlBWXdlaXN4Y2hYcHQ0cEIwSDdUQ3lDMm1uZjgzdy9pN2FpYWJqT2RzZjh3NWZTRjA2Z2U4bG5uTjFmZWwyZjd0MHNCZkRmK29rOFBZZGpMR0RyUUd4azBRd0F5TTdDU0xFKzZsYTNqR05xSkNwOWUvcWFKeWw3Ry9PR3MzQmNLZ0hEc1RDcWFHaU1GblBIS1BFMHY3WWlhOVJyYWNGaDZzNS9kbXVCK0Z0SVVCMVl4U2ZhOG53ZDZYTU9yZ2ZhNUJaWklaUFdUUjdjLzk5cmxwSk5udnZSa0pmcERjMzZZek8zTnJJRnlPL2psWkg1czhYNjkxSThFSnF5UnZGSUNMT2gxZVhEc0crRjNraDlmR2pXT3lqMjJ6QVpKUGxhOGR3S1ExRUVrNlJRdG9RN0JpYlV6dTVVM0J5QkI0a0VQZ1RjUHhNY1B3ak9BSExyVk5jTktDQVFJNkVYdlNEQXByZ2dEeER3VmJ1VkFINWZ5akllYXB5TnVlNlFOc0UzczBlSGZvYXBTdkY4MmxwZERPYk13TjUwK2c1YjByanBDdmhWRnpjcWFiaTJqZ3JsY0s1N3UwMm02b3BJZVRkd2ZpMmYzNkxTWHo3NXJ6YnZ4Mi82ZUxiMkhOMEFjbW8yTjE4WEg0Y3ZYajlNZmprTGoveHpVMlVKa1h4OFV5NDd5N2Y5cTZXNnYxdnIwcDgzZitEL012SGYrQ0RVWHQ0OGl2NFJUcS9yNHcvenFwN2NyUDYwZ3MvOU0vdkZ1Y21IMGsvOFgzOHhxZVZyK1J5QzM5SXpXck9LN2prc1RQdVhnOUhMbzMzZC8xb2pUcmo0YnUzTGc1L1hFcWMxeEVoN2hOYi9OMlcweFVvQ3VQaDFXQjBqSmJObTkxS3Foc0RwOTg1MVFUWkM2cVNJOERkcHRqaFJhSFdhYWNvSDhsN3ptWC8vTU9wL3RqT2QwL25vVUpkRFY0OTVRa2t1c3BWTlNzTGhkUVNhdkdKRFNEaUlSdyszdWM3L2RGVDdzZDIvZ24vaUdjWGpxSmZRZDdCUFRob2dscW1UR1dBUGJGNnhoRUpRbWZRWTcwemhudXNqMW1RMlBkZ3dNSSs2L3ZNRzdEQkdmTmpkdFpuZzVBbGZkRE1laDd6WDdIUVoxR1BSUVJVc2lobUdBUVNSczVZTjJKSnlBYXZXTlJuWVJjbWQ0clZ1dG5hNTlqUExKdkFzMXF0MnJ2a2I1ZG1PcG1vTlpBaXNMVm82c2tFM0VFemFXRFhaTUxUR3RsYWk2d25qOUQ4NzJnUFg5NmZBR1c4Ym01VHFBMHJMWnZaYmFhVVRPRWkvbVdwNEJ0UkZyZitJL0Rnc2FsYU5kbk9VQzBuRTJsNDFxQlptYytWUVdZTzMxTFVITDdOQ09BVkFvb0FRS3F3eURYeUh1cENYUnVCUUhRS3BkWHlWUHV5YXdkQzlVNU50MXd5NFNGSkF4VWduM3BBUjhNQWVMNmlBYUp4bXNvb0lMNmZwckJIMWRCaWJML2tGMElzREJ6czlJR2JGbXAxa1dXV25lMG5vQnBOZFdHckVDaVlpeDVKTFZjQUl2RldiU3hMMkgvTXQ2UFcxZWQ2UTc4c1Z1NzE1dk40RktYMy9jOGZUYmZUQWFYQW02RjhnY3hOVFFlcmkrbnZidmg2Y2ZZcHZKdWRMY2VqOXlBRHNETmRnNkxOc01pZ1BmakhWeUJhRFRkVGRlQWdXbjZvYklrK0s4MFl1UDMxZHEzMVlHTytuOWgzU0dGSWZCeGdFcDVJRFBiTndCNVdxb3d2Y2d1VVBVTDUzemNtMlROc2VERFY1Z2FjaEEzOGx2RC8weEpQcVlGdjJLTzczRFVFV20wN0FGMWY3WmU2ZVY2dUZHUkRZeGJxRzhRVWFKeE4xdTE1RDR1bGJoNmF5dU1WeS90TW1lZGJYdjRmMFZvQU9SRGI0SWpZd3ZReHRZV2hlN0Z1UGxmRFJjOTQ5LzVyZGZYMi9wMDhSKzhmT0N0R3hJLytxanFoSHdkeFRKSVltQVdGSi9FaEtybytoL0RvUzJqQU5nKzVxZXVlS2JrVWNFZjNjK0N2Vk9saWVreGpvWjNlZDFxQ2N5NDQ2TW9Jb21sQUVFOEVjT1V3RE9NNDQ0VEh0aFdCd0FxYjA4VzBEenUveDJWWTFBMHZoRDJzUTN4K1RlbHRhMU5hU3pUUExkeHhYei9lR25qb2tmK2J6aEs4blpweVVXMjlYUVBZTmsvK0RlZVNzamhDRUFBQSIsInNoclRva2VuIjoiZXlKaGJHY2lPaUpTVXpJMU5pSXNJblI1Y0NJNkluQnZjQ0o5LmV5SmhkQ0k2SW1WNVNqQmxXRUZwVDJsS1MxWXhVV2xNUTBwb1lrZGphVTlwU2xOVmVra3hUbWxKYzBsdVp6RmtRMGsyU1d0MFVrMXVVa0paTTBwR1RqSjRRMWxXV2xkU01FcDBXWHBXUjJJeVNtNWFSWEIyVGtOSmMwbHRkSEJhUTBrMlNXdDBVazF1VWtKWk0wcEdUako0UTFsV1dsZFNNRXAwV1hwV1IySXlTbTVhUlhCMlRrTktPUzVsZVVwb1pGZFJhVTlwU21sT1JGWnNUVVJyZDFsVE1XdFpWMHB0VEZSUmVFNUVWWFJaVkVFeVQwTXdkMDlIUlRSTmFteHBUWHBDYkU5SFVXbE1RMHB3WXpOTmFVOXBTbTlrU0ZKM1kzcHZka3d6VGpCamVUVXpZVmMxYTJJelpIcE1iVFZzWkVNNWFscEhUVEZaVjFac1dWTXdlRTVYVFRGTVZGSnJXV3BaZEZscVFUTlBVekZ0V1RKR2ExcEVTVEZOUkZacldYcEpka2xwZDJsaFYwWXdTV3B2ZUU1NlNYcE9WRmt4VFdwRmQweERTblZaYlZscFQycEZNMDFxVFRGT2FsVjVUVlJCYzBsdFZqUmpRMGsyVFZSamVVMTZXVEZOVkd0NFRVTjNhVmxYYkhaSmFtOXBVbFJLYTFveGJGRmhSemt4VkRGa1JHSXhRalZoYWtWM1RrUnNjVlZFYkcxV2VteFNXa1ZLUWxGVU1HbE1RMHBvWTBoQ2NGcERTVFpKYlVWNldWUk5lbGw2U21oTVZFazFUMGRWZEU1RVJtdE5VekExVFZSTk0weFhSVEZPUkZsNVRXMVZNazlFUm1wWmVVbHpTVzFHZDJOSGJHdFpWMDU1U1dwdmFVMXBTWE5KYlU1MVdtbEpObVY1U25Ga01uTnBUMjV6YVdFelVqVkphbTlwVld4T1FrbHBkMmxpYVVrMlNXNUtWMlZzYUZsT01YQTJVMVJTVjFORWJHdGphMDQxWVZod1VGa3piRk5pVm14TFdqSmFSMDFGU25kVVJHaENVbFY0U0ZaV09XeGFWbEoyVmtSc1MxZ3pVbHBsYWxwU1VrVmtkMDFZVWpaVWJYQm1ZVVJTWm1SVVJrdFdWVGxWVkRKV1dtSnRTbUZqVjJzelRqTmtURlpxU25WTldFVjRVMVZWTkdKV2NFeGFXR04zVDFab00xUnVTbFpUYlVveVV6STFOR0pyYUhOVmJWSXdaVlpTZEZRd2FEQlZNMUp0WkVWNGJGSkdaRTFVTWpreVZGY3dNMDF1VFhSU1JYQnpWVlJKZUZsWE1XOWlNbmhxVkVkNGMwMVdjRTFPTUVVd1RtdGFhMVl6YkVwamJFNU5aRlJWZWs1clVsTmpiR2N3VWpJNWNXVldRVEJqYkd4eVVqTmFVR1F5TVdsaE1GRXdaV3BHY0U5VmFIQlVSMDV6WTFST2JHUnFWVE5qYkVaVlRtMUdiRkl3Y0ZWWFNFbzJZVVZzU0ZoNlZqRk1WM2hvV2pGd1EyVnNVbE5UVmtwUVYycE9XRnBWV20xT1ZYQjRUbGhXZG1WSGMzaFhSbEpxWTBWV05XRkVhM2hOVlZGNlQwVmtkV0l4UWxaWmJEbEpVMFZPZUU0eFFYbGlNVVV6WVdwQ01XRXpaRU5VYldONFVtNVdkVkZZUW5GbFNFbDZWRmhrWVU0eVdqRmpSVGxKVTFSck1GUkhielJrYkRsVFlVZGFTRlpzVW1oV1ZURldUVlJLUTAxWVRteFZlazVzVlZOSmMwbHRWV2xQYVVwQ1ZWVkdRMGxwZDJsWlYzaHVTV3B2YVZWc1RYbE9WRmxwVEVOS2NtRlhVV2xQYVVveVZWWk9URm95T1ROaE1IQklWRmhaTWxKSGVEQmpTRUl4WVVkTk1VeFhNVzFQUjBwUFVWVlZlVTFYYUVKbFIwMTVWRzVzTWxGdWJHcEpiakU1VEVOS2NGcElRV2xQYVVwdlpFaFNkMk42YjNaTU0wNHdZM2sxTTJGWE5XdGlNMlI2VEcwMWJHUkRPV3BhUjAweFdWZFdiRmxUTUhoT1YwMHhURlJTYTFscVdYUlpha0V6VDFNeGJWa3lSbXRhUkVreFRVUldhMWw2U1haSmFYZHBZVmRTTUdWWVFXbFBhVXBvWTBoQmFVeERTblpoVjFGcFQybEplVmw2WXpWWk1ra3pUME13ZWxreVRtaE1WRkY2V2xkSmRGbHRWbWxOYVRGcFRVUnJNbHBYU1RWTmFsRXlXVlJuYVV4RFNubGhRMGsyU1dwQmRWRldTa3BSVkZwNFRqQmFObGt4Vmxka1IzTjVaREpXYldWWVVYZGlSVXByWkRKa2RsTnNhSGxWTVRoNVlURmFRMkl3Wkc1VFdFWkVZbGh3UldKNlFsUlJWVVpDVEdsSmMwbHVUakZaYVVrMlNXcEthazU2YkdwWmFtTTBURlJPYWxreVJYUk9SRTVzV1dreGFWcFhTWGxNVjBsM1QxUmFiRmxxYTNsT1JGcG9UME5KYzBsdVVuQmFRMGsyU1cxT2ExbDZWbWhhVjFab1RGUkZNVmw2VlhST1IxSnBUbWt4YVUxRVl6Vk1WMXBxV1ZkU2EwMXFWWGRPVjFKcVRXbEpjMGx1VmpCaFUwazJTV3hvTldGWWJ6Uldla0YwV1cxME1XTXlkelJoTUZreFVtMWFXRkZWUldsTVEwb3lXbGhKYVU5cFNYaE1ha0ZwVEVOS05HSllUbVpoVjFKNVdsZDNhVTlwU1ROSlJFVXlTVzR3TG04eGRXazJSbkY2VWtWdVZWOHpTek0xVmtGT2JHWlNiMGQ2Tm14R2QyMUlUM0JaUzA5bGFraFlUVXB3UjNsaVp6SlZjRXRPYjNOTlpGZHVaWGRJVkVrelZtaFZWSEZaT1dGQk9YQlVTRFoxVm01c2FDMTRUWEJIVGpaMlpIUkNUWEpJWVZWVExUaG9SVE00YVcxbWRFZFVURmhLVmxBemVqVk5TV2hFYzJOMlRWbFdXV0pHVG0xaVFWb3pNMmxuU2xOcVVVTlRhM1JGVEZSM1dYVjJiMGxxV1VkcVpYRnBkalp2TUhwRVYwcHlaSFpZWjBsaU5UWjFiemh6TmxaMmVHRkxaVEJPWms5TFNERlZXSFJmV2poRlRscE9hRlZXZVZGaFpESTNWazFOWkd0MFRqZDZWMGx1VG1VMGJuTllWbmhzTmkxa1pqbGFTWEZ4YlhKaE5sUlNSSFJRVlVsR2RGVlZVVTQ0ZWtVd2Rta3RTeTFNYUcxTlgzVlFkM0ZKZWxaS2EwVkpUVVEyZUUxV1pXcG5SRWMxVERadVdEQlZkM0JUVUdGNGRHUXhSVmRhVUVGbllra3lRVEp0ZGpkQlducGFabTFVWnlJc0luUnpJam94TnpJek5UWTJORGcyTENKaUlqb2ljR2hrT1VoWWRFaEdkMk5rTjJNeGNVWkllakk1WVV4SlNEaHhWazVYVlRSMWJtMTFZbGRNYjBOaVl5SXNJbTV2Ym1ObElqb2lPR0kyWkRBM05qaGhNR1k0TkRVMU1EZ3laR0kxTXpNM1lqQXpZVFV4TW1FaUxDSmpibVlpT25zaWFuZHJJanA3SW10cFpDSTZJbXhOYzNwbmJEWnlSVXRwWVhsdVpWQlJSbGhCYkd3dGNFc3pabmhrY0MxaWNGTTJUWFl3YjNkUVl6Z2lMQ0psSWpvaVFWRkJRaUlzSW10MGVTSTZJbEpUUVNJc0ltNGlPaUp5Vm5wWVdEZGFla2swVmtnNVpISkRlV2w2VDJONVVtMVpTbWRtUmpCQ2NFdzRRVVZNUjFWZlpXVlViMVE1U2w5MFdYbzJVVVJIY0RGMGVrNXFYMmcwWDNVeFNsVlBWRTlsV1c1aVduRnBOemQzUzFZeWJqRnhNVWxGT0cxYVMyVjNNRGxZZDA1eVZVcGlka3R1ZUc1SWJGSmtkSGxVYlU5SWRGTjBablJNWlVSWFRFOXZkazF0TnpKekxVUktiRkV5TVdGdGFHOXNZMHhzYkRGYVREZEJORFpHWkZkNVNYSlRUSFUxTXpaRVVuSllORWR2YW5sUU5ISlphMGQyVDNkdFltdEVOSG94YVRsSWFVeGpiSEV6WlhZMU4zSlJWRFpoWlVkS1ZGaHllbWhKUjE4MWRTMXNZV2RhUW5wVVVrbFNUMW96VjJWR1pqVktjVFYxYjNock1WaFVZM0JGZVdnNU1URkVNemhIYm05UVZXSmZTRWhEY1RkUU1tOVJOMm93ZFd0M1FrNW5NVVoxYmtGd2FuaHlNMDEzV2pkbWRYQlBTRWs1TkV4cU9IWmZVbWhtUjFaVVlWVk5WVEV5UWpGelpWTXpaVkVpZlgxOS5BMnZuTWR0T3c0c2tuQmxIMzY0TnNkYjhsYlpYRGhYX0V0TDhEOEd0UXhjVFBzN0RBODVmc2NXNWIxRVFTODhqY0FHeDBfaVlKREgtNVh3MlUxVEpyZlEyd2h4ZERlOC1kazZCZWV4a2NuZEdQV2dRTENudVRRZjJGWENOQ2VfdTNkVWJBQlVUcFF5T05UUGc0aDZsSXIzaVh0WmpnajROWmlnWVZyUnoxSVJmdVgyTXRRVkI1TEtzMUREV1ZaSV83WnRZd0E2b0h4U3RGM05iTllEc2Y0dkljc2h5b1M3WGgyam1UYk9JUHdZZk5LWjNfdWxFNGFRbGVzY3VSNXFtWTExcVN6dWt1WnlsOHA4dXNzaVVOazJsTUF1YWxfTzZvcG9yNzhnUnc5cDFGbW4yTS1ndlJXWGNsLXlrTDlFaGNyQjUzOWlnbXZoTk5rMTFma01GaXcifQ.\u0022,\u0022correlationId\u0022:\u00221bcaaaca-60f2-4b52-a9c0-266688fa2a8a\u0022}", + "messageId": "7d7e6ef5ed2e4c95916c3e024653aefa", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-40802935efe68020523fa5ef38333e9e-df2883b788cc7bf0-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-d1ab-41d3-a5e0-aa0bcfbfd0b7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-d1ab-41d3-a5e0-aa0bcfbfd0b7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi96ZlNLalBwOWpVTzBFWl9heGdTTDhnP2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u0022e568984c-450c-4656-8763-0527a4c69969\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-08-13T16:28:10.2164105\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-d1ab-41d3-a5e0-aa0bcfbfd0b7\u0022}]", + "messageId": "ca6cc233eb8b4cac9468aa401a636a36", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-a17b8e6849b2b38826e679cd2692cc89-c6a1199f1acf7875-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-d1ab-41d3-a5e0-aa0bcfbfd0b7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-d1ab-41d3-a5e0-aa0bcfbfd0b7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi96ZlNLalBwOWpVTzBFWl9heGdTTDhnP2k9MTAtNjAtMTAtNzkmZT02Mzg1ODc0NDMzMTg5OTUwOTY=\u0022,\u0022correlationId\u0022:\u0022e568984c-450c-4656-8763-0527a4c69969\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-08-13T16:28:10.2733756\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-d1ab-41d3-a5e0-aa0bcfbfd0b7\u0022}]", + "messageId": "d054a8f1f3d540a1b6ad1b534018d3f1", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-e9bfb59cea7e16bb7a7ab8ffa50db168-2161e73a45a9089a-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-e9d1-4d33-ada5-9abe37a6f891\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-e9d1-4d33-ada5-9abe37a6f891\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvT3h0WnBJdUJyMHEzR2VSS3FMZE0tUT9pPTEwLTYwLTEtMjM3JmU9NjM4NTg4Mjk4MDkwNDQ0NDkz\u0022,\u0022correlationId\u0022:\u00221bcaaaca-60f2-4b52-a9c0-266688fa2a8a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-08-13T16:28:10.3341438\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-e9d1-4d33-ada5-9abe37a6f891\u0022}]", + "messageId": "965f5a55587f4434b7c5f07ab82b446a", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-4b6e12e186d2e537a46e6ab9d8c0545b-f50075d17bcfd57e-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-e9d1-4d33-ada5-9abe37a6f891\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-e9d1-4d33-ada5-9abe37a6f891\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvT3h0WnBJdUJyMHEzR2VSS3FMZE0tUT9pPTEwLTYwLTEtMjM3JmU9NjM4NTg4Mjk4MDkwNDQ0NDkz\u0022,\u0022correlationId\u0022:\u00221bcaaaca-60f2-4b52-a9c0-266688fa2a8a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-08-13T16:28:10.5994654\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-e9d1-4d33-ada5-9abe37a6f891\u0022}]", + "messageId": "0560b7c9e8174160a058dd08649b25d7", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-f1799e7175055115a190c010821d7a9c-dc8b3a33043eb137-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a002180-e9d1-4d33-ada5-9abe37a6f891\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogFailed\u0022,\u0022data\u0022:{\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:500,\u0022subCode\u0022:8601,\u0022message\u0022:\u0022Action failed, unable to create connection to dialog service.\u0022},\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u00221a002180-e9d1-4d33-ada5-9abe37a6f891\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvT3h0WnBJdUJyMHEzR2VSS3FMZE0tUT9pPTEwLTYwLTEtMjM3JmU9NjM4NTg4Mjk4MDkwNDQ0NDkz\u0022,\u0022correlationId\u0022:\u00221bcaaaca-60f2-4b52-a9c0-266688fa2a8a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogFailed\u0022},\u0022time\u0022:\u00222024-08-13T16:28:21.4828518\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a002180-e9d1-4d33-ada5-9abe37a6f891\u0022}]", + "messageId": "b8cdf82c3fe745049383e52b59f2ad0a", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-8546ae19b96ff2588963a0344e8fb0da-028955bdc3badb10-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/SubsequentDialogsTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/SubsequentDialogsTestAsync.json index 351b1c5e3184..cc03516f137c 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/SubsequentDialogsTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallDialogAutomatedLiveTests/SubsequentDialogsTestAsync.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a001e80-27a4-4d9c-a41a-8965b32f92e1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:486,\u0022subCode\u0022:560486,\u0022message\u0022:\u0022Busy here. DiagCode: 486#560486.@\u0022},\u0022callConnectionId\u0022:\u00221a001e80-27a4-4d9c-a41a-8965b32f92e1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8yY1AzdFNabzNrQ1hHbERkSmpETUxRP2k9MTAtMTI4LTE5My0xMzcmZT02Mzg2OTYzNzIzOTgyNDY3MjQ=\u0022,\u0022correlationId\u0022:\u0022adade361-11d0-4f12-a770-25062145df51\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-14T00:44:17.8053771\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a001e80-27a4-4d9c-a41a-8965b32f92e1\u0022}]", - "messageId": "4b0aa908a9704e3eb8db5040ab88fc3d", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-5dca-4a56-bbd2-c6e0b0fd333f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-5dca-4a56-bbd2-c6e0b0fd333f\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-5dca-4a56-bbd2-c6e0b0fd333f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9tbTNZZHZSanFrMnJINE1HbE0tcFFRP2k9MTAtNjAtMS05OCZlPTYzODM4NjQzNjI2MTMxNTcxNw==\u0022,\u0022correlationId\u0022:\u00223ffe3616-5638-4c85-a6b1-39607f066b46\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-01-04T07:46:18.600703\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-5dca-4a56-bbd2-c6e0b0fd333f\u0022}]", + "messageId": "f4cfe21135d14d688bd4b2f9966d5ed1", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-f2b1efc94e6eb9c308e279e0e9ea8ed8-edfe2d5ab5185062-00" + "Diagnostic-Id": "00-fbd89409340d11b75e06513e64e53eae-894f137f7a7705cc-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/1a001e80-27a4-4d9c-a41a-8965b32f92e1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:486,\u0022subCode\u0022:560486,\u0022message\u0022:\u0022Busy here. DiagCode: 486#560486.@\u0022},\u0022callConnectionId\u0022:\u00221a001e80-27a4-4d9c-a41a-8965b32f92e1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDMtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi8yY1AzdFNabzNrQ1hHbERkSmpETUxRP2k9MTAtMTI4LTE5My0xMzcmZT02Mzg2OTYzNzIzOTgyNDY3MjQ=\u0022,\u0022correlationId\u0022:\u0022adade361-11d0-4f12-a770-25062145df51\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CreateCallFailed\u0022},\u0022time\u0022:\u00222024-12-14T00:44:17.8047535\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/1a001e80-27a4-4d9c-a41a-8965b32f92e1\u0022}]", - "messageId": "88f11038c06344d786d1982ffa77fa2d", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-5dca-4a56-bbd2-c6e0b0fd333f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-5dca-4a56-bbd2-c6e0b0fd333f\u0022,\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022isMuted\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-5dca-4a56-bbd2-c6e0b0fd333f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9tbTNZZHZSanFrMnJINE1HbE0tcFFRP2k9MTAtNjAtMS05OCZlPTYzODM4NjQzNjI2MTMxNTcxNw==\u0022,\u0022correlationId\u0022:\u00223ffe3616-5638-4c85-a6b1-39607f066b46\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-01-04T07:46:19.3037605\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-5dca-4a56-bbd2-c6e0b0fd333f\u0022}]", + "messageId": "0d951b06591344f399f4e1bd7de294ae", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,7 +26,157 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-ad792f3a4f63fc5817bec9350d2fb19d-11f98101d2fc2108-00" + "Diagnostic-Id": "00-e04578f52038817cc485227f16050f80-8671b9d856efe7d4-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-c027-4d39-932c-c105af4beba9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-c027-4d39-932c-c105af4beba9\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-c027-4d39-932c-c105af4beba9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDItc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3ltaVNtZjg1TGsta0FQWkF1cV9jN2c/aT0xMC02MC0wLTYyJmU9NjM4Mzg2MTczMTg4MTk4MTYy\u0022,\u0022correlationId\u0022:\u0022d5f74c8b-4ffc-4c51-be89-a97327c30037\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-01-04T07:46:24.9782362\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-c027-4d39-932c-c105af4beba9\u0022}]", + "messageId": "c4bb2988205344269f6efdd38e9abe2b", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-cdbd3bf70e68dac55b82bc1b652bf1fe-87d06744544eabca-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-5dca-4a56-bbd2-c6e0b0fd333f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-5dca-4a56-bbd2-c6e0b0fd333f\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-5dca-4a56-bbd2-c6e0b0fd333f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDItcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9tbTNZZHZSanFrMnJINE1HbE0tcFFRP2k9MTAtNjAtMS05OCZlPTYzODM4NjQzNjI2MTMxNTcxNw==\u0022,\u0022correlationId\u0022:\u00223ffe3616-5638-4c85-a6b1-39607f066b46\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-01-04T07:46:25.4625913\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-5dca-4a56-bbd2-c6e0b0fd333f\u0022}]", + "messageId": "76332e511b1d44ce8c5c3e81e592bf3d", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-3003f29cadadb268efb8952698f4bb3d-d45444122b23e4b1-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvb3ZVZVF1RjN1VWlQVGhGaTROYmswQT9pPTEwLTYwLTQtMTY1JmU9NjM4MzgyNjA5NDk4MjExMjM1\u0022,\u0022callerDisplayName\u0022:\u0022\u0022,\u0022incomingCallContext\u0022:\u0022eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjYyI6Ikg0c0lBQUFBQUFBQUNzMVgrMjhpT1JMK1YxcWNkRDlzeG1DNzM1YlFDa2d5WVROSnlHdDN0TWRkNUhhN3daTitqZHNFeU96ODcxZm1OV1NJZG5Lbk8ybUpSSEM1L05YRDVmTG5MeTNCOC95eU1pcFRnaHRWbFMzMnBaWHBxckQvVmRwaUxZOGRrY2p6d3NDTGFSaTAzclZTMWRRNVgxN3lRclpZT2N2emR5MVpwbldsU2pPMEMzdzM4V012Q1JGUEtVZGU0dmtvb1VHTWNCWW1zUnY0cmh0R0FKUHpjakxqRTJuWHJGRnFybzBTcXVZYklFcjhDQXVQSXpja0FmSzhKRU14OFNSS2ZlS1JORWxDSEZ0L3BpcE5KZmlkOGJ5UmdLS3JXbXF6N1BQSkd2anJ1NWFwZHVGRWpJdUdrU1RsbkNZeGluMGNJcy8zS0VxU3dFTThUQ2dWR1BNbzlSN3c1b05lK2RwKzNwQ1BOOEw4T0I5eFJHa1ErQjV5czRBZ0x5SVJpakpCVVJna0pFdGhjd2pPRHZPaFpWUE50RmpodHQ0U2QrdjFIT2FxZkd4c0dya3hYRXdCYkdwTTNiQk9oOWVxbmVWcU1qV3dickZzTjQvTFdyWkZWZGlaemhQdGlMb2pCSm8xa2xPRVBRUmFLZUtQVFZ1SVBWMGhPaytrazFYNlVhWWRYMEI0QWNSR0E1b2hMOHhDRkllQml5U05vaUJPNGlBZ2ZvZUdIVVU2cmhkMzFpNzlyTG9Fb3dBajRpTVMyeG9yWktwNHIyem1Vb08vUW9DekJWL0hONEc4TkgrcElMWk9IWWFoNVNjcHpGL0syYlZMaDY3TzB2cE84N0twSzIwZGhpRzQ2OU0ySWJUdHhtMUttZXVGVWFmMWRiTTVnNm8wc2dUVkx5MngvbmtIN3NGS1h0ZjVwaVYxbXJSRzVVUWczUGJCUkpKWENTZzhkZkZZajh1cWl4em9EM0EwSE93TUw1M2h5SE1JRGRzWS9vaFZhTG9OSkJWZzdFQjBOeW9VdHlrR3Q5d0kva2QyS3VrTzdoalpuRWNyTUYzc3JINFVYVDVMVmVYNEpQYXdjM00zNnZSK0hUa0VlMDRNMzY1RENIRklCT1lqSnc1QkFpTXJqSDVna0hlMUVUWFNqWHFXZStNc1lUODVDMVNBMDlBTkhNaUQwMEEvWVdremRiUVVUL2JIV24yQkdqVXBPUnpNeVordDJpbXYyZ0JxakphOFVDa2ozNHd5RzlwbXJFQm5sbWsrWWRHNTkrbWJySjZuN0xvc3B1OC80NncvV1BhdUMvVnJkcGQ4L1AzaUt0MXp2NWd0MWlQQnkxU2wzRWdHK1hEdWowY09KUzRPY2VDNTVMdHNiREpybHVDMHp2S0ZvM21hYXNnazdLSHZ0MG5vT3RvVzFGcnZFSjd1d2ZzeGJNVXI4T1NOOE9SN2VBcmUyOEM0TUdDQ1FvVUVPRHd3NGNYRXAyOHdzZEk3TkVIL1B5Wnluc2ljRlZ5VmFGWENhK25lNWk5UU1wYzhuMVJhbVduQk5OU1BVUVUzbFhhU3VYQnFMaDZscWJuU3psd21zTDhiei9XeU5oVWt2bmR5K3pDNGVDQTBlamk3NkEwZWJzOTY1Q0hDamlxaEtDVTdJNk5BdWVma25neE92SHowK3gxNVBoNE1QOVhMeC9OYTBzLzk1K2I5Rlg3dTRUL292MXp5QjlrNnRZR25QNEl2c3ZQUE5EeFNZVS9NanZKUHY5M2h3Q3crNnJNbjgzemIremk0bUY1K0hwd2R6eDVYOE5zU3JRdGV3ekgzbk52aGgvTU9DVGFIZlRjVk8rOURTanZSOTNKNzBGZExEbWZnK044T2IwNHU5OUd5d3F4bkVtVTA3SEgzMEJMVUtaaUs5d0RYaXlLSGw2VmNKTjJ5ZXFHUG5kSGc0djdRZm1UbHZVTTU5S0tiaytQWElvR0Nscm1zcDFVcGtYeUNubnZnQTZoQVV3OWVybk9kd2VWcjRVZFd2aGRmRFNVRVJiMEZoUFlrZGEyQkRyRm15aEgxQTRjZU15OWdPR2JIcDZ3Zk1oeXl2bXVIZU1EaUFmTUdyRWRZZk1yQ1BvdGk1a1ZzUU1FTW96RnpCNHowV054bnZUNkxYVVlvTzRuWU1iWlR4eUNuTElpWkg2NE55NFZaK2VmWVc1T040VE9mejl2ck9tNVhlaklleXdXd0hQQzFOTTE0RE9HZ2FhcGgxWGpNa3diWjlvbHNKQy9RM0c5b3U0djBUNEF5M3BpSEJBNzZYS1ZtK3BCSm1TWndwdjcySktIdFYrV0Qrd0xjZittcWtpWmJPNnJTOFRqVlBETm9XdVdGMUVnWGNEVWlzNzFwRWNCTEJEYytBTW5TSWpjSTc0NTQwMmlCUUhVQ3ZkSVNUL3RsNTdZRTZZT2NySW1xRFAwc1RqQVFTaDRoVDRvTThTVHdVWlI0T0k3Q2xIRFgzcit5Z1RmRDZtSytFbUttWVdNbk83Slp5dmxWbGxtMnRSRkFZNW1vMGpZVU1GQ0lQazNzMVErMDRGd3U3YVcvdVp0WG85Ykh2RHdpNzY4bkhuRVhuYlBhekk2dVAweDczUzRZQlNJTW5RaDBPbGMzMTluellNUi9rYi9ONXNKY0NSd1ByMEVIWUtlcUFVUExZWmtCMy8vSEYrQk5odXVKM0ZJS2xkN1h0dCtlVnZvV3lQcmRhcTYxOHpIZkNEWlBuaUNnTHZFSkRRNDBUamJzZmdPYnlvelBjZ3VVdlVENTM3ODBzamY0c0hQVjFnYnNoRTM4aXNILzAvTElWQUdGc0ZzM1dqTjhKVmVVWGpVM202bGVubGR6Q2RWZzlFeCtoWndDSzdQRnV0cnZZZm1rek82VnVEOWphWnl1OG56RnMvOGpsZ29nVzU3cTcvRlVFTzh6VlJoMnFxZDdlVDA3ZFdmM2FuUTNQVlhlWmZLSWV6c0s2a0cvOHY4dXU0RWJ1UkVOY096QmV3bG81NnBtVlhNQjZWRWplRkV0ZDdXcG1yNnVlQ3Jnakc1a0VHOHFrOWxrbjVYQyszaDFPbVJJZkVFa1JnSkhZSTBuS1lvOUgwaHBtb29RT24xTVlnbVdJTEhDMW5RNUdjREtiM2tabG8zaHBiQ2J0YzNQanhtNmZhcFUxaFBGY3d1My8xQy9YVG00ZmZUK04wOUZpSGFpcTFtOWluWUJZS3M2K1RleTdpOS9FeEFBQUE9PSIsInNoclRva2VuIjoiZXlKaGJHY2lPaUpTVXpJMU5pSXNJblI1Y0NJNkluQnZjQ0o5LmV5SmhkQ0k2SW1WNVNqQmxXRUZwVDJsS1MxWXhVV2xNUTBwb1lrZGphVTlwU2xOVmVra3hUbWxKYzBsdVp6RmtRMGsyU1dwV1EwMHlOVk5sU0ZKU1RqSndjRTlIVms5U1IwMTZVbTVyZDA1VmRHMVBWR1JoVWxOSmMwbHRkSEJhUTBrMlNXcFdRMDB5TlZObFNGSlNUakp3Y0U5SFZrOVNSMDE2VW01cmQwNVZkRzFQVkdSaFVsTktPUzVsZVVwb1pGZFJhVTlwU21sT1JGWnNUVVJyZDFsVE1XdFpWMHB0VEZSUmVFNUVWWFJaVkVFeVQwTXdkMDlIUlRSTmFteHBUWHBDYkU5SFVXbE1RMHB3WXpOTmFVOXBTbTlrU0ZKM1kzcHZka3d6VGpCamVUVXpZVmMxYTJJelpIcE1iVFZzWkVNNWFscEhUVEZaVjFac1dWTXdlRTVYVFRGTVZGSnJXV3BaZEZscVFUTlBVekZ0V1RKR2ExcEVTVEZOUkZacldYcEpka2xwZDJsaFYwWXdTV3B2ZUU1NlFUQk5lbFY1VFZSak1FeERTblZaYlZscFQycEZNMDFFVVhwT1ZFbDRUbnBSYzBsdFZqUmpRMGsyVFZSamQwNUVVWHBQUkdjelRrTjNhVmxYYkhaSmFtOXBVbFJLVjFveGJFZGhiVEZQVW5rNE0yUkdVWHBVTWxGMlZsYzFRMHd5VmtsVU1FMTRZV3RHUWxGVU1HbE1RMHBvWTBoQ2NGcERTVFpKYlVWNldWUk5lbGw2U21oTVZFazFUMGRWZEU1RVJtdE5VekExVFZSTk0weFhSVEZPUkZsNVRXMVZNazlFUm1wWmVVbHpTVzFHZDJOSGJHdFpWMDU1U1dwdmFVMXBTWE5KYlU1MVdtbEpObVY1U25Ga01uTnBUMjV6YVdFelVqVkphbTlwVld4T1FrbHBkMmxpYVVrMlNXNWFORkpGZEV4VU1tODBVekE1UWxOSFpGWlNWRlo0Vm01S2JGTkVTbE5QUlRWS1lrWkNWMVV3TVRWaVZVWTFZMFJDVEZsdVdUSlZSVVpKV2pGQ1ZGWXlTbkppVkdSMVlURlZNR1F5TVU5YVNFSlNXVEE0ZVZGclNrSmhXRnBIVlRGb2EyTXhVa2RsVjNSSlRGWmtOR05IZHpOaVZsWnJWbTFvYkZKNlNtbFNSR3d6VjBaV1NtRXdjR3hWTVRsUFZrUk9WazFzU2pGbFNGWnhZVU14Umxwc2FGWlZWbFpZWW1wV2ExSXlUblZhYlVaWFRtNXdaazU2Vm0xTlYwWTJWRzF2TUdSNlNsTldhekF3VFVWT2IxTXlhRFJhTVdnMFltNWtNR1Z1WnpKaFZVNUVWREJXZWxFd2VGVldha295V1ZSQ1VsRlZTblJoYkdSVldXMVJNMXBGUmxsT1ZUVlZWVmR3Wm1JeWRFbGtSbkJXVjBZNVVVMXVaRTVNVlRGeldrVTFUbUZJUVRSUFJHZDZXbFZaTUZaclJuQmtiRXBDWVROU00xcEhTWHBWYTJ4VVUyNXNkMk15UmtaVFZYY3dVMGRTTTJWclpIUk5WWEJUWVVaS2IwMVZPREJUUlVwTVVqSlNNMVV3YzNST2JrWmhVbXN4YldWRmNFaE9hazVRVDFoU1YyTnNRblZpU0ZaTlRURk9UbVF3UmtsaVIyODBUV3M1VVU1V1NscFdiR3cxVmxoU1JXVlhhR1ppUlRsUFpESmtWVko2UmxKTlIzQnFVVlZzUWs1ck5WVk9SazAxVlZOSmMwbHRWV2xQYVVwQ1ZWVkdRMGxwZDJsWlYzaHVTV3B2YVZWc1RYbE9WRmxwVEVOS2NtRlhVV2xQYVVwSVpFZGFUbUZYZURSWmJIQklUa014VUUxRE1VWmtSMmhxV214T1FsUkZlRWxpVnpCNlYxaFdSR05yZUZWU2JsWjFZa2RvVVZneVduWkpiakU1VEVOS2NGcElRV2xQYVVwdlpFaFNkMk42YjNaTU0wNHdZM2sxTTJGWE5XdGlNMlI2VEcwMWJHUkRPV3BhUjAweFdWZFdiRmxUTUhoT1YwMHhURlJTYTFscVdYUlpha0V6VDFNeGJWa3lSbXRhUkVreFRVUldhMWw2U1haSmFYZHBZakpzYTBscWIybE5iVTB6VDFkT2FVNTZaM1JOTWs1cVdWTXdNRTB5Vm1sTVYwcHNXV3BKZEZscVFUVk9iVlpwVDFSSk1FNXRSVFJKYVhkcFkyMW5hVTlwU1hkTWEwWlRVMVZGTW1OVVpFZGxiVTVXVm01U2NrMXVaR3hhYm13d1RVZDRRMXBJWkc1aU1IQlpZMnhPWmsxdGRGZFJiVGxJV2pCc2VGRXlNVFpTUnpoM1ZUQkdRbEZUTkdsTVEwcDZaRmRKYVU5cFNYbFplbU0xV1RKSk0wOURNSHBaTWs1b1RGUlJlbHBYU1hSWmJWWnBUV2t4YVUxRWF6SmFWMGsxVFdwUk1sbFVaMmxNUTBvd1lWZFJhVTlwU21wYVIwMHhXVmRXYkZsVE1IaE9WMDB4VEZSU2ExbHFXWFJaYWtFelQxTXhiVmt5Um10YVJFa3hUVVJXYTFsNlNXbE1RMG94WkVkcmFVOXBTbkZaVmtwd1lWTXhZVmR0WkVaV01YQnBUV3BTZDFsWVFqSlZWVVl6U1dsM2FXUnRWbmxKYW05cFRWTTBkMGx1TUM1M2RVSkJkVzV6YXpGbFNFWjBhVTR4UWs1aFkzQkxVakZITTJSc2JWOWFjM1JpTlZGNlVHSkpNbDlEZFdsSlZVTTROVzlTTW1aTVFuUmlXRGwzYUVSWFJtOTBSV1ZTV25GRVdFcGtjRUpEVUdGYWNrTjNNVVpyUmt0Mlh6TlVMVVpIUlZreFgyMTZTM1pOUTJWNGEzZ3dXVTVGUkhGNE56UmphMHBsTkRsQlQxZzVSMUoxUmpCNE9EaFBVRGN4VXkxQ2JVdzNVamh3UTJsM1FsQkNNemxsV1RZMmNIcE9VSGRDUTIwNFNGUXlaVFpsYm1Oa1JGTjBUSGgyVTJSdldraFhkWEZwVDNOek9Xc3pYMVZtTjNCeWJVTkZTbFUxUVhkdlVXMVNiRUZsTkhCM1YyTm5RbTF4VUROblRHMDVlaTFwVHkxWGNuazBORUpNZUV4YWF6Tm9kMk5pTUdGSFF6RllURTV3VTNabFRWZDRkamRXUTNWRWVUWnNOR2hWTlROVk9FTktlRFk0WWtaaGNXSndTMlI1ZHpNMk5GODVXRWxXWmtOSFdGVnVVMjlYZG1NelVGSnhRWEExWVY5UFRYRlFURU5JVldjaUxDSjBjeUk2TVRjd05ETTFORE01TWl3aVlpSTZJbWw0UWtsb0xUUkliamhzT0d0UGVVd3lZVmR1UlRsQmFUUldkbnBTUlZGcVNDMVpla1JyYTFWTlJHY2lMQ0p1YjI1alpTSTZJbU5tT1RNMFpUUTNORGswWVRSa05ETTVOV1k0WldKbU5tWXhPR0psTXpWa0lpd2lZMjVtSWpwN0ltcDNheUk2ZXlKcmFXUWlPaUl5TTE5UlRVRkNWRGMzZFd0RWNtbEtZakprU2pjM2VsbFVPRUZXUVRRNFZ6VlVkMDFZWWtKYVNsRlpJaXdpWlNJNklrRlJRVUlpTENKcmRIa2lPaUpTVTBFaUxDSnVJam9pZG5oRVMwdFBhamhMVDBGSVoxVkZOWEZXY21WSU1sSTRUa2xzVUZaVFRYbHRRWGx3TUV0aWRqWlFRVWhuVUZOWFltdHROMjVyVlRSM2JVNWtjRkZqVHpKQ1FrRnBka1pUV0dSelZFWjVhMGd0VjNod2JEZHRWV1JXYUdWSE1tSkVPWGRZVlVsclNtVlRYMDVVTTFVeVVuVjRkV3BvTFVWbVdGVlJWVmR1TldSSFkyNW1ZVlkyZWw4M05XWXhZWHBPYWpSM01sSldUVFF3UTJoTGFIaG5XSGh1ZDNSNmVEWnBRME5QUlhORFRGUldNblpoTUZGQlFtMXFWMVJpWkRka1FWZzFUbFJSYWw5dmEwaDBXbFZZWDFBeWQwMHRUV3hrVGsxb2NEZzRPRE5sUmpSV1FXbDJVa0ZyZEhka1lqTlNTVk5LZVhCellVVkpURFJJWkhkNlIyMHhTbEpvVW1neFR6UklRa3RIWkhkVFN5MDJjVnBHVFdaNFNrYzJNMDg1ZEZaeVVHNXNkVXd6VTAxM1FVaHNhamd5VDFBMVVsbFdXWGxWZEVSNWFGOXNUMDUzWjFSSE1WRXdhbU5CU1VFMlRsUTBVemxSSW4xOWZRLmdyemRWZlh2cXpHb0JGTHNmZ2YyNGdEWkx3UHhwOGxzU1FpckRfQlJsc2hYSTRXSEE0Y3B1ZXBGcVBXaVhhTmdwX21FVzlLTTFaalc0ZnFuc0VTbGEzOVB1d1duQXg1STdvY2w3bWFCTjkydVU3X180eVJEVkh2ajBWbGZSRnFnd0lISk13dmRnSTg5UG1jbnJ5UlFxeUZIRmo3cmxLRlo4eW5hVElxN2dTdmwwR3VKQy1KdmxMX3JkdjB1bTRsTi10bS1vaEtueVFiZkMySG9HU3QxZ2lpREZQQzNwY0UyemkzUm94Q29jWjdBNHNiRHhLUXNrY3ZnRWU5SzcwUS1SblprZWdnNVF0UHpUaWpRcE9BOWhRaERGcVk5RDBVX2pLMUxndEt4clp5OXN1Tkl4SXBnS1lMYzhfYzZzMG5xY0dNSFpZZlhIb0t3cTYxRXRNUHBCZyJ9.\u0022,\u0022correlationId\u0022:\u0022e715c1e0-c080-4abd-945c-0ddc7111919e\u0022}", + "messageId": "015775d9468d447bb606cdbd0495791c", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-5ba2c3a59c4dfd53b84dce57cbfac9a1-3a8dd590123fc52c-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-cece-4339-8858-51010b5fcded\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-cece-4339-8858-51010b5fcded\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-cece-4339-8858-51010b5fcded\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDItc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L2RKT2VuaFA1R0VXRjB5U1JjZTlHMkE/aT0xMC02MC0wLTYyJmU9NjM4Mzg2MTczMTg4MTk4MTYy\u0022,\u0022correlationId\u0022:\u0022da13cb16-bb1e-47eb-8c46-969982795808\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-01-04T07:46:43.0608202\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-cece-4339-8858-51010b5fcded\u0022}]", + "messageId": "2392a96227ef4c218d3a542bb15f63b7", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-88a784c1fb64eafec09ea762b9322058-0c6485e8db0585f5-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-cece-4339-8858-51010b5fcded\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-cece-4339-8858-51010b5fcded\u0022,\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18662315126\u0022}},\u0022isMuted\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-cece-4339-8858-51010b5fcded\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWpwd2UtMDItc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L2RKT2VuaFA1R0VXRjB5U1JjZTlHMkE/aT0xMC02MC0wLTYyJmU9NjM4Mzg2MTczMTg4MTk4MTYy\u0022,\u0022correlationId\u0022:\u0022da13cb16-bb1e-47eb-8c46-969982795808\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-01-04T07:46:43.0452573\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-cece-4339-8858-51010b5fcded\u0022}]", + "messageId": "2e331576452c425cb081cd51d82a77c3", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-296752f86c91fa0de64627d9a627c99d-59537b7899bb8b71-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvb3ZVZVF1RjN1VWlQVGhGaTROYmswQT9pPTEwLTYwLTQtMTY1JmU9NjM4MzgyNjA5NDk4MjExMjM1\u0022,\u0022correlationId\u0022:\u0022e715c1e0-c080-4abd-945c-0ddc7111919e\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-01-04T07:46:43.4514511\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022}]", + "messageId": "31bde501734749d2b100227178ac7e75", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-f9ccaa96cdf4e5dddf371a30f7f807cc-7e7589551d4d9507-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022phoneNumber\u0022,\u0022phoneNumber\u0022:{\u0022value\u0022:\u0022\\u002B18447649276\u0022}},\u0022isMuted\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvb3ZVZVF1RjN1VWlQVGhGaTROYmswQT9pPTEwLTYwLTQtMTY1JmU9NjM4MzgyNjA5NDk4MjExMjM1\u0022,\u0022correlationId\u0022:\u0022e715c1e0-c080-4abd-945c-0ddc7111919e\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-01-04T07:46:44.4671542\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022}]", + "messageId": "43644f66c9624d83812e2633dd415804", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-176281a6889199c3914fbe2a95818701-e4fd0638c07da81b-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogStarted\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Success Result\u0022},\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvb3ZVZVF1RjN1VWlQVGhGaTROYmswQT9pPTEwLTYwLTQtMTY1JmU9NjM4MzgyNjA5NDk4MjExMjM1\u0022,\u0022correlationId\u0022:\u0022e715c1e0-c080-4abd-945c-0ddc7111919e\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogStarted\u0022},\u0022time\u0022:\u00222024-01-04T07:46:46.9827372\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022}]", + "messageId": "5d424764cb4e477aa997f8c5e7ed0272", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-6f09032b7f837041b01602ee40e6475d-6b8d10f34c596edc-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogSensitivityUpdate\u0022,\u0022data\u0022:{\u0022sensitiveMask\u0022:false,\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Success Result\u0022},\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvb3ZVZVF1RjN1VWlQVGhGaTROYmswQT9pPTEwLTYwLTQtMTY1JmU9NjM4MzgyNjA5NDk4MjExMjM1\u0022,\u0022correlationId\u0022:\u0022e715c1e0-c080-4abd-945c-0ddc7111919e\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogSensitivityUpdate\u0022},\u0022time\u0022:\u00222024-01-04T07:46:48.0453211\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022}]", + "messageId": "8f3c5fb82c2d40dc9cbbd53bc3e9b45d", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-39030b97f51829554550f3057031be6d-10f1dd0ec278aeff-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022type\u0022:\u0022Microsoft.Communication.DialogCompleted\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022operationContext\u0022:\u0022context\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Success Result\u0022},\u0022dialogInputType\u0022:\u0022powerVirtualAgents\u0022,\u0022dialogId\u0022:\u002292e08834-b6ee-4ede-8956-9fefa27a691c\u0022,\u0022version\u0022:\u00222023-10-03-preview\u0022,\u0022callConnectionId\u0022:\u0022421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTA1LXByb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvb3ZVZVF1RjN1VWlQVGhGaTROYmswQT9pPTEwLTYwLTQtMTY1JmU9NjM4MzgyNjA5NDk4MjExMjM1\u0022,\u0022correlationId\u0022:\u0022e715c1e0-c080-4abd-945c-0ddc7111919e\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.DialogCompleted\u0022},\u0022time\u0022:\u00222024-01-04T07:46:50.357775\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/421f0700-ad67-4c3d-8b17-ef19ae43a431\u0022}]", + "messageId": "d439f21fb98a41f8b29cb687f763feb6", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-eee7a7a135a11b6dffc0f4a62cce21cf-c9c4638063f46a21-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingTest.json index cf57dc827c01..94d1887db503 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingTest.json @@ -1,139 +1,139 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SWEZXZWs0cHZVT3kyVVBkaERmd09BP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00222f09f3a9-508a-4e4b-93bd-c8d918d32bfa\u0022}", - "messageId": "4ba002b0274446a0a49f094917e2a7ec", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-c97a0492d93508e840f349ea48deaec0-ad6f55d9eb054353-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-00d9-4ebb-8760-48760c6a15e9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220c002180-00d9-4ebb-8760-48760c6a15e9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SWEZXZWs0cHZVT3kyVVBkaERmd09BP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00222f09f3a9-508a-4e4b-93bd-c8d918d32bfa\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:04.79495\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-00d9-4ebb-8760-48760c6a15e9\u0022}]", - "messageId": "c63d057987dd4b1ca3f4a7c0987aaed5", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-29739879fd66b81d98d3afb94bdbf034-d37b5fc3ad1cb269-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-e1af-47ef-a379-95b4ec7252ef\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220c002180-e1af-47ef-a379-95b4ec7252ef\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SWEZXZWs0cHZVT3kyVVBkaERmd09BP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00222f09f3a9-508a-4e4b-93bd-c8d918d32bfa\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:04.7845555\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-e1af-47ef-a379-95b4ec7252ef\u0022}]", - "messageId": "0fc2b026f8c44c55a904c7e1356cb792", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-72cf9a0950e7b95a6c050de6c598c30e-1c99a5c59239ae8e-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-00d9-4ebb-8760-48760c6a15e9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002180-00d9-4ebb-8760-48760c6a15e9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SWEZXZWs0cHZVT3kyVVBkaERmd09BP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00222f09f3a9-508a-4e4b-93bd-c8d918d32bfa\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-17T18:02:04.7973967\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-00d9-4ebb-8760-48760c6a15e9\u0022}]", - "messageId": "88d8648e7b5748c98f481512ec265edb", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-dd1e9b8a4e0fe76d940086ac2691764f-06f2fb017a783c89-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-e1af-47ef-a379-95b4ec7252ef\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002180-e1af-47ef-a379-95b4ec7252ef\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SWEZXZWs0cHZVT3kyVVBkaERmd09BP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00222f09f3a9-508a-4e4b-93bd-c8d918d32bfa\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-17T18:02:04.7845555\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-e1af-47ef-a379-95b4ec7252ef\u0022}]", - "messageId": "d3b0fb25697f4d9b93d2984e8adad5ef", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-a4129f90b14a97eaa88ec567b3f3daec-4c88f1e73aa3b18d-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-e1af-47ef-a379-95b4ec7252ef\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u00220c002180-e1af-47ef-a379-95b4ec7252ef\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SWEZXZWs0cHZVT3kyVVBkaERmd09BP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00222f09f3a9-508a-4e4b-93bd-c8d918d32bfa\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-01-17T18:02:06.1821835\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-e1af-47ef-a379-95b4ec7252ef\u0022}]", - "messageId": "75041806d7a74ce89906e80250cbb644", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-16640f71f48628d97161b71e4afe89ce-efc82e607ca51fd9-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-e1af-47ef-a379-95b4ec7252ef\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u00220c002180-e1af-47ef-a379-95b4ec7252ef\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SWEZXZWs0cHZVT3kyVVBkaERmd09BP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00222f09f3a9-508a-4e4b-93bd-c8d918d32bfa\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-01-17T18:02:07.4198099\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-e1af-47ef-a379-95b4ec7252ef\u0022}]", - "messageId": "c82f26e4584a4870874cf7cb5468bc98", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-f9f2b7060d28b1e4ec75ae6aa1a1c5d1-489d26d8439b9604-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-e1af-47ef-a379-95b4ec7252ef\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00220c002180-e1af-47ef-a379-95b4ec7252ef\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SWEZXZWs0cHZVT3kyVVBkaERmd09BP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00222f09f3a9-508a-4e4b-93bd-c8d918d32bfa\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:08.6943213\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-e1af-47ef-a379-95b4ec7252ef\u0022}]", - "messageId": "1626543e68f44e439049035e934501e6", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-78ac77085a60b0d2be528de1a7499193-137b2b2645eda1fc-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-00d9-4ebb-8760-48760c6a15e9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u00220c002180-00d9-4ebb-8760-48760c6a15e9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SWEZXZWs0cHZVT3kyVVBkaERmd09BP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00222f09f3a9-508a-4e4b-93bd-c8d918d32bfa\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:08.9188206\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-00d9-4ebb-8760-48760c6a15e9\u0022}]", - "messageId": "dabaa5f03fe84a5faacba8f407205a67", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-c5097dec5ec428ff9d7159bd14cdebff-f0e3576cecf3bbee-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9fRG5keUhITGJFLWxXejBWeVJJYVVRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022be8d8c0b-12f9-43fe-8189-9e4f7480baf7\u0022}", + "messageId": "f1978b2fd84e42638ca1ed83ad07f49a", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-996a6d41977f249881fefe7fc7b44db3-eace40cbbd95bff6-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-28d8-4612-9631-83e8c80b74a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-28d8-4612-9631-83e8c80b74a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9fRG5keUhITGJFLWxXejBWeVJJYVVRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022be8d8c0b-12f9-43fe-8189-9e4f7480baf7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:53:57.8289043\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-28d8-4612-9631-83e8c80b74a5\u0022}]", + "messageId": "59bf544d945e45bea80e859426b8ba0e", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-bd93680232f991e36f595b30dcd0c053-4472e99cf29bd0eb-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-28d8-4612-9631-83e8c80b74a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-28d8-4612-9631-83e8c80b74a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9fRG5keUhITGJFLWxXejBWeVJJYVVRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022be8d8c0b-12f9-43fe-8189-9e4f7480baf7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:53:57.8319396\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-28d8-4612-9631-83e8c80b74a5\u0022}]", + "messageId": "1c624377ad584953b81397fa3d8dee41", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-0401e475521dba7694c7aba35b0ccef4-47c66c7555ff2e8e-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-86fb-43f7-92e7-4cc46ac80fab\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-86fb-43f7-92e7-4cc46ac80fab\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9fRG5keUhITGJFLWxXejBWeVJJYVVRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022be8d8c0b-12f9-43fe-8189-9e4f7480baf7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:53:57.8372296\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-86fb-43f7-92e7-4cc46ac80fab\u0022}]", + "messageId": "a9525dfc68654bd58ca5b7ceafaebf44", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-efe31ee4f6e9d20affaa6081ff3c4be9-66fed8ba3f35fff2-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-86fb-43f7-92e7-4cc46ac80fab\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-86fb-43f7-92e7-4cc46ac80fab\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9fRG5keUhITGJFLWxXejBWeVJJYVVRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022be8d8c0b-12f9-43fe-8189-9e4f7480baf7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:53:57.8565289\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-86fb-43f7-92e7-4cc46ac80fab\u0022}]", + "messageId": "0ddc4ec21aa14c1990d49a794ef7fb6b", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-1b9c64399b4369aaa653eea5dfcfc65e-338f17c0756b6b4f-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-28d8-4612-9631-83e8c80b74a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-28d8-4612-9631-83e8c80b74a5\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-28d8-4612-9631-83e8c80b74a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9fRG5keUhITGJFLWxXejBWeVJJYVVRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022be8d8c0b-12f9-43fe-8189-9e4f7480baf7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-02-14T22:53:58.6363311\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-28d8-4612-9631-83e8c80b74a5\u0022}]", + "messageId": "379d2c25418f4ea5a89317355a33a886", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-b4bf443e2911588c7e60092f3465188b-32b520f82a54f0f1-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-28d8-4612-9631-83e8c80b74a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-28d8-4612-9631-83e8c80b74a5\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-28d8-4612-9631-83e8c80b74a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9fRG5keUhITGJFLWxXejBWeVJJYVVRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022be8d8c0b-12f9-43fe-8189-9e4f7480baf7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-02-14T22:53:59.8277336\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-28d8-4612-9631-83e8c80b74a5\u0022}]", + "messageId": "78ccc6b1fde34d82a2fe8d33c1bdf5d9", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-c38e754141b5b38ec1b0850aa4f78770-076fb6046e8c7fad-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-28d8-4612-9631-83e8c80b74a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-28d8-4612-9631-83e8c80b74a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9fRG5keUhITGJFLWxXejBWeVJJYVVRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022be8d8c0b-12f9-43fe-8189-9e4f7480baf7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:01.0188136\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-28d8-4612-9631-83e8c80b74a5\u0022}]", + "messageId": "0185ca87a79046d7a8bf6c7686ee3b12", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-2ef62dbad67b88828ed806e743c97bb2-97cabb350226803e-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-86fb-43f7-92e7-4cc46ac80fab\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u002211002280-86fb-43f7-92e7-4cc46ac80fab\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9fRG5keUhITGJFLWxXejBWeVJJYVVRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022be8d8c0b-12f9-43fe-8189-9e4f7480baf7\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:01.1294348\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-86fb-43f7-92e7-4cc46ac80fab\u0022}]", + "messageId": "00965795f8a543ee98e18946aded2e9d", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-88cc80e2e0449afa263d8284dfb54c1e-92a43d6946d7eed5-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingTestAsync.json index dde1c793a72f..e48c8ad1b115 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingTestAsync.json @@ -1,139 +1,139 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SN3I5SVM2MTRFUzRtY2ZFWlM2UVNBP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022aca3320a-5d61-4776-88b0-3beb40ca3fed\u0022}", - "messageId": "7d51598cd8b344acb389ac884c399f3d", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-78bd77f2150340d569baa5f5c8c90d8c-e2b4600f713c7993-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-6036-4034-ab83-133efab33493\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002180-6036-4034-ab83-133efab33493\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SN3I5SVM2MTRFUzRtY2ZFWlM2UVNBP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022aca3320a-5d61-4776-88b0-3beb40ca3fed\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-17T18:02:40.1810875\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-6036-4034-ab83-133efab33493\u0022}]", - "messageId": "568e489e356441c99600787987f86286", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-998a17cc5243d0400909ddad8c51d21e-83a66627f8bc053e-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-6036-4034-ab83-133efab33493\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220c002180-6036-4034-ab83-133efab33493\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SN3I5SVM2MTRFUzRtY2ZFWlM2UVNBP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022aca3320a-5d61-4776-88b0-3beb40ca3fed\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:40.1595629\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-6036-4034-ab83-133efab33493\u0022}]", - "messageId": "e2f521c2a75f41dbad7851f8e9cc62ec", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-f6c157e6b5fb65314c05efbf000f3f59-83974194104e729a-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-c0db-4445-adc8-42c045c4fa59\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002180-c0db-4445-adc8-42c045c4fa59\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SN3I5SVM2MTRFUzRtY2ZFWlM2UVNBP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022aca3320a-5d61-4776-88b0-3beb40ca3fed\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-17T18:02:40.2216664\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-c0db-4445-adc8-42c045c4fa59\u0022}]", - "messageId": "f6df6b131b6e4b3aa80ea9f1b076f00d", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-95bc45ea8eefbdb98e3b28ae32fcd4c9-4864c8c0b5351de8-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-c0db-4445-adc8-42c045c4fa59\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220c002180-c0db-4445-adc8-42c045c4fa59\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SN3I5SVM2MTRFUzRtY2ZFWlM2UVNBP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022aca3320a-5d61-4776-88b0-3beb40ca3fed\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:40.224613\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-c0db-4445-adc8-42c045c4fa59\u0022}]", - "messageId": "bcc8e864cb4745fe818f1e8bb4c315a7", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-12597e8aaada64c16c0c5e28f45ccf92-8838d5235b271f46-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-6036-4034-ab83-133efab33493\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u00220c002180-6036-4034-ab83-133efab33493\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SN3I5SVM2MTRFUzRtY2ZFWlM2UVNBP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022aca3320a-5d61-4776-88b0-3beb40ca3fed\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-01-17T18:02:41.1429553\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-6036-4034-ab83-133efab33493\u0022}]", - "messageId": "4f275f0f1cc74bd4904c255583771c93", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-1c9b75b1ec29c4982e5d8b29803abf46-75a77aaea4b1a755-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-6036-4034-ab83-133efab33493\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u00220c002180-6036-4034-ab83-133efab33493\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SN3I5SVM2MTRFUzRtY2ZFWlM2UVNBP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022aca3320a-5d61-4776-88b0-3beb40ca3fed\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-01-17T18:02:42.2868065\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-6036-4034-ab83-133efab33493\u0022}]", - "messageId": "55080e2a1d2546eeb7465f0497642454", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-d48b49ec035fd37cbc75c206e308107f-87907944b3d72286-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-6036-4034-ab83-133efab33493\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00220c002180-6036-4034-ab83-133efab33493\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SN3I5SVM2MTRFUzRtY2ZFWlM2UVNBP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022aca3320a-5d61-4776-88b0-3beb40ca3fed\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:43.5702775\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-6036-4034-ab83-133efab33493\u0022}]", - "messageId": "b0e3bfae64164c0982be0804abaa39d4", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-4cc603991571fd2d5b9f8be335a5bfe0-e5dacd4737f9fbd5-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-c0db-4445-adc8-42c045c4fa59\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00220c002180-c0db-4445-adc8-42c045c4fa59\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9SN3I5SVM2MTRFUzRtY2ZFWlM2UVNBP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022aca3320a-5d61-4776-88b0-3beb40ca3fed\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:43.6540404\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-c0db-4445-adc8-42c045c4fa59\u0022}]", - "messageId": "ba8a170123df45dc80e97f05f22a96ef", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-876441510100e0ac05aadf258084096b-e0f611e7c8039230-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Bd0NZbEJ3czFrU2RRX083UnV1NkZ3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022183c3305-b4a4-4a2c-9cfa-514e7a9baa7c\u0022}", + "messageId": "29da26a7344641c69abc8cb52606b579", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-e783b2bee00e03694240eb45aa0adc06-17f6ce195a6bf0c9-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-16d5-462a-900d-54abe2b729d7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-16d5-462a-900d-54abe2b729d7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Bd0NZbEJ3czFrU2RRX083UnV1NkZ3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022183c3305-b4a4-4a2c-9cfa-514e7a9baa7c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:13.0955819\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-16d5-462a-900d-54abe2b729d7\u0022}]", + "messageId": "fae57403dca744138bf595ac822468d6", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-bb652e524d7890555b794690fd43f4b4-3219027b684f24b4-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-16d5-462a-900d-54abe2b729d7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-16d5-462a-900d-54abe2b729d7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Bd0NZbEJ3czFrU2RRX083UnV1NkZ3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022183c3305-b4a4-4a2c-9cfa-514e7a9baa7c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:55:13.0986531\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-16d5-462a-900d-54abe2b729d7\u0022}]", + "messageId": "53a1ca06210c400190db4230706365d9", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-ad8ba7380835b69bca76da06e335e216-bae82aeca9eaab06-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-cbd3-4600-80c4-c2118f021507\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-cbd3-4600-80c4-c2118f021507\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Bd0NZbEJ3czFrU2RRX083UnV1NkZ3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022183c3305-b4a4-4a2c-9cfa-514e7a9baa7c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:55:13.0955819\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-cbd3-4600-80c4-c2118f021507\u0022}]", + "messageId": "594c8ca4bc794dd98cb77a995a910b2a", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-a1b8948014f73406c3eb77575c34adb4-41f92173a9355a17-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-cbd3-4600-80c4-c2118f021507\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-cbd3-4600-80c4-c2118f021507\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Bd0NZbEJ3czFrU2RRX083UnV1NkZ3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022183c3305-b4a4-4a2c-9cfa-514e7a9baa7c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:13.1149236\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-cbd3-4600-80c4-c2118f021507\u0022}]", + "messageId": "f21a14a6377e4c269746b0d3c5a5e7b1", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-80a3c737f1406a7f16530088b47c9304-5478a0a40f6dde33-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-16d5-462a-900d-54abe2b729d7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-16d5-462a-900d-54abe2b729d7\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-16d5-462a-900d-54abe2b729d7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Bd0NZbEJ3czFrU2RRX083UnV1NkZ3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022183c3305-b4a4-4a2c-9cfa-514e7a9baa7c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-02-14T22:55:13.8538949\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-16d5-462a-900d-54abe2b729d7\u0022}]", + "messageId": "fcb48817f9124bfb9e94501bf1227424", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-5ec16ee01dce5612180d11b944f88065-8a00c87f6ab52a21-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-16d5-462a-900d-54abe2b729d7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-16d5-462a-900d-54abe2b729d7\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-16d5-462a-900d-54abe2b729d7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Bd0NZbEJ3czFrU2RRX083UnV1NkZ3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022183c3305-b4a4-4a2c-9cfa-514e7a9baa7c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-02-14T22:55:15.0503693\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-16d5-462a-900d-54abe2b729d7\u0022}]", + "messageId": "237563c960e8478e9c7800aab846d9d8", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-ce2dddf1543cde4d1db5d2dbd5474ec5-135846e2f41149e8-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-16d5-462a-900d-54abe2b729d7\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-16d5-462a-900d-54abe2b729d7\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Bd0NZbEJ3czFrU2RRX083UnV1NkZ3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022183c3305-b4a4-4a2c-9cfa-514e7a9baa7c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:16.2556196\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-16d5-462a-900d-54abe2b729d7\u0022}]", + "messageId": "c986c167eb434a4dadbf8a5ae4397807", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-8e4e6f28acd8ff4862ea20911741e5f5-e1cd77fcf62ebd15-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-cbd3-4600-80c4-c2118f021507\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u002211002280-cbd3-4600-80c4-c2118f021507\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9Bd0NZbEJ3czFrU2RRX083UnV1NkZ3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022183c3305-b4a4-4a2c-9cfa-514e7a9baa7c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:16.3754708\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-cbd3-4600-80c4-c2118f021507\u0022}]", + "messageId": "97d21123ec8947a7961dc6157a3aef9e", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-b8a664eccc6e8e96852eef9a2dffcb2a-33fc91903150a4f2-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingUnmixedTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingUnmixedTest.json index 2326e84462fb..978da06416ac 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingUnmixedTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingUnmixedTest.json @@ -1,139 +1,139 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9UMW5VRHFncXgwYV81d0dSTVZreldnP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022535e5525-0fd2-4f15-9a42-9a33e0a8deb9\u0022}", - "messageId": "7455e047a5154ee4988f215306658e4e", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-97007bea7ff7d03e1056d22f0c1a2d28-0623400a30b59150-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9UMW5VRHFncXgwYV81d0dSTVZreldnP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022535e5525-0fd2-4f15-9a42-9a33e0a8deb9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:18.4203685\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022}]", - "messageId": "13d57e978bb84ba5a372f7f527349021", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-d6da5d8abde37f5f682bed2d0fb7bb21-8c48236626264dcd-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9UMW5VRHFncXgwYV81d0dSTVZreldnP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022535e5525-0fd2-4f15-9a42-9a33e0a8deb9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-17T18:02:18.4203685\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022}]", - "messageId": "271cc0e10eba458c97d8b1e49b7edeae", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-f8e8326bd388dfd1810e590045477248-2842250810d80f1e-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-e1cf-42a3-aa92-d48dbf314829\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002180-e1cf-42a3-aa92-d48dbf314829\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9UMW5VRHFncXgwYV81d0dSTVZreldnP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022535e5525-0fd2-4f15-9a42-9a33e0a8deb9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-17T18:02:18.4697713\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-e1cf-42a3-aa92-d48dbf314829\u0022}]", - "messageId": "1bbb7d125f9644ae895f2776f356e663", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-93857791bb6a31332045fd30f635afd4-3effef486327a82e-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-e1cf-42a3-aa92-d48dbf314829\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220c002180-e1cf-42a3-aa92-d48dbf314829\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9UMW5VRHFncXgwYV81d0dSTVZreldnP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022535e5525-0fd2-4f15-9a42-9a33e0a8deb9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:18.4697713\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-e1cf-42a3-aa92-d48dbf314829\u0022}]", - "messageId": "456a3452ec704503a49502557e9edd9a", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-6cc259a570c2c312d3d45d1585cfc6d2-d06c4bb74a8ed922-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u00220c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9UMW5VRHFncXgwYV81d0dSTVZreldnP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022535e5525-0fd2-4f15-9a42-9a33e0a8deb9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-01-17T18:02:19.3489469\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022}]", - "messageId": "535ba698a2a64dbbb9c758356954b08b", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-9305df4c70353aef33e7ca9daa474bef-258257318bcb021b-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u00220c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9UMW5VRHFncXgwYV81d0dSTVZreldnP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022535e5525-0fd2-4f15-9a42-9a33e0a8deb9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-01-17T18:02:20.4556005\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022}]", - "messageId": "0a29af92c2c94a16890b854c010d3b12", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-d1b6bf58103809245ad769af574c05de-fb3577d174883b07-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00220c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9UMW5VRHFncXgwYV81d0dSTVZreldnP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022535e5525-0fd2-4f15-9a42-9a33e0a8deb9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:21.7132961\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-6f96-4f6a-bf18-61b5a18aeb6d\u0022}]", - "messageId": "efec293ff53f42f49c77ce2b766c1454", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-91055d7d1e6b4aa68ef11cdbbf6c6deb-7e3fbaf7f7fc2751-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-e1cf-42a3-aa92-d48dbf314829\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u00220c002180-e1cf-42a3-aa92-d48dbf314829\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9UMW5VRHFncXgwYV81d0dSTVZreldnP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022535e5525-0fd2-4f15-9a42-9a33e0a8deb9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:21.7933445\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-e1cf-42a3-aa92-d48dbf314829\u0022}]", - "messageId": "ae790f122bb64dc09325501da5ae34a8", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-deb920d9559b8d6944daf05141f076ed-95303e31fd2f5cf8-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9xYWZEd0FiRTEwaXNtbVBZTnJ6b3lnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u002230e1bbbb-c458-4df1-bdfa-0628513f06da\u0022}", + "messageId": "281fc0eded104bcc81295e223555d29b", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-d683c52e5b6ecac5e544747001ffec8d-23e0bf4d6d0e6656-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-bcb3-4a26-8f66-ff4ebbd98207\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-bcb3-4a26-8f66-ff4ebbd98207\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9xYWZEd0FiRTEwaXNtbVBZTnJ6b3lnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002230e1bbbb-c458-4df1-bdfa-0628513f06da\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:09.868126\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-bcb3-4a26-8f66-ff4ebbd98207\u0022}]", + "messageId": "fca0392546c8457c906467c1bff20cf1", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-766dcf3486a827c04312562ebfaf7eff-51ea1a02be9e1d3a-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-bcb3-4a26-8f66-ff4ebbd98207\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-bcb3-4a26-8f66-ff4ebbd98207\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9xYWZEd0FiRTEwaXNtbVBZTnJ6b3lnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002230e1bbbb-c458-4df1-bdfa-0628513f06da\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:54:09.8718552\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-bcb3-4a26-8f66-ff4ebbd98207\u0022}]", + "messageId": "a78440eeb6b44b26ade6c32e4730c95c", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-715f5dcbfc32d0a229a60a6d072a99dd-42cd72ea36344a8f-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-9463-4682-979f-2edd3f00dadf\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-9463-4682-979f-2edd3f00dadf\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9xYWZEd0FiRTEwaXNtbVBZTnJ6b3lnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002230e1bbbb-c458-4df1-bdfa-0628513f06da\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:54:09.8687265\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-9463-4682-979f-2edd3f00dadf\u0022}]", + "messageId": "af93f38636af4c1d9fba08c31a0248a1", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-ab18d1ab0062998b5c37c5690ec1df47-dcd2491c722cc88d-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-9463-4682-979f-2edd3f00dadf\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-9463-4682-979f-2edd3f00dadf\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9xYWZEd0FiRTEwaXNtbVBZTnJ6b3lnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002230e1bbbb-c458-4df1-bdfa-0628513f06da\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:09.9703273\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-9463-4682-979f-2edd3f00dadf\u0022}]", + "messageId": "ad3e8ccef62f40dfa2e45cc7451d7089", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-d5711c556da8cbe9d6789fbcee042b1e-427aa9cdadf7ce72-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-bcb3-4a26-8f66-ff4ebbd98207\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-bcb3-4a26-8f66-ff4ebbd98207\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-bcb3-4a26-8f66-ff4ebbd98207\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9xYWZEd0FiRTEwaXNtbVBZTnJ6b3lnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002230e1bbbb-c458-4df1-bdfa-0628513f06da\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-02-14T22:54:10.8207682\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-bcb3-4a26-8f66-ff4ebbd98207\u0022}]", + "messageId": "daed8a4add4e44ecb9753c35a43391c4", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-3313c8e3ae1ac52bfe3265bfbb1c0a10-b79de50d996c43be-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-bcb3-4a26-8f66-ff4ebbd98207\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-bcb3-4a26-8f66-ff4ebbd98207\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-bcb3-4a26-8f66-ff4ebbd98207\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9xYWZEd0FiRTEwaXNtbVBZTnJ6b3lnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002230e1bbbb-c458-4df1-bdfa-0628513f06da\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-02-14T22:54:12.0444565\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-bcb3-4a26-8f66-ff4ebbd98207\u0022}]", + "messageId": "32b0d8c4bab045fd8ab153cda341c78b", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-cd446e7907c77decc27421daa4bd08c7-63432e52aa30b067-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-bcb3-4a26-8f66-ff4ebbd98207\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-bcb3-4a26-8f66-ff4ebbd98207\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9xYWZEd0FiRTEwaXNtbVBZTnJ6b3lnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002230e1bbbb-c458-4df1-bdfa-0628513f06da\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:13.2373554\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-bcb3-4a26-8f66-ff4ebbd98207\u0022}]", + "messageId": "f45742b6854c4dfa9a6d2045aa96152c", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-4c485d39cb2cc97cbc1bdf34fff3142c-a9cce2d3db5e9575-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-9463-4682-979f-2edd3f00dadf\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u002211002280-9463-4682-979f-2edd3f00dadf\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9xYWZEd0FiRTEwaXNtbVBZTnJ6b3lnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002230e1bbbb-c458-4df1-bdfa-0628513f06da\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:13.353964\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-9463-4682-979f-2edd3f00dadf\u0022}]", + "messageId": "901c39e6b29c4a9e8b61ea681605997f", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-5166e5a0a9ac498caed5bb037148d3e1-fbbfa2e35dcb54d2-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingUnmixedTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingUnmixedTestAsync.json index 7b3131065998..829962f8f1f7 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingUnmixedTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingUnmixedTestAsync.json @@ -1,139 +1,139 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DMXNHM0k1UTYwT3B3ZEJuWmMzR1d3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00225b3a654f-084b-471e-8046-6f4e62c9ff95\u0022}", - "messageId": "426b32f0e2864ab7aafd3d3bf770e12f", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-c696d811ccb9e90cba3ae73bba39f452-9c0422ff681a9101-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-b298-4fed-9071-3ed83a064f47\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002180-b298-4fed-9071-3ed83a064f47\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DMXNHM0k1UTYwT3B3ZEJuWmMzR1d3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00225b3a654f-084b-471e-8046-6f4e62c9ff95\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-17T18:02:57.4703342\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-b298-4fed-9071-3ed83a064f47\u0022}]", - "messageId": "dd496b5c4d234842a83f1a1b500629b2", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-85dafdbfa135f951bc75fb43cde04dd4-a7c41b5591e0ae50-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-b298-4fed-9071-3ed83a064f47\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220c002180-b298-4fed-9071-3ed83a064f47\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DMXNHM0k1UTYwT3B3ZEJuWmMzR1d3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00225b3a654f-084b-471e-8046-6f4e62c9ff95\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:57.4676465\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-b298-4fed-9071-3ed83a064f47\u0022}]", - "messageId": "bdd3a36bfc534630ad7e3741ae22e9ff", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-467aab1e7fdac912662ad2a8b4c17ef7-2b54029edb1b09f8-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-59be-47fa-9bdc-d360f02d638b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220c002180-59be-47fa-9bdc-d360f02d638b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DMXNHM0k1UTYwT3B3ZEJuWmMzR1d3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00225b3a654f-084b-471e-8046-6f4e62c9ff95\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:57.5272128\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-59be-47fa-9bdc-d360f02d638b\u0022}]", - "messageId": "f42af0b96e9f4e6382c39c0182cc2dc9", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-30b68ca21a115dac9de98d4400071975-27b62efbf033c4a2-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-59be-47fa-9bdc-d360f02d638b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002180-59be-47fa-9bdc-d360f02d638b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DMXNHM0k1UTYwT3B3ZEJuWmMzR1d3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00225b3a654f-084b-471e-8046-6f4e62c9ff95\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-17T18:02:57.5235845\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-59be-47fa-9bdc-d360f02d638b\u0022}]", - "messageId": "feba2705b34b4c7698dc2150128bd188", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-3a0198e9e2efdd9286aab97e565efcbe-e99b876fb852d9ec-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-b298-4fed-9071-3ed83a064f47\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u00220c002180-b298-4fed-9071-3ed83a064f47\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DMXNHM0k1UTYwT3B3ZEJuWmMzR1d3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00225b3a654f-084b-471e-8046-6f4e62c9ff95\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-01-17T18:02:58.4225464\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-b298-4fed-9071-3ed83a064f47\u0022}]", - "messageId": "10eb4a9c45e44623bd12ecf0b108e15a", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-7341181a6491b171f65362b2a20b905e-cb529d763bd9aa36-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-b298-4fed-9071-3ed83a064f47\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u00220c002180-b298-4fed-9071-3ed83a064f47\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DMXNHM0k1UTYwT3B3ZEJuWmMzR1d3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00225b3a654f-084b-471e-8046-6f4e62c9ff95\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-01-17T18:02:59.5585029\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-b298-4fed-9071-3ed83a064f47\u0022}]", - "messageId": "df093599a9f645208e69d2c43c5420a2", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-9fc472d090630ab577b68c45f63734dd-65c3ab877d058ffc-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-b298-4fed-9071-3ed83a064f47\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00220c002180-b298-4fed-9071-3ed83a064f47\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DMXNHM0k1UTYwT3B3ZEJuWmMzR1d3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00225b3a654f-084b-471e-8046-6f4e62c9ff95\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-17T18:03:00.8168711\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-b298-4fed-9071-3ed83a064f47\u0022}]", - "messageId": "d500f56bfed34792ac183597077f04f8", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-c80f3d174bb694c22bfdf4f883f87fe0-b775fb7fc24efb3e-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-59be-47fa-9bdc-d360f02d638b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00220c002180-59be-47fa-9bdc-d360f02d638b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9DMXNHM0k1UTYwT3B3ZEJuWmMzR1d3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u00225b3a654f-084b-471e-8046-6f4e62c9ff95\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-17T18:03:00.8989795\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-59be-47fa-9bdc-d360f02d638b\u0022}]", - "messageId": "be291b2a719c4a1597950ec93cbc6b59", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-318569fb6ef5761982d72c119febb8d0-8d753877fc8bde85-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9rcC0wT19fZ05rR3pMZXdFdjVGT2t3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022ff6f5b1e-45b7-4e6e-a051-d9df2d6d40c5\u0022}", + "messageId": "ab2b0704e34d4a49a3d90ada92996225", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-21f7ddf76279672067a7278e6d386f86-9770298c6a7a6286-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-c79f-417f-a7e0-424515830513\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-c79f-417f-a7e0-424515830513\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9rcC0wT19fZ05rR3pMZXdFdjVGT2t3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022ff6f5b1e-45b7-4e6e-a051-d9df2d6d40c5\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:55:25.0433754\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-c79f-417f-a7e0-424515830513\u0022}]", + "messageId": "782acd78b2414b5ab0c8d2082fdf3ba3", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-952cb9c2c44a4343e8bec45948bf14c6-da63e89f036e7fdb-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-5c03-4914-ae1e-523dc3090079\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-5c03-4914-ae1e-523dc3090079\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9rcC0wT19fZ05rR3pMZXdFdjVGT2t3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022ff6f5b1e-45b7-4e6e-a051-d9df2d6d40c5\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:55:25.0433754\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-5c03-4914-ae1e-523dc3090079\u0022}]", + "messageId": "ad54b9dda29047b18be483dc2a64efb8", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-9ecb0cf8af6a4b737d3c86f038713f44-53952b18f89732db-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-c79f-417f-a7e0-424515830513\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-c79f-417f-a7e0-424515830513\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9rcC0wT19fZ05rR3pMZXdFdjVGT2t3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022ff6f5b1e-45b7-4e6e-a051-d9df2d6d40c5\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:25.0433754\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-c79f-417f-a7e0-424515830513\u0022}]", + "messageId": "722c98c959c3491ab1fc40a9fd343cb4", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-f23e368081c65c3243cb271a961a7bf6-7eb8540a4022bfd8-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-5c03-4914-ae1e-523dc3090079\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-5c03-4914-ae1e-523dc3090079\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9rcC0wT19fZ05rR3pMZXdFdjVGT2t3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022ff6f5b1e-45b7-4e6e-a051-d9df2d6d40c5\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:25.0863538\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-5c03-4914-ae1e-523dc3090079\u0022}]", + "messageId": "3a216362d8df4587bff4ee29a07288e7", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-b42a3c2a4f8db82464b4ac5f4854f879-2e68160b1a55e716-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-c79f-417f-a7e0-424515830513\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-c79f-417f-a7e0-424515830513\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-c79f-417f-a7e0-424515830513\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9rcC0wT19fZ05rR3pMZXdFdjVGT2t3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022ff6f5b1e-45b7-4e6e-a051-d9df2d6d40c5\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-02-14T22:55:26.7361227\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-c79f-417f-a7e0-424515830513\u0022}]", + "messageId": "a8af9c3933614815873b03902d8ee2f5", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-3ad2f076b19c7742e3777b6eb9610ada-618ec2ceec86114c-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-c79f-417f-a7e0-424515830513\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-c79f-417f-a7e0-424515830513\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-c79f-417f-a7e0-424515830513\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9rcC0wT19fZ05rR3pMZXdFdjVGT2t3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022ff6f5b1e-45b7-4e6e-a051-d9df2d6d40c5\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-02-14T22:55:27.9205445\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-c79f-417f-a7e0-424515830513\u0022}]", + "messageId": "9a16a686c3824ca9b45a892d1043194c", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-ad4882408aa581d17fd1999dcfb18b0f-e1281aa9c3168483-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-c79f-417f-a7e0-424515830513\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-c79f-417f-a7e0-424515830513\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9rcC0wT19fZ05rR3pMZXdFdjVGT2t3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022ff6f5b1e-45b7-4e6e-a051-d9df2d6d40c5\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:29.1223469\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-c79f-417f-a7e0-424515830513\u0022}]", + "messageId": "5e18d12627244fc8af518fb774a4e38c", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-d7f2f0e1dcb714eb6270a9540969a2ea-db647cd95c531898-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-5c03-4914-ae1e-523dc3090079\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u002211002280-5c03-4914-ae1e-523dc3090079\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9rcC0wT19fZ05rR3pMZXdFdjVGT2t3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022ff6f5b1e-45b7-4e6e-a051-d9df2d6d40c5\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:29.2401777\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-5c03-4914-ae1e-523dc3090079\u0022}]", + "messageId": "81af32d07fca4bd8bea2ac9b4ae13bf8", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-58f17214567f0f60599aab75d260a569-1d37f1814f125d0f-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingWithAudioFormatPcm24KMonoTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingWithAudioFormatPcm24KMonoTest.json new file mode 100644 index 000000000000..6f28046e95ae --- /dev/null +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingWithAudioFormatPcm24KMonoTest.json @@ -0,0 +1,139 @@ +{ + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pNmRkaWFsRHNFLVUtaElBYU9Oc2tnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00222196a293-0b0b-4aa0-9213-0f66e0957007\u0022}", + "messageId": "92b0f29f31f94a109ada18d2e4c3d8f3", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-cd617119fbc4a2a93441dac51ded2a2e-903ec34e31a94951-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-3fdf-464c-a5e4-3e6ce7445dd1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-3fdf-464c-a5e4-3e6ce7445dd1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pNmRkaWFsRHNFLVUtaElBYU9Oc2tnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222196a293-0b0b-4aa0-9213-0f66e0957007\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:54:22.1639116\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-3fdf-464c-a5e4-3e6ce7445dd1\u0022}]", + "messageId": "60ea9c63bfd14623bc4fdb432cfa8053", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-ab5661abb94fdb9bcfda396d8c08d3fb-9456a318de534b13-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-f059-43a0-9eb0-a6b5d13094ed\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-f059-43a0-9eb0-a6b5d13094ed\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pNmRkaWFsRHNFLVUtaElBYU9Oc2tnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222196a293-0b0b-4aa0-9213-0f66e0957007\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:54:22.1716098\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-f059-43a0-9eb0-a6b5d13094ed\u0022}]", + "messageId": "d31fcc3021c2487bbf9496fe274dddca", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-7f728fb58b7fb760137ee5537e99e57b-e5fb2b50537fd58a-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-f059-43a0-9eb0-a6b5d13094ed\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-f059-43a0-9eb0-a6b5d13094ed\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pNmRkaWFsRHNFLVUtaElBYU9Oc2tnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222196a293-0b0b-4aa0-9213-0f66e0957007\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:22.1716098\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-f059-43a0-9eb0-a6b5d13094ed\u0022}]", + "messageId": "ba09483de2654f429f746fef3c0c7881", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-f45593cd7b305699ea04485c4094c55b-0a8afb724333ac95-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-3fdf-464c-a5e4-3e6ce7445dd1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-3fdf-464c-a5e4-3e6ce7445dd1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pNmRkaWFsRHNFLVUtaElBYU9Oc2tnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222196a293-0b0b-4aa0-9213-0f66e0957007\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:22.1894675\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-3fdf-464c-a5e4-3e6ce7445dd1\u0022}]", + "messageId": "a024c25909774459a14d15d77ecd50e3", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-34c488156e64eb3ab76db72f683dcdae-a3848d7be20de37a-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-f059-43a0-9eb0-a6b5d13094ed\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-f059-43a0-9eb0-a6b5d13094ed\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-f059-43a0-9eb0-a6b5d13094ed\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pNmRkaWFsRHNFLVUtaElBYU9Oc2tnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222196a293-0b0b-4aa0-9213-0f66e0957007\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-02-14T22:54:23.7088973\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-f059-43a0-9eb0-a6b5d13094ed\u0022}]", + "messageId": "1f09e5a4f8d74f169413bcc7595a22ba", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-d24ecda8a168d0661110ab52ee70f71c-c1f6f35aa10b8711-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-f059-43a0-9eb0-a6b5d13094ed\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-f059-43a0-9eb0-a6b5d13094ed\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-f059-43a0-9eb0-a6b5d13094ed\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pNmRkaWFsRHNFLVUtaElBYU9Oc2tnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222196a293-0b0b-4aa0-9213-0f66e0957007\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-02-14T22:54:24.9299284\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-f059-43a0-9eb0-a6b5d13094ed\u0022}]", + "messageId": "e60ff1c3b16745ff85b6d72d560504fd", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-05e5bb83c79d8205ad0c59f6b7bb2d04-3beafe947ba2e152-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-f059-43a0-9eb0-a6b5d13094ed\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-f059-43a0-9eb0-a6b5d13094ed\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pNmRkaWFsRHNFLVUtaElBYU9Oc2tnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222196a293-0b0b-4aa0-9213-0f66e0957007\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:26.1074486\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-f059-43a0-9eb0-a6b5d13094ed\u0022}]", + "messageId": "ee3477f354ee479aa19d766c1c25bb82", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-d8ffd5fe665acbfa36a817fb0b8cfb18-7d0bf4be4a62dd1f-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-3fdf-464c-a5e4-3e6ce7445dd1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u002211002280-3fdf-464c-a5e4-3e6ce7445dd1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pNmRkaWFsRHNFLVUtaElBYU9Oc2tnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00222196a293-0b0b-4aa0-9213-0f66e0957007\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:26.21807\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-3fdf-464c-a5e4-3e6ce7445dd1\u0022}]", + "messageId": "17597cb9540e496c80437beafe1f64b9", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-2946872734a9f0bbb231e4e03a4eb617-4c4465075332c3de-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingWithAudioFormatPcm24KMonoTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingWithAudioFormatPcm24KMonoTestAsync.json new file mode 100644 index 000000000000..ccc1d6f7c7e1 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/AnswerCallWithMediaStreamingWithAudioFormatPcm24KMonoTestAsync.json @@ -0,0 +1,139 @@ +{ + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9EYkIxLTVJOVhFcXJfOEluUllPUkFnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u002257ebfd43-a8c8-4fa8-9f75-899a269ca38f\u0022}", + "messageId": "d44bd40a2e7f404991ddfafdd43ec24b", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-72fe305e5688bd6cf2c85a003809fd8f-fc2b9e9e54dc50a5-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-f038-4d56-b8d9-9c8b9e892d17\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-f038-4d56-b8d9-9c8b9e892d17\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9EYkIxLTVJOVhFcXJfOEluUllPUkFnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002257ebfd43-a8c8-4fa8-9f75-899a269ca38f\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:55:37.0026887\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-f038-4d56-b8d9-9c8b9e892d17\u0022}]", + "messageId": "1ceb3c91d0fa4d2e977cda2c9144d889", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-f48f995d5c4ef2c61065b87e51d0037f-dfc819d1d7b3f2dd-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-45ec-4fc2-aff6-0eaa12d95785\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-45ec-4fc2-aff6-0eaa12d95785\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9EYkIxLTVJOVhFcXJfOEluUllPUkFnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002257ebfd43-a8c8-4fa8-9f75-899a269ca38f\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:37.0127921\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-45ec-4fc2-aff6-0eaa12d95785\u0022}]", + "messageId": "c1caae61ce7e4189add14afd798a8509", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-c693370b429334ce77efaac15b8fd07e-6c3ed5127b62e602-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-45ec-4fc2-aff6-0eaa12d95785\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-45ec-4fc2-aff6-0eaa12d95785\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9EYkIxLTVJOVhFcXJfOEluUllPUkFnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002257ebfd43-a8c8-4fa8-9f75-899a269ca38f\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:55:37.0127921\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-45ec-4fc2-aff6-0eaa12d95785\u0022}]", + "messageId": "7ebecb66a3074f378887289f58e6edcf", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-ba77039a31ca96b64d89b2f6c5448d21-45228da99b73650f-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-f038-4d56-b8d9-9c8b9e892d17\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-f038-4d56-b8d9-9c8b9e892d17\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9EYkIxLTVJOVhFcXJfOEluUllPUkFnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002257ebfd43-a8c8-4fa8-9f75-899a269ca38f\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:37.0917357\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-f038-4d56-b8d9-9c8b9e892d17\u0022}]", + "messageId": "517b722a39c24c77ab650441802dd6ae", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-97a0d84e20d26b8d66cce946d74fbce6-e808bb009059ae3d-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-45ec-4fc2-aff6-0eaa12d95785\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-45ec-4fc2-aff6-0eaa12d95785\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-45ec-4fc2-aff6-0eaa12d95785\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9EYkIxLTVJOVhFcXJfOEluUllPUkFnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002257ebfd43-a8c8-4fa8-9f75-899a269ca38f\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-02-14T22:55:38.745841\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-45ec-4fc2-aff6-0eaa12d95785\u0022}]", + "messageId": "bc5ef7f8632c4a0a8b8c2bdbd004c2b4", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-46593e37e0acf853497aceb796b5cb54-cde9e6ee74e7d7c2-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-45ec-4fc2-aff6-0eaa12d95785\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-45ec-4fc2-aff6-0eaa12d95785\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-45ec-4fc2-aff6-0eaa12d95785\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9EYkIxLTVJOVhFcXJfOEluUllPUkFnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002257ebfd43-a8c8-4fa8-9f75-899a269ca38f\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-02-14T22:55:39.9139314\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-45ec-4fc2-aff6-0eaa12d95785\u0022}]", + "messageId": "240432a7d5cb443a8f08b64a93df4874", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-f132042dfab910d53227155ef8cbf69c-6c824b9f2d19d0a7-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-45ec-4fc2-aff6-0eaa12d95785\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-45ec-4fc2-aff6-0eaa12d95785\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9EYkIxLTVJOVhFcXJfOEluUllPUkFnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002257ebfd43-a8c8-4fa8-9f75-899a269ca38f\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:41.1151759\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-45ec-4fc2-aff6-0eaa12d95785\u0022}]", + "messageId": "a6b8bf4ffd6b424e8f2d126984204ea6", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-66dd5c2d9b308b83d2daa1087376fd48-b7b488319b54d06d-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-f038-4d56-b8d9-9c8b9e892d17\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u002211002280-f038-4d56-b8d9-9c8b9e892d17\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9EYkIxLTVJOVhFcXJfOEluUllPUkFnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002257ebfd43-a8c8-4fa8-9f75-899a269ca38f\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:41.230649\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-f038-4d56-b8d9-9c8b9e892d17\u0022}]", + "messageId": "0ccb9e23a0de41ffb530d439f38f70bc", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-fcf72c96bc3a0436477580cef55c79b5-014050f8e2021a43-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/CreateCallWithMediaStreamingTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/CreateCallWithMediaStreamingTest.json index df51ef8f75da..6b56e4b25d50 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/CreateCallWithMediaStreamingTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/CreateCallWithMediaStreamingTest.json @@ -1,139 +1,139 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9TNk03VFJmYmlVT2sxUGx4YVZVRUZRP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022e504ce87-9ae6-4cef-bd4a-f3a790497f65\u0022}", - "messageId": "50de0308bb244d9e9dd8a740ce92e8e0", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-b477ed08546a35bb6339e309c46afe20-f589842430057c8b-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-5366-4941-a2fd-96e3feefd149\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220c002180-5366-4941-a2fd-96e3feefd149\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9TNk03VFJmYmlVT2sxUGx4YVZVRUZRP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022e504ce87-9ae6-4cef-bd4a-f3a790497f65\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:29.5518116\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-5366-4941-a2fd-96e3feefd149\u0022}]", - "messageId": "da4bf72a0bf0472c8c4bf4fcf8647bdb", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-940de848b3bd834abfe00e3a5b15c2d3-4351d43365932446-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-5366-4941-a2fd-96e3feefd149\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002180-5366-4941-a2fd-96e3feefd149\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9TNk03VFJmYmlVT2sxUGx4YVZVRUZRP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022e504ce87-9ae6-4cef-bd4a-f3a790497f65\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-17T18:02:29.5721011\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-5366-4941-a2fd-96e3feefd149\u0022}]", - "messageId": "4307a126285a4b31abb299790ae6bc96", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-fc031f775816e073f020e684743519bd-c6eee684c24ac857-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-fb9e-493e-aee7-121d61494a3d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220c002180-fb9e-493e-aee7-121d61494a3d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9TNk03VFJmYmlVT2sxUGx4YVZVRUZRP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022e504ce87-9ae6-4cef-bd4a-f3a790497f65\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:29.6336028\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-fb9e-493e-aee7-121d61494a3d\u0022}]", - "messageId": "5589698d196e47d7b5801636b09c3bf6", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-51badc4dc0c4dce881c47dbd94aed6b9-6823264c9b7464ad-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-fb9e-493e-aee7-121d61494a3d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002180-fb9e-493e-aee7-121d61494a3d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9TNk03VFJmYmlVT2sxUGx4YVZVRUZRP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022e504ce87-9ae6-4cef-bd4a-f3a790497f65\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-17T18:02:29.6336028\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-fb9e-493e-aee7-121d61494a3d\u0022}]", - "messageId": "8cb05671f8cf49cfabd46b2b8e02856c", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-4813080b3004df8b62c6711e2e503f26-eb7fd6793101ce78-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-fb9e-493e-aee7-121d61494a3d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u00220c002180-fb9e-493e-aee7-121d61494a3d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9TNk03VFJmYmlVT2sxUGx4YVZVRUZRP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022e504ce87-9ae6-4cef-bd4a-f3a790497f65\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-01-17T18:02:30.4968676\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-fb9e-493e-aee7-121d61494a3d\u0022}]", - "messageId": "7ef0d1c65cd84c1d8c6bde2d766e14a7", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-2c6d3663d14fa670357ec2c84cfe5486-65863b0da271fc72-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-fb9e-493e-aee7-121d61494a3d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u00220c002180-fb9e-493e-aee7-121d61494a3d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9TNk03VFJmYmlVT2sxUGx4YVZVRUZRP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022e504ce87-9ae6-4cef-bd4a-f3a790497f65\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-01-17T18:02:31.6017727\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-fb9e-493e-aee7-121d61494a3d\u0022}]", - "messageId": "25f350e020f6437faa66dfead1de1e3a", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-e7c0702671a062c609cddd6066ebc0b6-dfc65de5ab7b2dd3-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-fb9e-493e-aee7-121d61494a3d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00220c002180-fb9e-493e-aee7-121d61494a3d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9TNk03VFJmYmlVT2sxUGx4YVZVRUZRP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022e504ce87-9ae6-4cef-bd4a-f3a790497f65\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:32.854156\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-fb9e-493e-aee7-121d61494a3d\u0022}]", - "messageId": "2c7b38b2af5a4d7fabdca4069a5192ab", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-8e3e6ba5e3d74ecd98fdb0ddc866c443-e0fc7002e1a6dc82-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-5366-4941-a2fd-96e3feefd149\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00220c002180-5366-4941-a2fd-96e3feefd149\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9TNk03VFJmYmlVT2sxUGx4YVZVRUZRP2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u0022e504ce87-9ae6-4cef-bd4a-f3a790497f65\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-17T18:02:32.9322535\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-5366-4941-a2fd-96e3feefd149\u0022}]", - "messageId": "a64b26b7a3fa4311a5f0c57f3ee37f45", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-a3378bf2ae4f563db08200cd2ae98f52-1cfebc6fe620c98c-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QNlhncGJzNXdFLTFvU3JGb3h1UDdBP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022df7c4e7a-3389-43a1-8ad4-ba7893911019\u0022}", + "messageId": "4654d6beb12a41809cc52449f37bee31", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-a0cc425215aee730703537521cc9341c-b20b9a309d846d70-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-b2f6-43ea-994d-7ac30fc1d2d3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-b2f6-43ea-994d-7ac30fc1d2d3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QNlhncGJzNXdFLTFvU3JGb3h1UDdBP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022df7c4e7a-3389-43a1-8ad4-ba7893911019\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:33.9860459\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-b2f6-43ea-994d-7ac30fc1d2d3\u0022}]", + "messageId": "c829edf897824ce4a96f5918b78ee122", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-678d021660f7e663b58cb0e38b1db409-1b2ac5cacebd18ea-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-b2f6-43ea-994d-7ac30fc1d2d3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-b2f6-43ea-994d-7ac30fc1d2d3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QNlhncGJzNXdFLTFvU3JGb3h1UDdBP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022df7c4e7a-3389-43a1-8ad4-ba7893911019\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:54:33.9860459\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-b2f6-43ea-994d-7ac30fc1d2d3\u0022}]", + "messageId": "539e1fad3fa240e180e67a4d7a261a13", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-66f78e489a4ab021958f0dded11167a5-4bf7d0b2533f9aa2-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-37cc-4afb-86da-29ae3b4f0287\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-37cc-4afb-86da-29ae3b4f0287\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QNlhncGJzNXdFLTFvU3JGb3h1UDdBP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022df7c4e7a-3389-43a1-8ad4-ba7893911019\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:33.9963218\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-37cc-4afb-86da-29ae3b4f0287\u0022}]", + "messageId": "554bfd219aad484c9cf63a8f620794e7", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-0d35b1c2201f31a98eb292bdad097a50-d0f2ef4cf8390850-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-37cc-4afb-86da-29ae3b4f0287\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-37cc-4afb-86da-29ae3b4f0287\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QNlhncGJzNXdFLTFvU3JGb3h1UDdBP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022df7c4e7a-3389-43a1-8ad4-ba7893911019\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:54:33.9860459\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-37cc-4afb-86da-29ae3b4f0287\u0022}]", + "messageId": "3c72e37c04314bd2a3fa65903ccedfad", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-79bd8954e27c29dec4641e4071eb4553-84d09fa1d97a3393-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-37cc-4afb-86da-29ae3b4f0287\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-37cc-4afb-86da-29ae3b4f0287\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-37cc-4afb-86da-29ae3b4f0287\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QNlhncGJzNXdFLTFvU3JGb3h1UDdBP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022df7c4e7a-3389-43a1-8ad4-ba7893911019\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-02-14T22:54:34.6647342\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-37cc-4afb-86da-29ae3b4f0287\u0022}]", + "messageId": "bd2e89f822cb43d6bbe00343f7faf2d4", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-6b282d4139f4ac5374aa8da49c9178d3-a081493f2ccd9f50-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-37cc-4afb-86da-29ae3b4f0287\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-37cc-4afb-86da-29ae3b4f0287\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-37cc-4afb-86da-29ae3b4f0287\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QNlhncGJzNXdFLTFvU3JGb3h1UDdBP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022df7c4e7a-3389-43a1-8ad4-ba7893911019\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-02-14T22:54:35.8530097\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-37cc-4afb-86da-29ae3b4f0287\u0022}]", + "messageId": "460284eee19e469eb1878ab9daf6b718", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-8d2d3c085261b17a12a2b413c674ced0-96ba042416539fc7-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-37cc-4afb-86da-29ae3b4f0287\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-37cc-4afb-86da-29ae3b4f0287\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QNlhncGJzNXdFLTFvU3JGb3h1UDdBP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022df7c4e7a-3389-43a1-8ad4-ba7893911019\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:37.0387041\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-37cc-4afb-86da-29ae3b4f0287\u0022}]", + "messageId": "65bf89448a824d4a97eea0c595be59f8", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-62ef58bfcbe3b5ef0bfa8cd790bf8445-edaf557a771a7101-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-b2f6-43ea-994d-7ac30fc1d2d3\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u002211002280-b2f6-43ea-994d-7ac30fc1d2d3\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QNlhncGJzNXdFLTFvU3JGb3h1UDdBP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022df7c4e7a-3389-43a1-8ad4-ba7893911019\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:37.149816\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-b2f6-43ea-994d-7ac30fc1d2d3\u0022}]", + "messageId": "a2b1ae4dfe9241c7924cbc3b5c533e1c", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-62f1fcc09e1029cbc0c885355420e44a-9a37dab0aa1484c8-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/CreateCallWithMediaStreamingTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/CreateCallWithMediaStreamingTestAsync.json index 7542c0e10efc..d0a4e3fc1e9f 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/CreateCallWithMediaStreamingTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/CreateCallWithMediaStreamingTestAsync.json @@ -1,139 +1,139 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95ZEV1WlpXTlAwU1BNSWxPcDNaODN3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u002261231363-d38f-458a-b19d-55ed8c29a0d9\u0022}", - "messageId": "135583ff5d084429b907463adf70aa90", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-40314c1eb67ad4b2eee120229b43d625-6eb914d951e0712e-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-0ce6-465a-a93d-6a3df6dc5e23\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002180-0ce6-465a-a93d-6a3df6dc5e23\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95ZEV1WlpXTlAwU1BNSWxPcDNaODN3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u002261231363-d38f-458a-b19d-55ed8c29a0d9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-17T18:03:10.1144343\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-0ce6-465a-a93d-6a3df6dc5e23\u0022}]", - "messageId": "6138a82b3de548f487b3f0a44842d2f5", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-4d788522d48a32464ea24aad5f27aec1-79c0b120b3eeb746-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-0ce6-465a-a93d-6a3df6dc5e23\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220c002180-0ce6-465a-a93d-6a3df6dc5e23\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95ZEV1WlpXTlAwU1BNSWxPcDNaODN3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u002261231363-d38f-458a-b19d-55ed8c29a0d9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-17T18:03:10.1145359\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-0ce6-465a-a93d-6a3df6dc5e23\u0022}]", - "messageId": "7923cf3d697141cc9094e3cb0be6e443", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-39bca10aeb38ff72ca13b5f991432c1c-08dec0b3d6464168-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-f2ca-4349-b4f6-5499424e6a2b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220c002180-f2ca-4349-b4f6-5499424e6a2b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95ZEV1WlpXTlAwU1BNSWxPcDNaODN3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u002261231363-d38f-458a-b19d-55ed8c29a0d9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-17T18:03:10.1708041\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-f2ca-4349-b4f6-5499424e6a2b\u0022}]", - "messageId": "c3e063f3c5044e419fd2e8ddb0f3b7bc", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-6594fd897e0df5e2a30cc2608822d27e-1a61507d90e9e3ad-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-f2ca-4349-b4f6-5499424e6a2b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002180-f2ca-4349-b4f6-5499424e6a2b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95ZEV1WlpXTlAwU1BNSWxPcDNaODN3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u002261231363-d38f-458a-b19d-55ed8c29a0d9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-17T18:03:10.1659161\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-f2ca-4349-b4f6-5499424e6a2b\u0022}]", - "messageId": "2fe8e0a6cad04e1ba21bb8d184096485", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-b7164d891518f2779f0307a7c952e310-06146a3e14a8f080-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-f2ca-4349-b4f6-5499424e6a2b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u00220c002180-f2ca-4349-b4f6-5499424e6a2b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95ZEV1WlpXTlAwU1BNSWxPcDNaODN3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u002261231363-d38f-458a-b19d-55ed8c29a0d9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-01-17T18:03:12.4213765\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-f2ca-4349-b4f6-5499424e6a2b\u0022}]", - "messageId": "d496f44b10a24f8791c098e4fdcabded", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-6714b798d9b240713fface1205b9c358-f9f42582746be8e8-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-f2ca-4349-b4f6-5499424e6a2b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u00220c002180-f2ca-4349-b4f6-5499424e6a2b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95ZEV1WlpXTlAwU1BNSWxPcDNaODN3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u002261231363-d38f-458a-b19d-55ed8c29a0d9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-01-17T18:03:13.5386137\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-f2ca-4349-b4f6-5499424e6a2b\u0022}]", - "messageId": "cea2c75d85d24902becf635a5a79e2f5", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-a6d3c69a7707b2247c8c9fbaac38cf21-1bb7b2bf0b57e607-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-f2ca-4349-b4f6-5499424e6a2b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00220c002180-f2ca-4349-b4f6-5499424e6a2b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95ZEV1WlpXTlAwU1BNSWxPcDNaODN3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u002261231363-d38f-458a-b19d-55ed8c29a0d9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-17T18:03:14.7947692\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-f2ca-4349-b4f6-5499424e6a2b\u0022}]", - "messageId": "0b71983cdb8f4149a16dc3ac71f40fee", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-8a357f0a38fcd376d9d10c03e5bd83c8-0764c60777c2223e-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002180-0ce6-465a-a93d-6a3df6dc5e23\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00220c002180-0ce6-465a-a93d-6a3df6dc5e23\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95ZEV1WlpXTlAwU1BNSWxPcDNaODN3P2k9MTAtNjAtMTU0LTMwJmU9NjM4NzI0MDMyMTY2NDUwMzE1\u0022,\u0022correlationId\u0022:\u002261231363-d38f-458a-b19d-55ed8c29a0d9\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-17T18:03:14.8798096\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002180-0ce6-465a-a93d-6a3df6dc5e23\u0022}]", - "messageId": "6be17e4741c949fc947b8faa97397b11", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-f84a333866782cc45da452cdb4d5ee30-e3c357bd19679467-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BVHB3OGVMQlowTzJ5TVdLN1JXazV3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00220d397390-f071-464c-b309-f0008ab3605c\u0022}", + "messageId": "58963396d8864074a0d65ecda1349ef2", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-89f7d0a7ed1972d1d4df1d633506df5c-d76ff83a16a9d43f-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-6659-4365-b6fd-0344dfdf9285\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-6659-4365-b6fd-0344dfdf9285\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BVHB3OGVMQlowTzJ5TVdLN1JXazV3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00220d397390-f071-464c-b309-f0008ab3605c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:55:48.9285513\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-6659-4365-b6fd-0344dfdf9285\u0022}]", + "messageId": "c07af657c05b4b8b8090743f515d3b12", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-2678c770f284b28fc0f90d3e1816b237-26ed509158fa8074-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-dcec-48a3-a3b5-5a8d44ae3575\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-dcec-48a3-a3b5-5a8d44ae3575\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BVHB3OGVMQlowTzJ5TVdLN1JXazV3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00220d397390-f071-464c-b309-f0008ab3605c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:55:48.9246392\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-dcec-48a3-a3b5-5a8d44ae3575\u0022}]", + "messageId": "384f2411dbd94a37aea66cab07df75a2", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-3e92406622314a3e119f8ec51e63bfb4-4f654e1cbc5f94fc-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-6659-4365-b6fd-0344dfdf9285\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-6659-4365-b6fd-0344dfdf9285\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BVHB3OGVMQlowTzJ5TVdLN1JXazV3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00220d397390-f071-464c-b309-f0008ab3605c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:48.9257326\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-6659-4365-b6fd-0344dfdf9285\u0022}]", + "messageId": "e86a49eeb50c4e39a41aa16f2032e286", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-3ae13f8b1f573100be2ccca2de5a8efc-9ef8d4f691c9723d-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-dcec-48a3-a3b5-5a8d44ae3575\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-dcec-48a3-a3b5-5a8d44ae3575\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BVHB3OGVMQlowTzJ5TVdLN1JXazV3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00220d397390-f071-464c-b309-f0008ab3605c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:48.9565589\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-dcec-48a3-a3b5-5a8d44ae3575\u0022}]", + "messageId": "c9757dddec4641cd855f783893524283", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-85bd3c323c9c0562b6d3d8987154e047-e2b157002bd67c6c-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-dcec-48a3-a3b5-5a8d44ae3575\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-dcec-48a3-a3b5-5a8d44ae3575\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-dcec-48a3-a3b5-5a8d44ae3575\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BVHB3OGVMQlowTzJ5TVdLN1JXazV3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00220d397390-f071-464c-b309-f0008ab3605c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-02-14T22:55:50.7290031\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-dcec-48a3-a3b5-5a8d44ae3575\u0022}]", + "messageId": "c5892ddd33134427be6468eecdd71616", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-b2e9b9c7e63244f3e7f00fd5fb504b79-b614a95b21019b22-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-dcec-48a3-a3b5-5a8d44ae3575\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-dcec-48a3-a3b5-5a8d44ae3575\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-dcec-48a3-a3b5-5a8d44ae3575\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BVHB3OGVMQlowTzJ5TVdLN1JXazV3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00220d397390-f071-464c-b309-f0008ab3605c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-02-14T22:55:51.9169466\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-dcec-48a3-a3b5-5a8d44ae3575\u0022}]", + "messageId": "b6eb70ac1bed4aa0abef34f4bf98186e", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-f88499e7d7577d67a46d9867373e9d6f-76d261ffd47a0ebf-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-dcec-48a3-a3b5-5a8d44ae3575\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-dcec-48a3-a3b5-5a8d44ae3575\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BVHB3OGVMQlowTzJ5TVdLN1JXazV3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00220d397390-f071-464c-b309-f0008ab3605c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:53.1109232\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-dcec-48a3-a3b5-5a8d44ae3575\u0022}]", + "messageId": "823f0c3b890443929f6477be4cab4702", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-0dc951ef1d4c3cb682119882b80ff765-3f8f23d8db41dafc-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-6659-4365-b6fd-0344dfdf9285\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u002211002280-6659-4365-b6fd-0344dfdf9285\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9BVHB3OGVMQlowTzJ5TVdLN1JXazV3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00220d397390-f071-464c-b309-f0008ab3605c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:53.2319077\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-6659-4365-b6fd-0344dfdf9285\u0022}]", + "messageId": "af8f6264b32f44729ad95d28999f8421", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-15143beb7732c2b49cab0777164ef33d-fb7cc41d302efb06-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/CreateCallWithMediaStreamingWithAudioFormatPcm24KMonoTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/CreateCallWithMediaStreamingWithAudioFormatPcm24KMonoTest.json new file mode 100644 index 000000000000..d453e70cafcb --- /dev/null +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/CreateCallWithMediaStreamingWithAudioFormatPcm24KMonoTest.json @@ -0,0 +1,139 @@ +{ + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95V25fSWhhWDYwYWxRajVkdE9uaFR3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u002240df119c-5228-4b7e-b79b-629a7005dc0d\u0022}", + "messageId": "39240a24e8864e7bb55534033f49eecd", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-68b32b00b1ac59a86f1407d1b023d5f0-4ef07dd09b9232f0-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-8b20-4583-bd7d-ae32ed318149\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-8b20-4583-bd7d-ae32ed318149\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95V25fSWhhWDYwYWxRajVkdE9uaFR3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002240df119c-5228-4b7e-b79b-629a7005dc0d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:54:45.4429864\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-8b20-4583-bd7d-ae32ed318149\u0022}]", + "messageId": "412638e7f799471d9a1c0cf2e2c70a51", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-8a0cc56f6bec65cfc943063716621683-bacdebf2eeb905e4-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-7ce3-48f8-807c-713fafee6665\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-7ce3-48f8-807c-713fafee6665\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95V25fSWhhWDYwYWxRajVkdE9uaFR3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002240df119c-5228-4b7e-b79b-629a7005dc0d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:45.4429864\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-7ce3-48f8-807c-713fafee6665\u0022}]", + "messageId": "41016b089f734a09bcdd399576e4576f", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-60e65ccc7eddf03ed092460ae9440623-294aac5d8423d0d4-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-7ce3-48f8-807c-713fafee6665\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-7ce3-48f8-807c-713fafee6665\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95V25fSWhhWDYwYWxRajVkdE9uaFR3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002240df119c-5228-4b7e-b79b-629a7005dc0d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:54:45.4429864\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-7ce3-48f8-807c-713fafee6665\u0022}]", + "messageId": "4ade9bf7766f42739e027ad96b6ec695", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-c291ac782efb056daaad8400c4474a86-143dd08f67d2b9f6-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-8b20-4583-bd7d-ae32ed318149\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-8b20-4583-bd7d-ae32ed318149\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95V25fSWhhWDYwYWxRajVkdE9uaFR3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002240df119c-5228-4b7e-b79b-629a7005dc0d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:45.5678926\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-8b20-4583-bd7d-ae32ed318149\u0022}]", + "messageId": "d82b2d521fdf4932849ad1119b2f3c50", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-fd5e90ee93c456251e792e2fd1fb6eb1-e36f3930ffad0fd9-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-8b20-4583-bd7d-ae32ed318149\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-8b20-4583-bd7d-ae32ed318149\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-8b20-4583-bd7d-ae32ed318149\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95V25fSWhhWDYwYWxRajVkdE9uaFR3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002240df119c-5228-4b7e-b79b-629a7005dc0d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-02-14T22:54:47.2246634\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-8b20-4583-bd7d-ae32ed318149\u0022}]", + "messageId": "da57e4771ca644a59452b48148206779", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-65920eb66792927b0c63976c7e5995b2-295fef020d72d47b-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-8b20-4583-bd7d-ae32ed318149\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-8b20-4583-bd7d-ae32ed318149\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-8b20-4583-bd7d-ae32ed318149\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95V25fSWhhWDYwYWxRajVkdE9uaFR3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002240df119c-5228-4b7e-b79b-629a7005dc0d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-02-14T22:54:48.4286281\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-8b20-4583-bd7d-ae32ed318149\u0022}]", + "messageId": "9955f6f92d0d4b14b8a4d2d0872d554a", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-6f7de8c3096f2b1396baf4a569c33949-5a67bd16e3109e1a-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-8b20-4583-bd7d-ae32ed318149\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-8b20-4583-bd7d-ae32ed318149\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95V25fSWhhWDYwYWxRajVkdE9uaFR3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002240df119c-5228-4b7e-b79b-629a7005dc0d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:49.626839\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-8b20-4583-bd7d-ae32ed318149\u0022}]", + "messageId": "e1bfafb93e2441a88417e5884c42e643", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-49c7c7b8c615cbf986eea6220deb4b67-f51df8add8380958-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-7ce3-48f8-807c-713fafee6665\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u002211002280-7ce3-48f8-807c-713fafee6665\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi95V25fSWhhWDYwYWxRajVkdE9uaFR3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002240df119c-5228-4b7e-b79b-629a7005dc0d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:49.7468971\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-7ce3-48f8-807c-713fafee6665\u0022}]", + "messageId": "88e048f504fe44ab938dc80ca113e8c7", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-0d7c9e8480905c50ee46b13c3c520e8d-5c53f46a2d7155e0-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/CreateCallWithMediaStreamingWithAudioFormatPcm24KMonoTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/CreateCallWithMediaStreamingWithAudioFormatPcm24KMonoTestAsync.json new file mode 100644 index 000000000000..3b62af65ed11 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/CreateCallWithMediaStreamingWithAudioFormatPcm24KMonoTestAsync.json @@ -0,0 +1,139 @@ +{ + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9YV2VwLV9zVE9VeTliSUVhemFpSWRRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022afa76cc5-2ceb-42e6-b090-2cfe36544337\u0022}", + "messageId": "fc890302c9a14144bbf2fcfd48a70716", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-f97d24caca5c74c8d014b168fbbfe554-1d4dc5c72659a353-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-bb9e-4bd6-a8eb-875ca2b726e5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-bb9e-4bd6-a8eb-875ca2b726e5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9YV2VwLV9zVE9VeTliSUVhemFpSWRRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022afa76cc5-2ceb-42e6-b090-2cfe36544337\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:01.1831184\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-bb9e-4bd6-a8eb-875ca2b726e5\u0022}]", + "messageId": "c1f733a14ae54157a19f81fbaded618e", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-68c7ae167cec5425e7210e382a8d144c-4a1bfdff46a37274-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-bb9e-4bd6-a8eb-875ca2b726e5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-bb9e-4bd6-a8eb-875ca2b726e5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9YV2VwLV9zVE9VeTliSUVhemFpSWRRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022afa76cc5-2ceb-42e6-b090-2cfe36544337\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:56:01.1831184\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-bb9e-4bd6-a8eb-875ca2b726e5\u0022}]", + "messageId": "1de35ac370d742b49071764625fb590b", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-5d16d398c24be1c55bfddc2fe82662a5-9573b8f2072fed42-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-d8d7-4288-b119-42a960e1577d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-d8d7-4288-b119-42a960e1577d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9YV2VwLV9zVE9VeTliSUVhemFpSWRRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022afa76cc5-2ceb-42e6-b090-2cfe36544337\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:01.1831184\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-d8d7-4288-b119-42a960e1577d\u0022}]", + "messageId": "858360070e814d1e8f2b05ca2de2a81d", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-ee0ead073fda44202c5976c6d8ed477c-4e70e1df357413fd-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-d8d7-4288-b119-42a960e1577d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-d8d7-4288-b119-42a960e1577d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9YV2VwLV9zVE9VeTliSUVhemFpSWRRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022afa76cc5-2ceb-42e6-b090-2cfe36544337\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:56:01.2468473\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-d8d7-4288-b119-42a960e1577d\u0022}]", + "messageId": "2c846edc20584e1ba7b07567a496ae10", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-ad7fea3c750fcfb4e3fdc10a83689705-50dc32cf0c06a715-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-d8d7-4288-b119-42a960e1577d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-d8d7-4288-b119-42a960e1577d\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStarted\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStarted\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-d8d7-4288-b119-42a960e1577d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9YV2VwLV9zVE9VeTliSUVhemFpSWRRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022afa76cc5-2ceb-42e6-b090-2cfe36544337\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStarted\u0022},\u0022time\u0022:\u00222025-02-14T22:56:03.0698615\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-d8d7-4288-b119-42a960e1577d\u0022}]", + "messageId": "eaaebd9fefe348c69a53fa4bc3fe906c", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-df44e7660f7fd97005f1cc325d493b37-98f08b7dde044752-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-d8d7-4288-b119-42a960e1577d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022,\u0022data\u0022:{\u0022eventSource\u0022:\u0022calling/callConnections/11002280-d8d7-4288-b119-42a960e1577d\u0022,\u0022mediaStreamingUpdate\u0022:{\u0022contentType\u0022:\u0022Audio\u0022,\u0022mediaStreamingStatus\u0022:\u0022mediaStreamingStopped\u0022,\u0022mediaStreamingStatusDetails\u0022:\u0022subscriptionStopped\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022operationContext\u0022:\u0022startMediaStreamingContext\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002211002280-d8d7-4288-b119-42a960e1577d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9YV2VwLV9zVE9VeTliSUVhemFpSWRRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022afa76cc5-2ceb-42e6-b090-2cfe36544337\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.MediaStreamingStopped\u0022},\u0022time\u0022:\u00222025-02-14T22:56:04.2147648\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-d8d7-4288-b119-42a960e1577d\u0022}]", + "messageId": "82389dd884ec47659de793f4339745ab", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-e1ac32a1f92156d33511945b8f515e35-e110f6f439fe17b1-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-d8d7-4288-b119-42a960e1577d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-d8d7-4288-b119-42a960e1577d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9YV2VwLV9zVE9VeTliSUVhemFpSWRRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022afa76cc5-2ceb-42e6-b090-2cfe36544337\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:56:05.4110611\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-d8d7-4288-b119-42a960e1577d\u0022}]", + "messageId": "ec5d5a513f38429a88e0aa6d59f38d8a", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-0df9bd1e12755dcb23e6f62baf449875-f3f6bc1a84fd6734-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-bb9e-4bd6-a8eb-875ca2b726e5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u002211002280-bb9e-4bd6-a8eb-875ca2b726e5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9YV2VwLV9zVE9VeTliSUVhemFpSWRRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022afa76cc5-2ceb-42e6-b090-2cfe36544337\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:56:05.5287436\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-bb9e-4bd6-a8eb-875ca2b726e5\u0022}]", + "messageId": "6d56ef66f253457b93d8f366ed6d90d1", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-dbb029b512ff0130090553977e17305f-2a485e909f68cba7-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/HoldUnholdParticipantInACallTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/HoldUnholdParticipantInACallTest.json index 21b81e85eb3b..e45f616850dd 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/HoldUnholdParticipantInACallTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/HoldUnholdParticipantInACallTest.json @@ -1,169 +1,169 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9GaFExNXhRWlVVV0hFQ19pM0RSdnJRP2k9MTAtNjAtNDAtMTQ2JmU9NjM4Njk2Mzg5Nzc1NDYzNTcx\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00221d0ee68f-03e7-4bd2-b646-f47efbaf9dde\u0022}", - "messageId": "157c1850b7d94b778b72222271d982a8", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-4359f4c0881d16136a44a02280124964-1d48e5a3dfab979f-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9GaFExNXhRWlVVV0hFQ19pM0RSdnJRP2k9MTAtNjAtNDAtMTQ2JmU9NjM4Njk2Mzg5Nzc1NDYzNTcx\u0022,\u0022correlationId\u0022:\u00221d0ee68f-03e7-4bd2-b646-f47efbaf9dde\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-16T08:33:14.5643973\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022}]", - "messageId": "db3e8819ea1340d6ba6586f07dfa039b", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-1f8e234c4d54e81442514aeaa9679150-295cfa98d5c655d5-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0e002080-7f99-439a-bec3-d7670f755fa1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220e002080-7f99-439a-bec3-d7670f755fa1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9GaFExNXhRWlVVV0hFQ19pM0RSdnJRP2k9MTAtNjAtNDAtMTQ2JmU9NjM4Njk2Mzg5Nzc1NDYzNTcx\u0022,\u0022correlationId\u0022:\u00221d0ee68f-03e7-4bd2-b646-f47efbaf9dde\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-16T08:33:14.5528165\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0e002080-7f99-439a-bec3-d7670f755fa1\u0022}]", - "messageId": "ff23fe61c1bd4f5bb841dabe8dbb4f8d", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-590570b3b6094d80a56d0febdb0eb283-52b3e76202e8928f-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0e002080-7f99-439a-bec3-d7670f755fa1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220e002080-7f99-439a-bec3-d7670f755fa1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9GaFExNXhRWlVVV0hFQ19pM0RSdnJRP2k9MTAtNjAtNDAtMTQ2JmU9NjM4Njk2Mzg5Nzc1NDYzNTcx\u0022,\u0022correlationId\u0022:\u00221d0ee68f-03e7-4bd2-b646-f47efbaf9dde\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-16T08:33:14.6270422\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0e002080-7f99-439a-bec3-d7670f755fa1\u0022}]", - "messageId": "97bd519e2179475babab8f5d2b471659", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-6ba8893f7ecad3d1ac9c49db913739c3-007759e2d6dc93b7-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9GaFExNXhRWlVVV0hFQ19pM0RSdnJRP2k9MTAtNjAtNDAtMTQ2JmU9NjM4Njk2Mzg5Nzc1NDYzNTcx\u0022,\u0022correlationId\u0022:\u00221d0ee68f-03e7-4bd2-b646-f47efbaf9dde\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-16T08:33:14.6270422\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022}]", - "messageId": "28780ec28ee6464e8deefa7497b53b8e", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-afc0de148b56d9fd57a708c532bbaccc-f7e7f426bfda69f2-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0e002080-7f99-439a-bec3-d7670f755fa1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:true}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220e002080-7f99-439a-bec3-d7670f755fa1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9GaFExNXhRWlVVV0hFQ19pM0RSdnJRP2k9MTAtNjAtNDAtMTQ2JmU9NjM4Njk2Mzg5Nzc1NDYzNTcx\u0022,\u0022correlationId\u0022:\u00221d0ee68f-03e7-4bd2-b646-f47efbaf9dde\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-16T08:33:18.2709885\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0e002080-7f99-439a-bec3-d7670f755fa1\u0022}]", - "messageId": "3644eef790c6470c98a2c81a21e28630", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-164e85d157d0feddf8d6f8ebfcf07512-7d046dd679819d39-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:true}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9GaFExNXhRWlVVV0hFQ19pM0RSdnJRP2k9MTAtNjAtNDAtMTQ2JmU9NjM4Njk2Mzg5Nzc1NDYzNTcx\u0022,\u0022correlationId\u0022:\u00221d0ee68f-03e7-4bd2-b646-f47efbaf9dde\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-16T08:33:18.2709885\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022}]", - "messageId": "9126cfb2e85848ce97c6d03a89dafe17", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-d2dcafaf84c66009bf6516574ce9f230-d9dc8078c0784532-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0e002080-7f99-439a-bec3-d7670f755fa1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:5,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220e002080-7f99-439a-bec3-d7670f755fa1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9GaFExNXhRWlVVV0hFQ19pM0RSdnJRP2k9MTAtNjAtNDAtMTQ2JmU9NjM4Njk2Mzg5Nzc1NDYzNTcx\u0022,\u0022correlationId\u0022:\u00221d0ee68f-03e7-4bd2-b646-f47efbaf9dde\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-16T08:33:19.6941492\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0e002080-7f99-439a-bec3-d7670f755fa1\u0022}]", - "messageId": "108c2fbce7b343bda3f438ea773e4855", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-7bac6d1d0b8eb3cb7eb9539dc2d13270-d8edc832706620e0-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:5,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9GaFExNXhRWlVVV0hFQ19pM0RSdnJRP2k9MTAtNjAtNDAtMTQ2JmU9NjM4Njk2Mzg5Nzc1NDYzNTcx\u0022,\u0022correlationId\u0022:\u00221d0ee68f-03e7-4bd2-b646-f47efbaf9dde\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-16T08:33:19.6947666\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022}]", - "messageId": "0100ba145cf04f73a09885fd37d0f3bf", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-3a9402cbf5a4f41f5e9aa1b48736701c-316b590157eeb551-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0e002080-7f99-439a-bec3-d7670f755fa1\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00220e002080-7f99-439a-bec3-d7670f755fa1\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9GaFExNXhRWlVVV0hFQ19pM0RSdnJRP2k9MTAtNjAtNDAtMTQ2JmU9NjM4Njk2Mzg5Nzc1NDYzNTcx\u0022,\u0022correlationId\u0022:\u00221d0ee68f-03e7-4bd2-b646-f47efbaf9dde\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-16T08:33:20.9051151\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0e002080-7f99-439a-bec3-d7670f755fa1\u0022}]", - "messageId": "74067fe6cf3c404b91d79e2e3d26985b", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-b19caf4983a8bde526577ad492d38efd-58265ff2a12f1502-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u00220e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9GaFExNXhRWlVVV0hFQ19pM0RSdnJRP2k9MTAtNjAtNDAtMTQ2JmU9NjM4Njk2Mzg5Nzc1NDYzNTcx\u0022,\u0022correlationId\u0022:\u00221d0ee68f-03e7-4bd2-b646-f47efbaf9dde\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-16T08:33:20.9372236\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0e002080-24c7-41b3-a4ea-68cfd9e79b21\u0022}]", - "messageId": "9a3b2271fa0045f9b53fcd5068c20ae4", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-dbeacf099ce7f9417fbb4c4501be1d3e-6689abdcbbf04e60-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9KS05obTRtVExFVzFHMlRZV2lpSnFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00227928f20b-5e37-4aaf-9f84-ed3f6e8c206a\u0022}", + "messageId": "6d05dd866c504afb82076daf6a38a775", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-3c1e324f731304994a81ab91df8a5803-ae022732037d59ad-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-b0c9-410c-a438-0ead8af70d3b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-b0c9-410c-a438-0ead8af70d3b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9KS05obTRtVExFVzFHMlRZV2lpSnFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00227928f20b-5e37-4aaf-9f84-ed3f6e8c206a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:58.4332151\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-b0c9-410c-a438-0ead8af70d3b\u0022}]", + "messageId": "9aa0536c649345aa9458de90b352a8e9", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-b4ded01f1c49b41868079e8c42fcd772-09efb3f8cf373a10-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-1b76-4928-bd4e-863c1b3296a9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-1b76-4928-bd4e-863c1b3296a9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9KS05obTRtVExFVzFHMlRZV2lpSnFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00227928f20b-5e37-4aaf-9f84-ed3f6e8c206a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:54:58.4332151\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-1b76-4928-bd4e-863c1b3296a9\u0022}]", + "messageId": "ced3741507214cd19b92eb090c698242", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-6171619b0d1533ea8b223ec2b8493ad0-f68abacb1bfe630e-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-b0c9-410c-a438-0ead8af70d3b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-b0c9-410c-a438-0ead8af70d3b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9KS05obTRtVExFVzFHMlRZV2lpSnFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00227928f20b-5e37-4aaf-9f84-ed3f6e8c206a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:54:58.4332151\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-b0c9-410c-a438-0ead8af70d3b\u0022}]", + "messageId": "689c9f43661d4bbbbd03c4d008d6f9ba", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-fa5aa0e3bb5b81fe7832a515b927328f-f3389fe42d484b46-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-1b76-4928-bd4e-863c1b3296a9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-1b76-4928-bd4e-863c1b3296a9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9KS05obTRtVExFVzFHMlRZV2lpSnFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00227928f20b-5e37-4aaf-9f84-ed3f6e8c206a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:54:58.4866257\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-1b76-4928-bd4e-863c1b3296a9\u0022}]", + "messageId": "fc0b8aec5b5f45aaa20f10cc1bc40975", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-d0ae824da20342b41b7cae1d30ea239d-6e7e3a047147a120-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-b0c9-410c-a438-0ead8af70d3b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:true},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-b0c9-410c-a438-0ead8af70d3b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9KS05obTRtVExFVzFHMlRZV2lpSnFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00227928f20b-5e37-4aaf-9f84-ed3f6e8c206a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:55:01.7723764\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-b0c9-410c-a438-0ead8af70d3b\u0022}]", + "messageId": "fd8b1b61c68c4c77aedfa8c431aeb41d", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-b5622bf767381acd7bcf8328a95a17e6-177b74d6c060070f-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-1b76-4928-bd4e-863c1b3296a9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:true},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-1b76-4928-bd4e-863c1b3296a9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9KS05obTRtVExFVzFHMlRZV2lpSnFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00227928f20b-5e37-4aaf-9f84-ed3f6e8c206a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:55:01.7779134\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-1b76-4928-bd4e-863c1b3296a9\u0022}]", + "messageId": "328c299bfe8242b7bcf3be22ec51fe55", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-2501c1ccde6d0e6ddc31c453c6115850-1494a07d6d0ab09c-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-b0c9-410c-a438-0ead8af70d3b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:5,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-b0c9-410c-a438-0ead8af70d3b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9KS05obTRtVExFVzFHMlRZV2lpSnFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00227928f20b-5e37-4aaf-9f84-ed3f6e8c206a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:55:03.1701115\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-b0c9-410c-a438-0ead8af70d3b\u0022}]", + "messageId": "a8be091c94f54b4c96d35f50a99112b6", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-9dcd3cb0fd9d92a61ad9039c3b95d77d-7c3e52acf312eab8-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-1b76-4928-bd4e-863c1b3296a9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:5,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-1b76-4928-bd4e-863c1b3296a9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9KS05obTRtVExFVzFHMlRZV2lpSnFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00227928f20b-5e37-4aaf-9f84-ed3f6e8c206a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:55:03.1719991\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-1b76-4928-bd4e-863c1b3296a9\u0022}]", + "messageId": "562a5ca96014477b8ef8b5d77bc28348", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-3b145773e7959a34e16cc1603a09c54e-3912446420fbee1b-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-1b76-4928-bd4e-863c1b3296a9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-1b76-4928-bd4e-863c1b3296a9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9KS05obTRtVExFVzFHMlRZV2lpSnFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00227928f20b-5e37-4aaf-9f84-ed3f6e8c206a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:04.3517662\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-1b76-4928-bd4e-863c1b3296a9\u0022}]", + "messageId": "a33d5b7c741f426c9b1944909ba13d60", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-be27c479c729c13785503817034fb7e8-4fa031c1ff498470-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-b0c9-410c-a438-0ead8af70d3b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u002211002280-b0c9-410c-a438-0ead8af70d3b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9KS05obTRtVExFVzFHMlRZV2lpSnFRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00227928f20b-5e37-4aaf-9f84-ed3f6e8c206a\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:55:04.4732039\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-b0c9-410c-a438-0ead8af70d3b\u0022}]", + "messageId": "f5a7aeac20df48faa4c570b0244438bd", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-0d347075f84ff992de7d28bcf619657a-49b654e044d38636-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/HoldUnholdParticipantInACallTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/HoldUnholdParticipantInACallTestAsync.json index f4ef7d382c20..90aa1e090871 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/HoldUnholdParticipantInACallTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallMediaAutomatedLiveTests/HoldUnholdParticipantInACallTestAsync.json @@ -1,169 +1,169 @@ { - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9kTnpqNEpLSjdVNmtRVGlnOTBPbTRRP2k9MTAtNjAtNTctMjA3JmU9NjM4Njk3MzgzMDIxOTc1NTY4\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00222ca836de-bb9f-4209-a1ce-8cba54ff1a1c\u0022}", - "messageId": "cb02b31c4d804ffb83523dc842b07c0b", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-7598f23527989f939d90348c592063e8-8ad63dab329cfa21-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002080-8922-4e9e-8566-e78cf31d05eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002080-8922-4e9e-8566-e78cf31d05eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9kTnpqNEpLSjdVNmtRVGlnOTBPbTRRP2k9MTAtNjAtNTctMjA3JmU9NjM4Njk3MzgzMDIxOTc1NTY4\u0022,\u0022correlationId\u0022:\u00222ca836de-bb9f-4209-a1ce-8cba54ff1a1c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-16T08:43:37.8765906\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002080-8922-4e9e-8566-e78cf31d05eb\u0022}]", - "messageId": "1791c905070f4162a8c80d74c42414dd", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-a163d25890b6297ff31427ebcb017721-90fcca08435e9dff-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002080-2594-4b37-9526-2740ca2b5b59\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002080-2594-4b37-9526-2740ca2b5b59\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9kTnpqNEpLSjdVNmtRVGlnOTBPbTRRP2k9MTAtNjAtNTctMjA3JmU9NjM4Njk3MzgzMDIxOTc1NTY4\u0022,\u0022correlationId\u0022:\u00222ca836de-bb9f-4209-a1ce-8cba54ff1a1c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-16T08:43:37.8877348\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002080-2594-4b37-9526-2740ca2b5b59\u0022}]", - "messageId": "366eda3eab694514808fece01da42fd4", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-0c457895353da47f24f93d8e38d4b944-9c06881a3b78ce4e-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002080-8922-4e9e-8566-e78cf31d05eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220c002080-8922-4e9e-8566-e78cf31d05eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9kTnpqNEpLSjdVNmtRVGlnOTBPbTRRP2k9MTAtNjAtNTctMjA3JmU9NjM4Njk3MzgzMDIxOTc1NTY4\u0022,\u0022correlationId\u0022:\u00222ca836de-bb9f-4209-a1ce-8cba54ff1a1c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-16T08:43:37.9817677\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002080-8922-4e9e-8566-e78cf31d05eb\u0022}]", - "messageId": "74a04fc1ecd947b38fb8bee3cc07bd5e", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-b2bde647c576ae1449dcc4f41c0a8243-ebeb6adebaf24166-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002080-2594-4b37-9526-2740ca2b5b59\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u00220c002080-2594-4b37-9526-2740ca2b5b59\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9kTnpqNEpLSjdVNmtRVGlnOTBPbTRRP2k9MTAtNjAtNTctMjA3JmU9NjM4Njk3MzgzMDIxOTc1NTY4\u0022,\u0022correlationId\u0022:\u00222ca836de-bb9f-4209-a1ce-8cba54ff1a1c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222024-12-16T08:43:38.0456721\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002080-2594-4b37-9526-2740ca2b5b59\u0022}]", - "messageId": "f6eb218fda934dab9443834c09b1cf80", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-72a2dcc526745ac26b9e61853d205e53-327c3917d723ca11-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002080-8922-4e9e-8566-e78cf31d05eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:true},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002080-8922-4e9e-8566-e78cf31d05eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9kTnpqNEpLSjdVNmtRVGlnOTBPbTRRP2k9MTAtNjAtNTctMjA3JmU9NjM4Njk3MzgzMDIxOTc1NTY4\u0022,\u0022correlationId\u0022:\u00222ca836de-bb9f-4209-a1ce-8cba54ff1a1c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-16T08:43:42.4149401\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002080-8922-4e9e-8566-e78cf31d05eb\u0022}]", - "messageId": "a6b007e71ae342bdb599775ded3442fe", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-87b439b9f8c254597cb5b8362fdce25d-6854c767f1b349f4-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002080-2594-4b37-9526-2740ca2b5b59\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:true},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002080-2594-4b37-9526-2740ca2b5b59\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9kTnpqNEpLSjdVNmtRVGlnOTBPbTRRP2k9MTAtNjAtNTctMjA3JmU9NjM4Njk3MzgzMDIxOTc1NTY4\u0022,\u0022correlationId\u0022:\u00222ca836de-bb9f-4209-a1ce-8cba54ff1a1c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-16T08:43:42.4149401\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002080-2594-4b37-9526-2740ca2b5b59\u0022}]", - "messageId": "5ac418583df74ad8a51630de083f36ed", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-6771cf314c69c5bf56c56dd73d4db5f2-8b6297a76e96012b-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002080-8922-4e9e-8566-e78cf31d05eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:5,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002080-8922-4e9e-8566-e78cf31d05eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9kTnpqNEpLSjdVNmtRVGlnOTBPbTRRP2k9MTAtNjAtNTctMjA3JmU9NjM4Njk3MzgzMDIxOTc1NTY4\u0022,\u0022correlationId\u0022:\u00222ca836de-bb9f-4209-a1ce-8cba54ff1a1c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-16T08:43:43.9975337\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002080-8922-4e9e-8566-e78cf31d05eb\u0022}]", - "messageId": "2b83a99eabc34825a6fbcb1f17b85ac2", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-bb319fe18534cc03174b08981cc168df-31fb8b8bf726d8e4-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002080-2594-4b37-9526-2740ca2b5b59\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:5,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u00220c002080-2594-4b37-9526-2740ca2b5b59\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9kTnpqNEpLSjdVNmtRVGlnOTBPbTRRP2k9MTAtNjAtNTctMjA3JmU9NjM4Njk3MzgzMDIxOTc1NTY4\u0022,\u0022correlationId\u0022:\u00222ca836de-bb9f-4209-a1ce-8cba54ff1a1c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222024-12-16T08:43:43.9975337\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002080-2594-4b37-9526-2740ca2b5b59\u0022}]", - "messageId": "454143d794244a5d8866c0af5418eae1", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-be2394b92531e34efac43674430d5d52-8a64fabef1a28205-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002080-2594-4b37-9526-2740ca2b5b59\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u00220c002080-2594-4b37-9526-2740ca2b5b59\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9kTnpqNEpLSjdVNmtRVGlnOTBPbTRRP2k9MTAtNjAtNTctMjA3JmU9NjM4Njk3MzgzMDIxOTc1NTY4\u0022,\u0022correlationId\u0022:\u00222ca836de-bb9f-4209-a1ce-8cba54ff1a1c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-16T08:43:45.2150027\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002080-2594-4b37-9526-2740ca2b5b59\u0022}]", - "messageId": "2dbeefc830624b81aba48356fe0742b1", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-a50de3d47c5c1bc11adbe8ee655accee-83edaa64cab31d54-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/0c002080-8922-4e9e-8566-e78cf31d05eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5010,\u0022message\u0022:\u0022This conversation has ended as only one participant was remaining in the conversation.. DiagCode: 0#5010.@\u0022},\u0022callConnectionId\u0022:\u00220c002080-8922-4e9e-8566-e78cf31d05eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzY2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9kTnpqNEpLSjdVNmtRVGlnOTBPbTRRP2k9MTAtNjAtNTctMjA3JmU9NjM4Njk3MzgzMDIxOTc1NTY4\u0022,\u0022correlationId\u0022:\u00222ca836de-bb9f-4209-a1ce-8cba54ff1a1c\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222024-12-16T08:43:45.2256149\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/0c002080-8922-4e9e-8566-e78cf31d05eb\u0022}]", - "messageId": "8ffac46ca9d046c0bbcd26114ab92609", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-8fc00e7e9329a37a6447b921417f4d2b-a0e627d537f78c5c-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} + "entries": [ + { + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9INXBkTjFfZ1pVLVd6VXVIa3hacHd3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00221c721569-c324-45c0-94f3-12b6f8efd0fd\u0022}", + "messageId": "134490606d6a4a16b2f80e26a1960f3a", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-723812eb99dd5fbf2c8cd671f1d23f21-3715c5faa5cf849c-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-6319-4e6b-aff3-8c8dc30f9481\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-6319-4e6b-aff3-8c8dc30f9481\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9INXBkTjFfZ1pVLVd6VXVIa3hacHd3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221c721569-c324-45c0-94f3-12b6f8efd0fd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:12.7396959\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-6319-4e6b-aff3-8c8dc30f9481\u0022}]", + "messageId": "183420515ffa453f92df01630f05ae50", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-50d2a6affbfae5e2034ead8337c374f2-7161d5c9257fdb81-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-9e8a-479e-8071-b32face61d8d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-9e8a-479e-8071-b32face61d8d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9INXBkTjFfZ1pVLVd6VXVIa3hacHd3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221c721569-c324-45c0-94f3-12b6f8efd0fd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:12.7477983\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-9e8a-479e-8071-b32face61d8d\u0022}]", + "messageId": "c15cabc261e14548afa85fc6bfcfe6cf", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-9f712ac222acd49de6842c4af7333a67-b67e1545b17bad6e-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-9e8a-479e-8071-b32face61d8d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-9e8a-479e-8071-b32face61d8d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9INXBkTjFfZ1pVLVd6VXVIa3hacHd3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221c721569-c324-45c0-94f3-12b6f8efd0fd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:56:12.7445804\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-9e8a-479e-8071-b32face61d8d\u0022}]", + "messageId": "cef568998bda4d0091ed685c9cf7b788", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-7ac51fdfc1559de5f8276c8ebab300d8-da17c14b4274be17-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-6319-4e6b-aff3-8c8dc30f9481\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-6319-4e6b-aff3-8c8dc30f9481\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9INXBkTjFfZ1pVLVd6VXVIa3hacHd3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221c721569-c324-45c0-94f3-12b6f8efd0fd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:56:12.7878341\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-6319-4e6b-aff3-8c8dc30f9481\u0022}]", + "messageId": "d5cdd9d7d44f4f7f9deb10ce6eda3180", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-dc792fe93046f32321fe5435f5213b2f-faf4f9b019b4cbe7-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-9e8a-479e-8071-b32face61d8d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:true}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-9e8a-479e-8071-b32face61d8d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9INXBkTjFfZ1pVLVd6VXVIa3hacHd3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221c721569-c324-45c0-94f3-12b6f8efd0fd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:16.6616154\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-9e8a-479e-8071-b32face61d8d\u0022}]", + "messageId": "4b11ef0797674586ba85adc289d885df", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-cf05dec4c99e7a4f62f32d5d7f67b0c0-4108e749b169c24d-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-6319-4e6b-aff3-8c8dc30f9481\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:true}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-6319-4e6b-aff3-8c8dc30f9481\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9INXBkTjFfZ1pVLVd6VXVIa3hacHd3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221c721569-c324-45c0-94f3-12b6f8efd0fd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:16.6586159\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-6319-4e6b-aff3-8c8dc30f9481\u0022}]", + "messageId": "3de119a926f747cb9e10eaf5377a2905", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-1bc0f3bca1b98bbff3998fcbb5d719c2-0dd3ba35657122cd-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-9e8a-479e-8071-b32face61d8d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:5,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-9e8a-479e-8071-b32face61d8d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9INXBkTjFfZ1pVLVd6VXVIa3hacHd3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221c721569-c324-45c0-94f3-12b6f8efd0fd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:18.0795271\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-9e8a-479e-8071-b32face61d8d\u0022}]", + "messageId": "ffb6e0dde018484f9231f90ea3b64f40", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-4f509eef4653f8751c2775efa20d7358-31529ff5dedc9727-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-6319-4e6b-aff3-8c8dc30f9481\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:5,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-6319-4e6b-aff3-8c8dc30f9481\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9INXBkTjFfZ1pVLVd6VXVIa3hacHd3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221c721569-c324-45c0-94f3-12b6f8efd0fd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:18.078381\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-6319-4e6b-aff3-8c8dc30f9481\u0022}]", + "messageId": "0a382dac58a8462eac1c10e3a4b50bbe", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-c801ab66b95ba9cfa38f512bc8f78136-08e5b2cf3c901545-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-6319-4e6b-aff3-8c8dc30f9481\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-6319-4e6b-aff3-8c8dc30f9481\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9INXBkTjFfZ1pVLVd6VXVIa3hacHd3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221c721569-c324-45c0-94f3-12b6f8efd0fd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:56:19.2654191\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-6319-4e6b-aff3-8c8dc30f9481\u0022}]", + "messageId": "02c8aeec9f97460c91334612891a73e4", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-0034da2a64512588f5c4234eefbe6ed6-149b785e6da860a8-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-9e8a-479e-8071-b32face61d8d\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:5001,\u0022message\u0022:\u0022This conversation has ended.. DiagCode: 0#5001.@\u0022},\u0022callConnectionId\u0022:\u002211002280-9e8a-479e-8071-b32face61d8d\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9INXBkTjFfZ1pVLVd6VXVIa3hacHd3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221c721569-c324-45c0-94f3-12b6f8efd0fd\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:56:19.385072\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-9e8a-479e-8071-b32face61d8d\u0022}]", + "messageId": "d2bd839f0d6d429a88afab931ae2be5f", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-4e113b471e415da5e90ea7477c9af56c-15a8cacd0b9be855-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + } + ] +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallAndUnmixedAudioTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallAndUnmixedAudioTest.json index 36ee78edc0c0..a1ebb268b01d 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallAndUnmixedAudioTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallAndUnmixedAudioTest.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9jREItaEt0WEVVMl9iOGFLY0F1VWpnP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00226607b5e6-dba0-4481-b50b-f006df50964d\u0022}", - "messageId": "8556b92eeb5e4aa2bf292eb0a3ed0867", + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi93LXc1SlFmWUZFeUZPVnZNMjIxeGhRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u002255cf8efa-fa83-41a1-be4c-755a6ffaea20\u0022}", + "messageId": "4e49be5460814ae6b35de3b37f007b7c", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-07f93b1cc2404639e70ac565c047c41c-89c9c8c5f06039c0-00" + "Diagnostic-Id": "00-ee4cf6bf8d6d4d926f25c961a0a7f467-ad49a467688d84fa-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-8896-4156-a729-fa19c6a192d9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002228001d80-8896-4156-a729-fa19c6a192d9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9jREItaEt0WEVVMl9iOGFLY0F1VWpnP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00226607b5e6-dba0-4481-b50b-f006df50964d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-29T00:24:46.1358054\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-8896-4156-a729-fa19c6a192d9\u0022}]", - "messageId": "a5f7ffb4eceb46e68fb1fc9ad56c4493", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi93LXc1SlFmWUZFeUZPVnZNMjIxeGhRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002255cf8efa-fa83-41a1-be4c-755a6ffaea20\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:56:27.8242857\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022}]", + "messageId": "48707f9743054b14abf1dab2235fa127", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,13 +26,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-3715bfffa121d10def05dc97767c7eb6-4c4eb3e402f14291-00" + "Diagnostic-Id": "00-ed3b1ef6020bb793865b9f69a15c3825-598d5c4d9e0c437a-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-8896-4156-a729-fa19c6a192d9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-8896-4156-a729-fa19c6a192d9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9jREItaEt0WEVVMl9iOGFLY0F1VWpnP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00226607b5e6-dba0-4481-b50b-f006df50964d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:24:46.0817208\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-8896-4156-a729-fa19c6a192d9\u0022}]", - "messageId": "00926816e7a44639aae4b8e1535ddc4f", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi93LXc1SlFmWUZFeUZPVnZNMjIxeGhRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002255cf8efa-fa83-41a1-be4c-755a6ffaea20\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:27.8242857\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022}]", + "messageId": "b753a73a73784487ad00645291c58ac5", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -41,13 +41,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-72d818e0c3395ab4de66aff5bf994073-9b493fa5ee4b51dc-00" + "Diagnostic-Id": "00-c62fcfab843ff72bf1b9a1e5f5662f3a-3fc481400c17c86c-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-8896-4156-a729-fa19c6a192d9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-8896-4156-a729-fa19c6a192d9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9jREItaEt0WEVVMl9iOGFLY0F1VWpnP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00226607b5e6-dba0-4481-b50b-f006df50964d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:24:49.3359936\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-8896-4156-a729-fa19c6a192d9\u0022}]", - "messageId": "e9e4989b57f3434ba5bf4731efeda1fe", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi93LXc1SlFmWUZFeUZPVnZNMjIxeGhRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002255cf8efa-fa83-41a1-be4c-755a6ffaea20\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:31.2137977\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022}]", + "messageId": "d53e02588b1a41f1ae40ecd19cbab208", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -56,13 +56,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-bfbd6d87ca2dd4156c6af10e1555c534-6e1100320c1c5c59-00" + "Diagnostic-Id": "00-4e4873e2a74bae7d014d984b6e1d2e94-53185ac6c6f9f0d5-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-8896-4156-a729-fa19c6a192d9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-8896-4156-a729-fa19c6a192d9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9jREItaEt0WEVVMl9iOGFLY0F1VWpnP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00226607b5e6-dba0-4481-b50b-f006df50964d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:24:49.5588116\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-8896-4156-a729-fa19c6a192d9\u0022}]", - "messageId": "30feb3a373db4f4394c5393bee096bea", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:5,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi93LXc1SlFmWUZFeUZPVnZNMjIxeGhRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002255cf8efa-fa83-41a1-be4c-755a6ffaea20\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:31.3726051\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022}]", + "messageId": "481b62de72e947788dcec3b56bf7db5b", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -71,13 +71,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-8248c6a8696db9e3aaae3d74a79625ff-11b7786245ae739e-00" + "Diagnostic-Id": "00-87922c3ac2a849456b78a2f4a55336ca-7e815395440f7b42-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-8896-4156-a729-fa19c6a192d9\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002228001d80-8896-4156-a729-fa19c6a192d9\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9jREItaEt0WEVVMl9iOGFLY0F1VWpnP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00226607b5e6-dba0-4481-b50b-f006df50964d\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-29T00:24:49.7701118\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-8896-4156-a729-fa19c6a192d9\u0022}]", - "messageId": "2843c66bed844eea9419b129f3dd40d9", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:6,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi93LXc1SlFmWUZFeUZPVnZNMjIxeGhRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002255cf8efa-fa83-41a1-be4c-755a6ffaea20\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:31.5147038\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022}]", + "messageId": "7cf6dd0394e74d039c1356f5a11b91ab", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -86,7 +86,67 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-23071fab77e657a4f446f1b86910769d-523de3bd145d9850-00" + "Diagnostic-Id": "00-66c669c3fa88617f4deebf2abcd5ca80-b834d8ca130d1f10-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:8,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi93LXc1SlFmWUZFeUZPVnZNMjIxeGhRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002255cf8efa-fa83-41a1-be4c-755a6ffaea20\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:31.6382923\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022}]", + "messageId": "663ae6ea826c4d0ba76b4da29c33c47c", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-50ad32cc0afcae0a1431d49f2e1a2257-f7a967e3777f4d2c-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:8,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi93LXc1SlFmWUZFeUZPVnZNMjIxeGhRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002255cf8efa-fa83-41a1-be4c-755a6ffaea20\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:31.7657621\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022}]", + "messageId": "b2c9f5c632e149bc846fddc619099b7a", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-ebf753983f8c5e609b3bb82c52c50439-2965c52ce1606b43-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:8,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi93LXc1SlFmWUZFeUZPVnZNMjIxeGhRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002255cf8efa-fa83-41a1-be4c-755a6ffaea20\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:31.8893277\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022}]", + "messageId": "675dd5d0686041c38c8a0edebe3e10df", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-e11610ed957b9bfdf2b7835b7ea0971d-48e67b9ad50d92d2-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi93LXc1SlFmWUZFeUZPVnZNMjIxeGhRP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002255cf8efa-fa83-41a1-be4c-755a6ffaea20\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:56:31.97646\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-e2a4-410b-a65f-bd2e0cc1d82b\u0022}]", + "messageId": "724c43a2dfb1445190ddfb4b490f9e20", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-64538fde87c38d6a846f244353421dd0-9658c6dc31379860-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallAndUnmixedAudioTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallAndUnmixedAudioTestAsync.json index a0896372bfdb..9cf405dee5c7 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallAndUnmixedAudioTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallAndUnmixedAudioTestAsync.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9vVFNXa3B3Ml9rMnJueDZ1VlBBSGhRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00227ebdab8d-0fe5-424c-aa05-d00323d28850\u0022}", - "messageId": "8f4f6104504041ebb5fb7afe034d11bd", + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pY2tmTE9xSm1VbUQwdjV2WmNOdGp3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u002272361160-d40f-43a8-a741-fc6b72c95d18\u0022}", + "messageId": "c5266f68394a4faabe1b360ce37efb88", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-2e779d4853e3060c4394d1fe0be2eb0e-377fdd5664e90ee1-00" + "Diagnostic-Id": "00-749ce4974af9e9622e7f8468d8cedeee-b9ba404a6ee35ac3-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9vVFNXa3B3Ml9rMnJueDZ1VlBBSGhRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00227ebdab8d-0fe5-424c-aa05-d00323d28850\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:27:23.1331452\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022}]", - "messageId": "5d21dd428c7f41e995cf7d57b172e725", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0f04-4475-a68b-7aa3dac35985\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-0f04-4475-a68b-7aa3dac35985\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pY2tmTE9xSm1VbUQwdjV2WmNOdGp3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002272361160-d40f-43a8-a741-fc6b72c95d18\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:57:01.51666\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0f04-4475-a68b-7aa3dac35985\u0022}]", + "messageId": "9a217b1e834f4a0d99fcafdf1c0f4631", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,13 +26,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-b873c13a214162be6b029d8217492049-8aaded5719e6b7d5-00" + "Diagnostic-Id": "00-3105cc8ba752a1b39df509c1d66d5b5c-7f041f1723c09668-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002228001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9vVFNXa3B3Ml9rMnJueDZ1VlBBSGhRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00227ebdab8d-0fe5-424c-aa05-d00323d28850\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-29T00:27:23.2841577\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022}]", - "messageId": "8566e114d2d14a03bbcae051e5810e1d", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0f04-4475-a68b-7aa3dac35985\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-0f04-4475-a68b-7aa3dac35985\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pY2tmTE9xSm1VbUQwdjV2WmNOdGp3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002272361160-d40f-43a8-a741-fc6b72c95d18\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:57:01.51666\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0f04-4475-a68b-7aa3dac35985\u0022}]", + "messageId": "7044d03b7b414f8a8d45bce0f3586812", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -41,13 +41,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-fb1b034c1c25e891cfcbca7516c4c411-62b61f632ab207bb-00" + "Diagnostic-Id": "00-a3d78113771d6267bae5399da3037aac-2d45f1218e8be67f-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9vVFNXa3B3Ml9rMnJueDZ1VlBBSGhRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00227ebdab8d-0fe5-424c-aa05-d00323d28850\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:27:27.4543932\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022}]", - "messageId": "1e1a712e17cd42c397277fc095ab8991", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0f04-4475-a68b-7aa3dac35985\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-0f04-4475-a68b-7aa3dac35985\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pY2tmTE9xSm1VbUQwdjV2WmNOdGp3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002272361160-d40f-43a8-a741-fc6b72c95d18\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:57:05.0336418\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0f04-4475-a68b-7aa3dac35985\u0022}]", + "messageId": "56428b0e8ae7474a857222733e37484d", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -56,13 +56,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-8f33a457921e3e0b02ab4a8ac25e316f-84d114b3cf52c98b-00" + "Diagnostic-Id": "00-c54e23c4e114f664fd1e23c1eee63ed2-a0ad419c0e92514d-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9vVFNXa3B3Ml9rMnJueDZ1VlBBSGhRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00227ebdab8d-0fe5-424c-aa05-d00323d28850\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:27:27.7266078\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022}]", - "messageId": "ae8301e1cc62418984ed163cb603778c", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0f04-4475-a68b-7aa3dac35985\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-0f04-4475-a68b-7aa3dac35985\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pY2tmTE9xSm1VbUQwdjV2WmNOdGp3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002272361160-d40f-43a8-a741-fc6b72c95d18\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:57:05.2022655\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0f04-4475-a68b-7aa3dac35985\u0022}]", + "messageId": "565b79be5de847fa947ddaeddde863b0", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -71,13 +71,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-072730475ebc9b75d8d0871e01f1ce43-205275eef5ec41a5-00" + "Diagnostic-Id": "00-585285ef4054ff5691acc38431591ea6-b13a0b9d66d4109a-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002228001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9vVFNXa3B3Ml9rMnJueDZ1VlBBSGhRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00227ebdab8d-0fe5-424c-aa05-d00323d28850\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-29T00:27:27.845107\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-dc2d-472f-bcf5-f6d2e770b8bf\u0022}]", - "messageId": "274f2b1f5840429b9027d5719e19857e", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0f04-4475-a68b-7aa3dac35985\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:7,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-0f04-4475-a68b-7aa3dac35985\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pY2tmTE9xSm1VbUQwdjV2WmNOdGp3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002272361160-d40f-43a8-a741-fc6b72c95d18\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:57:05.4121488\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0f04-4475-a68b-7aa3dac35985\u0022}]", + "messageId": "bee2e360295c4f8894753098f977e929", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -86,7 +86,22 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-b0bc5b738feb9713f2f4afad443c38fa-3f6413b85d6e1040-00" + "Diagnostic-Id": "00-33f48aefd9bc8f4b77342e805e70e783-0ce826fee962e53c-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-0f04-4475-a68b-7aa3dac35985\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-0f04-4475-a68b-7aa3dac35985\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pY2tmTE9xSm1VbUQwdjV2WmNOdGp3P2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u002272361160-d40f-43a8-a741-fc6b72c95d18\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:57:05.4504011\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-0f04-4475-a68b-7aa3dac35985\u0022}]", + "messageId": "beb66c7c854a468497390071eabca686", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-afd08087172bde2d796922b89ffa0eb9-e4eaedebd5007f5b-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallUnmixedAudioAffinityTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallUnmixedAudioAffinityTest.json index 86abbad610ac..5097e9bf4691 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallUnmixedAudioAffinityTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallUnmixedAudioAffinityTest.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pb3o5bFpGaHBVbVlZc0dkdU94ZGxRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u002200013f6e-1d07-4bfd-84db-83f3c374b157\u0022}", - "messageId": "a4372b4e2e4846d2bd04e0a7ef88b972", + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QLXFtR1cwd0FFLXhXQ1lrLTRjam9nP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022c319091d-5b8c-497c-84d1-bf1c51348a30\u0022}", + "messageId": "350aaa6e5c4f46c8975e4ec4ff098378", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-2ffb872ce82608bb5620dc413b3704bb-db67e93c7f65534b-00" + "Diagnostic-Id": "00-87489f958de6bb710840e88285ec2cad-db0e2bcebb2e31a6-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-3368-4ced-bbee-6e90bcac6b8b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-3368-4ced-bbee-6e90bcac6b8b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pb3o5bFpGaHBVbVlZc0dkdU94ZGxRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u002200013f6e-1d07-4bfd-84db-83f3c374b157\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:25:03.5162872\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-3368-4ced-bbee-6e90bcac6b8b\u0022}]", - "messageId": "f86daecefbd641698078497aaf2ba05e", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-cb9f-4d33-9b6c-ff41da802e01\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-cb9f-4d33-9b6c-ff41da802e01\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QLXFtR1cwd0FFLXhXQ1lrLTRjam9nP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022c319091d-5b8c-497c-84d1-bf1c51348a30\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:40.5083771\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-cb9f-4d33-9b6c-ff41da802e01\u0022}]", + "messageId": "f920334220e24db1b07e093421044331", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,13 +26,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-bc2c1ca4e1459fce3fd14a09bf551d2e-0050b3037ad036bc-00" + "Diagnostic-Id": "00-7160a6e80c6a2b99bef33af3fae26002-433b62ad960b8a1b-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-3368-4ced-bbee-6e90bcac6b8b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002228001d80-3368-4ced-bbee-6e90bcac6b8b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pb3o5bFpGaHBVbVlZc0dkdU94ZGxRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u002200013f6e-1d07-4bfd-84db-83f3c374b157\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-29T00:25:03.6415723\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-3368-4ced-bbee-6e90bcac6b8b\u0022}]", - "messageId": "ad196f2a7b2a48bd9263c555240163a0", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-cb9f-4d33-9b6c-ff41da802e01\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-cb9f-4d33-9b6c-ff41da802e01\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QLXFtR1cwd0FFLXhXQ1lrLTRjam9nP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022c319091d-5b8c-497c-84d1-bf1c51348a30\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:56:40.5083771\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-cb9f-4d33-9b6c-ff41da802e01\u0022}]", + "messageId": "8c1223518a0548adaaecc1a3cca94e29", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -41,13 +41,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-dc0f1d33214659aa16f0f9d3b901c517-cc075df7d841f1ce-00" + "Diagnostic-Id": "00-2caf98ffe82dd1df46654817403c8b49-45ea4cbad415239a-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-3368-4ced-bbee-6e90bcac6b8b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-3368-4ced-bbee-6e90bcac6b8b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pb3o5bFpGaHBVbVlZc0dkdU94ZGxRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u002200013f6e-1d07-4bfd-84db-83f3c374b157\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:25:09.3276983\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-3368-4ced-bbee-6e90bcac6b8b\u0022}]", - "messageId": "daaf1f5cdbec41afa1c9152039e24870", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-cb9f-4d33-9b6c-ff41da802e01\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-cb9f-4d33-9b6c-ff41da802e01\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QLXFtR1cwd0FFLXhXQ1lrLTRjam9nP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022c319091d-5b8c-497c-84d1-bf1c51348a30\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:44.6777197\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-cb9f-4d33-9b6c-ff41da802e01\u0022}]", + "messageId": "61ef38ca8b04479dac0e24db08131580", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -56,13 +56,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-c1f9441ae2440359484fb7e4355789c6-7c927116cc0e8c68-00" + "Diagnostic-Id": "00-7dc94cb689d874c6bfea73fdba365441-67671f0953f51765-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-3368-4ced-bbee-6e90bcac6b8b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-3368-4ced-bbee-6e90bcac6b8b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pb3o5bFpGaHBVbVlZc0dkdU94ZGxRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u002200013f6e-1d07-4bfd-84db-83f3c374b157\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:25:09.5451214\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-3368-4ced-bbee-6e90bcac6b8b\u0022}]", - "messageId": "2708457d3a674b44bde5f4ffa71192d3", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-cb9f-4d33-9b6c-ff41da802e01\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-cb9f-4d33-9b6c-ff41da802e01\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QLXFtR1cwd0FFLXhXQ1lrLTRjam9nP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022c319091d-5b8c-497c-84d1-bf1c51348a30\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:44.8081694\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-cb9f-4d33-9b6c-ff41da802e01\u0022}]", + "messageId": "0c3eb6829a82476784b778edea890879", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -71,13 +71,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-e0298b68c54770971d48517de577c149-98c4ae746c7a23a9-00" + "Diagnostic-Id": "00-2487ccd99c0eae225020fcfbdadc759b-88b62ade3b19cdd5-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-3368-4ced-bbee-6e90bcac6b8b\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002228001d80-3368-4ced-bbee-6e90bcac6b8b\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9pb3o5bFpGaHBVbVlZc0dkdU94ZGxRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u002200013f6e-1d07-4bfd-84db-83f3c374b157\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-29T00:25:09.6618254\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-3368-4ced-bbee-6e90bcac6b8b\u0022}]", - "messageId": "130a4d32354f42bf805e1f0895fd7f91", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-cb9f-4d33-9b6c-ff41da802e01\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:7,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-cb9f-4d33-9b6c-ff41da802e01\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QLXFtR1cwd0FFLXhXQ1lrLTRjam9nP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022c319091d-5b8c-497c-84d1-bf1c51348a30\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:56:44.9848167\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-cb9f-4d33-9b6c-ff41da802e01\u0022}]", + "messageId": "88394cea86aa450ea20c169bd0530b28", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -86,7 +86,22 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-1b4e0824182a3ddbeae4e20621a9b57e-86df08058ea5c09f-00" + "Diagnostic-Id": "00-362245ef9ab621e2c34c1883c07e19aa-6f6e1df8324f1675-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-cb9f-4d33-9b6c-ff41da802e01\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-cb9f-4d33-9b6c-ff41da802e01\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9QLXFtR1cwd0FFLXhXQ1lrLTRjam9nP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u0022c319091d-5b8c-497c-84d1-bf1c51348a30\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:56:45.0795126\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-cb9f-4d33-9b6c-ff41da802e01\u0022}]", + "messageId": "1f125f511899485fac11b6684a8cf4ab", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-9669e9e8c9b8b4351f87b58910759bf1-0809b332f0b8f353-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallUnmixedAudioAffinityTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallUnmixedAudioAffinityTestAsync.json index 8c39731b3f4b..b5d24607ef2b 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallUnmixedAudioAffinityTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/CreateACSCallUnmixedAudioAffinityTestAsync.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9NZHYtNG5BTXJrZTV2ekNSc1o0OUl3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022edeffef7-2514-4f23-b64e-271b3c7d0762\u0022}", - "messageId": "c3b5f67507314723a18100eef418ee39", + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi81dUNITFFjY3RVR1RIcFF3c1czVERnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00221a78725c-1985-4bc6-9c59-3d6773d3fec1\u0022}", + "messageId": "2eb77d726dd8458c847dda621cb7e2b4", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-b62511f4600c8f7b592a293e56ec3710-8fc6cede33510356-00" + "Diagnostic-Id": "00-9df359797b7f4ef30d7e1a79fa94e6b1-1a2f6c3c8f80f654-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-f2d0-4bd2-8322-29bda903f945\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-f2d0-4bd2-8322-29bda903f945\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9NZHYtNG5BTXJrZTV2ekNSc1o0OUl3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022edeffef7-2514-4f23-b64e-271b3c7d0762\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:27:41.7757573\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-f2d0-4bd2-8322-29bda903f945\u0022}]", - "messageId": "88d7a06457ca43038c69f4aaef1f2bad", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002211002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi81dUNITFFjY3RVR1RIcFF3c1czVERnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221a78725c-1985-4bc6-9c59-3d6773d3fec1\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-14T22:57:13.7161757\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022}]", + "messageId": "c77a2ba020444e6db4a4d83d50cef68f", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,13 +26,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-558ef45d91bceb7214120e18691649db-a2b35b0786e0ac6e-00" + "Diagnostic-Id": "00-844f1c068fa0e559216fe66260425ce1-0bbef0307f0b63d4-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-f2d0-4bd2-8322-29bda903f945\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002228001d80-f2d0-4bd2-8322-29bda903f945\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9NZHYtNG5BTXJrZTV2ekNSc1o0OUl3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022edeffef7-2514-4f23-b64e-271b3c7d0762\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-29T00:27:41.9647834\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-f2d0-4bd2-8322-29bda903f945\u0022}]", - "messageId": "4436672e029d43c88d179ec49e0ca8de", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi81dUNITFFjY3RVR1RIcFF3c1czVERnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221a78725c-1985-4bc6-9c59-3d6773d3fec1\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:57:13.712529\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022}]", + "messageId": "c39184fda9524214ba8151347fb12a90", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -41,13 +41,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-87f6902db1f0a66e168f2efc85e82ea5-4666bb148ed82f74-00" + "Diagnostic-Id": "00-83ba442eef4de42937414af010640da8-2611c9dffa494a16-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-f2d0-4bd2-8322-29bda903f945\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-f2d0-4bd2-8322-29bda903f945\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9NZHYtNG5BTXJrZTV2ekNSc1o0OUl3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022edeffef7-2514-4f23-b64e-271b3c7d0762\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:27:47.0898195\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-f2d0-4bd2-8322-29bda903f945\u0022}]", - "messageId": "7c251f203c314688ad7460677b27be15", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi81dUNITFFjY3RVR1RIcFF3c1czVERnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221a78725c-1985-4bc6-9c59-3d6773d3fec1\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:57:16.7954145\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022}]", + "messageId": "05097e32b663435c8490f69688006d0a", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -56,13 +56,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-ec37c1016398e592b9275c1b888b1f0d-d382f86c21525aa8-00" + "Diagnostic-Id": "00-837903e93727bb5f153ef5beb7c25dd8-13cc76bb20e167d2-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-f2d0-4bd2-8322-29bda903f945\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-f2d0-4bd2-8322-29bda903f945\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9NZHYtNG5BTXJrZTV2ekNSc1o0OUl3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022edeffef7-2514-4f23-b64e-271b3c7d0762\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:27:47.3200243\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-f2d0-4bd2-8322-29bda903f945\u0022}]", - "messageId": "f47c9b147bde41c289a8f76047867f15", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:6,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi81dUNITFFjY3RVR1RIcFF3c1czVERnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221a78725c-1985-4bc6-9c59-3d6773d3fec1\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:57:16.9524022\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022}]", + "messageId": "e4577c3c3c6d465cad0359e7348a9726", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -71,13 +71,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-d3b48bc10b0056460bbc8b2dcbf23cf7-6da851f6cf768f1b-00" + "Diagnostic-Id": "00-03e067f7e7facc95cbd1a4f0d2ae6ce1-b32fbed1aac7b99a-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-f2d0-4bd2-8322-29bda903f945\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002228001d80-f2d0-4bd2-8322-29bda903f945\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9NZHYtNG5BTXJrZTV2ekNSc1o0OUl3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022edeffef7-2514-4f23-b64e-271b3c7d0762\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-01-29T00:27:47.4326588\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-f2d0-4bd2-8322-29bda903f945\u0022}]", - "messageId": "e16ce62cfd4a401d9f05e60a329c6344", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:6,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi81dUNITFFjY3RVR1RIcFF3c1czVERnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221a78725c-1985-4bc6-9c59-3d6773d3fec1\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:57:17.0750006\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022}]", + "messageId": "f4dde005143245acb3b12ad21ac8221b", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -86,7 +86,52 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-8e1fa0038b40abc66a3cca84e45470db-06ab0e805693fad1-00" + "Diagnostic-Id": "00-f6b84708bcd659ca9b26621f6dc75cf3-48181aa41a7f5495-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:6,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi81dUNITFFjY3RVR1RIcFF3c1czVERnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221a78725c-1985-4bc6-9c59-3d6773d3fec1\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:57:17.1977963\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022}]", + "messageId": "0318b5ec5a52447383b7279bf7853c7b", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-a55a166286cfd17d38c96a88442f5923-06926211944ff92b-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:10,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002211002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi81dUNITFFjY3RVR1RIcFF3c1czVERnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221a78725c-1985-4bc6-9c59-3d6773d3fec1\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-14T22:57:17.3239863\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022}]", + "messageId": "8a0d97d2d74a4a4f8f3a07425c0c0c8e", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-7b78983d1525225ab02cacc03a7654aa-9570ac6c03797189-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002211002280-4e07-45e8-8cdf-a5b176471df5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDQtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi81dUNITFFjY3RVR1RIcFF3c1czVERnP2k9MTAtMTI4LTE0NS0xMzcmZT02Mzg3NTE2ODc0NTQwODE2OTg=\u0022,\u0022correlationId\u0022:\u00221a78725c-1985-4bc6-9c59-3d6773d3fec1\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-02-14T22:57:17.3524897\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/11002280-4e07-45e8-8cdf-a5b176471df5\u0022}]", + "messageId": "4ba6a6156f644196901a156131567d65", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-56d38b897e6490ef3eda23ad9059e916-740ad80baa7431b5-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/GetRecordingTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/GetRecordingTest.json deleted file mode 100644 index 01737fceda5c..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/GetRecordingTest.json +++ /dev/null @@ -1,229 +0,0 @@ -{ - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022}", - "messageId": "b166404797e347879da32538c421c542", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-f74071770279061982fdf9878e15cec3-d39acc48e800b488-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:06.1267101\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022}]", - "messageId": "fcb420d8186741dc876b5163aaec1941", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-6b2a992df5fbdd6feef193a926e46e85-4907c9812e4ab07b-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002213006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-05-23T19:23:06.2384886\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022}]", - "messageId": "b0650bbb8e2648fda4dd875da55118a5", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-7f147cf9d288c48be60e80cb12ab8de6-80bcabd46fdc3592-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:09.2953146\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022}]", - "messageId": "1d0faf2c7e664347bca32ff54d428468", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-6b57675a58d675a2175822505f2ef057-b19bf61da4949f85-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:09.40555\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022}]", - "messageId": "0caeae1b591145468e904128e1655aa8", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-76543ad4fc645794ac1d72345163ea73-2623f3b9b6a0c9db-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:6,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:09.5313501\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022}]", - "messageId": "39e3a105220245bd97d85cf322512bd7", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-d65aab989e2ccdf0dd99dc88c9654a74-a92a66c093e6ae47-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:6,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:09.6736784\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022}]", - "messageId": "b2213204674e41c5a580e0f7243d78f0", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-18b81e58e20d2c00109b08ada16a7779-94ce6007ed537e2b-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.PlayStarted\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u00223643a510-edc9-4937-8372-d0ad5cb656ee\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002213006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.PlayStarted\u0022},\u0022time\u0022:\u00222025-05-23T19:23:09.705697\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022}]", - "messageId": "ba9c867d8e05423b908938d587ce2bc3", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-743843f287414bf776371472dc7f663a-5eaa0534657e8305-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:7,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:09.8005311\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022}]", - "messageId": "9a31106022db44db9673c2161d45ad49", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-e4a6981aa14d954ebf86918fa23b27a0-07303c666183a99e-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:8,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:09.9109962\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022}]", - "messageId": "51e3f414dbba433f87f861c7539e4150", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-4e4a955c97216507ec5c85c7e1d38821-6c3312f53c60cc03-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:9,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:10.367713\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022}]", - "messageId": "41f71b8cb1fc4f5a815f73277c9aaecf", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-527e1339217c9f3030ab53b492021827-aa86143f01adf5fd-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.PlayCompleted\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u00223643a510-edc9-4937-8372-d0ad5cb656ee\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002213006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.PlayCompleted\u0022},\u0022time\u0022:\u00222025-05-23T19:23:13.9272641\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022}]", - "messageId": "1b0e9c94011b425eaaf52a1c8e041d08", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-cb25d8a9d563c3e0906549bf6f2a575a-bed06dbc7a6e5d16-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:10,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:14.3676063\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022}]", - "messageId": "dfab280ac1c64607a0be686e100aabfb", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-952fad2f7469f6e595d94676963f5e4f-76a8d9828869364d-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:11,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:14.4939684\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022}]", - "messageId": "4946d42facef4c27ad1b902850c46b9c", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-c611824540e64ad1f6fbf36e1873d865-ffcab4093a3166e0-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002213006880-3cf0-4900-9499-fa9a219a21eb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9HN2NsVFFGc29FcXlGQmFCT0R6NzRRP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022143ffca5-9a51-49ad-88f7-232029627039\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-05-23T19:23:19.6752668\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-3cf0-4900-9499-fa9a219a21eb\u0022}]", - "messageId": "01a644d647284b8eaf221e8def0e0fa9", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-a9745859c04f04bb69631ee56910418f-2eebaba18d71d287-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/GetRecordingTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/GetRecordingTestAsync.json deleted file mode 100644 index 439237e784ce..000000000000 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/GetRecordingTestAsync.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "entries": [ - { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XOERFMFdYZWxrYUw1WmRsV0JZRmdBP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022453f7f18-7c67-4d1f-b735-aa0ddf44f284\u0022}", - "messageId": "a85b02075c5644e885a859d7ba2cd18c", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-ae4daf4a07af5e9d8838bef1d405373e-b97d23a6953e891e-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XOERFMFdYZWxrYUw1WmRsV0JZRmdBP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022453f7f18-7c67-4d1f-b735-aa0ddf44f284\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:28.2127049\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022}]", - "messageId": "d7028698dfd948459d69fce38e52abee", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-168c45a72c1fee328695a9aa4c5ea432-f57dd7fd6d1005c3-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002213006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XOERFMFdYZWxrYUw1WmRsV0JZRmdBP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022453f7f18-7c67-4d1f-b735-aa0ddf44f284\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-05-23T19:23:28.4020454\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022}]", - "messageId": "61d23f80a77241748d31305a9d0e2dd6", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-e002f9fad67922591d79c85f3ad2aaad-14df730f02a47787-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XOERFMFdYZWxrYUw1WmRsV0JZRmdBP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022453f7f18-7c67-4d1f-b735-aa0ddf44f284\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:31.769159\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022}]", - "messageId": "37ab639611fc4cd7b11044f1a99142c0", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-56c97ddc94ee8cc183e2aa64e2f490a1-77a77396f7219da7-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.PlayStarted\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u00222cc4ba84-81d8-4d3b-9781-7a7e20b88274\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002213006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XOERFMFdYZWxrYUw1WmRsV0JZRmdBP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022453f7f18-7c67-4d1f-b735-aa0ddf44f284\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.PlayStarted\u0022},\u0022time\u0022:\u00222025-05-23T19:23:31.8171207\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022}]", - "messageId": "6b1a185621ad4ba3b0606f3c3778ef42", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-a5ea062395d585e2b4fe02f33635b5be-dcc056fffd529d24-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XOERFMFdYZWxrYUw1WmRsV0JZRmdBP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022453f7f18-7c67-4d1f-b735-aa0ddf44f284\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:31.8897751\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022}]", - "messageId": "d35ec131dbab46ee8220c1e6fb2511ab", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-139cdd2d6cacee822ca2ef73d47c7f05-6764edf4b20f3f47-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:5,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XOERFMFdYZWxrYUw1WmRsV0JZRmdBP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022453f7f18-7c67-4d1f-b735-aa0ddf44f284\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:32.0004491\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022}]", - "messageId": "3c97de756d254607a30b3f701b861dbe", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-7a795737af28850b260e399c5489c67e-c306192a2000376e-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:6,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XOERFMFdYZWxrYUw1WmRsV0JZRmdBP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022453f7f18-7c67-4d1f-b735-aa0ddf44f284\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:32.1168045\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022}]", - "messageId": "7f11c41fad7e45f3badf549200338427", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-9627c7220dbc60e32734afa97ff22e48-e0b5d98ca3e9f0b2-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:7,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XOERFMFdYZWxrYUw1WmRsV0JZRmdBP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022453f7f18-7c67-4d1f-b735-aa0ddf44f284\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:32.345348\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022}]", - "messageId": "bf90a8ae1f0b4127b68440cae89509b5", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-f5302c51ce1244caaa1a2bf5743d15b1-7df6e17110253f34-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:8,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XOERFMFdYZWxrYUw1WmRsV0JZRmdBP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022453f7f18-7c67-4d1f-b735-aa0ddf44f284\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:32.8470544\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022}]", - "messageId": "ee4e1d407a2b412d921596a73b07f1ae", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-7d5a5d13038b4b50b077652f5c2e3a3a-afb82d611e80fa5d-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.PlayCompleted\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022operationContext\u0022:\u00222cc4ba84-81d8-4d3b-9781-7a7e20b88274\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022Action completed successfully.\u0022},\u0022callConnectionId\u0022:\u002213006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XOERFMFdYZWxrYUw1WmRsV0JZRmdBP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022453f7f18-7c67-4d1f-b735-aa0ddf44f284\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.PlayCompleted\u0022},\u0022time\u0022:\u00222025-05-23T19:23:36.0376779\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022}]", - "messageId": "98a8034bfa1544b29785fbda433072eb", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-c3e83908fbc5f2eb4edccd930edb2bc2-fc377bdf121e6105-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:9,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XOERFMFdYZWxrYUw1WmRsV0JZRmdBP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022453f7f18-7c67-4d1f-b735-aa0ddf44f284\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:36.4627812\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022}]", - "messageId": "2060735bd27645eba159e3eff602f545", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-d315d3e61d9c79e2ef01c481b3b95e58-b971e623718f1c1c-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:10,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002213006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XOERFMFdYZWxrYUw1WmRsV0JZRmdBP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022453f7f18-7c67-4d1f-b735-aa0ddf44f284\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-05-23T19:23:36.9035215\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022}]", - "messageId": "b28824566d214f078dca604b7da6254f", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-fad409ca7b9ba48bb20e1c54f43aea0a-e0792261ef1c3262-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - }, - { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:7000,\u0022message\u0022:\u0022The conversation has ended. DiagCode: 0#7000.@\u0022},\u0022callConnectionId\u0022:\u002213006880-5892-478c-b0b9-affcd8ad17a5\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9XOERFMFdYZWxrYUw1WmRsV0JZRmdBP2k9MTAtMTI4LTEwMi0yNTUmZT02Mzg4MzM3MTY3NTIxNjI2NDk=\u0022,\u0022correlationId\u0022:\u0022453f7f18-7c67-4d1f-b735-aa0ddf44f284\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallDisconnected\u0022},\u0022time\u0022:\u00222025-05-23T19:23:42.0196556\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/13006880-5892-478c-b0b9-affcd8ad17a5\u0022}]", - "messageId": "e031d8cf568a43a18bf64ba26e5492f9", - "partitionKey": null, - "sessionId": null, - "replyToSessionId": null, - "correlationId": null, - "subject": null, - "contentType": null, - "replyTo": null, - "applicationProperties": { - "Diagnostic-Id": "00-d82c953b3e867ee99d42275db3b242eb-534b317865070a88-00" - }, - "enqueuedTime": "0001-01-01T00:00:00+00:00" - } - ] -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/StartRecordingWithCallConnectionIdTest.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/StartRecordingWithCallConnectionIdTest.json index 63e010544fd1..b8d24bf2f6f7 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/StartRecordingWithCallConnectionIdTest.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/StartRecordingWithCallConnectionIdTest.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qanNKb1h1VVJrYVI5UzdJM3JXTzZRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00222a8987d3-fab9-43fa-84cf-7c6723847672\u0022}", - "messageId": "bcc04ec4352a4d0f90370ff343f0f64b", + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022}", + "messageId": "6bf3cfdc2e3b4e408437dac1c4882ceb", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-76cc5ba52f2c96578028a779425c310d-64d1d2f07554c2a3-00" + "Diagnostic-Id": "00-a7659bbc5f643936bd69dc8c22933004-7219a5523e7f5d66-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qanNKb1h1VVJrYVI5UzdJM3JXTzZRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00222a8987d3-fab9-43fa-84cf-7c6723847672\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:26:28.7562727\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022}]", - "messageId": "ad46e9245edb42eba258be0fbeac3b26", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:06:39.3840165\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022}]", + "messageId": "ef7d7cf1305e49f1b852c824c8569fe6", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,13 +26,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-b7547606b6ad1dc4dde647326d8be432-b2082f2aba0deb64-00" + "Diagnostic-Id": "00-5e236f883738b456012f2b36a46a9a58-b342617dbf7400e6-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002228001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qanNKb1h1VVJrYVI5UzdJM3JXTzZRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00222a8987d3-fab9-43fa-84cf-7c6723847672\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-29T00:26:28.9554286\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022}]", - "messageId": "d1741c98e9684c5698c74688c659ab12", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002202009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-18T05:06:39.4424036\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022}]", + "messageId": "630e462ba0a84c7c87e83fe7ad3a2be1", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -41,13 +41,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-e8b7497bbd9a119b2683ab631480d08d-7f4a90364cf9e2e8-00" + "Diagnostic-Id": "00-1ce8aa1c7381bc1d07834aef823cee6f-53d5bfb6ada536d0-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qanNKb1h1VVJrYVI5UzdJM3JXTzZRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00222a8987d3-fab9-43fa-84cf-7c6723847672\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:26:31.520447\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022}]", - "messageId": "4554ff00ad714d65ad21420a69b35167", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:06:43.1103196\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022}]", + "messageId": "1a3b900e2b614a43bceea649e5956721", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -56,13 +56,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-18762a2ab7ad526915cd76c81ece5b3e-e9d4cee7ab600ec0-00" + "Diagnostic-Id": "00-ccf3e0b7e65422a6ed2f9ac3bd71dd7b-9d08712235d3c472-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qanNKb1h1VVJrYVI5UzdJM3JXTzZRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00222a8987d3-fab9-43fa-84cf-7c6723847672\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:26:32.712961\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022}]", - "messageId": "c964ea83bd30406c94e7a00f6e61d249", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:5,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:06:45.4442402\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022}]", + "messageId": "fdd897407f994be8b4403d1c95274818", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -71,13 +71,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-09caa5ef5b658d941c161775ea92a289-38d3fcab11017bcc-00" + "Diagnostic-Id": "00-96f513e5b9cfbad4561ab56dbb7cb72b-f42ade8fdc26cfbd-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:6,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qanNKb1h1VVJrYVI5UzdJM3JXTzZRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00222a8987d3-fab9-43fa-84cf-7c6723847672\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:26:32.9587854\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022}]", - "messageId": "ceebbb1f2b8f424083b4c6814c12c108", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:5,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:06:45.695576\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022}]", + "messageId": "db603de4f3ff4bbaa0d5d9601152431f", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -86,13 +86,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-cb21c2fda70278702ac78b88280f475c-f301f7731d9e7d08-00" + "Diagnostic-Id": "00-ccfcce91218270efa300c9092715089e-b13fcf13f82dc13f-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:6,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qanNKb1h1VVJrYVI5UzdJM3JXTzZRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00222a8987d3-fab9-43fa-84cf-7c6723847672\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:26:33.2097817\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022}]", - "messageId": "bf6eb4cca336472ba4df3a844e530343", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:7,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:06:45.8123667\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022}]", + "messageId": "8b2e956154b0459686a5ff0d8b8cf69f", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -101,13 +101,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-92519bb004e7976cffa2b70fc29ac291-f344327f18cfa3bd-00" + "Diagnostic-Id": "00-c0839a6cf6851be2fcff56718f688c42-9590e20c2c884268-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:7,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qanNKb1h1VVJrYVI5UzdJM3JXTzZRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00222a8987d3-fab9-43fa-84cf-7c6723847672\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:26:33.4420714\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022}]", - "messageId": "40478a085cf249b9a4b73afc90e33ace", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:7,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:06:45.9450899\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022}]", + "messageId": "799a2e44e99f4b35aac2f79132febf49", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -116,13 +116,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-330c58c22515154519f45b0ff2bbebc5-43627ea88d591c29-00" + "Diagnostic-Id": "00-e55b58c90dbda77d1d36d05387be921a-96da081fc3df4f4a-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:8,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qanNKb1h1VVJrYVI5UzdJM3JXTzZRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00222a8987d3-fab9-43fa-84cf-7c6723847672\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:26:33.7369938\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022}]", - "messageId": "22ec9bc54e5043b6a8beaafe8beb0743", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:11,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:06:46.0657542\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022}]", + "messageId": "d7bdf872d71e46a999bf14fa48b04e66", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -131,13 +131,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-ab9c72de382b9d4e49b5c21db4c1b510-01430058ac2ac6e5-00" + "Diagnostic-Id": "00-87e1516108c8e62d9b8e8e1cdc97f9c2-9e07d9adf6baae0c-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:9,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qanNKb1h1VVJrYVI5UzdJM3JXTzZRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00222a8987d3-fab9-43fa-84cf-7c6723847672\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:26:41.233808\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022}]", - "messageId": "d9250fd52cd144179fbdac359ed75aac", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:11,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:06:46.1917826\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022}]", + "messageId": "c22e376068a24ada8e0f4f4bab21f205", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -146,13 +146,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-6cdf378d31ad88dcd3f5101175164562-0619635825dccaa8-00" + "Diagnostic-Id": "00-bde2ce57f38acd8fcfef01f87c41546b-aae35922841caccf-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:10,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qanNKb1h1VVJrYVI5UzdJM3JXTzZRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00222a8987d3-fab9-43fa-84cf-7c6723847672\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:26:51.5635109\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022}]", - "messageId": "f2f79dcd835843ff9795ecab858ce70b", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:11,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:06:46.3387772\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022}]", + "messageId": "74cbb816e90841dc9259486862172b85", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -161,13 +161,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-e8638dd38e20afc8261a3ead8f902237-0937b3ed0098f20c-00" + "Diagnostic-Id": "00-03f6538f3216efdae3a68c21e7985fff-3787b26c7392cc23-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:11,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-ccac-4846-978f-3d431fd137af\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qanNKb1h1VVJrYVI5UzdJM3JXTzZRP2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u00222a8987d3-fab9-43fa-84cf-7c6723847672\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:27:01.8514314\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-ccac-4846-978f-3d431fd137af\u0022}]", - "messageId": "e02bebcb0a334e63b8ca9bdc24dff228", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:11,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:06:46.4639565\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022}]", + "messageId": "478497a2ef1740a0aa19c310fe43ca8c", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -176,7 +176,52 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-8c062a2c67f713f7ff46a2ffa0688072-0d2de2620f1bdc31-00" + "Diagnostic-Id": "00-7ad2e70b433c5d531248030e18f16172-bb9f60b6f63ab972-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:12,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:06:51.2708319\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022}]", + "messageId": "4bd0379f60d14f4fb68486b18960b3ae", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-78bb0407931700b046defd6adeaf0bea-527694b4d2a671d1-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:13,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:01.5062464\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022}]", + "messageId": "547cbc1890f94c799a871b9b66eb9079", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-7b6dde23e54d953b80d20e3eb1d3594d-4d668fcb7ca75e3a-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:14,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-ab64-4f18-a6bf-99c126a339fb\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L3F0Qkowdm5paTBLX1V3N2pMNUJNWEE/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u00223c94fb66-de2c-4f6a-a8ca-70be69d25713\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:11.7823723\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-ab64-4f18-a6bf-99c126a339fb\u0022}]", + "messageId": "84b87e9eced64494ba022e202176cd88", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-938924e5ff2088aebcaa4d9b002487d9-a4d66b0732fbf90f-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/StartRecordingWithCallConnectionIdTestAsync.json b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/StartRecordingWithCallConnectionIdTestAsync.json index 9023f78686a9..28d54d5bf959 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/StartRecordingWithCallConnectionIdTestAsync.json +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/StartRecordingWithCallConnectionIdTestAsync.json @@ -1,8 +1,8 @@ { "entries": [ { - "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qcnNkSnZ3ODVFLVhkN0N4U0FXRTZ3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022dbc8c4df-66d4-452c-8f17-85dd023e73cc\u0022}", - "messageId": "08fc153fed6045edb77a54db545ab839", + "body": "{\u0022to\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022from\u0022:{\u0022kind\u0022:\u0022communicationUser\u0022,\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022callerDisplayName\u0022:\u0022Sanitized\u0022,\u0022incomingCallContext\u0022:\u0022Sanitized\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022}", + "messageId": "5afcfb2aaebc4b0e97bb6c3dea16c7e0", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -11,13 +11,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-16b5a05965360d7e13a0ec2781ad6520-ec34fe721c03f9b1-00" + "Diagnostic-Id": "00-1a22530c71928f41ada91450f1d38d04-ec0b624b3574e005-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qcnNkSnZ3ODVFLVhkN0N4U0FXRTZ3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022dbc8c4df-66d4-452c-8f17-85dd023e73cc\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:29:02.3935253\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022}]", - "messageId": "dbac176da2124e38b79194b0d1984013", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:1,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:29.0984643\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "b87169127feb454ebba778d917347fcc", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -26,13 +26,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-efeb55f03ae2c8d7a998de7b83d94e70-8bebf5f0c2676587-00" + "Diagnostic-Id": "00-f818feb2ea061d6f50bf51623b33b269-cc5e091c463ffddc-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002228001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qcnNkSnZ3ODVFLVhkN0N4U0FXRTZ3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022dbc8c4df-66d4-452c-8f17-85dd023e73cc\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-01-29T00:29:02.5452723\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022}]", - "messageId": "71212d4cc7144725985a134e5321d977", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.CallConnected\u0022,\u0022data\u0022:{\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.CallConnected\u0022},\u0022time\u0022:\u00222025-02-18T05:07:29.1444596\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "8b956b483ebf4aafb3300b8f436235ac", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -41,13 +41,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-69eff8e7b546d3e2dbf54c0283f27269-d516ce7e92167848-00" + "Diagnostic-Id": "00-70af6d5d6a70a75eb113d07410e6cb30-35dddfc1bd674391-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qcnNkSnZ3ODVFLVhkN0N4U0FXRTZ3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022dbc8c4df-66d4-452c-8f17-85dd023e73cc\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:29:05.4142041\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022}]", - "messageId": "deb63ba50dbd4c058a3db24700a8fab7", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:3,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:32.377147\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "b1a9fca7e5ff458b8d10148440b96c35", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -56,13 +56,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-5ad98c0a2d0a2b575dd51d2916908d2f-5b1a2470c16cf224-00" + "Diagnostic-Id": "00-926aa3ea53d4fc207fbc54a01f3f6cac-2ffa235c025d9798-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qcnNkSnZ3ODVFLVhkN0N4U0FXRTZ3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022dbc8c4df-66d4-452c-8f17-85dd023e73cc\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:29:07.4863376\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022}]", - "messageId": "32df2cd67a944e5b9df522545612f30a", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:4,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:33.615197\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "8701119a1bd64e9eb6264fc1468f3265", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -71,13 +71,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-72442e6727b303c3118885b2e2d3afa0-eb141ccb0ddf7ef6-00" + "Diagnostic-Id": "00-1161535178defa5dae004f68f414739e-a67c749d5489ff57-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:6,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qcnNkSnZ3ODVFLVhkN0N4U0FXRTZ3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022dbc8c4df-66d4-452c-8f17-85dd023e73cc\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:29:07.7570145\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022}]", - "messageId": "d61290d4ddd04ca7be0288044a5c5602", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:7,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:33.7879653\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "86d5db639e6841c593a637a104f6ef12", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -86,13 +86,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-e9ae2979a193b70422656e338399a37d-b84b0764fa7a94e2-00" + "Diagnostic-Id": "00-9f2bfc2b396c661dc2428f75e7c1b9ce-61c26e9c93052e95-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:6,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qcnNkSnZ3ODVFLVhkN0N4U0FXRTZ3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022dbc8c4df-66d4-452c-8f17-85dd023e73cc\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:29:07.97453\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022}]", - "messageId": "db2a65ed6110479682e4287bfafbb97b", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:7,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:33.9229957\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "41eed04c89a14273842f5e6f267deda0", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -101,13 +101,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-cd426ab25d07ab8272f5877bbc2c5036-633b59abfa9552b1-00" + "Diagnostic-Id": "00-e936fe7eb13d15591f263e89e40d08f1-ae73f941802fda07-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:7,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qcnNkSnZ3ODVFLVhkN0N4U0FXRTZ3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022dbc8c4df-66d4-452c-8f17-85dd023e73cc\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:29:08.2154705\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022}]", - "messageId": "15da873b202c47cda1f4632c906f65a3", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:7,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:34.0416481\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "c749eb7412654884bd6948f17764361e", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -116,13 +116,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-bc01e227594165c6e1ccd0409ae20fc2-c7ab42614218ce25-00" + "Diagnostic-Id": "00-c9d853fa838f85a957b35ce43eab3a7f-7cd2fa0df951481e-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:8,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qcnNkSnZ3ODVFLVhkN0N4U0FXRTZ3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022dbc8c4df-66d4-452c-8f17-85dd023e73cc\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:29:08.4399717\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022}]", - "messageId": "23a299028dbf4fd3a7ecf46a36ea1552", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:9,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:34.1753946\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "b2019ca8e92f4678a16bfa97fdbae4d3", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -131,13 +131,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-174515fc4d8db8a6a2da10940f04a922-87f3f4fb3f4abaab-00" + "Diagnostic-Id": "00-6a29a3ec8bfb046b11e5af96aa8d84a9-5aa5155ac92db469-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:9,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qcnNkSnZ3ODVFLVhkN0N4U0FXRTZ3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022dbc8c4df-66d4-452c-8f17-85dd023e73cc\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:29:08.6752097\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022}]", - "messageId": "49b96548fa3547738f6591d392030782", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:9,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:34.3007629\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "72716a69dbba44eeaa482beb632da517", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -146,13 +146,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-3b39790e811312fbb252155894a417d8-78cdbb5c017420bf-00" + "Diagnostic-Id": "00-7b40d8c888aa7705fa98ecc5574e3d7e-1a2f204678357ce7-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:10,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qcnNkSnZ3ODVFLVhkN0N4U0FXRTZ3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022dbc8c4df-66d4-452c-8f17-85dd023e73cc\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:29:15.3143623\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022}]", - "messageId": "3c304d676c304ca79d1e6b94e8093310", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:11,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:34.422885\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "2dccd89513b04750ba372b6f79b08e76", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -161,13 +161,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-d40004bda324291723de1ff93cc60457-41a1d410a4b9bc63-00" + "Diagnostic-Id": "00-55893144e9ea6d494321a53c544624bd-ad1a44d66e2c6f2f-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:11,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qcnNkSnZ3ODVFLVhkN0N4U0FXRTZ3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022dbc8c4df-66d4-452c-8f17-85dd023e73cc\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:29:25.5709145\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022}]", - "messageId": "c52e75fc0c6e4e5aba54732a3bb7a416", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:11,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:34.5467712\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "142c25f944c9424a857c353dd8b513bf", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -176,13 +176,13 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-8fc85d00f04bc50ec66f97b30abec865-d3c717510f9f3efd-00" + "Diagnostic-Id": "00-68a9564dc698402e2ffa250db77848cc-7645426dab6115f9-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" }, { - "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:12,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-09-01-preview\u0022,\u0022callConnectionId\u0022:\u002228001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEtMDUtcHJvZC1ha3MuY29udi5za3lwZS5jb20vY29udi9qcnNkSnZ3ODVFLVhkN0N4U0FXRTZ3P2k9MTAtNjAtNDMtMjMzJmU9NjM4NzMzNjc1MzcyNTI2ODQ1\u0022,\u0022correlationId\u0022:\u0022dbc8c4df-66d4-452c-8f17-85dd023e73cc\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-01-29T00:29:35.8426581\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/28001d80-d3bc-4513-b5a1-f9e3aa181b1f\u0022}]", - "messageId": "7006c0b33ae9423080a5a4b0a34981ac", + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:12,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:34.6760714\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "87fcfe995fba46abbd892162d431bc9b", "partitionKey": null, "sessionId": null, "replyToSessionId": null, @@ -191,7 +191,67 @@ "contentType": null, "replyTo": null, "applicationProperties": { - "Diagnostic-Id": "00-3026a362103cd69622948c183e0e21ba-29925c6a1266b109-00" + "Diagnostic-Id": "00-5fc399a18ceab0f552644cd3a270f659-8f78e41651d4eac6-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:13,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:34.7991422\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "220d731282eb44e29a492e084a8d3556", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-58ab8bccc0dac9b3a93c6bca6c30d186-25214d5db5b4e945-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:14,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:41.013007\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "38b591311ac145a1a7e3e39952ff52f2", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-b9f4f27bfb06d3cc09a6edd242709077-9df4449518739392-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:15,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:07:51.2573513\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "dfbc2c96de364235b768781d1a7c0097", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-eb5113fc4b2f7d7b0428df5ccb1bd089-c1a9a21a203dded1-00" + }, + "enqueuedTime": "0001-01-01T00:00:00+00:00" + }, + { + "body": "[{\u0022id\u0022:\u0022Sanitized\u0022,\u0022source\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022type\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022,\u0022data\u0022:{\u0022participants\u0022:[{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false},{\u0022identifier\u0022:{\u0022rawId\u0022:\u0022Sanitized\u0022,\u0022kind\u0022:\u0022communicationUser\u0022,\u0022communicationUser\u0022:{\u0022id\u0022:\u0022Sanitized\u0022}},\u0022isMuted\u0022:false,\u0022isOnHold\u0022:false}],\u0022sequenceNumber\u0022:16,\u0022resultInformation\u0022:{\u0022code\u0022:200,\u0022subCode\u0022:0,\u0022message\u0022:\u0022\u0022},\u0022version\u0022:\u00222024-01-22-preview\u0022,\u0022callConnectionId\u0022:\u002202009280-1322-4e9e-b349-daf4711127ad\u0022,\u0022serverCallId\u0022:\u0022aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzd2UtMDEtc2RmLWFrcy5jb252LnNreXBlLmNvbS9jb252L212ZDloU0FHMjBHQ09YVmZkc0kyWmc/aT0xMC0xMjgtNzAtNjgmZT02Mzg3NTE1NTg3MjM3NDUyMTc=\u0022,\u0022correlationId\u0022:\u0022b9a72ccf-01b9-42d0-961f-daf3a6f288c3\u0022,\u0022publicEventType\u0022:\u0022Microsoft.Communication.ParticipantsUpdated\u0022},\u0022time\u0022:\u00222025-02-18T05:08:01.5054984\\u002B00:00\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022,\u0022subject\u0022:\u0022calling/callConnections/02009280-1322-4e9e-b349-daf4711127ad\u0022}]", + "messageId": "f0756c827f7d475a922e1ff1241e5542", + "partitionKey": null, + "sessionId": null, + "replyToSessionId": null, + "correlationId": null, + "subject": null, + "contentType": null, + "replyTo": null, + "applicationProperties": { + "Diagnostic-Id": "00-4ffe57c2714ea9c0246fdeeef36f5011-140e2f2fb1f61552-00" }, "enqueuedTime": "0001-01-01T00:00:00+00:00" } diff --git a/sdk/communication/Azure.Communication.CallAutomation/tests/Streaming/StreamingDataParserTests.cs b/sdk/communication/Azure.Communication.CallAutomation/tests/Streaming/StreamingDataParserTests.cs index 8d0bd6d9a121..6c2138b081bc 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/tests/Streaming/StreamingDataParserTests.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/tests/Streaming/StreamingDataParserTests.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Generic; using System.Linq; +using Newtonsoft.Json.Linq; using NUnit.Framework; namespace Azure.Communication.CallAutomation.Tests.MediaStreaming @@ -131,22 +132,6 @@ public void ParseTranscriptionData_Test() ValidateTranscriptionData(transcription); } - [Test] - public void ParseTranscriptionDataWithWordsNull_Test() - { - var data = "{" + - "\"kind\":\"TranscriptionData\"," + - "\"transcriptionData\":" + - "{\"text\":\"store hours\"," + - "\"format\":\"display\"," + - "\"offset\":49876484," + - "\"duration\":9200000," + - "\"participantRawID\":\"abc12345\"," + - "\"resultStatus\":\"Intermediate\"}}"; - TranscriptionData transcription = (TranscriptionData)StreamingData.Parse(data); - ValidateTranscriptionDataWithWordsNull(transcription); - } - private static void ValidateTranscriptionMetadata(TranscriptionMetadata transcriptionMetadata) { Assert.IsNotNull(transcriptionMetadata); @@ -156,43 +141,171 @@ private static void ValidateTranscriptionMetadata(TranscriptionMetadata transcri Assert.AreEqual("correlationId", transcriptionMetadata.CorrelationId); } - private static void ValidateTranscriptionDataWithWordsNull(TranscriptionData transcription) - { - Assert.IsNotNull(transcription); - Assert.AreEqual("store hours", transcription.Text); - Assert.AreEqual(TextFormat.Display, transcription.Format); - Assert.AreEqual(49876484, transcription.Offset.Ticks); - Assert.AreEqual(9200000, transcription.Duration.Ticks); - - Assert.IsTrue(transcription.Participant is CommunicationIdentifier); - Assert.AreEqual("abc12345", transcription.Participant.RawId); - Console.WriteLine(transcription.ResultState.ToString()); - Assert.AreEqual(TranscriptionResultState.Intermediate, transcription.ResultState); - } - private static void ValidateTranscriptionData(TranscriptionData transcription) { Assert.IsNotNull(transcription); Assert.AreEqual("Hello World!", transcription.Text); Assert.AreEqual(TextFormat.Display, transcription.Format); Assert.AreEqual(0.98d, transcription.Confidence); - Assert.AreEqual(1, transcription.Offset.Ticks); - Assert.AreEqual(2, transcription.Duration.Ticks); + Assert.AreEqual(1, transcription.Offset); + Assert.AreEqual(2, transcription.Duration); // validate individual words IList words = transcription.Words.ToList(); Assert.AreEqual(2, words.Count); Assert.AreEqual("Hello", words[0].Text); - Assert.AreEqual(1, words[0].Offset.Ticks); - Assert.AreEqual(1, words[0].Duration.Ticks); + Assert.AreEqual(1, words[0].Offset); + Assert.AreEqual(1, words[0].Duration); Assert.AreEqual("World", words[1].Text); - Assert.AreEqual(6, words[1].Offset.Ticks); - Assert.AreEqual(1, words[1].Duration.Ticks); + Assert.AreEqual(6, words[1].Offset); + Assert.AreEqual(1, words[1].Duration); Assert.IsTrue(transcription.Participant is CommunicationIdentifier); Assert.AreEqual("abc12345", transcription.Participant.RawId); - Console.WriteLine(transcription.ResultState.ToString()); - Assert.AreEqual(TranscriptionResultState.Final, transcription.ResultState); + Console.WriteLine(transcription.ResultStatus.ToString()); + Assert.AreEqual(ResultStatus.Final, transcription.ResultStatus); + } + #endregion + + #region Transcription-StreamingDataParser + + [Test] + public void ParseTranscriptionMetadata_DataParser_Test() + { + var metadataJson = + "{" + + "\"kind\":\"TranscriptionMetadata\"," + + "\"transcriptionMetadata\":" + + "{" + + "\"subscriptionId\":\"subscriptionId\"," + + "\"locale\":\"en-US\"," + + "\"callConnectionId\":\"callConnectionId\"," + + "\"correlationId\":\"correlationId\"" + + "}" + + "}"; + + TranscriptionMetadata streamingMetadata = (TranscriptionMetadata)StreamingDataParser.Parse(metadataJson); + ValidateTranscriptionMetadata(streamingMetadata); + } + + [Test] + public void ParseTranscriptionData_DataParser_Test() + { + var transcriptionJson = + "{" + + "\"kind\":\"TranscriptionData\"," + + "\"transcriptionData\":" + + "{" + + "\"text\":\"Hello World!\"," + + "\"format\":\"display\"," + + "\"confidence\":0.98," + + "\"offset\":1," + + "\"duration\":2," + + "\"words\":" + + "[" + + "{" + + "\"text\":\"Hello\"," + + "\"offset\":1," + + "\"duration\":1" + + "}," + + "{" + + "\"text\":\"World\"," + + "\"offset\":6," + + "\"duration\":1" + + "}" + + "]," + + "\"participantRawID\":\"abc12345\"," + + "\"resultStatus\":\"final\"" + + "}" + + "}"; + + TranscriptionData transcription = (TranscriptionData)StreamingDataParser.Parse(transcriptionJson); + ValidateTranscriptionData(transcription); + } + + [Test] + public void ParseTranscriptionBinaryData() + { + JObject jsonData = new() + { + ["kind"] = "TranscriptionData", + ["transcriptionData"] = new JObject() + }; + jsonData["transcriptionData"]!["text"] = "Hello World!"; + jsonData["transcriptionData"]!["format"] = "display"; + jsonData["transcriptionData"]!["confidence"] = 0.98d; + jsonData["transcriptionData"]!["offset"] = 1; + jsonData["transcriptionData"]!["duration"] = 2; + + JArray words = new(); + jsonData["transcriptionData"]!["words"] = words; + + JObject word0 = new() + { + ["text"] = "Hello", + ["offset"] = 1, + ["duration"] = 1 + }; + words.Add(word0); + + JObject word1 = new() + { + ["text"] = "World", + ["offset"] = 6, + ["duration"] = 1 + }; + words.Add(word1); + + jsonData["transcriptionData"]!["participantRawID"] = "abc12345"; + jsonData["transcriptionData"]!["resultStatus"] = "final"; + + var binaryData = BinaryData.FromString(jsonData.ToString()); + + TranscriptionData transcription = (TranscriptionData)StreamingDataParser.Parse(binaryData); + ValidateTranscriptionData(transcription); + } + + [Test] + public void ParseTranscriptionDataEventsWithBinaryArray() + { + JObject jsonData = new() + { + ["kind"] = "TranscriptionData", + ["transcriptionData"] = new JObject() + }; + jsonData["transcriptionData"]!["text"] = "Hello World!"; + jsonData["transcriptionData"]!["format"] = "display"; + jsonData["transcriptionData"]!["confidence"] = 0.98d; + jsonData["transcriptionData"]!["offset"] = 1; + jsonData["transcriptionData"]!["duration"] = 2; + + JArray words = new(); + jsonData["transcriptionData"]!["words"] = words; + + JObject word0 = new() + { + ["text"] = "Hello", + ["offset"] = 1, + ["duration"] = 1 + }; + words.Add(word0); + + JObject word1 = new() + { + ["text"] = "World", + ["offset"] = 6, + ["duration"] = 1 + }; + words.Add(word1); + + jsonData["transcriptionData"]!["participantRawID"] = "abc12345"; + jsonData["transcriptionData"]!["resultStatus"] = "final"; + + byte[] receivedBytes = System.Text.Encoding.UTF8.GetBytes(jsonData.ToString()); + TranscriptionData parsedPackage = (TranscriptionData)StreamingDataParser.Parse(receivedBytes); + + Assert.NotNull(parsedPackage); + ValidateTranscriptionData(parsedPackage); } #endregion }